Srini--

One other comment about your first <netui:label> example below. In order to have "pageFlow.today" evaluated as an expression, it should appear in the tag attribute as a JSP 2.0 expression:

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

Also, it's worth pointing out that <netui:label> in Beehive is used to label HTML form elements. If you'd like to have the text appear in the page, <netui:span> is a good choice and just renders any data bound value as text wrapped in a <span>...</span>

  Hope that helps!

Eddie




Krista Baker wrote:
This issue has also recently been fixed.
(http://issues.apache.org/jira/browse/BEEHIVE-249)
The format tags listed below in the email with an SVN build from this
evening now produce the following results with my formatDate label
value="01/02/0111":

0111-01-02 (555)444-3333 (555)444-3333 (555)444-333333 5,554.00

-Krista

-----Original Message-----
From: Srini [mailto:[EMAIL PROTECTED] Sent: Monday, February 14, 2005 10:19 PM
To: [email protected]
Subject: 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





Reply via email to