Re: T5 Persistence Question

2009-07-07 Thread Norman Franke
On my page, it isn't happening. It gets stuck in the URL. My "onSuccess()" method does some further checking, and then returns. I get a huge URL. Does this not work from onSuccess? Norman Franke Answering Service for Directors, Inc. www.myasd.com On Jul 7, 2009, at 6:59 PM, Robert Zeigler

Re: [Tapestry 4.1] UTFDataFormatException in RequestCycle.encodeIdState

2009-07-07 Thread Howard Lewis Ship
Glad you're OK. I would still suggest doing some of the changes I suggested. Or upgrade to T5.1 :-) On Mon, Jul 6, 2009 at 2:46 PM, Aaron Kaminsky wrote: > Hi Howard, > > Thanks for the suggestion.  In our case we may have been able to get by with > the workaround you suggested, but it turned o

Re: T5 Persistence Question

2009-07-07 Thread Robert Zeigler
I haven't looked closely, but my impression was that T5's @Persist("client") will encode the values to form fields when there's a form present. I'm pretty sure that's what's intended... Robert On Jul 7, 2009, at 7/75:50 PM , Norman W. Franke wrote: In the good old T4 days, I was able to pe

T5 Persistence Question

2009-07-07 Thread Norman W. Franke
In the good old T4 days, I was able to persist form data between submissions without using any session state since the values were persisted in the fields themselves. This was very efficient, particularly for very large forms (with several text areas containing 50K of data each.) As a furth

Re: Replacement for DataSqueezer

2009-07-07 Thread Thiago H. de Paula Figueiredo
Em Tue, 07 Jul 2009 17:04:51 -0300, Stephan Windmüller escreveu: I am using a navigation component which inserts ActionLinks into the page. These may be responsible for creating URL parameters. Is there a way to exclude these links From what I could see from the source code, client persiste

Re: Replacement for DataSqueezer

2009-07-07 Thread Stephan Windmüller
Thiago H. de Paula Figueiredo wrote: >> But IIRC the setting @Persist("client") produced URL parameters >> instead of hidden fields. How can I force the latter? > Hidden fields cannot be used by links (unless you use Javascript to copy > their value to the URL), just forms. One possible solution

Re: Replacement for DataSqueezer

2009-07-07 Thread Thiago H. de Paula Figueiredo
Em Tue, 07 Jul 2009 15:10:21 -0300, Stephan Windmüller escreveu: Keeping the data in the session would break tabbed browsing. I agree. There are other solutions (conversations). Search the mailing list archives to find some people doing this in Tapestry. Thank you for your effort. :)

Re: Tapestry5 and Applets

2009-07-07 Thread Thiago H. de Paula Figueiredo
Em Tue, 07 Jul 2009 15:09:52 -0300, Walter Botscher escreveu: Response is always the start page and not the reqested jar file. Accordingly the content lenght is always the same. That's strange, because normally Tapestry let's the servlet container take care of static files. Anyway, there'

Re: Replacement for DataSqueezer

2009-07-07 Thread Stephan Windmüller
Thiago H. de Paula Figueiredo schrieb: >> ValueEncoder does not need streamed data if it can obtain the object >> from an identifier. But the data I am using is not stored anywhere so >> the only way I see is streaming the data and reconstructing the objects. >> Currently I am using Xstream for th

Tapestry5 and Applets

2009-07-07 Thread Walter Botscher
Response is always the start page and not the reqested jar file. Accordingly the content lenght is always the same. -- View this message in context: http://n2.nabble.com/Tapestry5-and-Applets-tp3220868p3220868.html Sent from the Tapestry Users mailing list archive at Nabble.com.

Re: T5 TextField and Hidden problems

2009-07-07 Thread Robert Zeigler
Make sure that whatever condition enables the text field on the client side is followed on the server-side. That is, it's possible that the data is being submitted just fine, but server-side, the textfield component is checking disabled, finding that the condition which specifies whether the

Re: Tapestry5 and Applets

2009-07-07 Thread Walter Botscher
Hi, yes a small step better, but not the solution. Here the the logs after changes: === Java Plug-in 1.6.0_13 Verwendung der JRE-Version 1.6.0_13 Java HotSpot(TM) Client VM Home-Verzeichnis des Benutzers = /export/home/walter

Re: ActionLink in bundle message

