[ http://www.stripesframework.org/jira/browse/STS-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Gunter closed STS-674. -------------------------- > Partial form cause File Tag to fail > ----------------------------------- > > Key: STS-674 > URL: http://www.stripesframework.org/jira/browse/STS-674 > Project: Stripes > Issue Type: Bug > Affects Versions: Release 1.5.1 > Environment: Windows Vista, Tomcat, Jdk 1.6 > Reporter: Chut N Yee > Priority: Critical > Fix For: Release 1.5.4 > > > The Jsp: > <stripes:layout-render name="/layout/testLayout.jsp" title="User Home" > action="/userHome.action"> > <stripes:layout-component name="contents"> > <stripes:form action="/userHome.action" partial="true"> > <stripes:file name="fileBean" /> > <stripes:submit name="upload" value="upload"/> > </stripes:form> > </stripes:layout-component> > </stripes:layout-render> > The Layout: > <stripes:layout-definition> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" > "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> > <html> > <head> > <meta http-equiv="content-type" content="text/html; > charset=iso-8859-1"/> > </head> > <body> > <stripes:form action="${action}"> > <div>${contents}</div> > </stripes:form> > </body> > </html> > </stripes:layout-definition> > --------------------- > fileBean is always null in action bean. > It works if I take away the <stripes:form> tag in the layout, and remove > partial="true" in the jsp. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Stripes-development mailing list Stripes-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-development