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 Sebastian Komander <se...@gehacked.org> on 2005/05/19 07:47:53 UTC

Accessing managed beans in code || iterate in JSF

Hi,

is there any possibility to access the JSF Managed Beans (Portlet) in
JavaCode ? I want to write a custom tag in which I give a Managed Bean or
a property of a managed bean, and the use it in code. E.g.

<k:jsfIterator property="#{managedBean.anArrayList}" status="stat"
var="item">
   <h:outputText value="#{item.property}"
</k:jsfIterator>


In the code of my own tag, I must access the managed bean and the
propertys of the bean. Is this possible or should I use struts in
combination with jsf ?

Oh, sure, normally you should use the dataTable, but this hasn't enough
features.

kind regards

Sebastian


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org