2009-07-07 Thread shymon
Thiago H. de Paula Figueiredo wrote: > > On Tue, Jul 7, 2009 at 12:15 PM, shymon wrote: > > You don't need a component id to handle its event: just handle the > event normally: > > @OnEvent("nameOfYourEvent") > void handle() {...} > > If you create more than one event link this way, generate

Re: T5 TextField and Hidden problems

2009-07-07 Thread Thiago H. de Paula Figueiredo
We just have two threads talking about these two issues you have. Take a look at the mailing list archive at http://www.nabble.com/Tapestry-f302.html. -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For

T5 TextField and Hidden problems

2009-07-07 Thread haipeng du
I have TextField component which is disabled when template is rendered. It will be enabled from javascript and submit data to server. But the data change is not bound back to server. I must render TextField as enabled to get data back and I can not use javascript to change the status. Is that true?

Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread Thiago H. de Paula Figueiredo
On Tue, Jul 7, 2009 at 11:27 AM, jose luis sanchez wrote: > Caused by: java.lang.ArrayIndexOutOfBoundsException: 3 at javassist.bytecode.ByteArray.write16bit(ByteArray.java:40) This is the root cause of your exception. Strange exception inside Javassist. I don't know what's happening, but make

Re: ActionLink in bundle message

2009-07-07 Thread Thiago H. de Paula Figueiredo
On Tue, Jul 7, 2009 at 12:15 PM, shymon wrote: > I have message with parameter which I replace using messages.format method. > I also create link object with createEventLink() and   element using Element > class. > It almost works, but link created this way has no id so I cannot handle only > it's

Re: Replacement for DataSqueezer

2009-07-07 Thread Thiago H. de Paula Figueiredo
On Tue, Jul 7, 2009 at 11:03 AM, Stephan Windmüller wrote: > What happens when a user disabled cookies? Good point. :) > ValueEncoder does not need streamed data if it can obtain the object > from an identifier. But the data I am using is not stored anywhere so > the only way I see is streaming t

ActionLink in bundle message

2009-07-07 Thread shymon
How can I insert actionLink into message from resource bundle? I have message with parameter which I replace using messages.format method. I also create link object with createEventLink() and element using Element class. It almost works, but link created this way has no id so I cannot handle o

Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread jose luis sanchez
The .tml http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> t:value="sourcePlan"

Re: Replacement for DataSqueezer

2009-07-07 Thread Stephan Windmüller
Thiago H. de Paula Figueiredo schrieb: >> There is a page in my current project for which I want to pass an object >> between the requests and maintain it's state, but it should not be >> displayed. Also I do not want to store the data in the session, so >> putting it in a hidden field seems the b

How to get a list of Symbol names

2009-07-07 Thread P . Stavrinides
Hi, Is there a way to get at the list of Symbol names from the various providers (ApplicationDefaults, FactoryDefaults etc.) programmatically? SymbolSourceImpl appears to have it, but it is private. Thanks, Peter - To unsubsc

Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread Thiago H. de Paula Figueiredo
Please post the full stack trace. I guess the part that's going to show us what happened wasn't shown, as we can't see the full exception chain. -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For addit

Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread jose luis sanchez
Hello all. I have an application created in tapestry 5.1.0.5, and when i run it with a mvn jetty:run It runs perfect. Also with mvn tomcat:run But, when i run it with mvn tomcat:run-war or copy the resulting war inside a working tomcat installation ( both 5.0.28 and 6.0.20 ), the app just do

Re: Replacement for DataSqueezer

2009-07-07 Thread Thiago H. de Paula Figueiredo
On Tue, Jul 7, 2009 at 7:13 AM, Stephan Windmüller wrote: > Hello! Hi! > There is a page in my current project for which I want to pass an object > between the requests and maintain it's state, but it should not be > displayed. Also I do not want to store the data in the session, so > putting it

Changing Sort on Grid Column

2009-07-07 Thread Jonathan O'Connor
Hi, I have a Grid with a string column displaying a date. I want this column to be of String type because of my automatic code to generate a CSV file from the grid. However, if I sort the column, it is sorted using alphabetic ordering, thus 25-12-2001 comes after 01-01-2009. Is there a way to

Replacement for DataSqueezer

2009-07-07 Thread Stephan Windmüller
Hello! There is a page in my current project for which I want to pass an object between the requests and maintain it's state, but it should not be displayed. Also I do not want to store the data in the session, so putting it in a hidden field seems the best option. Unfortunately I am unable to fi