You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zied Hamdi <ja...@gmail.com> on 2007/12/13 16:29:57 UTC

[tomahawk] shedule doesn't call model.setSelectedEntry(ScheduleEntry selectedEntry)

Hi,

I have a problem selecting

-- 
Zied Hamdi
zatreex.sourceforge.net

[tomahawk] Is there a version of tomahawk that includes a tiles2 ViewHandler

Posted by "Zheng, Xiahong" <Xi...@FMR.COM>.
I remember reading a post about tiles2 ViewHandler support in tomahawk
some time ago. However, I could not find it in the current official
release 1.1.6 release. If it's still a snap version, can anybody point
me where to download it.
 



	 


Re: [tomahawk] shedule doesn't call model.setSelectedEntry(ScheduleEntry selectedEntry)

Posted by Zied Hamdi <ja...@gmail.com>.
Hi,

Sorry for spamming, looking further to the problem, I noticed that the phase
is cut after APPLY_REQUEST_VALUES. I didn't notice that because I don't have
any message displayed in my page.

In fact AbstractScheduleRenderer.decode() calls schedule.setSubmittedEntry
(entry); with the correct value and creates an event to be processed in the
INVOKE_App phase, but somewhere (I don't know where) the process si shortcut
and the response is returned without specifying any error message. This
happens on entry selection.

Here's my log, can you help me find where the interruption occurs, I don't
have any advanced JSF experience.


09:39:03,296 INFO [STDOUT] 2007-12-14 09:39:03,296 [http-127.0.0.1-8080-2]
TRACE org.apache.myfaces.tobago.util.DebugPhaseListener.beforePhase(118) -
Before Phase :RESTORE_VIEW 1 Time=1197621543296

09:39:03,359 INFO [STDOUT] 2007-12-14 09:39:03,359 [http-127.0.0.1-8080-2]
TRACE org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(51) -
After Phase :RESTORE_VIEW 1 Time=1197621543359

09:39:03,359 INFO [STDOUT] 2007-12-14 09:39:03,359 [http-127.0.0.1-8080-2]
DEBUG org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(58) -
Phase RESTORE_VIEW 1 needs 63 milliseconds

09:39:03,359 INFO [STDOUT] 2007-12-14 09:39:03,359 [http-127.0.0.1-8080-2]
DEBUG org.apache.myfaces.tobago.util.DebugPhaseListener.beforePhase(113) -
Time between phases 1 and 2: 0 milliseconds

09:39:03,359 INFO [STDOUT] 2007-12-14 09:39:03,359 [http-127.0.0.1-8080-2]
TRACE org.apache.myfaces.tobago.util.DebugPhaseListener.beforePhase(118) -
Before Phase :APPLY_REQUEST_VALUES 2 Time=1197621543359

09:39:03,437 INFO [STDOUT] 2007-12-14 09:39:03,437 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name =
'MenuRenderer' suffix = '' key = 'null'

09:39:03,437 INFO [STDOUT] 2007-12-14 09:39:03,437 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for MenuRenderer. Please check you
configuration.

09:39:03,562 INFO [STDOUT] 2007-12-14 09:39:03,562 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name = '
org.apache.myfaces.ScheduleRenderer' suffix = '' key = 'null'

09:39:03,578 INFO [STDOUT] 2007-12-14 09:39:03,578 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer.
Please check you configuration.

09:39:05,234 INFO [STDOUT] 2007-12-14 09:39:05,234 [http-127.0.0.1-8080-2]
TRACE org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(51) -
After Phase :APPLY_REQUEST_VALUES 2 Time=1197621545234

09:39:05,234 INFO [STDOUT] 2007-12-14 09:39:05,234 [http-127.0.0.1-8080-2]
DEBUG org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(58) -
Phase APPLY_REQUEST_VALUES 2 needs 1875 milliseconds

09:39:05,234 INFO [STDOUT] 2007-12-14 09:39:05,234 [http-127.0.0.1-8080-2]
DEBUG org.apache.myfaces.tobago.util.DebugPhaseListener.beforePhase(113) -
Time between phases 2 and 6: 0 milliseconds

09:39:05,234 INFO [STDOUT] 2007-12-14 09:39:05,234 [http-127.0.0.1-8080-2]
TRACE org.apache.myfaces.tobago.util.DebugPhaseListener.beforePhase(118) -
Before Phase :RENDER_RESPONSE 6 Time=1197621545234

09:39:05,375 INFO [STDOUT] 2007-12-14 09:39:05,375 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name = '
org.apache.myfaces.ScheduleRenderer' suffix = '' key = 'null'

09:39:05,375 INFO [STDOUT] 2007-12-14 09:39:05,375 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer.
Please check you configuration.

09:39:05,390 INFO [STDOUT] 2007-12-14 09:39:05,390 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'property' name =
'into-i' suffix = '' key = 'today'

09:39:05,390 INFO [STDOUT] 2007-12-14 09:39:05,390 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'property' name =
'into-i' suffix = '' key = 'today'

09:39:05,468 INFO [STDOUT] 2007-12-14 09:39:05,453 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name = '
org.apache.myfaces.ScheduleRenderer' suffix = '' key = 'null'

09:39:05,468 INFO [STDOUT] 2007-12-14 09:39:05,468 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer.
Please check you configuration.

09:39:05,531 INFO [STDOUT] 2007-12-14 09:39:05,531 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name = '
org.apache.myfaces.ScheduleRenderer' suffix = '' key = 'null'

09:39:05,531 INFO [STDOUT] 2007-12-14 09:39:05,531 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer.
Please check you configuration.

09:39:05,625 INFO [STDOUT] 2007-12-14 09:39:05,625 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name = '
org.apache.myfaces.ScheduleRenderer' suffix = '' key = 'null'

09:39:05,640 INFO [STDOUT] 2007-12-14 09:39:05,625 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer.
Please check you configuration.

09:39:05,703 INFO [STDOUT] 2007-12-14 09:39:05,703 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(265) -
Path not found, and no fallback. Using empty string.

resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'mozilla_5_0' subDir = 'tag' name = '
org.apache.myfaces.ScheduleRenderer' suffix = '' key = 'null'

09:39:05,703 INFO [STDOUT] 2007-12-14 09:39:05,703 [http-127.0.0.1-8080-2]
ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348)
- Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer.
Please check you configuration.

