Re: Script component example with List

2006-05-30 Thread Sam Gendler
what about this: var pane = dojo.widget.createWidget("ContentPane", {id:"${content.id}"+"AccordionContainer", label:"${content.label}"}); pane.setContent("${content.content}"); That works fine in my script file. On 5/30/06, Eric Schneider <[EMAIL PROTECTED]> wrote: Shing

Re: Script component example with List

2006-05-30 Thread Eric Schneider
Shing, Thanks for the thread. Alternatively, you could contruct your 'Loop part' in a java class and pass it to the script. The content is html intensive, I'd prefer not to construct it in Java, but it's definitely a fall back plan. Thanks again. Eric On 5/30/06, Shing Hing Man <[EMAIL PROT

Re: Script component example with List

2006-05-30 Thread Shing Hing Man
There are some posts on in the archive. Here is one of them : http://article.gmane.org/gmane.comp.java.tapestry.user/31759/match=foreach+script Alternatively, you could contruct your 'Loop part' in a java class and pass it to the script. Shing --- Eric Schneider <[EMAIL PROTECTED]> wrote: > H