[Stripes-users] RESTful controls

2008-07-03 Thread Nathan Maves
I am just getting into this so excuse my ignorance. I fully understand and use the new URLBinding in 1.5 and love it. I am trying to find a way to redirect control based on the HTTP request type (PUT DELETE ...). I want to be able to have an action mapping like /person which maps to the

Re: [Stripes-users] UrlBinding(/)?

2008-08-23 Thread Nathan Maves
yeah throw an index.jsp that redirects to /home On Sat, Aug 23, 2008 at 11:26 AM, Ray Tsang [EMAIL PROTECTED] wrote: I am trying to bind an action to the root, but it doesn't seem to work. If I do UrlBinding(/), I can only access it if I use //, such as http://localhost/myContext//; Is

[Stripes-users] Custom URL mapper

2008-08-30 Thread Nathan Maves
I am not sure which class I need to extend to get the following functionality. I am using 1.5 and the clean url brinding. I want to have a dynamic binding that will first look down the standard paths for standard URLBindings, like /home. If none are found I want to look to see if the url is a

[Stripes-users] Option tag

2008-09-17 Thread Nathan Maves
This may be the most simple request ever seen on the list :) for the option tag I would think that it should work as state below... stripes:option value=foobar/stripes:option == option value=foobaroption stripes:option value=foo label=bar / == option value=foobaroption stripes:option value=foo /

[Stripes-users] Default values in domain object not being use in form fields

2008-09-17 Thread Nathan Maves
based on the jsp and class below why does the form field not get defaulted by the value in the domain model? *jsp* [EMAIL PROTECTED] prefix=s uri=http://stripes.sourceforge.net/stripes.tld% [EMAIL PROTECTED] prefix=c uri=http://java.sun.com/jsp/jstl/core% [EMAIL PROTECTED] contentType=text/html

Re: [Stripes-users] Default values in domain object not being use inform fields

2008-09-18 Thread Nathan Maves
Person? -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Nathan Maves *Sent:* Wednesday, September 17, 2008 10:42 PM *To:* Stripes Users List *Subject:* [Stripes-users] Default values in domain object not being use inform fields based

Re: [Stripes-users] Default values in domain object not being use inform fields

2008-09-18 Thread Nathan Maves
, at 10:30 AM, Nathan Maves wrote: I thought that as well but stripes normally does a great job at creating objects for you. Other wise I would think the form tag would have thrown a NPE. On Wed, Sep 17, 2008 at 11:50 PM, Leonard Gestrin [EMAIL PROTECTED] wrote: Could it because you did

Re: [Stripes-users] Roles based authentication

2008-09-21 Thread Nathan Maves
. On Sep 21, 2008, at 7:42 PM, Nathan Maves wrote: After read both articles on the site and the security chapter in the upcoming book I am still questioning what the best practice is for roles based authentication. I am looking for a good way to make roles based decisions inside of an actions

Re: [Stripes-users] Incremental Development?

2008-10-14 Thread Nathan Maves
all in all this sounds like a hack job when we could just make that exception into a warning. On Mon, Oct 13, 2008 at 9:49 PM, Will Hartung [EMAIL PROTECTED]wrote: On Oct 13, 2008, at 12:46 PM, Freddy Daoud wrote: As Chris said, normally you would switch back to beanclass once you wrote

[Stripes-users] checkbox with Boolean not populating correctly

2008-11-17 Thread Nathan Maves
So I am a bit confused on the use of a checkbox with a Boolean attribute. From the taglib docs... When the value attribute is omitted, as above, the checkbox defaults to the simple behaviour of sending true to the server when checked and nothing to the server when unchecked. For this reason it

[Stripes-users] Radio buttons and null strings

2008-11-19 Thread Nathan Maves
When using the stripes radio button should a null string mark a radio button with the value set to as checked? Not sure why this app I am working on has actual values of but I am stuck on trying to show that the radio but is actually checked. Nathan

Re: [Stripes-users] Interceptor invocation order

2008-12-03 Thread Nathan Maves
Interceptors loaded by the stripes extension package are not in any order. If you really need order then you need to move those interceptors out of the extension package or mark them with @DontAutoLoad and list them in the web.xml. Nathan On Wed, Dec 3, 2008 at 9:20 AM, Mike McNally [EMAIL

[Stripes-users] 1.5.1 beta

2008-12-10 Thread Nathan Maves
Any idea on the release road map? There are a few fixes that are in svn right now that we need to go to production. I can justify an actual beta release to the executives :) Nathan -- SF.Net email is Sponsored by

[Stripes-users] Indexed radio buttons

2008-12-18 Thread Nathan Maves
Ok spent too much time on this already so I am looking for help :) Action has two lists. List availablePeople; Interger[] selectedPeople; The availablePeople is the complete list of people objects, say 50 of them. The selectedPeople array is the subset of those people's ids who should be

[Stripes-users] Indexed checkboxes : WAS Re: Indexed radio buttons

2008-12-18 Thread Nathan Maves
Wanted to correct the subject On Thu, Dec 18, 2008 at 2:23 PM, Nathan Maves nathan.ma...@gmail.com wrote: Ok spent too much time on this already so I am looking for help :) Action has two lists. List availablePeople; Interger[] selectedPeople; The availablePeople is the complete list

[Stripes-users] Strange bug with tomcat and clean urls

2009-03-16 Thread Nathan Maves
We have an action that is bound to /work. On some deployments in tomcat we get a 404 error. On others of the same version of tomcat (6.0.18) it works fine. We found an empty work directory inside of the tomcat work directory. /work/app/work Would you consider this a tomcat bug? Anyone else

[Stripes-users] Customize TypeConverter messages

2009-05-08 Thread Nathan Maves
I have a dynamic list of form fields that are bound to Intergers. Therefore I need to present a generic message that states that the values supplied need to be a number. I am not sure how to override the TypeConverter error messages. Nathan

[Stripes-users] Select a radio button on a null value

2009-07-13 Thread Nathan Maves
Give the html below tds:radio name=searchCriteria.approved value=/Both/td tds:radio name=searchCriteria.approved value=true/yes/td tds:radio name=searchCriteria.approved value=false/no/td n my action bean I have a property and the get/set methods for the searchCriteria object. In that object

Re: [Stripes-users] Select a radio button on a null value

2009-07-14 Thread Nathan Maves
. } Then you can shift your html to: tds:radio name=approved value=/Both/td tds:radio name=approved value=true/yes/td tds:radio name=approved value=false/no/td Regards Morten Matras http://www.blobcom.com 2009/7/13 Nathan Maves nathan.ma...@gmail.com Give the html below tds:radio name

Re: [Stripes-users] Select a radio button on a null value

2009-07-15 Thread Nathan Maves
/no/td Regards Morten Matras http://www.blobcom.com 2009/7/13 Nathan Maves nathan.ma...@gmail.com Give the html below tds:radio name=searchCriteria.approved value=/Both/td tds:radio name=searchCriteria.approved value=true/yes/td tds:radio name=searchCriteria.approved value=false/no/td n

Re: [Stripes-users] include a JSP template based on locale

2009-08-07 Thread Nathan Maves
why not put the content on those files into a resource bundle and handle it like all other internationalized text. nathan On Fri, Aug 7, 2009 at 1:52 PM, Daniil Sosonkindan...@orbisfn.com wrote: Hi all, This isn't really a Stripes question, although if Stripes already provides a support for

Re: [Stripes-users] Stripes 1.6

2009-08-09 Thread Nathan Maves
no, in most setups trunk is never a release. you can find the latest release in the 1.5.1 tag in svn On Sun, Aug 9, 2009 at 9:23 PM, Alamgir Kahnama-m...@mltp.com wrote: Freddy Daoud xf2...@... writes: I could have sworn someone asked where is Stripes 1.6, but I can't find the message.

Re: [Stripes-users] Getting a constant value from an action bean in a link param

2009-08-13 Thread Nathan Maves
you need to provide simple getter methods for these constants. i.e. public String getAll() { return ALL; } On Thu, Aug 13, 2009 at 1:50 PM, M@ Hunter technologyro...@gmail.comwrote: Hi, I'm trying to add the value of a constant from my action bean to a link - but I must be missing

