Spring p: property notation

Scott Battaglia scott.battaglia at gmail.com
Tue Jun 12 11:22:03 EDT 2007


Dusty,

I haven't noticed any particular issues yet with the p namespace (I've used
it in about two applications and multiple milestones of CAS) so its odd that
you're experiencing issues.  Are there by any chance, multiple versions of
Spring on your classpath?

A little background on the p namespace:
http://blog.interface21.com/main/2006/11/25/xml-syntax-sugar-in-spring-20/

If you use Eclispe you may wish to take a look at Spring IDE:
http://www.springframework.org/node/479

I haven't had a chance to try it out yet though (I'm currently going through
and cleaning up XML and Java files ;-)).

-Scott

On 6/12/07, Dusty Burwell <ascalonx at ksu.edu> wrote:
>
> 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
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070612/6cec3147/attachment.html 


More information about the cas mailing list