Spring p: property notation

Dusty Burwell ascalonx at ksu.edu
Tue Jun 12 10:46:48 EDT 2007


I realize that this is more of a Spring question, but was hoping that
someone here might have an answer.

I've had a couple of things just not work with the 3.1-m3 release of
CAS.  I was quick to think that it was something I did: something not
configured correctly, missing parameters in forms, etc.  However, it
seems that several of my problems have come down to finding a property
in one of the config files that has been set using the 'p:' notation
for setting properties.  I change things to use the full property tag
instead of the p: attribute and they start working.

I'm wondering if others are running into this problem, or if it's just
me?  It seems like it's just some of the properties and not others.
For example, the latest one I ran into was the
'flowExecutionKeyArgumentName' property on the 'loginController' bean
in cas-servlet.xml.  It seemed like I kept losing the state of my flow
execution because it kept restarting at the beginning of the flow and
sending me to the login page after I tried signing in.  It turned out
that when I changed that property to be set with the full property
tag, it started working.

I'm wondering if this is in any way related to the fact that the URL
http://www.springframework.org/schema/p points to absolutely nothing.
I'm not completely sure how the xmlns namespaces work, so I don't know
if it HAS to exist in order for it to work correctly (the only thing I
know is that my IDE marks all of those p: attributes red because it
doesn't know what they are).

-- 
Thanks,
Dusty Burwell



More information about the cas mailing list