You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Luc Dewavrin <ld...@nerim.net> on 2002/12/04 22:38:45 UTC

$portlets in multi-column.vm

Ok i have just realized my english was
not really understandable in my previous mail and my message
was not therefore really clear.
I'll try to make it short.
Is the syntax :
# foreach ($portlet in $portlets[0])
correct to only get the portlets of the first column ?
I use this instruction in a velocity template file associated with a
multicolumn controller
and it doesn't work. $!portlet.getContent($data) gives me nothing.

Of course i have tried the following syntax:
#foreach ( $column in $portlets)
# foreach ($portlet in $column)
and it works but i don't want to iterate through all the columns and diplay
all the portlets!

How can i only retrieve the portlets of a specific column from the $portlets
object?

Thanks in advance.
Luc





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>