AJAX Theme / submit form to new page?

2007-03-08 Thread Piero Sartini
I am using the ajax theme mainly because of the validator and some features like tabbed pane etc. But if I submit a form, I want to submit that form and go to the result of the action - not load it into a div. the result gets decorated again, and I do not want to force the users into

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
Just use the regular submit tag. (no theme=ajax). musachy On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote: I am using the ajax theme mainly because of the validator and some features like tabbed pane etc. But if I submit a form, I want to submit that form and go to the result of the action

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Piero Sartini
But my form tag contains theme=ajax because of the validation. is it right to make the submit button theme=css_xhtml to avoid the ajax-submit? Am Donnerstag, 8. März 2007 schrieb Musachy Barroso: Just use the regular submit tag. (no theme=ajax). musachy On 3/8/07, Piero Sartini [EMAIL

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
Yes musachy On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote: But my form tag contains theme=ajax because of the validation. is it right to make the submit button theme=css_xhtml to avoid the ajax-submit? Am Donnerstag, 8. März 2007 schrieb Musachy Barroso: Just use the regular submit tag.

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Piero Sartini
Am Donnerstag, 8. März 2007 schrieb Piero Sartini: But my form tag contains theme=ajax because of the validation. is it right to make the submit button theme=css_xhtml to avoid the ajax-submit? it needs to be xhtml theme on the submit button. not very elegant in my oppinion - but it works :)

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread stanlick
Could this be any more confusing? Unless someone documents all the idiosyncracies, folks are going to give up on Struts2 and adopt RoR! I have read all the docs/wikis on the S2 site and even poured over the showcase code. I worked three evenings this week trying to figure out how to

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
I'm not sure that I follow. This link: http://struts.apache.org/2.x/docs/ajax-tags.html has been posted here many times, there is a link to it int the documentation: http://struts.apache.org/2.x/docs/guides.html and the showcase has several examples. Could it be more confusing? oh yeah. If

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread stanlick
Don't get me wrong -- I think S2 is a giant step forward after having used S1 for years. However, the hodge podge of limited and simple examples and no available courses or books, makes learning the framework quite a challenge. Do you know if anyone has a book in the works? Do you know of any

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Paul Saumets
like you're presently facing. Regards, Paul _ From: [EMAIL PROTECTED] To: Struts Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Thu, 08 Mar 2007 12:39:50 -0500 Subject: Re: AJAX Theme / submit form to new page? Don't get me wrong -- I think S2 is a giant step forward after having used

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
I have heard that some books are on their way, but I don't know more than that. The wiki has a lot of information, you just have to browse around a little bit, and ask here when you don't find something :) regards musachy On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Don't get me

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread stanlick
Musachy -- I agree. It's just so frustrating when you have to fool around to get a feature in S2 to work. I am a Java Architect currently involved in a teaching engagement. Who would I contact to see about writing a Struts2 book? I see this as a venture that might be worthwhile. Scott On