09:39:05,765 INFO [STDOUT] 2007-12-14 09:39:05,765 [http-127.0.0.1-8080-2]
TRACE org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(51) -
After Phase :RENDER_RESPONSE 6 Time=1197621545765

09:39:05,765 INFO [STDOUT] 2007-12-14 09:39:05,765 [http-127.0.0.1-8080-2]
DEBUG org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(58) -
Phase RENDER_RESPONSE 6 needs 531 milliseconds

09:39:05,765 INFO [STDOUT] 2007-12-14 09:39:05,765 [http-127.0.0.1-8080-2]
INFO org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(65) -
Total response time : 2469 milliseconds


2007/12/13, Zied Hamdi <ja...@gmail.com>:
>
> Hi again,
>
> A gmail shortcut sent the mail before I finish :-).
>
> So when I click on a schedule entry, I verify the javascript has modified
> the hidden input (with the id given to the t:schedule), then I wait in my
> model.setSelectedEntry(ScheduleEntry selectedEntry)   with a breakpoint,
> this never happens, the page is reloaded but no selected entry is set.
>
> The action attribute (if filled in) is not executed too.
>
> I also have on mouse overs lot of js errors uner firefox 2.0.0.11 but I
> don't think it's the cause (no errors on mouse click):
>  event is not defined
>  domLib.js
>  Line: 535
>
> Any suggestion will be appreciated.
>
> Regards,
> Zied
>
>
> 2007/12/13, Zied Hamdi <ja...@gmail.com>:
> >
> > Hi,
> >
> > I have a problem selecting
> >
> > --
> > Zied Hamdi
> > zatreex.sourceforge.net
> >
>
>
>
> --
> Zied Hamdi
> zatreex.sourceforge.net
>



-- 
Zied Hamdi
zatreex.sourceforge.net

Re: [tomahawk] shedule doesn't call model.setSelectedEntry(ScheduleEntry selectedEntry)

Posted by Zied Hamdi <ja...@gmail.com>.
Hi again,

A gmail shortcut sent the mail before I finish :-).

So when I click on a schedule entry, I verify the javascript has modified
the hidden input (with the id given to the t:schedule), then I wait in my
model.setSelectedEntry(ScheduleEntry selectedEntry)   with a breakpoint,
this never happens, the page is reloaded but no selected entry is set.

The action attribute (if filled in) is not executed too.

I also have on mouse overs lot of js errors uner firefox 2.0.0.11 but I
don't think it's the cause (no errors on mouse click):
 event is not defined
 domLib.js
 Line: 535

Any suggestion will be appreciated.

Regards,
Zied


2007/12/13, Zied Hamdi <ja...@gmail.com>:
>
> Hi,
>
> I have a problem selecting
>
> --
> Zied Hamdi
> zatreex.sourceforge.net
>



-- 
Zied Hamdi
zatreex.sourceforge.net