Hi,
I have a problem trying to get HTML ID for an HTMLB button I have created on a JSP page.
I can retrieve the HTML ID when I use a static ID for the button.
<%String sbutton2;%>
<hbj:button id="ButtonNo2" text="Submit">
<%sbutton2=myContext.getParamIdForComponent(ButtonNo2);%>
</hbj:button>
But when I create the button using a dynamic ID I have a problem.
<%String sbutton2;
String b2 = "ButtonNo2";%>
<hbj:button id="<%=b2%>" text="Submit">
<%sbutton2=myContext.getParamIdForComponent(???);%>
</hbj:button>
What do I put in place of the ???.
I can not pass b2 as this is the string and not the button.
Any suggestions?
thanks,
Den.