This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes bean:write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean:write" Watch "bean:write" New topic


sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
actually i have a field called enter the place and after filling that field for example
Enter the place:blablabla
and after that when i press should get save and should not be able to edit that field again.
in my case it getting saved but it can be editable can i make it no editable again.

th align=left class="type1opp"><bean:message key="sel.place_interview" /></th>

<td width="22%" class="type1"><html:textarea name="selectionProcess" property="place_interview" indexed="true" styleClass="textarea"/></td>

Lakshmi Narayana puvvada

Joined: Jul 20, 2005
Posts: 3
Hi Sanju,

Your question is not cleared.
As per my knowledger, you just seperate the view page and edit page.
i mean while displaying the page itself you just pass the parameter as a mode. depends on the mode you can display the page as editable field or non editable field.

Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41

What you are trying to do can be achived using javascript.Add the following code to the javascript file and call the funcation once you press save button.

Thanks and Regards,
Aalok Mishra
InfoCepts, LLC
Don't get me started about those stupid light bulbs.
subject: bean:write
Similar Threads
LogonView.jsp Displays A Blank Page
how to iterate.
how to make editable page non editable when i press save?????
Checkbox and Multibox validation
How to retrieve the values of dynamically created text boxes in jsp