struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: invent way to get dropdown data in JSP not using actions or taglibs?
Date Wed, 02 Jan 2008 21:53:09 GMT
--- Brian Pontarelli <> wrote:
> - The preparation logic should ONLY be called when the form is rendered. 
> If I'm remembering correctly, any action that implements Preparable is 
> called via the interceptor chain during all submissions, including a 
> valid form submission where the form doesn't need to be prepared again. 
> The solution should be capable of understanding that the form is being 
> rendered.

Preparable is a MethodFilterInterceptor.

> 2. Add a <s:prepare> tag that somehow calls the preparation code.


> 3. Make the prepare interceptor more intelligent to understand when 
> forms are being rendered (is this possible without major headaches?)

GET v. POST is the easiest (maybe); that's what I did on a couple of projects
(more or less).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message