Hi Cosma!
> 1) The class HtmlJSCookMenuRenderer tries to find the parent form
> searching for an UIForm component, but the Trinidad CoreForm doesn't
> extend UIForm. This cause the the dummyform stuff rendered in the
> page.
>
> 2) Using either <af:form> or <h:form>, calling
> addHiddenCommandParameter on HtmlFormRendererBase doesn't seem to
> work, and the jscook hidden field isn't rendered on the form, causing
> a javascript error when trying to use the menu. This is probably
> caused by the Trinidad renderer used insted of the MyFaces one.
In both cases, try to use the component family to determine if this is a
form component.
Not sure which family trinidad uses, but this is the right way to do it.

See: org.apache.myfaces.shared.util._ComponentUtils.findNestingForm

Ciao,
Mario

Reply via email to