Jahia Template Forum > Inheriting from...

0 (0 Good)
0 (0 Bad)

Inheriting from Web Templates - pages types lost

by  gkrost »  2011/06/07 20:04

Hi,

i've created a template project inheriting from Web Templates using:
mvn archetype:generate -DarchetypeCatalog=http://maven.jahia.org/maven2

After deployment to JAHIA it works fine when assigning it to the prepackaged demo site (ACME). Assigning it to a new empty site has the following effect:

All quot;page type

  (gkrost)

Number of messages  12
Registration date
0 (0 Good)
0 (0 Bad)

Re: Inheriting from Web Templates - pages types lost

by  shyrkov »  2011/06/07 20:04

Hello Gernot,

could you, please, post the templates.xml descriptor of your template set?

Kind regards
Sergiy
  • Re: Inheriting from Web Templates - pages types lost
    2011/06/07 20:04

    shyrkov Hello Gernot,<br/><br/>could you, please, post the templates.xml descriptor of your template set?<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Inheriting from Web Templates - pages types lost

    by  gkrost »  2011/06/07 20:04

    Hi Sergiy,

    thank you for your reply; the template.xml is basically the archetype created default:

    [code:3q8s9djv]lt;?xml version=

      (gkrost)

    Number of messages  12
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Inheriting from Web Templates - pages types lost

    by  shyrkov »  2011/06/07 20:04

    Hello Gernot,

    it seems to be a resource bundle issue, if you see only empty labels.
    Have I understood you correctly? This empty labels are displayed in the combobox for a page type when you are trying to create a new page (using Add Container Engine)?

    I will check the same use case on my side. Which version of Jahia 6.0 Enterprise Edition are you using?

    Kind regards
    Sergiy
  • Re: Inheriting from Web Templates - pages types lost
    2011/06/07 20:04

    shyrkov Hello Gernot,<br/><br/>it seems to be a resource bundle issue, if you see only empty labels.<br/>Have I understood you correctly? This empty labels are displayed in the combobox for a page type when you are trying to create a new page (using Add Container Engine)?<br/><br/>I will check the same use case on my side. Which version of Jahia 6.0 Enterprise Edition are you using?<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Inheriting from Web Templates - pages types lost

    by  gkrost »  2011/06/07 20:04

    [quote:3vm3gra3]Have I understood you correctly? This empty labels are displayed in the combobox for a page type when you are trying to create a new page (using Add Container Engine)?[/quote:3vm3gra3]

    Hello Sergiy,

    yes, you got it right. I've inspected the HTML source using Firebug, the label values are missing, but the the linked page types are valid. If I select an empty entry, JAHIA uses the selected page type. My n-th guess was a resource-issue, too, but I was not able to figure out what actually happens. All other resources in the whole system are beeing displayed correctly.

    I'm using JAHIA r27015.

    Gernot

      (gkrost)

    Number of messages  12
    Registration date
    0 (0 Good)
    0 (0 Bad)

    [Solved] Inheriting from Web Templates - pages types lost

    by  gkrost »  2011/06/07 20:04

    Ok, two pitfalls combined:
    [list:jry06t6f][*:jry06t6f] The system tried to resolve underscoresquot;_

      (gkrost)

    Number of messages  12
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page