• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

bean:write

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic