• 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

how to use Expression Language for Textarea

 
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
in my work ..i had textarea..i need to get values which are already exists..i used EL for it...but im not getting the values...here is my code...i need suggestion how to get

 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Debug the values.
Before your table, try to output the content of ${packDetails.packDetails.packMessage.actSucessMessage} :


(you have two packDetails variables, is it ok ?)
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes..how do i need to code...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you try to output the content of the variables the way I asked you above? Copy/paste that piece of code in your jsp and tell us what is being output.
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i tried but im not getting the values in text area..here is the code how i implemented



in console it is showing as

child ::{ACT_SUCCESS_MESSAGE=1}
getChildNodes(v) ::{ACT_SUCCESS_MESSAGE=1}
totalClassFileds ::{ACT_LOWBAL_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.actLowbalMessage, ACT_FAIL_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.actFailMessage, BLACK_LIST_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.blackListMessage, STILL_SUSPEND_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.stillSuspendMessage, ACT_SUCCESS_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.actSucessMessage, SUSPEND_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.suspendMessage, ALERT_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.alertMessage, POSTPAID=private java.lang.String nxl.util.pack.PackMessage.postPaid, AUTORENEWAL_SUCCESS_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.autoRenewalSucessMessage, ACT_DIFFERENTIAL_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.actDiffentialMessage, DEACT_SUCCESS_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.deactSucessMessage, RETRY_STOPPED_MESSAGE=private java.lang.String nxl.util.pack.PackMessage.retryStoppedMessage}
>>>>>>>>>>>>>>>nodeName ACT_SUCCESS_MESSAGE
<<<<<<<<<<<<<<<<<<<<<nodeValue String 1 [nxl.util.pack.PackMessage@1535a58] objMemeber private java.lang.String nxl.util.pack.PackMessage.actSucessMessage
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Textarea tags should have their values *between* the opening and closing textarea tag, *not* as a "value" attribute.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

madhuri kunchala wrote:i tried but im not getting the values in text area..here is the code how i implemented


Sorry, there's some misunderstanding. I was not asking you to paste that code in your textarea. I'd like you to paste somewhere where like after the <body> tag of your page. Not inside a textarea, not inside a table. For example :
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi good morning,
i tried it and i got it...i had a doubt that for checkboxes and combobox same procedure should be followed are what...
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no such thing as a combobox on the web: HtmlHasNoComboBox
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic