cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Santos <nsan...@electroplus.pt>
Subject Re: [lazy vote] cforms request processing
Date Wed, 03 Nov 2004 15:26:58 GMT
What i ment was that if a widget is disabled or not in a view it
shouldn't be processed as opposed to an empty parameter. They both have
the same value when invoking the "Request.getParameter" (null), don't
they? 

On Tue, 2004-11-02 at 23:18, Sylvain Wallez wrote:
> Nuno Santos wrote:
> 
> >The Request interface has a method to get an enumeration of parameter
> >names( getParameterNames), so just check the existence of the widget
> >Request parameter name and process only if exist!
> >  
> >
> 
> We don't need to enumerate parameters, as each widget knows which 
> parameters it should consider. The discussion here is about widgets 
> whose request parameters are *not* present, and who therefore see their 
> value reset to null. We want to avoid this.
> 
> Sylvain
-- 
Nuno Santos <nsantos@electroplus.pt>
Electroplus, lda


Mime
View raw message