Re: [5.4] Multi Page Form

2013-11-16 Thread Matthias
Thanks to both of you. I'd tried the form fragment and its way better 
then my previous approach :). Now i will try the tapestry-conversations 
module. It looks like its developed exactly for this purpose.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [5.4] Multi Page Form

2013-11-15 Thread Nicolas Barrera
Hi,

I 've never done something like that but perhaps you could find some
inspiration in http://jumpstart.doublenegative.com.au/jumpstart/
check these examples which are related to multi-page forms:

Wizard Using Form
Fragmentshttp://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/$N/$N
Wizard Using 
Pageshttp://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingpages1
Conversations 
Listhttp://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/conversationslist

(check other examples also as they all worth it!)

also you could see the tynamo's module
http://docs.codehaus.org/display/TYNAMO/tapestry-conversations+guide


hope that helps...




Nicolás.-


On Fri, Nov 15, 2013 at 4:38 PM, Matthias thegreatme...@gmail.com wrote:

 Hi, I'd like to create a multi page form. Something like this:
 http://www-10.lotus.com/ldd/pfwiki.nsf/E06D910022D5E2E2852578D2005ACC
 DF/%24file/MultiPageForm.jpg

 But I'm unsure whats the best approach with tapestry is. I tried to use
 Blocks, but I'm not to happy with it. It would be great if there's any good
 example or if anyone have a nice advice.

 Thanks in advance
 Matthias

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: [5.4] Multi Page Form

2013-11-15 Thread Thiago H de Paula Figueiredo
On Fri, 15 Nov 2013 17:38:21 -0200, Matthias thegreatme...@gmail.com  
wrote:


Hi, I'd like to create a multi page form. Something like this:  
http://www-10.lotus.com/ldd/pfwiki.nsf/E06D910022D5E2E2852578D2005ACCDF/%24file/MultiPageForm.jpg


But I'm unsure whats the best approach with tapestry is. I tried to use  
Blocks, but I'm not to happy with it. It would be great if there's any  
good example or if anyone have a nice advice.


Just do what you just described: use different pages sharing a same layout  
and a @SessionState object. Or put everything in the same page but use  
some JavaScript package to emulate tabs. It wouldn't be really multi page,  
as it would work inside one single page.


Why aren't you happy with blocks? They're pretty good for some scenarios.  
Here's a good example from the Tapestry documentation which can be used  
for you to implement what you want:  
http://tapestry.apache.org/switching-cases.html.


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org