Re: [Stripes-users] Integrate Hibernate or eBean with Stripes

2015-08-21 Thread Remi Vankeisbelck
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:

Re: [Stripes-users] Action with an epub resolution

2015-05-08 Thread Remi Vankeisbelck
-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 :

Re: [Stripes-users] using stripes select just for the collectionfeature

2015-03-17 Thread Remi Vankeisbelck
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.

Re: [Stripes-users] cancel file upload

2015-01-16 Thread Remi Vankeisbelck
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

Re: [Stripes-users] Clean URL Parameters

2013-04-05 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Clean URL Parameters

2013-04-04 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] exception handler class

2013-04-02 Thread Remi VANKEISBELCK
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.

Re: [Stripes-users] exception handler class

2013-04-02 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] TypeConverters and the declare type.

2013-03-18 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Encrypted field by stripes

2013-03-05 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] best way to wire service in to action bean

2013-02-26 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Init parameter custom property

2013-02-13 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-12 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Init parameter custom property

2013-02-12 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Init parameter custom property

2013-02-12 Thread Remi VANKEISBELCK
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,

Re: [Stripes-users] Preferred patterns for accepting lists of String inputs

2013-02-12 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] clean urls and login interceptor problem

2013-01-09 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] clean urls and login interceptor problem

2013-01-07 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] ForwardResolution to URL doesn't seem to set parameters

2012-12-21 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Using some Stripes classes in my own framework

2012-09-22 Thread Remi VANKEISBELCK
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

Re: [Stripes-users] Fwd: auto

2012-05-07 Thread Remi VANKEISBELCK
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

[Stripes-users] JEE Hosting

2012-05-04 Thread Remi VANKEISBELCK
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