Hi All, I have this problem with component form after I upgraded my app to
5.0.13. The error msg is:
java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for org.apache.tapestry5.corelib.components.Form.
The tml looks like:
<form t:id="form">
            <t:errors/>
            <table class="form" border="0">
                <tr>
                        <th><t:label for="userName"/></th>
                        <td><input t:type="TextField" t:id="userName" 
size="20"/></td>
                </tr>
                <tr>
                        <th><t:label for="password"/></th>
                        <td><input t:type="PasswordField" t:id="password" 
size="10"/></td>
                </tr>
                <tr>
                        <th><t:label for="districtCode"/></th>
                        <td><input t:type="TextField" t:id="districtCode" 
size="10"/></td>
                </tr>
                <tr>
                        <th><t:label for="position"/></th>
                        <td><input t:type="TextField" t:id="position" 
size="10"/></td>
                </tr>
                <tr><td></td><td><input type="submit" value="Login"/></td></tr>
            </table>
        </form>

the java file looks like this:
@Component private Form form;
public String onSuccess() {
                
        
                
                String errList="";      
                 // do somthing
                 //.........
                //...........
                
                if (errList != "" ){
                        
                        form.recordError(errList);
                        errList="";
                        
        }else {
                //..........
        }
                return null;
        }

Thanks in advance!
-- 
View this message in context: 
http://www.nabble.com/T5.0.13%3A-form-problem-tp17790631p17790631.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to