Hello,

i am new in Struts and to develop simple tests to rise my skill. I use
Struts in combination with IBM RAD 6.0 (patched to 6.1.1.2). When i try to
use struts variables in my simple JSP i got compile failures with the
information of unknown variables. I define the vars by the following way
i.e:

<html:select property="lauf">
        <logic:iterate id="lauf" name="fehlendeKapForm" property="laeufe">
                <bean:define id="laufId" name="lauf" property="id" />
                <html:option value="<%= laufId.toString() %>" >
                        <bean:write name="lauf" />
                </html:option>
        </logic:iterate>
</html:select>          

In the upper case, the laufId Struts variable is undefined when using in
html:option-TAG. I tried several ways to solve the problem (using type
attribute instead of using method toString()) but i got no solution. It
looks like a compiler problem, where the compile loose the definition of
Struts variables in compile time. In runtime it works. 

It's hard for me to seperate these compile failures from developer failures.
Knows anyone a solution or workarround to solve that Problem?

Thanks in advance, best regards

Christian Heine
> ---------------------------------------------------
> gedas on site services GmbH
Member of T-Systems
> Qualitätsmanager Projekt Beschafferportal
> 
> Benzstraße 25a, D-38446 Wolfsburg
> Telefon/phone +49-5361-464 78-0
> Telefax/telefax +49-5361-464 78-10
> mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> http://www.gedas.com <http://www.gedas.com> 
> 
für Volkswagen AG
K-GOB-4/3 Haus N Raum N/2 
Volkswagen AG 
38436 Wolfsburg
Telefon/phone: +49-5361-9-47631
http://www.volkswagen.de <http://www.volkswagen.de/> 


Reply via email to