I'm glad you found that. I was actually looking for that link to send you and couldn't locate it!
-Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Tue, Jul 29, 2008 at 10:25 AM, Li Wei Nan <[EMAIL PROTECTED]> wrote: > I've found the way on wiki: > http://www.ja-sig.org/wiki/display/CASUM/Theme+ControlSorry for the noise > - Li Wei Nan > > > > > > On Jul 29, 2008, at 10:07 PM, Li Wei Nan wrote: > > I think I've enabled ServiceThemeResolver by adding: > p:servicesManager-ref="servicesManager" > to it. > Maybe I misunderstand the theme function at all. I thought to enable a > theme to an application at run-time, it should be: > > 1. enable the ServiceThemeResolver > 2. just make a theme like 'default' or 'simple' and put in same directory > structure. > 3. make a new property file in 'clasess' dir, like theme1_view.properties > 4. set the new theme to application in management console of CAS. > > And now it seems if I want to provide different theme to different services > at run-time, the actual step should be: > > 1. enable the ServiceThemeResolver > 2. set the new theme to application in management console of CAS. > 3. enable the Spring ThemeResolver bean in context, such as > SessionThemeResolver > 4. modify the current 'default' theme, make all elements conform to spring > theme tag <spring:theme ...> > 5. and then made two sets of theme sets. One is the previous 'default' one, > and the other is the new one. But all is conforming to spring theme scheme. > > It that correct? > > - Li Wei Nan > > > > > > On Jul 29, 2008, at 9:40 PM, Scott Battaglia wrote: > > Hi, > > Did you enable the ServiceThemeResolver? Also, your JSP pages would need > to use the Spring Theme tags to resolve to the appropriate theme. > > Basic information about the theme stuff can be found in Spring's > documentation. > > -Scott > > -Scott Battaglia > PGP Public Key Id: 0x383733AA > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > On Tue, Jul 29, 2008 at 6:16 AM, Li Wei Nan <[EMAIL PROTECTED]> wrote: > >> Hi All, >> I'm now deploying a different theme for our companies wired-in application >> now and meet some problem. Our application needs a CAS login theme that is >> different from the default one. >> >> What I'm doing is: >> >> - make a copy of default theme >> -in cas/WEB-INF/view/jsp/: cp -r default theme1 >> -in cas/themes: cp -r default theme1 >> - in the new theme 'theme1', we made some modifcations to the style >> - in cas management console(/services/manage.html), set the theme of >> this app to 'theme1' >> >> After all these done, and when we use the Application and getting >> redirected to CAS, it still uses the default theme. Can anyone help me? >> >> >> - Li Wei Nan >> >> >> >> >> >> >> _______________________________________________ >> 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 > > > > _______________________________________________ > 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
