Sagewire Logo

tapestry java RSS Feed

Recent Posts View Recent Posts | View Archived Posts

Message from Bill Holloway
Most recent post: 12/29/2007
5 authors and 5 replies.

I changed the <tapestry-release-version> in my pom.xml to 5.0.7 in the
pom.xml that was generated by the quickstart maven call when 5.0.6
was the latest.

The "Libraries" tree branch in my Idea project view is still showing
5.0.6 tapestry libs, even after an IDE restart.

Thoughts?

Bill

--
As I grow to understand life less and less I grow to love it more and more.

-- Jules Reynard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5-Intellij: 5.0.7 in pom.xml


Message from dwi ardi irawan
Most recent post: 12/29/2007
2 authors and 2 replies.

------=_Part_14567_17507563.1198949752410

Content-Disposition: inline

could anyone help me...
how to catch onChange even on tapestry 5
I try

OnSubmitFromSubmitComponent()

but i did not work....

--
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"

------=_Part_14567_17507563.1198949752410-- read more about T5: event onChange for select component


Message from Onno Scheffers
Most recent post: 12/29/2007
3 authors and 5 replies.

Hi,

it's been a while since I last used Tapestry. My last couple of projects
were based on Wicket, simply because that's what the customer wanted. I
prefer Tapestry myself and I have just started looking at Tapestry 5. It
looks very promising so far. The only real annoyance for me is the fact
that I have to use the .tml extension for my templates.

I have read the discussions on it and I understand where it comes from.
But the reason I have been able to use Tapestry for some big projects has
been the simple fact that I can seamlessly use templates sent to my by
external web designers and if changes need to be made to those files,
those designers can do it with the Tapestry jwcid's still in it (the
HTML is always kept as close to the original as possible).

All external web designers deliver xhtml files with an html extension or
xhtml extension. It is annoying to have to rename all those files just
to be able to use them. In practice this will also mean having to rename
them back before the designers can update those files, since we might
have a different designers for each updates or project and training them
will probably take longer than renaming the files.

Also the html may contain links to static html pages like helpfiles. In
essence renaming the files means we also have to change those links
inside the markup every time. This gets in the way of productivity and
could introduces errors.

It'd really help me if I could just con read more about T5: Is the tml-extension configurable?


Message from Marcelo Lotif
Most recent post: 12/29/2007
4 authors and 9 replies.

------=_Part_13812_16760681.1198866542287

Content-Disposition: inline

When I switch to the 5.0.7 version, the validations of my BeanEditForms
does not work properly...
I have a BEF to add a user to the database. When I click on the submit
button, it must validate the fields and go to another page to show all the
users on the database. If there are errors on the validation, it must stay
at the same page and show the errors to the user (as expected). When I
switch to 5.0.7, even if I get some errors, the page goes to the another one
and the it ends up to add the user to the database with the errors. The
funny thing is when I come back to the page, the errors are there... If I
switch back to 5.0.6, everything works fine again.

Am I missing something or this is really an error?

--
Atenciosamente,
Marcelo Lotif

------=_Part_13812_16760681.1198866542287-- read more about T5.0.7 Validation error


Message from Howard Lewis Ship
Most recent post: 12/28/2007
2 authors and 3 replies.

Tapestry 5 preview release 5.0.7 is now available for download, and via Maven.

5.0.7 features a bunch of bugs fixes and improvements including a
major revamp to client-side validation and the start of Ajax support.

The new validation is a very interesting experiment, as it uses a
popup "bubble" to mark fields with validation errors. Feedback on
this feature is most welcome.

Tapestry 5.0.7 is available for download at
http://tapestry.apache.org/download.html

--
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about [ANNOUNCE] Tapestry 5.0.7


Message from "Cardenas, Juan Carlos"
Most recent post: 12/28/2007
6 authors and 7 replies.

------_=_NextPart_001_01C8497C.92E870E0


I can not seem to find a reference in the documentation.

I know Tapestry4 at least covers 168

What are the plans for covering JSR 286 Portlet 2.0 spec?

Carlos

------_=_NextPart_001_01C8497C.92E870E0-- read more about Does Tapestry5 support Portlets specs JSR168 and 286


Message from Phillip Rhodes
Most recent post: 12/28/2007
2 authors and 2 replies.

I'd like to build the 4.1.4 version of tapestry from source. In the svn repository, I don't see anything with a tag of 4.1.4. Is the 4.1.4 release being built from the trunk of svn, or am I missing something?

I had a few things I wanted to try out regarding the stack trace that I have below. My app keeps spitting out tons of these messages. The application does keep running...

Thanks.

Caused by: compile error: no such class: $Border_274
at JAVAssist.compiler.MemberResolver.searchImports(MemberResolver.JAVA:416)
at JAVAssist.compiler.MemberResolver.lookupClass(MemberResolver.JAVA:392)
at JAVAssist.compiler.MemberResolver.lookupClassByName(MemberResolver.JAVA:306)
at JAVAssist.compiler.MemberResolver.resolveClassName(MemberResolver.JAVA:450)
at JAVAssist.compiler.TypeChecker.resolveClassName(TypeChecker.JAVA:131)
at JAVAssist.compiler.TypeChecker.atCastExpr(TypeChecker.JAVA:545)
at JAVAssist.compiler.JvstTypeChecker.atCastExpr(JvstTypeChecker.JAVA:103)
at JAVAssist.compiler.ast.CastExpr.accept(CastExpr.JAVA:54)
at JAVAssist.compiler.TypeChecker.atCallExpr(TypeChecker.JAVA:653)
at JAVAssist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.JAVA:156)
at JAVAssist.compiler.ast.CallExpr.accept(CallExpr.JAVA:45)
at JAVAssist.compiler.TypeChecker.atCallExpr(TypeChecker.JAVA:653)
at JAVAssist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.JAVA:156)
at JAVAssist.compiler.ast.CallExpr.accept(CallExpr.JAVA:45)
at JAVAssist.compiler.JvstTy read more about T4.1.4 tagged as what in svn?


Message from Joshua Jackson
Most recent post: 12/28/2007
4 authors and 9 replies.

Dear all,

I already try to follow what's written on the document regarding how
to use Autocomplete component, but still can not get it working.

Here's what I have done:
Template:
<input t:type="TextField" t:value="prop:clientName" t:mixins="autocomplete" />

Page:
private String clientName;

String[] onProvideCompletionsFromClientName(String input)
{
logger.info("Inside Autocompletion Event Handler");
return null;
}

Have I missed on something here?

Thanks in advance.

--
I'm a coder not a drag-n-dropper

Blog: http://joshuaJAVA.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5: How to use the Autocomplete component?


Message from osamuo
Most recent post: 12/28/2007
4 authors and 8 replies.

Hi,

How can I tell T5 to send an 404 error?

Is the following code right way to show 404 error page on T5?
Because I got an error after calling "sendError()" in the code.Test.JAVA:
------------------------------------
public class Test{
@xxxxxxxxxxx
private Response response;

void onActivate( Object[] parameters ) throws IOException{
//if( parameters == null || parameters.length != 2 ){
response.sendError( 404, null );
return;
//}
}
}
------------------------------------

Error:
------------------------------------
[ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: STREAM
JAVA.lang.IllegalStateException: STREAM
at org.mortbay.jetty.Response.getWriter(Response.JAVA:571)
at
org.apache.tapestry.internal.services.ResponseImpl.getPrintWriter(ResponseImpl.JAVA:47)
at $Response_1171072b273.getPrintWriter($Response_1171072b273.JAVA)
at $Response_1171072b240.getPrintWriter($Response_1171072b240.JAVA)
at
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.JAVA:58)
at
$PageResponseRenderer_1171072b261.renderPageResponse($PageResponseRenderer_1171072b261.JAVA)
at
org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.JAVA:87)
at
$PageRenderRequestHandler_1171072b25d.handle($PageRenderRequestHandler_1171072b25d.JAVA)
at
org.apache.tapestry.internal.services.PageRenderDispatcher.di read more about T5: 404 http error


Message from Kaspar Fischer
Most recent post: 12/28/2007
2 authors and 4 replies.

Dear list,

I am trying to display a "please wait" text during an asynchronous AJAX
request and went for

<div jwcid="@xxxxxxxxxxx:AjaxStatus"
style="display:none;color:white;background:red">

Loading...
</div>

which I cannot get to work. From AjaxStatus.script I see that a

dojo.require("tapestry.fx");

should get output into my HTML file and this is where the problem
seems to lie:
I cannot find this in the generated HTML markup.

I am not using @xxxxxxxxxxx but have a

<link jwcid="@xxxxxxxxxxx" />

in all my pages. Could it be that this isn't enough for Tapestry's
AJAX features?

Thanks,
Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about AjaxStatus not working when not using @xxxxxxxxxxx?


Message from yuan gogo
Most recent post: 12/28/2007
3 authors and 3 replies.

------=_Part_9666_28447749.1198810752396

Content-Disposition: inline

I got t5.0.7 this morning. As I'm a Chinese user, I use utf-8 encoding for
my application.

But, while upload file and some text, I got this:

JAVA.lang.NullPointerException: charsetName

JAVA.lang.String.<init>(String.JAVA:442)
JAVA.lang.String.<init>(String.JAVA:516)
org.apache.commons.fileupload.disk.DiskFileItem.getString(DiskFileItem.JAVA:349)
org.apache.tapestry.upload.services.MultipartDecoderImpl.processFileItems(MultipartDecoderImpl.JAVA:117)
org.apache.tapestry.upload.services.MultipartDecoderImpl.decode(MultipartDecoderImpl.JAVA:65)
$MultipartDecoder_1171ead916b.decode($MultipartDecoder_1171ead916b.JAVA)
$MultipartDecoder_1171ead911d.decode($MultipartDecoder_1171ead911d.JAVA)
org.apache.tapestry.upload.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.JAVA:40)
$HttpServletRequestHandler_1171ead911f.service($HttpServletRequestHandler_1171ead911f.JAVA)
$HttpServletRequestHandler_1171ead911c.service($HttpServletRequestHandler_1171ead911c.JAVA)
org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.JAVA:164)Alrough I solve this problem by add
<filter>
<filter-name>SetCharacterEncoding</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter
</filter-class>
<init-param> read more about T5.0.7 still can not resolve encoding.


Message from Foror
Most recent post: 12/28/2007
3 authors and 3 replies.

When I call a createActionLink("send", false, 2050) in page then link
is "message:send/2050". And it doesn't work (onSendAction(long id) is
not called). In a component ActionLink link is "message.send/2050" and
it works. Below a part of a code responsible for link generation. Why
it is so?

public class ActionLinkTarget



if (hasComponentId)
{
builder.append(".");
// Already lower case by design.
builder.append(_componentNestedId);
}

// If no nested component id, then must append the action; the ':' and the action become the
// delimiter between the page name and the event context.

if (!hasComponentId || !_eventType.equals(TapestryConstants.ACTION_EVENT))
{
builder.append(":");
builder.append(_eventType);
}
---------------------------------------------------------------------


To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5: createActionLink, delimiter ":" and "."


Message from Mohammad Shamsi
Most recent post: 12/27/2007
3 authors and 5 replies.

------=_Part_7816_11686304.1198667340324

Content-Disposition: inline

Hi,
I want to know that why I should place my pages and components in special
folder ?

any idea ?
--
sincerely yours
M. H. Shamsi

------=_Part_7816_11686304.1198667340324-- read more about why special position for pages, components and ...?


Message from Kevin Menard
Most recent post: 12/27/2007
3 authors and 3 replies.

Hey all,

I have the need to call arbitrary JS after updating components from an
EventListener. The use case is the following:

If client-side validation is disabled I show a div that display the error
message. When a form is submitted asynchronously, I can update the contents
of the div, but then I just end up with an empty div. What I'd like to do
is hide it. I had some code for jQuery to hide it after the DOM loads, but
that does not help me on the async update.

There's likely an obvious answer to this, but due to lack of experience I'm
just missing it. So, feel free to treat me as clueless.

--
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about [T4]: Execute arbitrary JS from EventListener


Message from jeffrey ai
Most recent post: 12/27/2007
4 authors and 9 replies.

Hi All,

As you may know or not, T5 does not have a web flow framework like the Spring
one yet. Howard mentioned he may add it in the next release. However, our
project cannot wait for that, therefore I have created a simple one on T5.
Here is the general idea, your comments are **GREATLY APPRECIATED**.

* A WEBFLOW, which is a normal T5 page, injects and contains PAGEs that
will used in this web flow.

* A PAGE can be used in multiple web flows. A PAGE does not have any
knowledge of where to go for next page, previous page or cancel link. All
these knowledge are dynamically populated from a WEBFLOW.

* A WEBFLOW has some data objects, which are annotated as @xxxxxxxxxxx
PAGEs can pick up whatever data they are interested, display them or
populate them.

* A typical request flow is like below:
=> An action request is post back to a PAGE
=> A PAGE will do some validation and populate the data
=> In onSuccess() method in PAGE, it returns the next page link, which is
populated by WEBFLOW and pointing to an action in WEBFLOW
=> A redirection action request is sent to WEBFLOW
=> Some onPage() method in WEBFLOW is triggered. It could review the data ,
decide the next page and return it.
=> A page render request is sent to the next page

