File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: How to show Browser time in JSF outputText component?
 
Similar Threads
h:datatable, how multiply row cell A with row cell B and set value in row cell C
datatable - row colors
retrieve a int from backbean and dinamically work with it in the .xhtml in very bizarre way
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