My environment:

myFacesCore 1.1.4

tomahawk 1.1.3

tomahawk sandbox 1.1.3 Snapshot

 

I have two subforms inside a form. Each subform contains command buttons. I receive _javascript_ errors if I click the command buttons:

This problem does not occur with myFacesCore 1.1.3.

 

Generated HTML for the button with core 1.1.4:

<input id="docform:singleFormId:_idJsp210" name="docform:singleFormId:_idJsp210" type="submit" value="Accept" style="z-index:1" class="button_img_60" accesskey="a" />

JS Error: clear_docform_3AsingleFormId not defined

 

Generated HTML for the button with core 1.1.3:

<input id="docform:singleFormId:_idJsp210" name="docform:singleFormId:_idJsp210" type="submit" value="Accept" style="z-index:1" class="button_img_60" accesskey="a" />

 

JSP source:

<x:subForm id="singleFormId">

...

<h:commandButton actionListener="#{MyController.accept}"

value="#{msgs['annotation.documentPreview.button.accept']}"

styleClass="button_img_60" style="z-index:1"

accesskey="#{msgs['annotation.documentPreview.button.accesskey.accept']}"/>

 

It seems to me now like a lottery to get compatible versions of core, tomahawk and sandbox.

 

Any help is appreciated

Michael

Reply via email to