I have a quick question.

does anyone know how to deal with localized templates?

I need to use a template based on a local

IE:

  <template:insert template="/templates/i18n/us_en/headerTemplate.jsp">
    <template:put name="title" content="Welcome" direct="true"/>
  </template:insert>

  <template:insert template="/pages/i18n/en_us/about.jsp/>

  <template:insert template="/templates/i18n/us_en/footerTemplate.jsp"/>


but I don't really know what page to use until runtime. So I would like to
do something like:

  <template:insert template="<bean:message key="header.template"/>">
    <template:put name="title" content="<bean:message
key="header.welcome"/>" direct="true"/>
  </template:insert>

  <template:insert template="<bean:write name="page"\>">

  <template:insert template="<bean:message key="footer.template"/>"/>

suggestions?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to