Here are some code snippets :
============
public class WebFlow
{
@xxxxxxxxxxx
private WebFlowPage1 page1;

@xxxxxxxxxxx
private WebFlowPage2 page2;

@xxxxxxxxxxx
private WebFlowPage3 page3;

@xxxxxxxxxxx read more about T5: A web flow idea on T5


Message from Sven Homburg
Most recent post: 12/27/2007
4 authors and 4 replies.

hi there,

is there a known reason why I cant use the "&nbsp;" inside a template?

--
best regards
S.Homburg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about [T5] using   in template


Message from Angelo Chen
Most recent post: 12/27/2007
6 authors and 7 replies.

Hi,

I came across mentioning of ajax in tapestry's
site:http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html, is
the 5.07 already released? I can't find it in the download site. Thanks,

A.C.--
View this message in context: http://www.nabble.com/T5%3A-Tapestry-5.07-released--tp14492234p14492234.html
Sent from the Tapestry - User mailing list archive at Nabble.com.---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5: Tapestry 5.07 released?


Message from Mohammad Shamsi
Most recent post: 12/26/2007
6 authors and 9 replies.

------=_Part_4544_9975629.1198493802554

Content-Disposition: inline

Hi All,
I want to start new JAVA EE projecct, Formerly we used Spring + Struts in
our projects.
after about 4 month testing and reading about Tapestry 5, I decide to use
Tapestry 5 instead of Struts.
I read some limitations of tapestry-spring module in its home page and I
have no problem with them.

is it any other limitation in using T5 + Spring ?

does anyone have experience in T5 + Spring ?
--
sincerely yours
M. H. Shamsi

------=_Part_4544_9975629.1198493802554-- read more about [T5] : tapestry + spring


Message from Moritz Gmelin
Most recent post: 12/26/2007
3 authors and 3 replies.

Hi,

Is there a way to set the default DateFormat for all DateField
elements of a BeanForm?
I know that I could specify the format in a <t:Parameter /> block for
the form. But then I'd have to do this on every occurrence of a Date
object.
Is there maybe some service that I could intercept when it is creating
DateField instances and tell it what format to use?

Thanks

Moritz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about [T5] default DateFormat for DateFields


Message from Jan Vissers
Most recent post: 12/26/2007
3 authors and 3 replies.

Reading http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html
I'm just wondering what Ajax/JAVAscript 'du jour' will be in T5.0.8

I thought that Dojo was *the* standard framework of choice of Tapestry. Am
I missing something here?

-J.---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5 & Ajax - Which Ajax/JAVAscript framework will be next?


Message from Yeeswara Nadapana
Most recent post: 12/26/2007
2 authors and 2 replies.

Hi,

I am using Tapestry 5=2E When I submit a form, how do I display the form's
data on a freshly injected page? Please help=2E=2E=2E=2EThanks,
Yeeswar=2E

DISCLAIMER:
---------------------------------------------------------------------------=
--------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and=
intended for the named recipient(s) only=2E=20
It shall not attach any liability on the originator or HCL or its=
affiliates=2E Any views or opinions presented in=20
this email are solely those of the author and may not necessarily reflect=
the opinions of HCL or its affiliates=2E=20
Any form of reproduction, dissemination, copying, disclosure, modification,=
distribution and / or publication of=20
this message without the prior written consent of the author of this e-mail=
is strictly prohibited=2E If you've=20
received this email in error please delete it and notify the sender=
immediately=2E Before opening any mail and=20
attachments please check them for viruses and defect=2E

---------------------------------------------------------------------------=
--------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about Displaying form data in Tapestry 5


Message from Joshua Jackson
Most recent post: 12/26/2007
2 authors and 4 replies.

Dear all,

I have used the T5 palette component that use list of object that is
retrieved from database. So the item under the 'available' is
retrieved from the database. That way I expect when I move it to the
'selected' then update it to the database, it wouldn't be available
anymore under the 'available'. But what I get is, it seems it cache
the object and it did not retrieved the latest object from the
database. How do I get the latest object from database with T5
pallette?

Has anyone succeed with this problem?

I use T 5.0.7-SNAPSHOT

Thanks in advance
--
I'm a coder not a drag-n-dropper

Blog: http://joshuaJAVA.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5: Palette doesn't retrieved the latest object from DB


Message from Joshua Jackson
Most recent post: 12/25/2007
3 authors and 4 replies.

Dear all,

Is there a message component in T5? Usually I use this in struts to
display message after succession upon one process. What I have found is
only the t:errors component.

Thanks in advance.

--
I'm a coder not a drag-n-dropper

Blog: http://joshuaJAVA.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about T5: Message component


Message from Sven Homburg
Most recent post: 12/24/2007
5 authors and 11 replies.

Hi there,components collection release 0.5.0 is accessable n