aspose file tools*
The moose likes JSF and the fly likes How to show Browser time in JSF outputText component? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to show Browser time in JSF outputText component?" Watch "How to show Browser time in JSF outputText component?" New topic
Author

How to show Browser time in JSF outputText component?

mamidi subrahmanyam
Greenhorn

Joined: Jun 29, 2005
Posts: 18
How do I set javascript value in hutputText

<hutputText value="new Date();"/>
mamidi subrahmanyam
Greenhorn

Joined: Jun 29, 2005
Posts: 18
In <script> tag use something like this.

document.getElementById(viewId:compId).value = new Date();

Try this.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to show Browser time in JSF outputText component?
 
Similar Threads
Run the MethodeBean & display the fields that corresponds to selectMenu
how to add a row dynamically in panel grid by clicking on command button using jsf
retrieve a int from backbean and dinamically work with it in the .xhtml in very bizarre way
datatable - row colors
h:datatable, how multiply row cell A with row cell B and set value in row cell C