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
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
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