File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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
I agree. Here's the link:
subject: bean:write
It's not a secret anymore!