File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use Expression Language for Textarea

 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • 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

 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes..how do i need to code...
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • 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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no such thing as a combobox on the web: HtmlHasNoComboBox
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic