J
JoseDimitri
I have problem with <s:form> tag (struts-faces). Action specified in
the tag attribiute doesn't work. I have a form: (an I use struts-
tiles)
<s:form action="/LoginSubmit"
focus="login"
onsubmit="return validateLoginFormBean(this);">
<h
anelGrid columns="2"
styleClass="form-background"
headerClass="form-header"
columnClasses="form-prompt,form-field"
footerClass="form-footer"
<f:facet name="header">
<s:message key="loginForm.header"/>
</f:facet>
<h
utputLabel for="login">
<s:message key="loginForm.login"/>
</h
utputLabel>
<h:inputText id="username"
size="16"
value=""/>
<h
utputLabel for="password">
<s:message key="loginForm.pass"/>
</h
utputLabel>
<h:inputSecret id="password" size="16" value=""/>
<h:commandButton id="submit"
type="SUBMIT"
styleClass="command-single"
value="Log On"/>
<h:commandButton id="reset"
type="RESET"
styleClass="command-single"
value="Reset"/>
<f:facet name="footer">
<s:message key="loginForm.pass"/>
</f:facet>
</h
anelGrid>
</s:form>
When I click on the button the url change to location of my tiles
layout (in my case WEB-INF/jsp/laypot/layout.faces) and action
specified in attribute didn't executed. I use latest snapshots of
myFaces jars and snapshot of struts. I also read that this problem is
resolved but I cant't find problem resolution on net.
the tag attribiute doesn't work. I have a form: (an I use struts-
tiles)
<s:form action="/LoginSubmit"
focus="login"
onsubmit="return validateLoginFormBean(this);">
<h
styleClass="form-background"
headerClass="form-header"
columnClasses="form-prompt,form-field"
footerClass="form-footer"
<f:facet name="header">
<s:message key="loginForm.header"/>
</f:facet>
<h
<s:message key="loginForm.login"/>
</h
<h:inputText id="username"
size="16"
value=""/>
<h
<s:message key="loginForm.pass"/>
</h
<h:inputSecret id="password" size="16" value=""/>
<h:commandButton id="submit"
type="SUBMIT"
styleClass="command-single"
value="Log On"/>
<h:commandButton id="reset"
type="RESET"
styleClass="command-single"
value="Reset"/>
<f:facet name="footer">
<s:message key="loginForm.pass"/>
</f:facet>
</h
</s:form>
When I click on the button the url change to location of my tiles
layout (in my case WEB-INF/jsp/laypot/layout.faces) and action
specified in attribute didn't executed. I use latest snapshots of
myFaces jars and snapshot of struts. I also read that this problem is
resolved but I cant't find problem resolution on net.