s:include value=%=filename % / does not work

2007-08-17 Thread lupus
Hi all, How to use s:include to include a dynamic jsp file? For instance: s:include value=%=filename % / does not work in struts 2: the value of filename cannot be parsed. Please help!!! -- View this message in context:

Ajax form_how to submit a ajax form without clicking button?

2007-08-16 Thread lupus
Hi all, Is there any way to submit a ajax form automatically without clicking on the submit button? I tried using javascript like document.theForm1.submit();: when I execute the js, ajax form action is called but there comes another blank page with the result instead of showing the result in

Re: Ajax form_how to submit a ajax form without clicking button?

2007-08-16 Thread lupus
I got answers by myself: using document.createEvent('MouseEvents') instead of form.submit :) -- View this message in context: http://www.nabble.com/Ajax-form_how-to-submit-a-ajax-form-without-clicking-button--tf4280769.html#a12185842 Sent from the Struts - User mailing list archive at

Struts 2 Ajax forms-multiple forms with one submit, how?

2007-08-06 Thread lupus
Is it possibe to have one submit for several ajax forms instead of submitting each Ajax form? I tried to use javascript to submit two form actions, but only the second one in my javascript submit list is displayed and the result is displayed in a different page instead of in the defined target

action mapping_Re: How to use struts 2 JSF plugin?

2007-07-31 Thread lupus
result name=error type=redirectlist.action/result result type=redirectlist.action/result /action /package But I am not sure if my understanding is correct: my integration with jsf plugin failed. I do not know if I need to add a myfaces listener in web.xml. A+ lupus Aram

Struts 2 JSF plugin:faces-config.xml null or empty

2007-07-31 Thread lupus
I am testing show-case jsf plugin in my project: I copy java files and jsp files and struts-jsf files as what the showcase does, and I also add jsf sevlet in web.xml, but there came the error when I deploy the war: it still searches for the face-config.xml, but in the showcase, there is no

Struts 2 JSF plugin:faces-config.xml null or empty

2007-07-31 Thread lupus
I am testing show-case jsf plugin in my project: I copy java files and jsp files and struts-jsf files as what the showcase does, and I also add jsf sevlet in web.xml, but there came the error when I deploy the war: it still searches for the face-config.xml, but in the showcase, there is no

Yes show-case_Re: How to use struts 2 JSF plugin?

2007-07-30 Thread lupus
know my progress :-). A+ Lupus mraible wrote: Have you looked at the showcase example (it's part of the Struts downloads)? That's how I figured it out. Matt lupus wrote: Thanks Matt, Sorry that I mailed you directly the response, I am not familaw with nabble :). I think

Help!_no Action mapped for action name HelloWorld

2007-07-16 Thread lupus
Hi all, I am tring to integrate Struts 2 HelloWorld into my project, but there came the error message: There is no Action mapped for action name HelloWorld. - [unknown location], I think it is configuration problem, but do not know how to fix it. My project war structure like these:

Where I can get Struts 2+Ajax+Sitemesh to start without using maven?

2007-07-10 Thread lupus
. Thanks a looot! Lupus -- View this message in context: http://www.nabble.com/Where-I-can-get-Struts-2%2BAjax%2BSitemesh-to-start-without-using-maven--tf4056341.html#a11522532 Sent from the Struts - User mailing list archive at Nabble.com