You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by octoberdan <da...@october5th.net> on 2006/07/11 20:06:47 UTC

How would I use ValueExpression to replace the deprecated ValueBinding?


-- 
View this message in context: http://www.nabble.com/How-would-I-use-ValueExpression-to-replace-the-deprecated-ValueBinding--tf1926137.html#a5274688
Sent from the MyFaces - Users forum at Nabble.com.


Re: How does getSelectedEntry() from SimpleScheduleModel works?

Posted by octoberdan <da...@october5th.net>.
You might want to post a new thread and not a reply to mine ;-). Unless of
course you want to help me with my problem...... :-D
-- 
View this message in context: http://www.nabble.com/ValueExpression-to-replace-deprecated-ValueBinding--tf1926137.html#a5288087
Sent from the MyFaces - Users forum at Nabble.com.


How does getSelectedEntry() from SimpleScheduleModel works?

Posted by Ricardo Ramírez <ri...@gmail.com>.
I browsed the examples, but wasn't able to find anything, hoping someone
can help me :)

I have my schedule mapped to a SimpleScheduleModel in my managed bean,
like this:

		<s:schedule
			action="#{mybean.redirectAction}"
			id="calendario"
			value="#{mybean.model}"
			rendered="true"
			visibleStartHour="7"
			visibleEndHour="21"
			workingStartHour="9"
			workingEndHour="18"
			readonly="false"
			theme="outlookxp"
			tooltip="true"
			/>

Whenever I click on an entry, the "redirectAction" method is called,
however when I call:

model.getSelectedEntry() I always get a null value.
model.getSelectedDate() does return a date

what is the correct way to check the entry that was clicked?


-Ricardo