and that is exactly what I am going to do!
thanks!
2007/9/19, Josh Canfield <[EMAIL PROTECTED]>:
> I had a similar problem. What I ended up doing was returning Object from the
> beginRender method and either returning the block parameter or using the
> writer and returning null.
>
> To simulate lo
I had a similar problem. What I ended up doing was returning Object from the
beginRender method and either returning the block parameter or using the
writer and returning null.
To simulate looping you can store your tokenizer in a page variable and
return st.hasMoreTokens from afterRender, if it's
Im looking for something similar to T4
IComponent.renderBody(IMarkupWriter writer, IRequestCycle cycle)
2007/9/18, Ted Steen <[EMAIL PROTECTED]>:
> I would like to do this,
>
> @BeginRender
> final void begin(MarkupWriter writer)
> {
> StringTokenizer st = new StringTokenizer(
I would like to do this,
@BeginRender
final void begin(MarkupWriter writer)
{
StringTokenizer st = new StringTokenizer(template, " ");
while(st.hasMoreTokens())
{
String token = st.nextToken();
if("TEST".equals(token))