I am using WebSphere 8 & RAD 9.
I need to set context-root dynamically / programatically.
For example, i have URL's with one ear file (TestEAR).
Based on the region URL will change, but it should access same AppEAR only.
www.app1.com --> AppEAR
www.app2.com--> AppEAR
Is it possible to set the context-root dynamically based on URL's
How to highlight an inputText in JSF 2.0 when a server-side validation error occurs?
I have the server side validation,if validation fails, text box color (style) should change.
else it should display in normal color.
i have a datatable with id= tblId#{emp.id}
<c:set var="tableID" value="tblId#{emp.id}">
displaying employee details inside c:forEach
closing dataTable.
Inside validate method,always i am getting last table row id only.
For ex.
Dispaying 5 table dynamically.
Need to validate check box selected or not.
5 table are displayed.
But it shows 5th table row id only.
It is because of local varible declaration?