You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by captain_rhino <gr...@axa-travel-insurance.com> on 2011/11/03 13:41:11 UTC

Dynamic Questions on a page - T5

Firstly I'm still relatively new to Tapestry but know the basics but I ama 
reasonaly experienced struts web developer.

I'm looking for a general steer on how to do the following in Tapestry 5. 
Any examples welcome but I'm not stupid or lazy enough to ask for a full
solution.

For my current project I have to create a page with a dynamic set of
questions.  Behind the scenes will be a basic tree struture (I already have
this coded)  that governs what question is next depending on the answer to
the previous question.  The answer to each question dictates what the next
question will be.  
The questions will be in the form of drop downs or radio buttons.  There
could be up to ten questions in order to get a desired outcome.

Any advice is most welcome.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-Questions-on-a-page-T5-tp4960945p4960945.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Dynamic Questions on a page - T5

Posted by captain_rhino <gr...@axa-travel-insurance.com>.
That would definitely seem to be the way forward.  When formfragments become
visible is it possible to use different Scriptilicious or Jquery effects
like fade-in or slide down to make the form fragment visible and hidden and
if so how do you integrate this.  I guess it may have something to do with
the show attribute on the component buts its not obvious to me how to use
this?  ANy suggestions anyone please?


--
View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-Questions-on-a-page-T5-tp4960945p4961778.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Dynamic Questions on a page - T5

Posted by Steve Eynon <st...@alienfactory.co.uk>.
I've not done much of this, but I believe you want to look at
FormFragments - there's a demo on JumpStart:

http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/$N/$N

Steve.



On 3 November 2011 20:41, captain_rhino
<gr...@axa-travel-insurance.com> wrote:
> Firstly I'm still relatively new to Tapestry but know the basics but I ama
> reasonaly experienced struts web developer.
>
> I'm looking for a general steer on how to do the following in Tapestry 5.
> Any examples welcome but I'm not stupid or lazy enough to ask for a full
> solution.
>
> For my current project I have to create a page with a dynamic set of
> questions.  Behind the scenes will be a basic tree struture (I already have
> this coded)  that governs what question is next depending on the answer to
> the previous question.  The answer to each question dictates what the next
> question will be.
> The questions will be in the form of drop downs or radio buttons.  There
> could be up to ten questions in order to get a desired outcome.
>
> Any advice is most welcome.
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-Questions-on-a-page-T5-tp4960945p4960945.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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