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
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
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
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 /
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
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
, 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
.
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
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
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
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
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
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
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
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
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
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
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
.
}
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
/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
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
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.
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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!
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
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.
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
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
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
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
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:
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
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
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,
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
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
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
--
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
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
, 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
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
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
.
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
*/
@Intercepts({
LifecycleStage.BindingAndValidation, LifecycleStage.CustomValidation,
LifecycleStage.EventHandling,
LifecycleStage.ResolutionExecution
})
public class SecurityInterceptor
--
Nathan Maves
--
All
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 \
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/
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
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
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
());
@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
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
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.
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
.
*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
66 matches
Mail list logo