Hi guys, Has anyone seen the problem below
Petros Petros Petrou wrote: > > I have the following code that works fine > AccountsList.tml > <table t:type="Grid" source="accountsList" row="account" mode="model"> > <t:parameter name="accountManagerCell"> > ${account?.accountManager?.username} > </t:parameter> > </table> > > AccountsList.java > ... > private BeanModel<Account> model; > { > model = beanModelSource.create(Account.class, true, > componentResources); > model.add("accountManager", null); > } > > Now I replaced this line > ${account?.accountManager?.username} > with > <aa t:type="PageLink" page="user/DetailsPage" > context="${account?.accountManager?.username}">${account?.accountManager?.username}</aa> > > I am getting a TapestryException with the message > Context values (which are added to the request URL) may not be null or > blank. > > However, the context values are not blank because removing the "context" > everything works fine. > Furthermore, moving this line > <aa t:type="PageLink" page="user/DetailsPage" > context="${account?.accountManager?.username}">${account?.accountManager?.username}</aa> > outsite the grid component also works fine. > > Why it doesn't let me use context values for the PageLink inside a Grid > component ? > Petros > -- View this message in context: http://www.nabble.com/Grid-component-and-context-values---TapestryException-tp16433892p16759812.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]