Hi,
Seems like I forgot about a form in a nested component. I can now move forward.
Great also to see 5.3 now released.
Regards,
Greg
On 27/11/2011, at 10:50 AM, Robert Zeigler wrote:
> Or, in newer Tap5 (5.3 for sure; I'm pretty sure this works in 5.2, too):
>
>
>
>...
>
>
>
>
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
Use if else in the zone to choose between Ajax upload and form and always
return the zone
Sent from my iPhone
On Nov 26, 2011, at 9:08 AM, Greg Pagendam-Turner wrote:
> Thanks Taha,
>
> My code allows an ajax upload of an image via jQuery and then allows the user
> to crop the image.
>
> I
Thanks Taha,
My code allows an ajax upload of an image via jQuery and then allows the
user to crop the image.
I have:
http://tapestry.apache.org/schema/tapestry_5_3.xsd";
xmlns:p="tapestry:parameter"
xmlns:j="tapestry-library:jquery">
Upload Image
JavaScript must be activated!
Hi
Putting Thiago's answer into code
@InjectComponent
private Zone myFormZone;
@OnEvent(EventConstants.SUBMIT)
Object submit(){
return myFormZone.getBody();
}
Not sure why you are using a block.
regards
Taha
On Nov 26, 2011, at 8:43 AM, Greg Pagendam-Turner wrote:
> On 26/11/
On 26/11/2011 12:21 PM, Thiago H. de Paula Figueiredo wrote:
On Sat, 26 Nov 2011 00:10:20 -0200, Greg Pagendam-Turner
wrote:
Hi,
Hi!
How do I write code for a page that contains a form which replaces
itself via Ajax once a certain event has occurred?
The simplest way is to put the form
Easy. Put it inside a zone.
On Nov 25, 2011, at 8:10 PM, Greg Pagendam-Turner wrote:
> Hi,
>
> How do I write code for a page that contains a form which replaces itself via
> Ajax once a certain event has occurred?
>
> Regards,
>
> Greg
>
>
>
Hi,
How do I write code for a page that contains a form which replaces
itself via Ajax once a certain event has occurred?
Regards,
Greg
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands