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 activating javascript.

how do I get the normal behaviour for the submit buttons?

piero.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 - not load it into a div. the result gets decorated again, and I do
not want to force the users into activating javascript.

how do I get the normal behaviour for the submit buttons?

piero.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Hey you! Would you help me to carry the stone? Pink Floyd


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 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 - not load it into a div. the result gets decorated again, and I
  do not want to force the users into activating javascript.
 
  how do I get the normal behaviour for the submit buttons?
 
  piero.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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. (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 - not load it into a div. the result gets decorated again, and
I
  do not want to force the users into activating javascript.
 
  how do I get the normal behaviour for the submit buttons?
 
  piero.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Hey you! Would you help me to carry the stone? Pink Floyd


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
incorporate an Ajax feature that I could have written in a few minutes
using XmlHttpRequest.  Is there a book in the works?  Reading the core code
is not the most efficient way to learn how to implement a feature!!

Scott


On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote:


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Scott
[EMAIL PROTECTED]


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 you have specific objections, I'm willing to try to fix them, or document
them better, and any help on the wiki is welcome.

regards
musachy

On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


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
incorporate an Ajax feature that I could have written in a few minutes
using XmlHttpRequest.  Is there a book in the works?  Reading the core
code
is not the most efficient way to learn how to implement a feature!!

Scott


On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote:

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

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Scott
[EMAIL PROTECTED]





--
Hey you! Would you help me to carry the stone? Pink Floyd


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 classes offered in the US?

Scott


On 3/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:


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 you have specific objections, I'm willing to try to fix them, or
document
them better, and any help on the wiki is welcome.

regards
musachy

On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 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
 incorporate an Ajax feature that I could have written in a few minutes
 using XmlHttpRequest.  Is there a book in the works?  Reading the core
 code
 is not the most efficient way to learn how to implement a feature!!

 Scott


 On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote:
 
  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 :)
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Scott
 [EMAIL PROTECTED]




--
Hey you! Would you help me to carry the stone? Pink Floyd





--
Scott
[EMAIL PROTECTED]


Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Paul Saumets
Scott,

It's frustrating we know but keeping things perspective lets not forget that it 
just recently came out of beta. Giving it a month or two provides us early 
adopters with the opportunity to figures things out (albeit the hard way) and 
help out those folks later on with similar problems 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
  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 classes offered in the US?
  
  Scott
  
  
  On 3/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:
  
   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 you have specific objections, I'm willing to try to fix them, or
   document
   them better, and any help on the wiki is welcome.
  
   regards
   musachy
  
   On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
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
incorporate an Ajax feature that I could have written in a few minutes
using XmlHttpRequest.  Is there a book in the works?  Reading the core
code
is not the most efficient way to learn how to implement a feature!!
   
Scott
   
   
On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote:

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

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


   
   
--
Scott
[EMAIL PROTECTED]
   
  
  
  
   --
   Hey you! Would you help me to carry the stone? Pink Floyd
  
  
  
  
  -- 
  Scott
  [EMAIL PROTECTED]
  


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 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 classes offered in the US?

Scott


On 3/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:

 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 you have specific objections, I'm willing to try to fix them, or
 document
 them better, and any help on the wiki is welcome.

 regards
 musachy

 On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  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
  incorporate an Ajax feature that I could have written in a few
minutes
  using XmlHttpRequest.  Is there a book in the works?  Reading the core
  code
  is not the most efficient way to learn how to implement a feature!!
 
  Scott
 
 
  On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote:
  
   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 :)
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Scott
  [EMAIL PROTECTED]
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd




--
Scott
[EMAIL PROTECTED]





--
Hey you! Would you help me to carry the stone? Pink Floyd


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 3/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:


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 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 classes offered in the US?

 Scott


 On 3/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:
 
  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 you have specific objections, I'm willing to try to fix them, or
  document
  them better, and any help on the wiki is welcome.
 
  regards
  musachy
 
  On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
   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
   incorporate an Ajax feature that I could have written in a few
 minutes
   using XmlHttpRequest.  Is there a book in the works?  Reading the
core
   code
   is not the most efficient way to learn how to implement a feature!!
  
   Scott
  
  
   On 3/8/07, Piero Sartini [EMAIL PROTECTED] wrote:
   
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 :)
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Scott
   [EMAIL PROTECTED]
  
 
 
 
  --
  Hey you! Would you help me to carry the stone? Pink Floyd
 



 --
 Scott
 [EMAIL PROTECTED]




--
Hey you! Would you help me to carry the stone? Pink Floyd





--
Scott
[EMAIL PROTECTED]