You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ricardo Ramírez <ri...@gmail.com> on 2006/07/12 03:47:12 UTC

How does getSelectedEntry() from SimpleScheduleModel works?

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


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.