Scott,

Yeah, that is another solution I came up with.  I was thinking it would be
nice to associate a view with a registered service along with the theme and
create a custom viewResolver like ServiceThemeResolver.  Does this sound
like something we would want in CAS: assigning views based upon registered
services?

Thanks,
A-


On 8/21/08 10:18 AM, "Scott Battaglia" <[EMAIL PROTECTED]> wrote:

> Andrew,
> 
> You may just be able to add a custom ViewResolver that does what you need.  I
> haven't looked into that too much but it something you could consider.
> 
> -Scott
> 
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
> 
> 
> On Thu, Aug 21, 2008 at 8:03 AM, Andrew Feller <[EMAIL PROTECTED]> wrote:
>> Scott,
>> 
>> The alternative login pages are structurally different than our main login
>> page, so it is not as if I can simply swap out the CSS and have it be
>> sufficient.  I am still researching the full capabilities of Spring MVC
>> themes and seeing whether it is possible, but I am on one of those "we need
>> this by the end of the week despite it being given to you on Monday"
>> deadlines. X\
>> 
>> I was able to hack together something the other day by rewriting the
>> login-webflow rules.  Basically, I had the viewLoginForm changed to a
>> decision state that would check the flowScope.service parameter and depending
>> on which services it found, it would transition them onto a different view
>> state where the view was set to a custom Login page.  This is far from ideal
>> and hope to come back after the deadline to refactor the login page to
>> accommodate themes properly.
>> 
>> 2 questions:
>> 
>> 1. Any good Spring MVC theme links you know of?
>> 2. Is it possible to call the matches() method on a String in OGNL?  It
>> continues to complain whenever I provide it the following:
>> expression="flowScope.service.getId().matches('.*\.example\.com.*')".  It
>> believes the literal string is an OGNL expression to evaluate. =(
>> 
>> Thanks,
>> Andrew
>> 
>> 
>> 
>> On 8/20/08 9:40 PM, "Scott Battaglia" <[EMAIL PROTECTED]
>> <http://[EMAIL PROTECTED]> > wrote:
>> 
>>> Any reason you can't just use the Spring Theme tags to customize the look?
>>> 
>>> -Scott
>>> 
>>> -Scott Battaglia
>>> PGP Public Key Id: 0x383733AA
>>> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>>> 
>>> 
>>> On Mon, Aug 18, 2008 at 1:40 PM, Andrew R Feller <[EMAIL PROTECTED]
>>> <http://[EMAIL PROTECTED]> > wrote:
>>>> QUESTION: How can I setup a second CAS login page that works like the
>>>> normal login page, however it uses a completely different theme.
>>>> 
>>>> I realize I would have to register the URL path with one of the handler
>>>> mappings, however I am still trying to figure out how the handlerMapping
>>>> beans are utilized from the Spring configuration as they aren't referenced
>>>> directly by another Spring bean.
>>>> 
>>>> Thanks,
>>>> Andrew
>>>> 
>>>> _______________________________________________
>>>> Yale CAS mailing list
>>>> [email protected] <http://[email protected]>
>>>> http://tp.its.yale.edu/mailman/listinfo/cas
>>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Yale CAS mailing list
>>> [email protected] <http://[email protected]>
>>> http://tp.its.yale.edu/mailman/listinfo/cas
>> 
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>> 
> 
> 
> 
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to