• 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

input field in jsp "between disapers"

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


When i in my input field have a text like this: This is "my tekst"

only This is is shown in the input field the "my tekst" disappers, can anyone explain why

Kent
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kent,

Remove the disabled attribute and check.
The DISABLED attribute disables the control. Disabled elements are read-only elements with the added restrictions that the values are not submitted with the form, the elements cannot receive focus, and the elements are skipped when navigating the document by tabbing.
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should be :
<tr><%System.out.println("kge jsp tekst egen konto:" + OverfoerselViewbean.getEgenTekst());%> <td nowrap="nowrap" class="clsFormularCellAStart" ><p class="clsTxtNormalE" >Tekst p� eget kontoudskrift</p></td><td class="clsWidth9spacer" ><img src="<wps:urlFindInTheme file="images/blank.gif"/>"></td><td class="clsFormularCellAEnd" valign="top"><input type="text" size="17" maxlength="35" name="" value="<%=OverfoerselViewbean.getEgenTekst()%>" class="clsInputJ" /><img src="<wps:urlFindInTheme file="images/error_blank.gif"/>" border="0" hspace="2"></td></tr>
 
Kent Geisler
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It still don't work
The value of OverfoerselViewbean.getEgenTekst(), which have to be shown is:
This is "my tekst"
But only: This is is shown
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you do view source is it there?

Eric
 
Kent Geisler
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, in my System.out the value shown is: This is "my tekst"
 
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic