Make sure that you don't have any naming containers that don't have an
ID assigned. "_id\d{1,}" patterns are generated for all components
that aren't given an ID in the xhtml/jsp files.

On 2/9/07, Steve Torrefranca <[EMAIL PROTECTED]> wrote:
How do we prevent MyFaces(tomahawk 1.1.5-SNAP) from adding a _idXX in
between the form name and field id?

Like this:
<t:commandButton id="submit" value="Submit"
action="#{spendReportingBean.generateReport}" />

Will render:

<input *id**=**"_formPage:_id1031:submit"* name="_formPage:_id1031:submit"
type="submit" value="Submit" onclick="if(typeof 
window.clearFormHiddenParams__formPage!
='undefined'){clearFormHiddenParams__formPage('_formPage');}if(typeof 
window.getScrolling!
='undefined'){oamSetHiddenInput('_formPage','autoScroll',getScrolling());}" />

Thank you

-- Steve

Reply via email to