How to remove the auto generated "j_id" prefix added by JSF to my component IDs?

Solution Verified - Updated -

Issue

  • How to remove the auto generated "j_id" prefix added by JSF to my component IDs?

The form declaration:

 <h:form id="computeOfficeId" enctype="multipart/form-data" rowClasses="eFormProcessingDataTable" name="ShippingForm">

Generated page source:

<form id="j_id17:computeOfficeId" name="j_id17:computeOfficeId" method="post" action="/centralapp/computeOfficeID" enctype="multipart/form-data">

The ID value include an auto generated "j_id17" prefix.

Environment

  • JBoss Enterprise Service Oriented Architecture Platform (SOA-P) 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content