Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts and JSF integration

Reply
Thread Tools

Struts and JSF integration

 
 
JoseDimitri
Guest
Posts: n/a
 
      02-15-2007
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);">

<hanelGrid 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>

<hutputLabel for="login">
<s:message key="loginForm.login"/>
</hutputLabel>

<h:inputText id="username"
size="16"
value=""/>

<hutputLabel for="password">
<s:message key="loginForm.pass"/>
</hutputLabel>

<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>

</hanelGrid>
</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.

--
Luci

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mixing Struts and JSF Mongoose Java 6 10-11-2009 02:13 PM
Include JSF page within another JSF page BlackIce Java 1 07-05-2006 11:24 PM
JSF debugging / JSF newsgroup Sebastian Fey Java 1 04-07-2006 08:52 PM
[JSF]Need to deploy a jsf application on SunApplicationServer. dudu Java 0 03-03-2006 12:09 PM
A question about "integration of Struts and Tiles" Jun Java 1 11-17-2003 10:43 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57