Hi All,

I'm mucking around with some jquery stuff (with tapestry5-jquery), and I'd 
really like to draw some of these components - namely some <t:Draggable>

If I cycle through a List<>, can I have this in my Page class


class Page{

@Property
private List<SomeObject> listOfDraggables ;

@BeginRender  (@BeforeRenderTemplate and get the DOM.element with a placeholder 
tag in the tml file)
void blah(MarkupWriter writer){

  for( int i = 0 ; i < listOfDraggables.length ; i++){
    writer.element(org.got5.tapestry5-jquery.components.Draggable, "t:id", 
"chris");
    writer.end() ;
  }

}

}

Cheers
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to