|
I have a question about the <t:schedule>
component because it isn't behaving as I expect although the example seems to
work somewhat like I expect.
Basically, when I click on an entry in the
calendar, I want to go to an "Edit Event" page. The example in the sandbox
goes into an "edit mode" of sorts. I can't get even that kind of behavior
to work. How is that action even happening in the example? But more
importantly, how can I get my "go to Edit Event" page behavior to work?
Below is my reference to <t:schedule> in my JSP:
<t:schedule
id="schedule"
value="#{Calendar.scheduleHandler.model}"
binding="#{Calendar.scheduleHandler.schedule}"
rendered="true"
visibleStartHour="#{Calendar.scheduleSettings.visibleStartHour}"
visibleEndHour="#{Calendar.scheduleSettings.visibleEndHour}"
workingStartHour="#{Calendar.scheduleSettings.workingStartHour}"
workingEndHour="#{Calendar.scheduleSettings.workingEndHour}"
readonly="#{Calendar.scheduleSettings.readonly}"
theme="#{Calendar.scheduleSettings.theme}"
tooltip="#{Calendar.scheduleSettings.tooltip}"
submitOnClick="true"
mouseListener="#{Calendar.scheduleHandler.scheduleClicked}"
action=""
/>
I have the "scheduleClicked" and "scheduleAction" methods in the Calendar backing bean which is at session scope. Both the "scheduleClicked" and "scheduleAction" methods are being called, but when "scheduleAction" is called the app returns to the app's main page rather than the page specified by the outcome setting in the faces_config.xml file. Can anyone think of anything I am missing or need to do to get the desired behavior? Also, When you click on an entry in the
Schedule, how can you determine which entry has just been clicked on? Is
there a way to retrieve the actual event clicked or its UID? Thanks! |
- Re: problem with <tr:selectOrderShuttle> Scott Wall
- <t:schedule> questions Stephen Osella
- Re: problem with <tr:selectOrderShuttle> Simon Lessard

