You put me on the right way.
It still didn'twork using the <t:parameter> tag, so I tried to add a <t:if>.

My tml looks like that : 

<t:parameter name="shopCell">
     <t:if test="user.shop">
          ${user.shop.shoCode}
     </t:if>
</t:parameter>

Using this method it works well.

Thanks for your help



Joost Schouten (ml) wrote:
> 
> Hi,
> 
> What problem do you experience (exception/stacktrace)? You should just 
> see an empty cell if your null value is of a type recognized by the 
> BeanModel.
> 
> You can override every cell by using this:
> 
> <p:yourPropertyNameCell> <!-- if no p namespace: t:parameter 
> name="yourPropertyNameCell"-->
>      display whatever you want eg: ${row.yourPropertyName} or 
> ${computedValueInTheComponent}
> </p:yourPropertyNameCell>
> 
> Hope this helps,
> Joost
> 
> 


-----
Claude Dubois
-- 
View this message in context: 
http://old.nabble.com/How-to-use-a-grid-with-some-%22null%22-cells-tp28521840p28523766.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to