Re: [Stripes-users] Getting a constant value from an action bean in a link param

2009-08-13 Thread Nathan Maves
an even better solution would be to use an enum On Thu, Aug 13, 2009 at 1:50 PM, M@ Hunter technologyro...@gmail.comwrote: Hi, I'm trying to add the value of a constant from my action bean to a link - but I must be missing something.In my action bean I have: ... public static final

Re: [Stripes-users] Moving to Cloud

2009-09-07 Thread Nathan Maves
This is a stripes email list. Please keep all questions aimed at the intended topic. Nathan On Mon, Sep 7, 2009 at 1:59 AM, Morten Matras morten.mat...@gmail.comwrote: Our Stripes - Hibernate - MySQL application: http://www.redantenna.com is running on a normal windows/tomcat based dedicated

Re: [Stripes-users] Moving to Cloud

2009-09-07 Thread Nathan Maves
that will be facing this issue. Nevermind. I'll find someone else to ask. Sorry for sending the question.! Have a nice day Morten 2009/9/7 Nathan Maves nathan.ma...@gmail.com This is a stripes email list. Please keep all questions aimed at the intended topic. Nathan On Mon, Sep 7, 2009 at 1:59

[Stripes-users] Multiple URL bindings per action

2009-10-04 Thread Nathan Maves
Any thoughts on implementing this? Something like @UrlBindings({ @UrlBinding(/one), @UrlBinding(/two) }) -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to

Re: [Stripes-users] Multiple URL bindings per action

