Re: how to create a loop of parameters?

2010-10-16 Thread ael
JQuery + Prototype is still the BEST buddies... If it is hard on tapestry use third parties ^_^... -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-create-a-loop-of-parameters-tp3212860p3215942.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
Separate issues. For this I'm using the SImple Stupid JQuery Accordion and it's working well. The issue that I've run into in the past is that there are cases where generating Blocks in the page based upon page data and accessing them (e.g. to pass into a zone) would be useful. I understa

Re: how to create a loop of parameters?

2010-10-15 Thread Josh Canfield
>> The use model for this would be to allow Blocks to be dynamically created >> in the template then retrieved using ComponentResources.findtBlock(). >From my understanding, adding something like this would be a serious departure from how tapestry works. First, in order to create the dynamic bloc

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
Clarification: programatically created with ids specified from the page or component class, then retrieved using findBlock() or something similar. On 10/15/2010 2:54 PM, Chuck Kring wrote: Understood. The use model for this would be to allow Blocks to be dynamically created in the template

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
Understood. The use model for this would be to allow Blocks to be dynamically created in the template then retrieved using ComponentResources.findtBlock(). I think findBlock() works off of the Tapestry id which can't be set. Chuck On 10/15/2010 11:45 AM, Howard Lewis Ship wrote: On Fri,

Re: how to create a loop of parameters?

2010-10-15 Thread Howard Lewis Ship
On Fri, Oct 15, 2010 at 11:41 AM, Chuck Kring wrote: >  Whoa.   Everything is easy in Tapestry.  The hard part is figuring out the > easy way to do it. > > Howard, if you happen to read this,  one thing that would be generally > useful would be to allow t:id to be set using a variable.  Something

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
I'm going to give it a try. It looks very usable. Thanks for the lead. Chuck On 10/14/2010 5:51 PM, ael wrote: JQuery on the Go... http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/ Simple Stupid JQuery Accordion :) -

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
Whoa. Everything is easy in Tapestry. The hard part is figuring out the easy way to do it. Howard, if you happen to read this, one thing that would be generally useful would be to allow t:id to be set using a variable. Something like this: Right now you can set the HTML id but not

Re: how to create a loop of parameters?

2010-10-14 Thread ael
JQuery on the Go... http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/ Simple Stupid JQuery Accordion :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-create-a-loop-of-parameters-tp3212860p3213031.html Sent from the Tapestry - User mailing list

Re: how to create a loop of parameters?

2010-10-14 Thread Howard Lewis Ship
There isn't a good way to do this. You could inject the "parameters" as Blocks into your code, then pass a List or Map of those Blocks to your component. It isn't as pretty in the markup. Alternately, you could have a naming convention, i.e. ... ... ... ... On Thu, Oct 14, 2010 at 2:2

how to create a loop of parameters?

2010-10-14 Thread Chuck Kring
Hi everyone, I'm trying to get equanda/accordion to work with a variable set of tabs and contents.The intent is that I want to loop across a list of groups of objects, with each group a tab and each entry in the tab is a Link to a page about the object. Something like this: Group A