cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: [C2} Session Attributes for FormValidationAction
Date Fri, 23 Nov 2001 15:10:57 GMT
On 23.Nov.2001 -- 12:36 AM, William Moore wrote:
> As well as checking that both values for the new password are equal, I 
> want to check that the value in old password field is the same as the 
> value for password which I have placed in the System Attributes (using 
> DatabaseAuhenticatorAction).
> 
> How can I access the value of a Session Attribute inside the 
> FormValidationAction used to check the details entered on the change 
> password form?

The answer currently is, that you can only read from request
parameters. To obtain the values from other sources, you'd need to
modify the code.

I have just started the notion on cocoon-dev to make this more
general, but until that hits the release branch it will take some
time. 

However, as all values end up being sitemap parameters, you could
easily use a selector to compare them.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message