You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dominate <do...@yahoo.com> on 2013/01/18 14:16:56 UTC

Tapestry datatable with NULL number

Hello,

I am usin Tapestry table t:type="jquery/datatable". When one field (whose
datatype is Long) is null, it gives me error: Render queue error in
Expansion[PropBinding[expansion bin/Search:thegrid(cellValue)]]: Cannot
format given Object as a Number

So, there should be some generic way to prevent this (I cannot override all
the fields with <p:fieldCell>...)
I have tried CoercionTuple but it was not the solution.

Do you have any idea? Here is the code:

<div t:type="zone" t:id="tablezone" id="tablezone">
		

		


</div> 



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-datatable-with-NULL-number-tp5719382.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Tapestry datatable with NULL number

Posted by Emmanuel DEMEY <de...@gmail.com>.
Hi,

Which version of Tapestry jQuery do you use ? I think this issue has been
solved in the current SNAPSHOT.

Manu


2013/1/18 dominate <do...@yahoo.com>

> Hello,
>
> I am usin Tapestry table t:type="jquery/datatable". When one field (whose
> datatype is Long) is null, it gives me error: Render queue error in
> Expansion[PropBinding[expansion bin/Search:thegrid(cellValue)]]: Cannot
> format given Object as a Number
>
> So, there should be some generic way to prevent this (I cannot override all
> the fields with <p:fieldCell>...)
> I have tried CoercionTuple but it was not the solution.
>
> Do you have any idea? Here is the code:
>
> <div t:type="zone" t:id="tablezone" id="tablezone">
>
>
>
>
>
> </div>
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Tapestry-datatable-with-NULL-number-tp5719382.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emmanuel@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey