aspose file tools
The moose likes JSF and the fly likes Binding a variable in ManagedBean with the binding attribute in  ice:selectInputDate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Binding a variable in ManagedBean with the binding attribute in  ice:selectInputDate" Watch "Binding a variable in ManagedBean with the binding attribute in  ice:selectInputDate" New topic
Author

Binding a variable in ManagedBean with the binding attribute in ice:selectInputDate

Ramesh Etta
Ranch Hand

Joined: Sep 18, 2007
Posts: 46
Hi,

I am using <ice:selectInputDate value="#{bean.someDate} binding="#{bean.otherDate}" .......... />

Now when i set variables in the bean
for value it looks something like this
private Date someDate;

And now when i set variable for the binding in the bean
private Date otherDate;
Now it throws an IllegalArgumentException, becuase the returnType of otherDate should be something other than Date.

I came to know for the inputText tag there is HtmlInputText class as return type when we use binding attribute.

Can anyone tell me how to use the binding attribute in the <ice:selectInputDate....../> tag.

Thanks in advance
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Binding a variable in ManagedBean with the binding attribute in ice:selectInputDate
 
Similar Threads
Question about HtmlInputText binding attribute
Issue with intermediate posting
cset doubt??
problem in showing data on page after database retrival
nesting h:panelGrid within h:dataTable