Barbara: You have not that class of support (js) in defaults components. But wiht a combination of Block and RenderBlock components you can get that behavior. In the template, you will have some blocks, lets say [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED] You will have then a render block with a "block" block parameter value like "ognl:selectedBlock" and in your page you will have a method: public Block getSelectedBlock() which returns the correct block to render basing on some logic of your business.
You can look an example in tapestry components reference form RenderBlock: http://jakarta.apache.org/tapestry/doc/ComponentReference/RenderBlock.html Let me know if that helped you. On 5/9/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > Yes, look in the component reference documents. > > Barbara Raitz wrote: > > >Hi, I'm new to Tapestry and am trying to figure out how to do the following: > > > >I have an HTML form with three <div> sections (filled with form input > >fields). All the content is known in advance, but I want to > >dynamically display/hide the div sections to guide the user through > >the flow. I've done this before with javascript... As a newbe, I'm > >having a very hard time trying to figure out how to integrate the > >javascript with Tapestry. Then maybe I thought Tapestry had a > >component that would help me do this (a block component? a formConditional > >?) > > > >any advice? > > > >thanks! > >Barbara > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > -- > Justin Stanczak > Stanczak Group > 812-735-3600 > > "All that is necessary for the triumph of evil is that good men do nothing." > Edmund Burke > > ..________...............__................. > ./ _____/..____..._____/..|_..____...____.... > /...\..____/.__.\./....\...__\/.._.\./._..\.... > \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..).... > .\______../\___.._\__|../__|..\____/.\____/...... > ........\/.....\/.....\/.......................... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
