Does someon knows what the error in the subject means? I get this error when I split my jsp in two (see example below). The error appears in the included jsp file on the value assignment of my table.
Thus the original file looks like this:
...
<tr:table
id="personalShiftPlanWeeklyOverviewTable"
binding="#{personalShiftPlanOverviewActions.weeklyOverviewTable}"
value="#{personalShiftPlanOverviewActions.overviewWeekly.dataModel}"
var="row" width="100%" rows="7"
autoSubmit="true"
summary="Personal Shift Plan Weekly Overview" rowBandingInterval="1">
<f:facet name="header">
…
</f:facet>
…
<tr:column width="30%">
<f:facet
name="header">
<tr:outputText value="#{text['personalShiftPlanOverview.bookings']}" />
</f:facet>
<tr:panelFormLayout maxColumns="2" rows="2">
<tr:table id="bookingPairs" value="#{row.bookingPairs}" var="bookingPair"
rendered="#{row.bookingPairs != null}" summary="Bookings" width="100%">
<tr:column width="50%">
…
</tr:column>
<tr:column width="50%">
…
</tr:column>
</tr:table>
</tr:panelFormLayout
</tr:column>
…
</tr:table>
...
Will become something like this:
personalShiftPlanWeeklyOverview.jsp
<tr:table
id="personalShiftPlanWeeklyOverviewTable"
binding="#{personalShiftPlanOverviewActions.weeklyOverviewTable}"
value="#{personalShiftPlanOverviewActions.overviewWeekly.dataModel}"
var="row" width="100%" rows="7"
autoSubmit="true"
summary="Personal Shift Plan Weekly Overview" rowBandingInterval="1">
<f:facet name="header">
…
</f:facet>
…
<tr:column width="30%">
<f:facet
name="header">
<tr:outputText value="#{text['personalShiftPlanOverview.bookings']}" />
</f:facet>
<jsp:include
page="personalShiftPlanOverviewBookingColumn.jsp" />
</tr:column>
…
</tr:table>
----------------------------------------------------------
personalShiftPlanOverviewBookingColumn.jsp
<tr:panelFormLayout
maxColumns="2" rows="2">
<tr:table
id="bookingPairs" value="#{row.bookingPairs}" var="bookingPair"
rendered="#{row.bookingPairs != null}" summary="Bookings" width="100%">
<tr:column width="50%">
…
</tr:column>
<tr:column width="50%">
…
</tr:column>
</tr:table>
</tr:panelFormLayout>
Thanks!
Joris
--
View this message in context:
http://www.nabble.com/-%7B..%7D-is-not-allowed-in-template-text-tp17802455p17802455.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

