Re: T5: Dynamically add section of upload files in form

2011-07-23 Thread Taha Hafeez
Hi The error is not a javascript error but a server side error which tapestry.js flashes at the top (in red color). You can verify it by looking at the stack trace. The error clearly says that the file property is null. The property will be initialized when you are inside the ajaxformloop. But in

Re: T5: Dynamically add section of upload files in form

2011-07-23 Thread fante
hi Taha, I do have a ajaxformLoop, is should look like this: (Aplogize for the incomplete codesnippet above) ${file.key} Add

Re: T5: Dynamically add section of upload files in form

2011-07-23 Thread Taha Hafeez
Hi Fante I still can't see the loop... :) On Sat, Jul 23, 2011 at 6:52 PM, fante wrote: > hi Taha, > > I do have a ajaxformLoop, is should look like this: > (Aplogize for  the incomplete codesnippet above) > >     > >                         >                            ${file.key} t:maxfiles="

Re: T5: Dynamically add section of upload files in form

2011-07-23 Thread fante
It is obviousy difficult for me to paste correctly Here it comes ${file.key} Add a row Well

Re: T5: Dynamically add section of upload files in form

2011-07-23 Thread fante
Ohh still not shows.. My Ajaxform Lopp is withing a span, therefor it seesm it wont display properly _SPAN_=span <_SPAN_ t:type="AjaxFormLoop" t:source="files" t:value="file" t:encoder="encoder"> ${file.key}

Re: select component

2011-07-23 Thread Bob Harner
Tony, Sorry I didn't reply to this earlier. I'm sure you figured it out by now, but for the record the canonical answer comes from Tapestry's own TapestryModule class (http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.jav

Remove @PageAttached & @PageDetached

2011-07-23 Thread Howard Lewis Ship
Is anyone aware of any use of @PageAttached or @PageDetached in any library or component? Since 5.2, with the advent of page singletons, they don't appear to make any sense. I've been making a lot of internal changes to the code, to reduce Tapestry's memory footprint and improve performance. I'm

Re: Remove @PageAttached & @PageDetached

2011-07-23 Thread Lenny Primak
Tapestry in action book still refers to them. Oh oh now I have to change things :) I am assuming @BeginRender and @AfterRender are the equivalents? On Jul 24, 2011, at 12:00 AM, Howard Lewis Ship wrote: > Is anyone aware of any use of @PageAttached or @PageDetached in any > library or compone

Re: Remove @PageAttached & @PageDetached

2011-07-23 Thread Lenny Primak
Come to think of it, I got @PageAttached from the documentation, not the Tapestry in Action book. Specicially, http://tapestry.apache.org/page-life-cycle.html Nowhere does it say that this is deprecated. On Jul 24, 2011, at 12:00 AM, Howard Lewis Ship wrote: > Is anyone aware of any use of @Pa

Re: Remove @PageAttached & @PageDetached

2011-07-23 Thread Stefan Schuetz
Lenny, it is'nt deprecated actually. but its going to be in a next release. Am 24.07.2011 um 07:18 schrieb Lenny Primak : > Come to think of it, I got @PageAttached from the documentation, not the > Tapestry in Action book. > Specicially, http://tapestry.apache.org/page-life-cycle.html > > N