Nice, I didn't know it was still available.
We should move the code to gh and add some docs in the wiki ?
Cheers
Rémi
-Message d'origine-
De : Tom Coleman tcole...@autowares.com
Envoyé : 21/08/2015 19:58
À : Stripes Users List stripes-users@lists.sourceforge.net
Objet : Re:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I don't think you have to use a given extension.
Do you specify the appropriate content-type ?
You can set the appropriate content-type via StreamingResolution's
ctor arg :
I don't think so. I don't have the code at hand but FORM (re)pop is all about
having inputs bound to form fields. Otherwise it seems pretty much useless.
I would stick to a regular select + c:forEach and spit out the options myself.
You have no benefit using s:select without actually binding.
You mean from the browser, or server side?
Cheers
Rémi
-Message d'origine-
De : Joaquin Valdez joaquinfval...@gmail.com
Envoyé : 16/01/2015 05:52
À : Stripes Users List stripes-users@lists.sourceforge.net
Objet : [Stripes-users] cancel file upload
Hello!
What are ways to abort a
You don't have no leading / in the path to your JSP :
return new ForwardResolution(some.jsp);
Your path *must* start by / otherwise you have this weird error.
Cheers
Remi
Le 5 avr. 2013 à 08:20, Mikko Saarela a écrit :
Just tried it out of curiosity and reproduced the problem.
The
Hi Mikko,
You hit the URL directly : when stripes validates it fails on integer
conversion, and then tries to foward to the _sourcePage param which doesn't
exist...
s:link/ and s:form/ both generate the source page param.
Otoh I don't understand why 1 doesn't convert to an int... have you
Just tried it out of curiosity and reproduced the problem.
The issue disappears if you have a real JSP to forward to and everything works
as expected.
Then if you have a fictious JSP with path starting by / you have another
error (a 404, which is expected). But you have the same source page
Bug filed :
http://www.stripesframework.org/jira/browse/STS-900
Thanks for your feedback.
Cheers
Remi
Le 4 avr. 2013 à 17:08, Remi VANKEISBELCK a écrit :
Just tried it out of curiosity and reproduced the problem.
The issue disappears if you have a real JSP to forward to and everything
Hi Chris,
It only declares IOException and ServletException because the handler itself
may fail (e.g. call to request.getDispatcher()), or so that, in case you want
to, you can re-throw an exception that matches the servlet spec, and then let
the container handle it.
HTH
Remi
Le 2 avr.
still need a handler
defined by error-pageexception-type ... in web.xml just in case the
Stripes exception handling mechanism craps out then?
On Tue, Apr 2, 2013 at 4:24 AM, Remi VANKEISBELCK r...@rvkb.com wrote:
Hi Chris,
It only declares IOException and ServletException because
I don't get it.
You mean you have an action bean that references an object (JPA) and you want
to bind a string to one of its props ?
action - pojo - String ?
What's display tag have to do with it ?
In all cases, Stripes binds request params using the declared type of the
property. You can
Yeah th'tas because you use @Validate not in the action bean class.
Try :
@ValidateNestedProperties(...)
protected ItemExt itemExt = new ItemExt();
In short stripes validation ain't nested : you have to specify in in the
action bean explicitly using @ValidateNestedProperties.
HTH
Rémi
Le 5
You're talking about using a Dependency Injection framework ?
If yes Stripes already provides support for Spring :
http://www.stripesframework.org/display/stripes/Spring+with+Stripes
The same technique, using an Interceptor to wire the collaborators in the
actions, can be implemented with
this
work?. Under StripesFilter?.
Thanks in advance.
On Tue, Feb 12, 2013 at 11:51 AM, Remi VANKEISBELCK r...@rvkb.com wrote:
Probably :
http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/config/Configuration.html#getBootstrapPropertyResolver%28%29
Hi,
Apparently the guy uses an Interceptor for his tests.
I think that's what you want too. Write a Stripes Interceptor that performs the
injection as you want, and only register this one for your unit tests. You
don't have to stub anything IMO.
Btw that's what @SpringBean does: it's based
You mean configure an Interceptor or stuff like that ?
http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/config/ConfigurableComponent.html
?
HTH
Remi
Le 12 févr. 2013 à 17:52, Venkat Ravuri a écrit :
Is there way to pass my custom property and a value from web.xml
Probably :
http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/config/Configuration.html#getBootstrapPropertyResolver%28%29
The property resolver is basically a way to access init params in web.xml, with
some additional sugar.
You can get it from anywhere in your app,
Hi Joe,
I've had this choice to make a few weeks ago... I needed to pass two different
data structures for processing on the server, sent from JS code (AJAX).
I've used Stripes binding in one case (for Maps, but works for Lists too), with
the big advantage that Stripes' form repop (which you
Le 8 janv. 2013 à 16:27, Chris Cheshire a écrit :
What's getLastUrl() ? Could you post a snippet maybe (don't have the Stripes
Book under hand... b bad bad bad) ?
public String getLastUrl() {
HttpServletRequest req = getContext().getRequest();
StringBuilder sb
Hi Chris,
Le 7 janv. 2013 à 00:37, Chris Cheshire a écrit :
I have my web site configured to use the clean urls with no prefix (so
no *.action binding) and also working on implementing the login
interceptor from the Stripes book.
Are you using DynamicMappingFilter ?
For the most part it
Yeah it should.
Mike have you mapped the dispatcher to work in internal FORWARDs ?
Stuff like :
filter-mapping
filter-nameDynamicMappingFilter/filter-name
url-pattern/*/url-pattern
dispatcherREQUEST/dispatcher
dispatcherFORWARD/dispatcher !-- the one you need
Comments inlined...
Le 22 sept. 2012 à 11:15, Grzegorz Krugły a écrit :
Well, main points would be:
Tight integration with Web Content Management - so the same tools are used
for simple static HTML page editing AND for built in pages with forms,
grids, etc. So users can for instance easily
Hi Thomas,
Not sure where you got this URL from, but yes indeed, we have moved to an
organisation on GitHub :
https://github.com/pojosontheweb/woko
And we have an entry point web site :
http://www.pojosontheweb.com
Cheers
Remi
Le 7 mai 2012 à 00:25, Thomas Menke a écrit :
On 03/09/2012
Hi folks,
I'm looking for some affordable and reliable JEE (war container + SQL database)
hosting...
Any ideas ?
Thanks in advance...
Cheers
Remi
signature.asc
Description: Message signed with OpenPGP using GPGMail
24 matches
Mail list logo