This looks like a bug, either the file bean just needs a string constructor 
added or the property binder is running down an incorrect code path.  Please 
report in jira

Adding that constructor fixes file bean for mock round trip, maybe that should 
be there either way.

-----Original Message-----
From: Stripes User [mailto:[email protected]] 
Sent: Saturday, February 13, 2010 3:23 PM
To: [email protected]
Subject: [Stripes-users] FileBean doesn't work in first page of wizard

I have a Stripes action class annotated with @wizard. The first page in my
wizard includes a filebean tag. When the second page of my wizard is posted back
to my action I get the stacktrace below. Is the FileBean supposed to work within
a multi-page wizard? It works fine for me on normal pages.

14:02:45,739  WARN DefaultActionBeanPropertyBinder:94 - Looks like type
converter null threw an exception.
java.lang.NoSuchMethodException:
net.sourceforge.stripes.action.FileBean.<init>(java.lang.String)
        at java.lang.Class.getConstructor0(Class.java:2706)
        at java.lang.Class.getConstructor(Class.java:1657)
        at
net.sourceforge.stripes.controller.
DefaultActionBeanPropertyBinder.convert(DefaultActionBeanPropertyBinder.java:795)




------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to