You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Srini <k_...@yahoo.com> on 2005/02/15 07:19:18 UTC

netui:formatDate, netui:formatString and netui:formatNumber not working

Hi All,
 
I am trying to play around with <netui:formatDate>, <netui:formatString> and <netui:formatNumber> tags  and none of them seem to work . Below is the code snippet of each of these.
 

<netui:label value="pageFlow.today" defaultValue="08/20/2004" >

<netui:formatDate country="US" language="en" pattern="yyyy-MM-dd"/>

</netui:label>



<netui:label value="5554443333" > 

<netui:formatString country="US" language="en" pattern="(###)###-####" />

</netui:label>



<netui:label value="555444333333" > 

<netui:formatString country="US" language="en" pattern="(###)###-####" truncate="true"/>

</netui:label>



<netui:label value="555444333333" > 

<netui:formatString country="US" language="en" pattern="(###)###-####" truncate="false"/>

</netui:label>


<netui:label value="5554" > 

<netui:formatNumber country="US" language="en" pattern="###,####,###.00" type="number"/>

</netui:label>

Srini