Meaningless Drivel is fun!*
The moose likes JSP and the fly likes how to use Expression Language for Textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to use Expression Language for Textarea" Watch "how to use Expression Language for Textarea" New topic
Author

how to use Expression Language for Textarea

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

Debug the values.
Before your table, try to output the content of ${packDetails.packDetails.packMessage.actSucessMessage} :


(you have two packDetails variables, is it ok ?)


[My Blog]
All roads lead to JavaRanch
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
yes..how do i need to code...
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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

Joined: Mar 30, 2010
Posts: 350
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

Joined: Sep 29, 2008
Posts: 12617

Textarea tags should have their values *between* the opening and closing textarea tag, *not* as a "value" attribute.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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

Joined: Mar 30, 2010
Posts: 350
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

Joined: Jan 10, 2002
Posts: 61770
    
  67

There is no such thing as a combobox on the web: HtmlHasNoComboBox


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use Expression Language for Textarea