aspose file tools*
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 Spring in Action this week in the Spring 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: inputText + inputHelperDatePicker default value problem