Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2009, 01:10 PM
Member
 
Join Date: Jul 2009
Posts: 6
Rep Power: 0
whiteasshweta is on a distinguished road
Default radio button checked by default
hello...

I am facing a problem ,I have a page with multiple links.when i click on a link it opens a form on the same page.on the page there are 2 radio buttons.and a listbox having items.
Radio buttons
a> all entities
b> selected entities
everything is disabled on listbox on clicking all entities and we have to submit as all entities will be selected automatically.
but when i click on selected entities,all the items in the list box are enabled and i can select the specific item.....n can submit the information.
but when i again click the same link to once again filled the form ,the selected entities radio button is checked and all the dta in the list box is disabled so for this first i have to check the all entities button n then selected entities radio button then it will come to normal.
so i want that all entities radio button should be checked by default all the time. I have already tried that mentioning in form bean. but that is not working.any other suggestion........
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-06-2009, 01:36 PM
Senior Member
 
Join Date: Dec 2008
Posts: 164
Rep Power: 2
dswastik is on a distinguished road
Default
Have you tried checked attribute?

Code:
<input type=radio name=r1 value=hello checked>
<input type=radio name=r1 value=hi>
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-06-2009, 01:46 PM
Member
 
Join Date: Jul 2009
Posts: 6
Rep Power: 0
whiteasshweta is on a distinguished road
Default radio button default
yes i have done that also ......still it is not working.........in case of struts....it is showing session expired when i am using the property checked....can i get your gmail id......
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-06-2009, 02:11 PM
Member
 
Join Date: Jul 2009
Posts: 6
Rep Power: 0
whiteasshweta is on a distinguished road
Default
can u please add me in ur mail.....whiteasshwetas@gmail.com
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Tags
radio button

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Double click radio button mandragora AWT / Swing 11 11-10-2008 12:06 PM
How to use SWT Radio Button Java Tip SWT 0 07-25-2008 03:25 PM
Reacting Radio button event Java Tip javax.swing 0 06-26-2008 08:46 PM
Disable Radio button AJG New To Java 0 04-07-2008 09:37 PM
Radio button values are not lose chockalingam JavaServer Pages (JSP) and JSTL 0 12-03-2007 09:14 AM


All times are GMT +2. The time now is 10:46 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org