myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosma Colanicchia (JIRA)" <>
Subject [jira] Created: (TOMAHAWK-516) JSCookMenu problems in a Trinidad project
Date Wed, 05 Jul 2006 15:41:29 GMT
JSCookMenu problems in a Trinidad project

         Key: TOMAHAWK-516
     Project: MyFaces Tomahawk
        Type: Bug

  Components: JS Cook Menu  
 Environment: Any project configured to use both Trinidad and MyFaces Tomahawk
    Reporter: Cosma Colanicchia

Using JSCookMenu in a MyFaces+Trinidad project leads to some problems.

1) HtmlJSCookMenuRenderer tries to find the parent form searching for an UIForm component,
but the Trinidad CoreForm doesn't extend UIForm. The enclosing so isn't recognized, and another
dummyform gets rendered in the page.

2) HtmlJSCookMenuRenderer also call HtmlFormRendererBase.addHiddenCommandParameter to add
an hidden fields, needed by JSCookMenu, in the form. That field however doesn't get rendered
and a javascript error happens when trying to use the menu. This is probably caused by the
Trinidad renderer that override the MyFaces one, and happens using either <h:form> or

Problem 1) also makes it impossible to use the <af:form>'s targetFrame feature to load
the action result in another target/frame.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message