You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andreas Langmann <an...@isb-ag.de> on 2002/11/11 10:14:44 UTC

html:select question

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());

<html:select property="sb_lx" multiple="false" size="6">
  <html:options collection="sb_l" property="id" labelProperty="value"/>
</html:select>

So it works fine... but is there a way to do it without the
setAttribute?

Tnx,

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-82

Email: andreas.langmann@isb-ag.de
Internet: http://www.isb-ag.de

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>