wood burning stoves 2.0*
The moose likes JSF and the fly likes inputText + inputHelperDatePicker default value problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "inputText + inputHelperDatePicker default value problem" Watch "inputText + inputHelperDatePicker default value problem" New topic
Author

inputText + inputHelperDatePicker default value problem

nikola petanjak
Greenhorn

Joined: Apr 01, 2011
Posts: 19
Hello,

still being new to web programming i have the following problem with inputtext field:



The problem is, it seems like inputHelperDatePicker "overwrites" the initial value="#{bean.someDate} with it's own value, that is, the current date.
I would like the default value from my bean and not the current date to be displayed by default.
Any suggestion would be appreciated.

Nikola
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

I think you are using jsf extends ibmJsf functionalities! in my experience both mingled not very well
<edit>typo</edit>
nikola petanjak
Greenhorn

Joined: Apr 01, 2011
Posts: 19
Thank you for your reply. The problem was more trivial then i tought; i needed to set value in my backing bean.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inputText + inputHelperDatePicker default value problem
 
Similar Threads
Clear validation message dynamically for the Datepicker
submit only with inputText and without valueChangeListener
How can we render a jsf element with a # inside #
inputtext- illegal syntax for set operation
How to set default value in input text box - jsf