2009-10-05 Thread Nathan Maves
bindings per action bean is ambiguity when creating an URL for an action bean. How would you handle this case? On Mon, Oct 5, 2009 at 5:18 AM, Nathan Maves nathan.ma...@gmail.comwrote: Any thoughts on implementing this? Something like @UrlBindings({ @UrlBinding(/one), @UrlBinding(/two

Re: [Stripes-users] Nesting s:text inside s:label

2009-11-15 Thread Nathan Maves
use the standard jstl tag libs 2009/11/15 Grzegorz Krugły g...@karko.net Well, the obvious advantage of s:label over label is I18n -- is there a simple and syntactically concise way to get a string from resource bundle using html label tag in my JSP? Ben Gunter pisze: I requested this

Re: [Stripes-users] populating forms, empty properties, default settings

2009-12-03 Thread Nathan Maves
This issue has pissed me off too many times to count. There is another way around it if you choose. You can also add another choice to your enum like Choice.NONE and it will select it. I usually end up doing like you with a classic html input and setting the checked value on my own. This way I

[Stripes-users] Best way to test redirects with url bindings

2009-12-14 Thread Nathan Maves
right now I have an action like @UrlBinding(/settings) public class SettingsMenuAction extends SettingsTabAction { ... } a second action redirects to the action via public Resolution cancel() { return new RedirectResolution(SettingsMenuAction.class); } now in the unit test of the

Re: [Stripes-users] Best way to test redirects with url bindings

2009-12-14 Thread Nathan Maves
Hoogenberg levihoogenb...@gmail.comwrote: Something like SettingsMenuAction.class.getAnnotation (UrlBinding.class).value() should do the trick. Levi Op 14 dec 2009 om 23:49 heeft Nathan Maves nathan.ma...@gmail.com het volgende geschreven:\ right now I have an action like

Re: [Stripes-users] 1.5.3 maven repository

2010-02-11 Thread Nathan Maves
Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users Nathan Maves nathan.ma...@gmail.com -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive

Re: [Stripes-users] 1.5.3 maven repository

2010-02-12 Thread Nathan Maves
. Brandon On Thu, Feb 11, 2010 at 10:07 PM, Nathan Maves nathan.ma...@gmail.com wrote: I personally upload the ibatis.apache.org artifacts to the apache servers and it takes me about 5 minutes to do. Apache only sync's out to the maven repos once a day so at the most it take me 24 hours

Re: [Stripes-users] Request for uploading Stripes 1.5.3 on http://repo1.maven.org/

2010-05-24 Thread Nathan Maves
For what it is worth I just went though all of this with the new mybatis (formerly apache ibatis). It was a complete breeze to setup with sonatype. Being a stripes advocate as well I would love to help get stripes setup on there as well. Let me know, Nathan Maves On Fri, Apr 30, 2010 at 7:18

Re: [Stripes-users] amusing license

2010-06-04 Thread Nathan Maves
It sure is and why we (MyBatis http://www.mybatis.org) have also decided to use Tim's code as well. http://code.google.com/p/mybatis/source/browse/trunk/src/main/java/org/apache/ibatis/io/ResolverUtil.java We left the entire license in place and Tim's name is all over it :) Great work Tim!

Re: [Stripes-users] Stripes 1.6 Spring ObjectFactory....

2010-06-21 Thread Nathan Maves
I think one area that I lot of us are looking to use the new ObjectFactory is for constructor injection of our action classes. This was never possible in the current stripes version. On Mon, Jun 21, 2010 at 6:57 PM, Freddy Daoud xf2...@fastmail.fm wrote: What exactly is all this hype around this

Re: [Stripes-users] Maven project hosting, syncing to central (#2)

2010-09-08 Thread Nathan Maves
I have said in the past that I would help with this as well. I use Sonatype for my maven plugins that I write as well as the entire MyBatis distribution. Nathan On Fri, Sep 3, 2010 at 8:25 PM, Samuel Santos sama...@gmail.com wrote: I agree with the Stripes mavenization and will gladly help.

[Stripes-users] CleanUrl bug from 1.5.1+ when using MockRoundtrip

2010-10-13 Thread Nathan Maves
We have multiple test cases where we are using UrlBinding with 1.5 and everything works perfect. Here is an example of one of our bindings @UrlBinding(/admin/product/{$event}/{product.id}) All versions (1.5.1, 1.5.2, 1.5.3) work fine outside of the test fixture. It is only within a test using

Re: [Stripes-users] CleanUrl bug from 1.5.1+ when using MockRoundtrip

2010-10-18 Thread Nathan Maves
Is there anyone else out here using UrlBinding with MockRoundTrip? This is killing me that we can upgrade to the latest Stripes codebase. Nathan On Wed, Oct 13, 2010 at 11:32 AM, Nathan Maves nathan.ma...@gmail.com wrote: We have multiple test cases where we are using UrlBinding with 1.5

Re: [Stripes-users] CleanUrl bug from 1.5.1+ when using MockRoundtrip

2010-10-20 Thread Nathan Maves
fine. The one using the beanclass doesn't work... As a workaround for now, you can use stringified urls in your tests. I'll try to understand what's going on as soon as I have a moment. Cheers Remi 2010/10/20 Nathan Maves nathan.ma...@gmail.com Sure thing Remi.  The following example

[Stripes-users] Nested indexed property question

2010-10-22 Thread Nathan Maves
Give the following parameter foo[0].bar=abc foo[1].bar=abc foo[2].bar= foo[3].bar=abc I would expect the CollectionFoo in my action to have a size of 3. Instead I get a size of 4 where one of the items in the collection is null. Is this the correct behavior? Nathan

Re: [Stripes-users] Stripes and GWT

2010-10-25 Thread Nathan Maves
Philip, You should add Evernote to http://www.stripesframework.org/display/stripes/Stripes+Around+The+Web http://www.stripesframework.org/display/stripes/Stripes+Around+The+WebI would be a great reference! On Mon, Oct 25, 2010 at 12:07 AM, Philip Constantinou pconstanti...@evernote.com wrote:

Re: [Stripes-users] CleanUrl bug from 1.5.1+ when using MockRoundtrip

2010-10-26 Thread Nathan Maves
the beanclass doesn't work... As a workaround for now, you can use stringified urls in your tests. I'll try to understand what's going on as soon as I have a moment. Cheers Remi 2010/10/20 Nathan Maves nathan.ma...@gmail.com Sure thing Remi. The following example fails because the id

Re: [Stripes-users] Odd Clean URL Binding??? (1.5.4 Snapshot)

2010-10-28 Thread Nathan Maves
I believe you need to move the $ inside the curly braces. {$event} Nathan On Thu, Oct 28, 2010 at 12:50 PM, Nikolaos Giannopoulos nikol...@brightminds.org wrote: Hi, We have the following: @UrlBinding(/share/{id}/{titleUrlified}/${event}) Where id is a Long and titleUrlified is a String

Re: [Stripes-users] Odd Clean URL Binding??? (1.5.4 Snapshot)

2010-10-29 Thread Nathan Maves
I don't see an issue adding this new magic name but we would need to keep the old one as well to maintain backwards compatibility. Nate On Thu, Oct 28, 2010 at 6:59 PM, Samuel Santos sama...@gmail.com wrote: +1 for {_eventName} -- Samuel Santos http://www.samaxes.com/ On Fri, Oct 29,

[Stripes-users] Maven convention

2010-10-31 Thread Nathan Maves
Just curious if anyone has thought to migrate the current layout of the stripes code to use more Maven conventions? Nathan -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps

Re: [Stripes-users] Maven convention

2010-11-10 Thread Nathan Maves
that we have the tests in the core module ? Cheers Remi 2010/10/31 Nathan Maves nathan.ma...@gmail.com Just curious if anyone has thought to migrate the current layout of the stripes code to use more Maven conventions? Nathan

Re: [Stripes-users] Stripes Hudson is public

2010-11-12 Thread Nathan Maves
This rocks! On Fri, Nov 12, 2010 at 10:43 AM, Ben Gunter gunter...@gmail.com wrote: In case anyone is interested, you can check out our Hudson instance here: http://www.stripesframework.org/hudson/ -Ben --

[Stripes-users] 1.5.5 Release

2010-12-14 Thread Nathan Maves
There are a few bug fixes that we are waiting on. Is there any chance that we can release 1.5.5 any time soon? I am using the 1.5.5-SNAPSHOT from maven which I love that the Stripes community now has! Everything seems stable to me. Nathan

Re: [Stripes-users] 1.5.5 Release

2010-12-28 Thread Nathan Maves
love to get off the snapshot build and make make maven and my team happy :) Thanks for the hard work. PS we just changes our sample app on MyBatis.org to use Stripes! Man I love this framework! Nathan On Tue, Dec 14, 2010 at 1:57 PM, Nathan Maves nathan.ma...@gmail.com wrote: There are a few

Re: [Stripes-users] 1.5.5 Release

2010-12-29 Thread Nathan Maves
, Dec 28, 2010 at 10:32 AM, Nathan Maves nathan.ma...@gmail.com wrote: Any word on this.  I would really like to see the team take a more release early and release often approach on Stripes. So far there are 12 resolved issues scheduled for the 1.5.5 release.  That is enough in my book to warrant

Re: [Stripes-users] Stripes 1.5.5 released

2011-01-04 Thread Nathan Maves
You rock Ben! P.S. So does Stripes! On Tue, Jan 4, 2011 at 11:17 AM, Ben Gunter gunter...@gmail.com wrote: Stripes 1.5.5 is available for Download from Sourceforge. Maven users will find it in the central repository. For information on what has changed and what you need to know before you

Re: [Stripes-users] Stripes 1.5.6 released

2011-03-14 Thread Nathan Maves
Nice work Ben/Team! I love seeing frequent releases, even though minor, shows that the project is alive and kicking butt. Nathan On Mon, Mar 14, 2011 at 9:06 AM, Ben Gunter gunter...@gmail.com wrote: Stripes 1.5.6 is available for download from Sourceforge. It should appear in the Maven

Re: [Stripes-users] Stripes Stuff Security manager

2011-10-04 Thread Nathan Maves
. Christian De : Nathan Maves [mailto:nathan.ma...@gmail.com] Envoyé : October-04-11 12:17 PM À : Stripes Users List Objet : [Stripes-users] Stripes Stuff Security manager Not sure if anyone is still working on this project. I just implemented it and it is working great except

[Stripes-users] Stripes Stuff Security Inteceptor

2011-11-21 Thread Nathan Maves
*/ @Intercepts({ LifecycleStage.BindingAndValidation, LifecycleStage.CustomValidation, LifecycleStage.EventHandling, LifecycleStage.ResolutionExecution }) public class SecurityInterceptor -- Nathan Maves -- All

[Stripes-users] Quickstart maven archetype

2012-04-02 Thread Nathan Maves
Looks like we need to update the page at http://www.stripesframework.org/display/stripes/Maven2+Archetype+for+Stripes. The archetype:create is deprecated. mvn archetype:create \ -DarchetypeArtifactId=stripes-archetype-quickstart \ -DarchetypeGroupId=net.sourceforge \ -DarchetypeVersion=1.0 \

Re: [Stripes-users] StripesStuff 0.3 released

2012-05-01 Thread Nathan Maves
awesome news thanks! On Tue, May 1, 2012 at 11:36 AM, Poitras Christian christian.poit...@ircm.qc.ca wrote: StripesStuff 0.3 is available for download from Sourceforge. This is a minor bug fix release. Sourceforge download: https://sourceforge.net/projects/stripes-stuff/files/StripesStuff/

Re: [Stripes-users] Stripes UrlBinding - Parameter disappears on submit

2012-08-29 Thread Nathan Maves
I think you should be using stripes:link and not the form tag. On Wed, Aug 29, 2012 at 8:52 PM, Derrick Chua derr...@gateairfares.com wrote: I use URL bindings on all my actionbeans and some of them requires a parameter, e.g. /admin/users/123. Taking this URL as an example, in my actionbean I

Re: [Stripes-users] Clustered webservers without sticky sessions

2012-10-15 Thread Nathan Maves
We have 50+ stripes applications load balanced in the AWS ElasticBeanstalk env. And yes you set the same key for each of your applications that will be load balanced. Each application can have it's own key. On Mon, Oct 15, 2012 at 12:33 PM, Adam Stokar ajsto...@gmail.com wrote: We've been

Re: [Stripes-users] Guice is not injecting my TypeConverter

2013-03-03 Thread Nathan Maves
This is a know limitation of the current framework. Nathan On Mon, Feb 25, 2013 at 10:30 AM, Dan Kaplan d...@mirthcorp.com wrote: I'm using this library: http://bgoodin.github.com/stripes-guice/howto.html I've set it up somewhat correctly because my action beans seem to be injected with my

Re: [Stripes-users] Guice is not injecting my TypeConverter

2013-03-04 Thread Nathan Maves
()); @Override public Injector getInjector(ServletContext servletContext) { return injector; } } On Sun, Mar 3, 2013 at 7:10 PM, Nathan Maves nathan.ma...@gmail.com wrote: This is a know limitation of the current framework. Nathan On Mon, Feb 25, 2013 at 10:30 AM, Dan

Re: [Stripes-users] Stripes Ajax calls on error

2014-09-30 Thread Nathan Maves
Sure, you just need to have your action class implement ValidationErrorHandler. Then you can do what ever you want when there are validation errors. http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/validation/ValidationErrorHandler.html On Tue, Sep 30, 2014 at 9:11

[Stripes-users] Injectable ExceptionHandlers

2014-10-19 Thread Nathan Maves
I was curious how hard it would be to add an ExceptionHandlerFactory like the TypeConverterFactory which would allow for plugins like the stripes-guice framework to inject these ExceptionHandlers. If there is a better way I am all ears and will update the current stripes-guice project to use it.

Re: [Stripes-users] Injectable ExceptionHandlers

2014-10-20 Thread Nathan Maves
are implementing AutoExceptionHandler. Then you only need to override the addHandler(Class) method in DelegatingExceptionHandler to get an actual instance of the exception handler using Guice’s injector before delegating the call to addHandler(Object). Christian *De :* Nathan Maves

Re: [Stripes-users] Injectable ExceptionHandlers

2014-10-20 Thread Nathan Maves
. *De :* Nathan Maves [mailto:nathan.ma...@gmail.com] *Envoyé :* October-20-14 12:05 PM *À :* Stripes Users List *Objet :* Re: [Stripes-users] Injectable ExceptionHandlers Nice! I just started implementing this. Will this still handle exception handlers that are not annotated