Tomahawk is JSF, both Trinidad and Tomahawk are 3rd party JSF add-ons.

Hopefully aliasBean is moved over to myfaces commons someday as that
is a better home for it.

Without using alias bean or writing your own code to do the same.

Here is how to do it with no alias:

> first.jsp
> <tr:table id="tableId" value="#{backingBean.dataModel}" var="var">
>         ... call second.jsp or something like that (like it was a
> component)
> </tr:table>

> second.jsp
> <tr:inputText id="textId" value="#{var.text}"/>

So that the var in the table maps to the same variable name in the included JSP.

Facelets has ui:param for its include, which has no equivalent in JSP.
This is why I strongly suggest that you use facelets and not JSP.

Reply via email to