fault found

2011-11-26 Thread csckid
I tried the following example to generate pdf file and return to user browser. http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF The problem I found is method public StreamResponse onSubmit() is called three times. I really couldn't understand why this was so, but it would be really

[T5.3] Need a replacement for pageDetached (or a better way to achieving this...)

2011-11-26 Thread Kartweel
Hi, I have the following code which I've been using to work around forms invalidly persisting data on ajax requests (ie. form is rendered in the ajax response, but the validation tracker stores the values for the NEXT request, it needs to be cleared straight away). Now that pageDetached is depreci

Re: Form that replaces itself with another via Ajax

2011-11-26 Thread Robert Zeigler
Or, in newer Tap5 (5.3 for sure; I'm pretty sure this works in 5.2, too): ... Note the zone parameter of the form component: instead of specifying the id, you can specify "the containing zone" via ^. Robert On Nov 25, 2011, at 11/259:34 PM , Taha Hafeez Siddiqi wrote: > Hi > > Pu

Re: Tapx -yui richtexteditor : yahoo-dom-event-min.js (the file does not exist).

2011-11-26 Thread Shing Hing Man
After further investigation,  my error has nothing to do with hypen (-) in  folder yahoo-dom-event. In the class ImportYUIWorker :  private final Mapper pathToAsset = new Mapper() { public Asset map(String path) { if (!productionMode) {  

Re: user download file

2011-11-26 Thread Ulrich Stärk
Set the Content-disposition http header accordingly. Uli On 26.11.2011 15:14, csckid wrote: > I have an actionLink when it is clicked a pdf file is generated. I need to > prompt the user where he will save the pdf file. How can I do that? > > -- > View this message in context: > http://tapestry.

user download file

2011-11-26 Thread csckid
I have an actionLink when it is clicked a pdf file is generated. I need to prompt the user where he will save the pdf file. How can I do that? -- View this message in context: http://tapestry.1045711.n5.nabble.com/user-download-file-tp5024911p5024911.html Sent from the Tapestry - User mailing lis

[T5.3] @ActivationRequestParameter not encoding to be URL friendly

2011-11-26 Thread Kartweel
Hi, I have a situation where my ActivationRequestParameter has an & symbol in it. This doesn't seem to get encoded when it is attached to the query string. When it gets submitted back to tapestry everything after the & is just truncated (because obviously after the & it thinks a new parameter is st

Re: Tapx -yui richtexteditor : yahoo-dom-event-min.js (the file does not exist).

2011-11-26 Thread Shing Hing Man
Thanks for the reply !   tapx-yui-1.2-SNAPSHOT.jar  is in my classpath. I think I know the cause of the error. In Java, an identifier is not allow to have hypen (-). Hence the following is not a valid classpath. classpath:com/howardlewisship/tapx/yui_2_8_0r4/build/yahoo-dom-event/ I have ch