Em Fri, 14 Nov 2008 16:08:08 -0300, shymon <[EMAIL PROTECTED]> escreveu:

I think most natural tree markup will be nested
<ul><li>...<ul><li></li><li></li>...</ul></li></ul>.
But how can I create recurrent <ul> markup? Of course I can prepare markup in component class andwrite it out using <t:outputRaw> component.

Use a MarkupWriter instead:

@BeginRender
public void render(MarkupWriter writer) {
// read the MarkupWriter section in http://tapestry.apache.org/tapestry5/guide/dom.html.
}

Can I create a link with createEventLink method and use toRedirectURI()
method to get href for <a...>?

Why toRedirectURI()? Why not toURI() or even toString()?

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to