Re: REST Showcase

2007-12-08 Thread Jeromy Evans
Frans Thamura wrote: anyone have a binary distribution of newest struts with REST You could try downloading an unstable binary distribution of struts 2.1: http://people.apache.org/builds/struts/2.1.0/ However, REST is currently in the struts sandbox so I'm not sure it's included in

Re: [struts] params and staticParams

2007-12-08 Thread Jeromy Evans
Martin Gainty wrote: is this what jeromy refers to as 'sub-package'? I'd said/meant subclasses of the action. SmartURLs is convention and annotation-based. The namespace of the action is derived from the package of the action or the @Namespace annotation on the class. In Dale's case he

Re: REST Showcase

2007-12-08 Thread Martin Gainty
> anyone have a binary distribution of newest struts with REST MG>start here.. http://cwiki.apache.org/S2PLUGINS/smarturls-plugin.html so i can test it, even unstable. MG>are you requesting a non-GA release??? > F > - To unsu

REST Showcase

2007-12-08 Thread Frans Thamura
hi there anyone have a binary distribution of newest struts with REST, so i can test it, even unstable. F

Re: URL questions...Was: Re: [struts] params and staticParams

2007-12-08 Thread Dale Newfield
Dale Newfield wrote: But are commas url friendly? I.E.: Is this bad? http://mymachine/myapp/users/friendOf/amy,joe/attendedEvent/BobsBirthday.html I think http://www.ietf.org/rfc/rfc3986.txt says that this is OK. -Dale - T

I18n Struts problem

2007-12-08 Thread Chris Pat
Hello In my app I write the labels with and I have an ApplicationProperties.properties, ApplicationProperties_el.properties with the modified \uXXXx encoding of the labels in language. I then used this for local switching and I still get the . Am I missing something? tia.

URL questions...Was: Re: [struts] params and staticParams

2007-12-08 Thread Dale Newfield
Dale Newfield wrote: org.apache.jasper.JasperException: Validation error messages from TagLibraryValidator org.xml.sax.SAXParseException: Attribute "testAttribute" was already specified for element "myTagLib:myTag". Argh! It's not valid. (Glad I checked before getting too far on this!) B

Re: Validation "Mask": unicode characters

2007-12-08 Thread Pierre Thibaudeau
Well, it seems my question got people stumped as much as I am! For an alternative solution, I would love advice on a (working) regex expression that would approximate the class of characters I am aiming at: say all the letters of the Latin1 set (ISO-8859-1). If we could eventually supplement that

Re: [struts] params and staticParams

2007-12-08 Thread Dale Newfield
Dale Newfield wrote: Jeromy Evans wrote: Wouldn't it be the case for most people that specify params in the action definition that they wouldn't want those overridden by request params? I don't know the history but I think you make a good point. It a couple more people agree I'll create a JI

Re: [struts] params and staticParams

2007-12-08 Thread Dale Newfield
Jeromy Evans wrote: Should I just send all "/widgets/*" to a single action that does it's own URL parsing? I think this is an argument for a custom action mapper that supports your expressions. It's up to the mapper to parse the URL to extract the namespace, action and params. I thought t

Re: [struts] params and staticParams

2007-12-08 Thread Martin Gainty
Thanks for the link Dale so the URL /WEB-INF/content/foo/bar/compound-name.jsp is grouped to category: contents of struts.properties file smarturls.base.result.location=/WEB-INF/content smarturls.action.packages=com.example.actions where /WEB-INF/content/ is mapped to com.example.actions subcat

Re: struts.ValueStack not found - 2.1

2007-12-08 Thread Martin Gainty
already logged out therefore the request.context is null a new login action will re-establish a valid context take a look at this example http://struts.apache.org/2.x/docs/simplelogin-with-session.html HTH/ M-- - Original Message - From: "Chon Tang" <[EMAIL PROTECTED]> To: Sent: Satur

Re: [struts] params and staticParams

2007-12-08 Thread Dale Newfield
Martin Gainty wrote: Could you give us a definition of SmartURL ? I'm fuzzy on this, but the best I've got is: http://cwiki.apache.org/S2PLUGINS/smarturls-plugin.html -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: [struts] params and staticParams

2007-12-08 Thread Martin Gainty
Could you give us a definition of SmartURL ? Thanks Martin-- - Original Message - From: "Jeromy Evans" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, December 08, 2007 3:50 AM Subject: Re: [struts] params and staticParams > Dale Newfield wrote: > > > > Lets see if

Re: Struts 2.0.11 + Tiles

2007-12-08 Thread Antonio Petrelli
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > Thanks it is working now! I also needed commons-collection. Why does > not Struts come with those jars? :) Tiles does not need commons collections. It's commons-digester that is needed. Antonio

Re: struts2-portlet in maven repository - war instead of jar

2007-12-08 Thread Nils-Helge Garli Hegvik
If you have suggestions for improvements you can register them in the issue tracker: https://issues.apache.org/struts/browse/WW Nils-H On Dec 7, 2007 7:39 PM, Aleksander Adamowski <[EMAIL PROTECTED]> wrote: > On 12/7/07, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > > Hi! > > > > The strut

Re: [struts] params and staticParams

2007-12-08 Thread Jeromy Evans
Dale Newfield wrote: Lets see if I can come up with an off-the-cuff example: Ok, I see what you're doing now. Because I still can't find people that are friends with both joe and amy: http://localhost:8080/social-networking-app-de-jur/users/friendsOf/joe/friendsOf/amy.html because one con