Hello,
i use a selectbox... the variables sb_lx and sb_l are inside the
formbean.
With the attached jsp-code i need to put the object sb_l from formbean
into context
request.setAttribute("sb_l", myform.getSb_l());
So it works fine... but is there a way to do it without the
setAttribut
In the struts example struts-select.jsp there is this code:
Single 0
Single 1
...
Single 9
When I try this code:
Enabled
Disabled
I get:
500 Internal Server Error
javax.servlet.jsp.JspException: No getter method available for property
status
Struts-el is a good solution for this.
-Original Message-
From: Andreas Langmann [mailto:andreas.langmann@;isb-ag.de]
Sent: Monday, November 11, 2002 4:15 AM
To: 'Struts Users Mailing List'
Subject: html:select question
Hello,
i use a selectbox... the variables sb_l
>
> Struts-el is a good solution for this.
>
>labelProperty="value"/>
>
Hmm... thats great! Thanks for advice!
Andreas
--
Dipl. Ing. (BA) Andreas Langmann
Software Developer
ISB AG
Karlstr. 52-54
76133 Karlsruhe
Telefon: +49 (0)721/82800-0
Telefax: +49 (0)721/82800
I haven't actually used the html:select tag, but it looks as though is
expects to retrieve data from a bean.
The name attribute specifies which bean to use (in the pageContext) and the
property attribute specifies which
property of the bean to use.
HTH,
Pete
"Kilmer, Erich" wrote:
> In the
select has all of the text in the html:option. Is there a
bean called singleSelect stuck in the request or session?
TIA,
Erich
-Original Message-
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Html:select question
I
lmer, Erich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 1:04 PM
Subject: Html:select question
> In the struts example struts-select.jsp there is this code:
>
> Single 0
> Single 1
> ...
7 matches
Mail list logo