You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Johnson, Kaerstin" <kj...@systechnologies.com> on 2005/07/13 21:32:06 UTC

sporadic no property found error

I have an application that I get sporadic struts errors when I submit
the jsp page forms. The application is using struts tiles and also a
couple jsp includes, and some of the pages have two different forms
(each with different form beans) on one page. 

The intermittent error says no property propertyName found under bean
form. 

The submits work on the pages most of the time, and only sporadically
gives this error. The field name that it lists changes, and also it's
not always the same page. 

The getter and setter methods are in the form bean and spelled
correctly. Struts action forms, struts-config, etc.. has been generated
by AndroMDA/Bp4mStruts cartridge, but looks fine to me. 

Any ideas? 

Here is some code from one of the JSPS: 

Included jsp reads:

  <html:form action="/myActionPath/Action" method="post"
enctype="multipart/form-data" onsubmit="">
            <table>
                <tbody>
                    <tr>
                        <td class="label">Originator:</td>
                        <td class="field">
<html:select name="form" onchange="document.myFormName.submit();"
property="operation" onmouseover="hints.show('myhint')"
onmouseout="hints.hide()" styleId="filterOperationsOperation">
        <html:optionsCollection name="form"
property="operationBackingList" 		label="label"
value="value"/>
</html:select>
			</td>
			
                    </tr>
                </tbody>
            </table>
        </html:form>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: sporadic no property found error

Posted by Martin Gainty <mg...@hotmail.com>.
Goddag Kaerstin

I would have to see
-abstract base class and implementation class 
-any Hibernate mapping files 
-any DDL statements to create the tables 

Tack,
Martin-
----- Original Message ----- 
From: "Johnson, Kaerstin" <kj...@systechnologies.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Wednesday, July 13, 2005 3:32 PM
Subject: sporadic no property found error



I have an application that I get sporadic struts errors when I submit
the jsp page forms. The application is using struts tiles and also a
couple jsp includes, and some of the pages have two different forms
(each with different form beans) on one page. 

The intermittent error says no property propertyName found under bean
form. 

The submits work on the pages most of the time, and only sporadically
gives this error. The field name that it lists changes, and also it's
not always the same page. 

The getter and setter methods are in the form bean and spelled
correctly. Struts action forms, struts-config, etc.. has been generated
by AndroMDA/Bp4mStruts cartridge, but looks fine to me. 

Any ideas? 

Here is some code from one of the JSPS: 

Included jsp reads:

  <html:form action="/myActionPath/Action" method="post"
enctype="multipart/form-data" onsubmit="">
            <table>
                <tbody>
                    <tr>
                        <td class="label">Originator:</td>
                        <td class="field">
<html:select name="form" onchange="document.myFormName.submit();"
property="operation" onmouseover="hints.show('myhint')"
onmouseout="hints.hide()" styleId="filterOperationsOperation">
        <html:optionsCollection name="form"
property="operationBackingList" label="label"
value="value"/>
</html:select>
</td>

                    </tr>
                </tbody>
            </table>
        </html:form>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: sporadic no property found error

Posted by Martin Gainty <mg...@hotmail.com>.
----- Original Message ----- 
From: "Johnson, Kaerstin" <kj...@systechnologies.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Wednesday, July 13, 2005 3:32 PM
Subject: sporadic no property found error



I have an application that I get sporadic struts errors when I submit
the jsp page forms. The application is using struts tiles and also a
couple jsp includes, and some of the pages have two different forms
(each with different form beans) on one page. 

The intermittent error says no property propertyName found under bean
form. 

The submits work on the pages most of the time, and only sporadically
gives this error. The field name that it lists changes, and also it's
not always the same page. 

The getter and setter methods are in the form bean and spelled
correctly. Struts action forms, struts-config, etc.. has been generated
by AndroMDA/Bp4mStruts cartridge, but looks fine to me. 

Any ideas? 

Here is some code from one of the JSPS: 

Included jsp reads:

  <html:form action="/myActionPath/Action" method="post"
enctype="multipart/form-data" onsubmit="">
            <table>
                <tbody>
                    <tr>
                        <td class="label">Originator:</td>
                        <td class="field">
<html:select name="form" onchange="document.myFormName.submit();"
property="operation" onmouseover="hints.show('myhint')"
onmouseout="hints.hide()" styleId="filterOperationsOperation">
        <html:optionsCollection name="form"
property="operationBackingList" label="label"
value="value"/>
</html:select>
</td>

                    </tr>
                </tbody>
            </table>
        </html:form>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org