Dynamically assigning values to "id" attribute in h:commandLink tag..??
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Santosh_Urs
Posted On:   Thursday, January 8, 2009 06:42 AM

Hi, I have to display the profiles the users which are stored in database..For this ( to display ) i'm using the format is:- User1 ( hyperlinked ) displayed using tag User2 User3 ....Continues.. On clicking any hyperlinked "UserX" i have display his complete details in a div tag ( table format in div) {code} <% int i = 0; %> <%i++;%> <%=i%>"> pls see the <%=i%> /> here i'm not able as   More>>

Hi,

I have to display the profiles the users which are stored in database..For this ( to display ) i'm using
the format is:-

User1 ( hyperlinked ) displayed using tag
User2
User3 ....Continues..

On clicking any hyperlinked "UserX" i have display his complete details in a div tag ( table format in div)


{code}
<% int i = 0; %>

<%i++;%>




<%=i%>">
















pls see the <%=i%> /> here i'm not able asign the value of "i" inside the "id " attribute.

i have to assign same value to both User link & the div tag, so that if i click on user1 i can fetch the id of div tag & make is visible


So any solutions for this.........????
   <<Less
About | Sitemap | Contact