Jahia in English > Costum logic

0 (0 Good)
0 (0 Bad)

Costum logic

by  fringer »  2011/06/07 18:44

Hi,

I would like to know how can I modify an /1 (or engine?) associate to a specific page. More specifically, I want to call a service configured in a Spring application context before displaying the page.

For example, I would like to call my application layer to preload a product catalog that is stored in another database and then display the result within my Jahia template.

Thanks.
  • Costum logic
    2011/06/07 18:44

    fringer Hi,<br/><br/>I would like to know how can I modify an /1 (or engine?) associate to a specific page. More specifically, I want to call a service configured in a Spring application context before displaying the page.<br/><br/>For example, I would like to call my application layer to preload a product catalog that is stored in another database and then display the result within my Jahia template. <br/><br/>Thanks.

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

    Re: Costum logic

    by  wassek »  2011/06/07 18:44

    Hi,

    I think you have more possibilities.

    1. you can modify the engine jsp like the containeredit.jsp or pageproperties jsp. All engine jsp resources are under the directory webapps/ROOT/engines. For instance inside this jsps you can open an additional popup with a your product catalog.

    2. You can have instead the action menu your own link which opens your own logic and inside your own logic you forward to the right engine. In this case you need some parameters which are forwarded to the engine.

    Regards,
    Werner

    Werner Assek (wassek)

    Number of messages  26
    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