I was relying on the article here http://greggbolinger.blogspot.com/2008/01/stripes-15-feature-clean-urls.html
where it clearly states Stripes JSP tags <s:url />, <s:link />, and <s:form /> all support Clean URLs.

That's why I was wondering if I'm doing something wrong.

Thanks,
Cosmin

Just reread your question… I need to sleep more. Sorry. I’ll give it a try, and comment again.

 

 


De: Héctor López [mailto:[email protected]]
Enviado el: viernes, 30 de enero de 2009 8:39
Para: 'Stripes Users List'
Asunto: Re: [Stripes-users] Clean URLs and stripes:form

 

Correct me if i’m wrong, but events are selected with the form buttons. HTML form tags have no understanding of events, and I doubt this will work (POST mechanics, and such):

 

<form action="">

 

You should use a button to select the correct event.

 

<s:submit name=”addNewToCatalog”>To Catalog</s:submit>

<s:submit name=”addNewToQuestionnaire”>To Questionnaire</s:submit>

 

Hope it helps.

 

 


De: Cosmin Marginean [mailto:[email protected]]
Enviado el: jueves, 29 de enero de 2009 22:05
Para: Stripes Users List
Asunto: [Stripes-users] Clean URLs and stripes:form

 

Hi guys,

I am using clean urls with one of my actions:

@UrlBinding("/admin/question.{$event}.action")
public class QuestionAction extends ActionBase {
    @DefaultHandler
    public Resolution addNewToCatalog() throws Exception {...}
    public Resolution addNewToQuestionnaire() throws Exception {...}
    ...
}


I've tried both of these:
<stripes:form action="">
and
<stripes:form action="">


However, they both get rendered in:
<form action="" method="post">

Any clue why this happens? (I am using a 1.6 beta that I've just built a couple of minutes ago).

Thanks in advance,
Cosmin


------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword

_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users


Cosmin Marginean

-- 
cosminaru.ro
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to