• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean:write

 
sanju sreedharan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic