Re: [Stripes-users] Accessing annotations directly from JSP/EL

2010-12-21 Thread Oscar Westra van Holthe - Kind
object = pageContext.findAttribute(annot instance name); SearchText searchText = object.getClass().getAnnotation(SearchText.class); String name = searchText == null ? null : searchText.name(); % Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] Preventing multiple form submission

2010-11-16 Thread Oscar Westra van Holthe - Kind
check upon submit forced the use of the custom tag, so there will be no omissions there. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality is the inevitable consequence of liberty. =/ () -- Salvador De Madariaga - Anarchy or Hierarchy

Re: [Stripes-users] Preventing multiple form submission

2010-11-16 Thread Oscar Westra van Holthe - Kind
-- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( No trees were killed in the creation of this message. However, =/ () many electrons were terribly inconvenienced. signature.asc Description: Digital signature

Re: [Stripes-users] maven 2 archetype for stripes

2010-11-13 Thread Oscar Westra van Holthe - Kind
/files/stripes-quickstart-1.0/1.0 Thank you. I've just checked the URL's origin and tested it (works perfectly), so I adjusted the web page. Regards, Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Even if you win the rat race, you

Re: [Stripes-users] Maven convention

2010-11-12 Thread Oscar Westra van Holthe - Kind
authentication mechanism, you'll run into problems because your custom authentication won't easily propagate to the EJB tier. Regards, Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://oscar.westravanholthe.nl/ (__ ( =/ () DRM manages access in the same way that a jail manages

Re: [Stripes-users] Maven convention

2010-11-11 Thread Oscar Westra van Holthe - Kind
(the CD from ACID, and backups; a stretch, but ok) - SLA uptime guarantees (this one surprised me) Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men looking for easier ways to do things. =/ () -- Robert Heinlein

Re: [Stripes-users] Maven convention

2010-11-11 Thread Oscar Westra van Holthe - Kind
, overriding the principal and roles isn't even feasible. Regards, Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( No trees were killed in the creation of this message. However, =/ () many electrons were terribly inconvenienced. signature.asc

Re: [Stripes-users] Source forge description: It's stripey and itdoesn't suck

2010-10-29 Thread Oscar Westra van Holthe - Kind
On 29-10-2010 at 16:37, jfonta...@codegap.com wrote: Stripes: the missing link? ;) Better. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( I disapprove of what you say, but I will defend to the death your =/ () right to say

Re: [Stripes-users] Source forge description: It's stripey and itdoesn't suck

2010-10-29 Thread Oscar Westra van Holthe - Kind
On 29-10-2010 at 18:51, VANKEISBELCK Remi wrote: Stripes: what else ? Nescafe? Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality is the inevitable consequence of liberty. =/ () -- Salvador De Madariaga - Anarchy or Hierarchy (1937

Re: [Stripes-users] Dual Form... Log-in and Sign-up

2010-10-29 Thread Oscar Westra van Holthe - Kind
Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Simplicity is prerequisite for reliability. =/ () -- Edsger Dijkstra, EWD498 signature.asc Description: Digital signature -- Nokia and ATT

Re: [Stripes-users] Source forge description: It's stripey and it doesn't suck

2010-10-28 Thread Oscar Westra van Holthe - Kind
leave because this framework isn't a straitjacket. (IMHO not really 'mature' though) Another option: Stripes: the best way to visualize rapid development. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men looking

Re: [Stripes-users] Thorough XSS Solution...

2010-10-28 Thread Oscar Westra van Holthe - Kind
, this mitigates the risk of scripts spending your money quite well (it makes any attack visible). Oscar -- ,-_ Oscar Westra van Holthe - Kind http://oscar.westravanholthe.nl/ /() ) (__ ( Simplicity is prerequisite for reliability. =/ () -- Edsger Dijkstra, EWD498 signature.asc Description

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

2010-10-28 Thread Oscar Westra van Holthe - Kind
it may not be an option given your requirements). Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced back to the =/ () dids and the did-nots. signature.asc Description: Digital signature

Re: [Stripes-users] Dual Form... Log-in and Sign-up

2010-10-28 Thread Oscar Westra van Holthe - Kind
, but for the first (second, ...) page of the sign-up wizard. The same caveat applies to the form. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( It takes less time to do a thing right, than it does to explain why =/ () you did it wrong. -- Henry

Re: [Stripes-users] Stripes and GWT

2010-10-26 Thread Oscar Westra van Holthe - Kind
the DynamicMappingFilter and map the DispatcherServlet to /stripes instead. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( If we don't believe in freedom of expression for people we despise, =/ () we don't believe in it at all. -- Noam Chomsky signature.asc

Re: [Stripes-users] Stripes and GWT

2010-10-25 Thread Oscar Westra van Holthe - Kind
Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( No trees were killed in the creation of this message. However, =/ () many electrons were terribly inconvenienced. signature.asc Description: Digital signature

Re: [Stripes-users] Stripes and Portlets

2010-10-18 Thread Oscar Westra van Holthe - Kind
reused, - be aware that rendering properties can and will be stored (and thus reused) by the portal server, making selecting the default handler trickier Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often

Re: [Stripes-users] Stripes and Portlets

2010-10-18 Thread Oscar Westra van Holthe - Kind
-inline CSS, dynamic images, file downloads, etc. (you'd need to setup a separate servlet, which defeats the point of a portlet). It's not until the second specification (JSR 286) that portlets can be considered seriously, IMNSHO. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http

Re: [Stripes-users] strange bug in select and options-collection tags

2010-10-13 Thread Oscar Westra van Holthe - Kind
along with the territory, as well as knowing some financial products. Besides, living in the Netherlands, I doubt I could be working for one of your clients. Any organizations that might become clients are more likely to find a local software company. Ocar -- ,-_ Oscar Westra van Holthe

Re: [Stripes-users] Best way to handle hierarchy of objects?

2010-10-07 Thread Oscar Westra van Holthe - Kind
the restaurant field non-optional), option 1 is better. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () QED - Quite Easily Done signature.asc Description: Digital signature

Re: [Stripes-users] Finally, 1.5.3 available from maven central !

2010-10-04 Thread Oscar Westra van Holthe - Kind
. also .war, .ear, .rar, .sar files) is just icing on the cake. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Even if you win the rat race, you are still a rat... signature.asc Description: Digital signature

Re: [Stripes-users] Security and Authentication

2010-09-19 Thread Oscar Westra van Holthe - Kind
system as Stripes). Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced back to the =/ () dids and the did-nots. signature.asc Description: Digital signature

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Oscar Westra van Holthe - Kind
Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( I disapprove of what you say, but I will defend to the death your =/ () right to say it. -- Voltaire signature.asc Description: Digital signature

Re: [Stripes-users] The best way to separate variabls in a larger form from the action.

2010-09-10 Thread Oscar Westra van Holthe - Kind
is @StrictBinding. It's javadoc is pretty straightforward, and can be found here: http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/action/StrictBinding.html Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Simplicity

Re: [Stripes-users] Nested Layout Grief and 1.5.4 Snapshot

2010-08-28 Thread Oscar Westra van Holthe - Kind
replaced) 4. html_template.jsp does not define a template, but only contains a component. Is this correct? If so, enclose the entire HTML template in a s:layout-definition tag and behold the result. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] Validation errors

2010-08-15 Thread Oscar Westra van Holthe - Kind
-- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The unexpected happens. You had better prepare for it. =/ () -- Thatcher's law signature.asc Description: Digital signature

Re: [Stripes-users] JSR 303 integration and addition to stripes around?the web

2010-08-08 Thread Oscar Westra van Holthe - Kind
it to Stripes-Stuff (http://sourceforge.net/projects/stripes-stuff/). I don't remember who I mailed for commit access, but one of the three listed developers should be able to help you. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( No trees were

Re: [Stripes-users] stripes layout

2010-07-29 Thread Oscar Westra van Holthe - Kind
class=menu ${activeTab}selected li id=tab1Tab 1 li id=tab2Tab 1 li id=tab3Tab 1 /ol -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () A half truth is a whole lie. -- Yiddish Proverb

Re: [Stripes-users] stripersist: recreating (drop/create) a database

2010-07-21 Thread Oscar Westra van Holthe - Kind
that. In essence, import.sql is for test and/or initial data. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://oscar.westravanholthe.nl/ (__ ( =/ () DRM manages access in the same way that a jail manages freedom. signature.asc Description: Digital signature

Re: [Stripes-users] stripersist: recreating (drop/create) a database

2010-07-13 Thread Oscar Westra van Holthe - Kind
statements after creating your database. You can use this to insert initial data. Personally, I use this with a HSQLDB in-memory database to test my code. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced

Re: [Stripes-users] Model Initialization: Action Bean Populate vs. JPA Load

2010-07-06 Thread Oscar Westra van Holthe - Kind
to the @PrePersist event handler). In that case the field will be initialized correctly by the JPA provider, and the getter will recognize it only needs to return the value. Am I missing something here, why such a solution cannot work? Oscar -- ,-_ /() ) Oscar Westra van Holthe

Re: [Stripes-users] Model Initialization: Action Bean Populate vs. JPA Load

2010-07-06 Thread Oscar Westra van Holthe - Kind
with lately. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Simplicity is prerequisite for reliability. =/ () -- Edsger Dijkstra, EWD498 signature.asc Description: Digital signature

Re: [Stripes-users] Database backed ResourceBundle

2010-06-09 Thread Oscar Westra van Holthe - Kind
solution, I'm all ears. For performance, you'll find you do need to cache the texts your ResourceBundle provides. By invalidating the cache, say, each half hour if there are changes to the translations in the database. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] SecurityManager.Class not called on @ValidationMethod(on = ...) method, is it a bug ?

2010-06-03 Thread Oscar Westra van Holthe - Kind
generates an error. On EventHandling step, access is checked prior to executing event. I don't know if this can be considered as a bug or a feature, so it would be better to ask Oscar Westra van Holthe - Kind or Fred Daoud. This is a feature: - after validation, the user may see the screen

Re: [Stripes-users] I Picked Templating Engine X... Over JSPs and Stripes TLDs... and This is WHY???

2010-05-26 Thread Oscar Westra van Holthe - Kind
tag libraries - it should do custom tags, snippets or whatever they're called Freemarker fits this list well enough. Just my 0.02... Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail manages

Re: [Stripes-users] Stripes and Spring - Exception if doing INIT in Constructor

2010-05-26 Thread Oscar Westra van Holthe - Kind
Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () QED - Quite Easily Done signature.asc Description: Digital signature

Re: [Stripes-users] Stripes and Spring - Exception if doing INIT in Constructor

2010-05-26 Thread Oscar Westra van Holthe - Kind
injection does that, though I do not know if there is another way. Failing that, I'd hazard a guess that Spring isn't managing the instance that throws a NPE. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Even if you win the rat race, you

Re: [Stripes-users] Why does Flash Scope use session scope?

2010-04-29 Thread Oscar Westra van Holthe - Kind
scope. This is then artificially limited to respond only to specific redirects (magic I cannot explain), and cleaned up after 2 minutes if not used. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( No trees were killed in the creation

Re: [Stripes-users] NumberFormatException for array length???

2010-04-26 Thread Oscar Westra van Holthe - Kind
to an array or List. See here for more details: http://www.stripesframework.org/display/stripes/Indexed+Properties Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced back to the =/ () dids

Re: [Stripes-users] modifying the response in an Interceptor

2010-04-23 Thread Oscar Westra van Holthe - Kind
HttpServletResponse Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () QED - Quite Easily Done -- ___ Stripes-users mailing list Stripes

Re: [Stripes-users] Seeking advice on StreamingResolution

2010-04-22 Thread Oscar Westra van Holthe - Kind
+Events In short, it's a wait page (with and without AJAX updater), what automagically inserts a wait page between the initial request and the completion of the slow event (i.e. generating the PDF). Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] Implementing a call stack in the FlashScope

2010-04-16 Thread Oscar Westra van Holthe - Kind
after a redirect -- it expires too quickly for what you're trying to do I think. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Even if you win the rat race, you are still a rat

Re: [Stripes-users] Problem with ActionResolver.Packages configuration

2010-02-07 Thread Oscar Westra van Holthe - Kind
param-nameActionResolver.Packages/param-name param-value net.sourceforge.stripes.examples, com.sourceforge.stripes.examples /param-value /init-param Oscar -- ,-_ /() ) Oscar Westra van Holthe

Re: [Stripes-users] Stripes and Components

2010-02-04 Thread Oscar Westra van Holthe - Kind
should know what request attributes the component framework requires to render the components, and what the resulting input form fields (and resulting request parameters) will be. Knowing this, you can let it play nice with Stripes. Oscar -- ,-_ Oscar Westra van Holthe - Kind http

Re: [Stripes-users] Stripes and Components

2010-02-04 Thread Oscar Westra van Holthe - Kind
framework, I think of something heavier. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced back to the =/ () dids and the did-nots. signature.asc Description: Digital signature

Re: [Stripes-users] Stripes Request Lifecycle

2010-02-02 Thread Oscar Westra van Holthe - Kind
. To extend on this, BaseAction will be instantiated as part of the instances of your subclasses. This is because of inheritance. Only if you specify this BaseAction as ActionBean for a URL will it be instantiated directly. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] how to get the current locale

2010-02-02 Thread Oscar Westra van Holthe - Kind
want to know if I can get the selected locale from an actionbean and a jsp page. The selected Locale is set on the response and in the ActionBeanContext. You get get at it like this: - ActionBean: getContext().getLocale() - JSP: ${response.locale} Oscar -- ,-_ /() ) Oscar Westra van

Re: [Stripes-users] Thread Safe Action Beans

2010-02-01 Thread Oscar Westra van Holthe - Kind
is associated with the HTTP request and thread handling that request. It may provide more information than you have now. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Even if you win the rat race, you are still a rat

Re: [Stripes-users] Validate Annotation and default value for maxlength

2010-01-05 Thread Oscar Westra van Holthe - Kind
a default of 250: String properties are modeled as varchar(250) by default. Also, it is a good practice to have no default at all: it forces you to think about your data. Especially if it's going into a database, this is actually a good thing IMHO. Oscar -- ,-_ /() ) Oscar Westra van

Re: [Stripes-users] Proposal: @UrlBinding annotation that includes(sub)domain names

2009-12-25 Thread Oscar Westra van Holthe - Kind
here: http://www.apachetutor.org/admin/reverseproxies Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting such a bad thing

Re: [Stripes-users] Size limit on file uploads

2009-11-27 Thread Oscar Westra van Holthe - Kind
a user understands. As a result, I usually report a megabyte less than the actual memory. I say the limit is 30MB while I configure 31MB. Enforcing a strict limit of 30MB can always be added as a validation. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] Mapping to the context root

2009-10-18 Thread Oscar Westra van Holthe - Kind
://www.stripesframework.org/jira/browse/STS-688 Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail manages freedom. -- Come build with us

Re: [Stripes-users] Rewrite using Stripes

2009-10-09 Thread Oscar Westra van Holthe - Kind
to be available on that page only. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti-capitalist. -- Come build with us

Re: [Stripes-users] Locale Picker and request interceptor

2009-09-30 Thread Oscar Westra van Holthe - Kind
the locale to use. Configuration is analogous to point 1. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail manages freedom

Re: [Stripes-users] ForwardResolution does not go to right target

2009-08-22 Thread Oscar Westra van Holthe - Kind
this. You'll want to override the method execute(HttpServletRequest, HttpServletResponse) to use three lines above. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting

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

2009-08-09 Thread Oscar Westra van Holthe - Kind
). But since there is no possibility to execute the JSP page in code (not in a app.server independent way at least), I've had to abanbon that approach in favor of a series of taglibs with an informally required (but Ñ•adly not fixed) API.. Oscar -- ,-_ Oscar Westra van Holthe - Kind http

Re: [Stripes-users] Implementing a 'keep me logged in' feature

2009-06-09 Thread Oscar Westra van Holthe - Kind
. If the user in the session is null, you redirect to the login page. Combine that with a session that never expires, and I think you have what you want. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti

Re: [Stripes-users] Implementing a 'keep me logged in' feature

2009-06-09 Thread Oscar Westra van Holthe - Kind
On 09-06-2009 at 10:53, Joao Azevedo wrote: How can I define the session expiration time? In web.xml: session-config session-timeout30/session-timeout /session-config The 30 here means 30 minutes. -1 means no timeout. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http

Re: [Stripes-users] Multiple Resource Bundles - User Additions

2009-06-07 Thread Oscar Westra van Holthe - Kind
, instead of just the resource bundles for fields and errors. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced back to the =/ () dids and the did-nots

Re: [Stripes-users] File download Blocked in IE

2009-05-28 Thread Oscar Westra van Holthe - Kind
]/ Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men looking for easier ways to do things. =/ () -- Robert Heinlein -- Register Now

Re: [Stripes-users] synchronizing on the session

2009-05-25 Thread Oscar Westra van Holthe - Kind
___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom

Re: [Stripes-users] synchronizing on the session

2009-05-25 Thread Oscar Westra van Holthe - Kind
and redirecting to the result page immediately. You can then also use the flash scope to display a message, or even add a (temporary) meta tag to reload the page after a few seconds (the reloaded page doesn't contain that meta tag). Oscar -- ,-_ Oscar Westra van holthe - Kind http

Re: [Stripes-users] Stripes ecncryption and one key per session

2009-05-13 Thread Oscar Westra van Holthe - Kind
is still a good solution to prevent evesdropping and to prevent session hijacking. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail manages freedom

Re: [Stripes-users] Stripes form in templates?

2009-05-04 Thread Oscar Westra van Holthe - Kind
cannot use it's internals, unless it explicitly exposes them. And even then, a tag can only expose (named) beans, not tags. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Clearly the Bush Presidency was divine punishment for the sinful

Re: [Stripes-users] something that might be nice

2009-04-30 Thread Oscar Westra van Holthe - Kind
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () QED - Quite Easily Done -- Register Now Save

Re: [Stripes-users] Password Logging as plain text

2009-04-15 Thread Oscar Westra van Holthe - Kind
to all but one place Obviously, the term secure has too many meanings. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( I love deadlines. I like the whooshing sound they make as they fly =/ () by. -- Douglas Adams

Re: [Stripes-users] Stripes 1.6 and Security questions

2009-04-15 Thread Oscar Westra van Holthe - Kind
case, the security interceptor from Stripes-Stuff allows you to implement any access control check you like, or use a spinoff from the J2EE EJB security annotations, like this: @RolesAllowed(manager, employee if dossier.manager==currentUser) Oscar -- ,-_ Oscar Westra van holthe - Kind

Re: [Stripes-users] Plus in Links

2009-04-02 Thread Oscar Westra van Holthe - Kind
-- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti-capitalist. -- ___ Stripes-users mailing list Stripes

Re: [Stripes-users] stripes:link tag and jsessionId

2009-04-02 Thread Oscar Westra van Holthe - Kind
loop when the browser doesn't support cookies -- whether it's an old browser or cookies are disabled is irrelevant. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail manages freedom

Re: [Stripes-users] Reading a properties file

2009-04-02 Thread Oscar Westra van Holthe - Kind
(...) method with the InputStream. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting such a bad thing

Re: [Stripes-users] Stripes Security now what question

2009-03-31 Thread Oscar Westra van Holthe - Kind
://www.jboss.org/community/docs/DOC-12186 Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting such a bad thing

Re: [Stripes-users] Can't load JS file within app HEAD

2009-03-18 Thread Oscar Westra van Holthe - Kind
WEB-INF to hide. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting such a bad thing

Re: [Stripes-users] Need advice on dependent menu design

2009-03-15 Thread Oscar Westra van Holthe - Kind
can most easily have different labels values, and because you can group and/or disable items. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality is the inevitable consequence of liberty. =/ () -- Salvador De Madariaga - Anarchy

Re: [Stripes-users] SQL Injection (WAS: Need Help: passing ID from JSP, Stripersist, and displaying results)

2009-03-14 Thread Oscar Westra van Holthe - Kind
true if you construct the query yourself, this is not the case for parameters in prepared statements. IIRC, JPA queries in the annotations are. Am I mistaken? Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men looking

Re: [Stripes-users] welcome page

2009-03-11 Thread Oscar Westra van Holthe - Kind
to the dispatcher (a servlet). URL's ending in .jsp generally don't because *.jsp is mapped to the application server's JSP serving mechanism (also a servlet in Tomcat, for example). Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss

Re: [Stripes-users] Stripes Book Example Issue

2009-03-10 Thread Oscar Westra van Holthe - Kind
this? I usually build such a page around a table that changes the least, i.e. I'd assign roles to users instead of users to roles. As the roles table hardly ever changes, this will work better. Although still not foolproof. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http

Re: [Stripes-users] Web framework evaluation - What is beautiful in Stripes?

2009-03-05 Thread Oscar Westra van Holthe - Kind
the basic assumptions one usually makes when workign with a programming language. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality is the inevitable consequence of liberty. =/ () -- Salvador De Madariaga - Anarchy or Hierarchy (1937

Re: [Stripes-users] Stripes 1.5.1 released

2009-03-04 Thread Oscar Westra van Holthe - Kind
these behaviours, and I suspect people expect them (I know I do). It would be a pita if I would need to build an interceptor to handle this. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti

Re: [Stripes-users] login issues across context?

2009-03-02 Thread Oscar Westra van Holthe - Kind
need to use the same application server (cluster) for all host names, and then tell it to use single sign on (SSO) for the applications. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Freedom is a willingness to accept consequences

Re: [Stripes-users] Writing Clean Actions

2009-03-02 Thread Oscar Westra van Holthe - Kind
On 02-03-2009 at 22:15, Oscar Westra van Holthe - Kind wrote: For your basic CRUD, this is indeed not needed: a generic ActionBean can do all you need. However, for more advanced stuff like resetting a password to a random value, or executing a workflow action, this is not sufficient

Re: [Stripes-users] Multiple Field Errors, One Error Message

2009-02-27 Thread Oscar Westra van Holthe - Kind
better. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Freedom is a willingness to accept consequences. -- Open Source Business Conference (OSBC), March 24-25, 2009

Re: [Stripes-users] True RESTful Support

2009-02-23 Thread Oscar Westra van Holthe - Kind
for doDelete(...) and doPut(...). Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail manages freedom. -- Open Source

Re: [Stripes-users] lifecycle stages being executed twice

2009-02-20 Thread Oscar Westra van Holthe - Kind
? Yes Please remove the BeforeAfterInterceptor there. It's in Stripes 1.5, it's already included in the core interceptors, which results in the methods being executed twice. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality

Re: [Stripes-users] pre-selecting entity in select box

2009-02-14 Thread Oscar Westra van Holthe - Kind
, why do you use event instead of currentUser.current? This way, you only need to store the currentUser as it's bound by Stripes Stripersist. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () DRM manages access in the same way that a jail

Re: [Stripes-users] Resumable StreamingResolution?

2009-02-14 Thread Oscar Westra van Holthe - Kind
Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men looking for easier ways to do things. =/ () -- Robert Heinlein -- Open Source Business Conference (OSBC), March 24-25

Re: [Stripes-users] Setter on collection didnt get called

2009-02-11 Thread Oscar Westra van Holthe - Kind
into account. A solution would be to use the EJB3 lifecycle. For example, the @PrePersist and @PreUpdate annotations in EJB3 would do the trick. To use them, create a method in the EJB that transposes the children collection to the children's parent object. Oscar -- ,-_ /() ) Oscar Westra van

Re: [Stripes-users] Conditional validation

2009-02-04 Thread Oscar Westra van Holthe - Kind
-- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality is the inevitable consequence of liberty. =/ () -- Salvador De Madariaga - Anarchy or Hierarchy (1937) -- Create

Re: [Stripes-users] Redirecting from one application to other

2009-02-04 Thread Oscar Westra van Holthe - Kind
-- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti-capitalist. -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software

Re: [Stripes-users] Help with UTF-16 - can't post

2009-01-30 Thread Oscar Westra van Holthe - Kind
happened later than that. Mapping the filter to the URL patterns fixed my problem. -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Inequality is the inevitable consequence of liberty. =/ () -- Salvador De Madariaga - Anarchy or Hierarchy (1937

Re: [Stripes-users] Stripes book: Can't persist to DB

2009-01-30 Thread Oscar Westra van Holthe - Kind
in WEB-INF/lib/. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( The haves and the have-nots can often be traced back to the =/ () dids and the did-nots. -- This SF.net

Re: [Stripes-users] dabase access with ejb using stripes

2009-01-30 Thread Oscar Westra van Holthe - Kind
. Use Stripes without a DB (you did this already) 2. Add a DB layer on my own (no use of Stripersist or similar) 3. Add Stripersist; check the example in the package for transaction management. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop

Re: [Stripes-users] Parameters in http Post

2009-01-27 Thread Oscar Westra van Holthe - Kind
? Not that I'm aware of, spec. wise (contrary to a GET request, but that wasn't your question). But servers may impose their own limits though, although I've never encountered them. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( I love deadlines. I like

Re: [Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Oscar Westra van Holthe - Kind
errors is useful), or before event handling. Adding a second call before the binding phase would negate your efforts to minimize the amount of code run in a request. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () QED - Quite Easily Done

Re: [Stripes-users] Interceptors and http request type (include, forward, redirect) - is it possible to distinguish?

2009-01-26 Thread Oscar Westra van Holthe - Kind
, so there is no distinction between a redirect and a normal GET request. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti-capitalist

Re: [Stripes-users] posting to SSL

2009-01-24 Thread Oscar Westra van Holthe - Kind
. Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () Don't let your boss fuck you; that's anti-capitalist. -- This SF.net email is sponsored by: SourcForge Community

Re: [Stripes-users] Inadvertent content-type charset

2009-01-15 Thread Oscar Westra van Holthe - Kind
the character encoding as it applies, but appearently a bug in Tomcat 6 botches it. ... So as you can see, the LocalePicker is actually not used. In fact, it's only used to set the character encoding on the request, to read the parameter. Oscar -- ,-_ Oscar Westra van holthe - Kind

Re: [Stripes-users] Inadvertent content-type charset

2009-01-14 Thread Oscar Westra van Holthe - Kind
response) throws Exception { response.setCharacterEncoding(characterEncoding); super.stream(response); } } res.setCharacterEncoding( null ); res.setFilename( some file name.pdf); return res; Oscar -- ,-_ /() ) Oscar Westra van holthe - Kind http://www.xs4all.nl

Re: [Stripes-users] Binding to child object without prefix

2009-01-06 Thread Oscar Westra van Holthe - Kind
multipart requests for you. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting such a bad thing

Re: [Stripes-users] Binding to child object without prefix

2009-01-06 Thread Oscar Westra van Holthe - Kind
the request parameters. Doh! Of course the interceptor approach works better: otherwise you'd need to duplicate Stripes' code to identify the ActionBean. Good thinking. Oscar -- ,-_ Oscar Westra van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men

Re: [Stripes-users] RedirectResolution in Unit Tests

2008-12-19 Thread Oscar Westra van Holthe - Kind
van holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( I love deadlines. I like the whooshing sound they make as they fly =/ () by. -- Douglas Adams -- ___ Stripes

  1   2   >