> I take it that when I add a
> service and associate a theme through the service manager I must add a
> .properties file to /WEB-INF/ ?

Correct.  Additionally, all theme properties files must have the same
message codes defined.  That appears to be the root cause of the
problem in the error you first reported.

Since an example is worth a thousand words, here is an example from our setup:

vt.properties (theme=vt)
==============================
# Theme name
name=vt

# HTML head resources
css.screen=<link rel="stylesheet"
href="{0}/themes/vt/assets/css/screen.css" type="text/css"
media="screen" />
css.sub.content=<link rel="stylesheet"
href="{0}/themes/vt/assets/css/sub-content.css" type="text/css"
media="screen" />
css.print=<link rel="stylesheet"
href="{0}/themes/vt/assets/css/print.css" type="text/css"
media="print" />
css.cas=<link rel="stylesheet" href="{0}/themes/vt/cas.css"
type="text/css" media="screen" />
scripts=<script type="text/javascript"
src="{0}/themes/vt/assets/js/widgets.js"></script>

# Page header resources
header.screen=<img src="{0}/themes/vt/images/unit_header_screen.jpg"
alt="Virginia Tech Central Authentication Service"
id="unit-header-screen" width="758" height="57" />

# Page navigation resources
nav.main.link.vt=<li><a href="http://www.vt.edu/";>Virginia Tech Home</a></li>
nav.help.header=<h2>Log On Help</h2>
nav.help.header.pwd=<h3>Forgot your password?</h3>
nav.help.header.pid=<h3>Don't have a PID?</h3>
nav.help.header.other=<h3>Other problems?</h3>
nav.using.header=<h2>Using CAS</h2>
nav.using.header.aup=<h3>Play by the rules:</h3>
nav.using.header.privacy=<h3>Commitment to privacy:</h3>

# Page content resources
content.header.login=<img src="{0}/themes/vt/images/cas_login.jpg"
alt="CAS Login" width="566" height="77" />
content.header.confirm=<img src="{0}/themes/vt/images/cas_login.jpg"
alt="CAS Login" width="566" height="77" />
content.header.success=<img
src="{0}/themes/vt/images/cas_success.jpg"      alt="CAS Login Success"
width="566" height="77" />
content.header.logout=<img src="{0}/themes/vt/images/cas_logout.jpg"
alt="CAS Logout" width="566" height="77" />
content.header.error=<img src="{0}/themes/vt/images/cas_error.jpg"
alt="CAS Error" width="566" height="77" />


mobile.properties (theme=mobile)
=========================
# Theme name
name=mobile

# HTML head resources
css.cas=<link rel="stylesheet" href="{0}/themes/mobile/cas.css"
type="text/css" media="screen" />
css.screen=
css.sub.content=
css.print=
scripts=

# Page header resources
header.screen=<img
src="{0}/themes/mobile/images/unit_header_mobile.gif" alt="Virginia
Tech Central Authentication Service" id="unit-header-screen"
width="180" height="40" border="0" />

# Page navigation resources
nav.main.link.vt=
nav.help.header=
nav.help.header.pwd=
nav.help.header.pid=
nav.help.header.other=
nav.using.header=
nav.using.header.aup=
nav.using.header.privacy=

# Page content resources
content.header.login=
content.header.confirm=
content.header.success=
content.header.logout=
content.header.error=

================================
================================
Hope that helps,
M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to