Jahia in English > deploying portlets...

0 (0 Good)
0 (0 Bad)

deploying portlets into Jahia

by  westwood_nz »  2011/06/07 18:40

Hi there,

I was just reading up on portlet development and I've noticed that there are JSF-based Portlets. These are JSR-168 compliant, hence it should be deployable into Jahia.

Has anyone tried this before? Can anyone point me to an example that they have deployed into Jahia which is a JSF based portlet?

Cheers,
Saif
  • deploying portlets into Jahia
    2011/06/07 18:40

    westwood_nz Hi there,<br/><br/>I was just reading up on portlet development and I've noticed that there are JSF-based Portlets. These are JSR-168 compliant, hence it should be deployable into Jahia.<br/><br/>Has anyone tried this before? Can anyone point me to an example that they have deployed into Jahia which is a JSF based portlet?<br/><br/>Cheers,<br/>Saif

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

    Re: deploying portlets into Jahia

    by  ktlili »  2011/06/07 18:40

    Hi,

    You can find an example of how to deploy a JSF portlet here:

    http://www.jahia.org/cms/lang/en/home/J ... F_Portlets

    Regards.

    KT
  • Re: deploying portlets into Jahia
    2011/06/07 18:40

    ktlili Hi,<br/><br/>You can find an example of how to deploy a JSF portlet here:<br/><br/> <!-- m --><a class="postlink" href="http://www.jahia.org/cms/lang/en/home/Jahiapedia/Jahia_Portlets/Integrate_JSF_Portlets">http://www.jahia.org/cms/lang/en/home/J ... F_Portlets</a><!-- m --><br/><br/>Regards.<br/><br/>KT

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

    Re: deploying portlets into Jahia

    by  westwood_nz »  2011/06/07 18:40

    Hi KT,

    Thanks for your reply..I have downloaded the appropriate zip file as required in the instructions you provided me with. However the second step says: /1 file in the zip file! Can you please have a look and tell how to solve this? Maybe we can generate this war file?

    Also do you have any more examples on a Struts portlet being deployed into Jahia?

    Cheers,
    Saif
  • Re: deploying portlets into Jahia
    2011/06/07 18:40

    westwood_nz Hi KT,<br/><br/>Thanks for your reply..I have downloaded the appropriate zip file as required in the instructions you provided me with. However the second step says: /1 file in the zip file! Can you please have a look and tell how to solve this? Maybe we can generate this war file?<br/><br/>Also do you have any more examples on a Struts portlet being deployed into Jahia?<br/><br/>Cheers,<br/>Saif

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

    Re: deploying portlets into Jahia

    by  westwood_nz »  2011/06/07 18:41

    Ok I have found the post for deploying struts portlets in here:
    http://www.jahia.org/cms/lang/en/home/J ... e_Portlets

    However when I download a struts portlet and do the appropriate changes to it according to the above instructions, Jahia administration console gives me the following error message when I prepare the war file:

    'An error occured while processing your request: unable to find FieldDescriptor for 'servlet-class' in ClassDescriptor of web-app'?

    Can anyone help in pointing me to a ready example or into solving the above error? Also would love to get the previous post replied on too :)

    Cheers guys,
    Saif
  • Re: deploying portlets into Jahia
    2011/06/07 18:41

    westwood_nz Ok I have found the post for deploying struts portlets in here:<br/><!-- m --><a class="postlink" href="http://www.jahia.org/cms/lang/en/home/Jahiapedia/Jahia_Portlets/Integrate_Portlets">http://www.jahia.org/cms/lang/en/home/J ... e_Portlets</a><!-- m --><br/><br/>However when I download a struts portlet and do the appropriate changes to it according to the above instructions, Jahia administration console gives me the following error message when I prepare the war file:<br/><br/>'An error occured while processing your request: unable to find FieldDescriptor for 'servlet-class' in ClassDescriptor of web-app'?<br/><br/>Can anyone help in pointing me to a ready example or into solving the above error? Also would love to get the previous post replied on too <!-- s:) --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!-- s:) --> <br/><br/>Cheers guys,<br/>Saif

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

    Re: deploying portlets into Jahia

    by  westwood_nz »  2011/06/07 18:41

    Is there someone who can help in getting those questions answered please??

    Cheers
  • Re: deploying portlets into Jahia
    2011/06/07 18:41

    westwood_nz Is there someone who can help in getting those questions answered please??<br/><br/>Cheers

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

    Re: deploying portlets into Jahia

    by  ktlili »  2011/06/07 18:41

    Hi,

    Indeed, the link for the packaged jsf portlet example is here:

    http://www.apache.org/dyn/closer.cgi/my ... ple.tar.gz

    Here (previous link), you 'll find the src:

    http://www.apache.org/dyn/closer.cgi/my ... 2-dist.zip

    Regards.
    KT
  • Re: deploying portlets into Jahia
    2011/06/07 18:41

    ktlili Hi,<br/><br/>Indeed, the link for the packaged jsf portlet example is here:<br/><br/><!-- m --><a class="postlink" href="http://www.apache.org/dyn/closer.cgi/myfaces/binaries/portlet-bridge-1.0.0-beta-2-example.tar.gz">http://www.apache.org/dyn/closer.cgi/my ... ple.tar.gz</a><!-- m --><br/><br/>Here (previous link), you 'll find the src:<br/><br/><!-- m --><a class="postlink" href="http://www.apache.org/dyn/closer.cgi/myfaces/binaries/portlet-bridge-1.0.0-beta-2-dist.zip">http://www.apache.org/dyn/closer.cgi/my ... 2-dist.zip</a><!-- m --><br/><br/>Regards.<br/>KT

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

    Re: deploying portlets into Jahia

    by  ktlili »  2011/06/07 18:41

    Hi,

    For Struts-2, here is a post where you'll find an example of ready to deploy portlet:

  • Re: deploying portlets into Jahia
    2011/06/07 18:41

    ktlili:  Hi,<br/><br/>For Struts-2, here is a post where you'll find an example of ready to deploy portlet:<br/><br/><!-- l --><a class="postlink-local" href="http://www.jahia.org/forum/viewtopic.php?f=12/1hilit=struts</a><!-- l --><br/><br/>About Struts-1, the example is in attachment.<br/><br/>Regards.<br/>KT

  • Number of messages  14
    Registration date Jun 7, 2011
    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