Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Open Points: 75 Time: 02:33 - Nov 11, 2008  

rakeshgowdamk

Hi Am Rakesh, Am generating User Data List, Details Given Below.Please Help Me.

Hi Am Rakesh, Am generating User Data List, and i have assigned in the radio buttons which is shown below. I need to select each user name from radio button to edit user information. Before selecting user, if i click on the edit link it will take null values so need to validate radio button in front end and selected radio button values only should take for fetching values. this is my code
<% if(request.getAttribute("uprofile")!=null)
{ %>
<tr>
<td colspan="6" ><table width="100%" cellspacing="0" id="grid">
<tr class="head">
<th width="20">&nbsp;</th>
<th>User Name</th>
<th scope="col" abbr="Dual 2GHz"> Email</th>
<th scope="col" abbr="Dual 2.5GHz">Role</th>
<th scope="col" abbr="Dual 2.5GHz">Status</th>
<th scope="col" abbr="Dual 2.5GHz">&nbsp;</th>
</tr>
<%
 int i=0;

 Vector vuserlist=(Vector)request.getAttribute("uprofile");
 Iterator ilist=vuserlist.iterator();
 while (ilist.hasNext())
  {
   ArrayList auser=(ArrayList)ilist.next();
   Iterator ialist=auser.iterator();
   while(ialist.hasNext())
   { String username=(String)ialist.next();
   i++;

   %>

 
<tr>  
<td><input type="radio" name="rusername" value="<%=username%>" /></td>
<td id="userid"><%= username %></td>

<td><%= ialist.next() %></td>
<td><%= ialist.next() %></td>
<td><%= ialist.next() %></td>

<td><a href="#">Approve</a>&nbsp;|&nbsp;<a href="#">Deny</a></td>
</tr>
<%
}
}
}%>



</table></td>
</tr>elect

Categories

Answer Discussion
Tutorials

 

This question has not yet been answered.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es