aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean:write" Watch "bean:write" New topic
Author

bean:write

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 save.it should get save and should not be able to edit that field again.
in my case it getting saved but it can be editable again.how 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>

thanks
sanju
Lakshmi Narayana puvvada
Greenhorn

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.

Regads
Lakshminarayana
Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Hi

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: http://aspose.com/file-tools
 
subject: bean:write
 
Similar Threads
how to iterate.
LogonView.jsp Displays A Blank Page
How to retrieve the values of dynamically created text boxes in jsp
how to make editable page non editable when i press save?????
Checkbox and Multibox validation