Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2012-12-14T09:13:02Z by SystemAdmin
SystemAdmin
SystemAdmin
30895 Posts
ACCEPTED ANSWER

Pinned topic WebSphere Portal 8 Auto reload theme

‏2012-12-10T09:03:06Z |
I'm developing the theme and having issue with setting auto reloading for the Dynamic Spot.
I've created a sample as per
http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Deploying_and_developing_IBM_WebSphere_Portal_8_themes_A_step-by-step_guide

I've setup the debug mode, reloadEnabled to true on ibm-web-ext.xmi. But when I change any of the Dynamic spot jsp, I need to restart the EAR to view the changes. I've tried making changes on the dynamic spot jsp and also saving the Default.jsp again but it still not refresh until I restart the EAR.

Appreciate your help.

Thanks
William Beh
Updated on 2012-12-14T09:13:02Z at 2012-12-14T09:13:02Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    30895 Posts
    ACCEPTED ANSWER

    Re: WebSphere Portal 8 Auto reload theme

    ‏2012-12-11T13:35:33Z  in response to SystemAdmin
    Any help for the above? Can't seem to get it to reload.
  • Gobozov_Georgy
    Gobozov_Georgy
    51 Posts
    ACCEPTED ANSWER

    Re: WebSphere Portal 8 Auto reload theme

    ‏2012-12-12T15:33:09Z  in response to SystemAdmin
    Make sure that you have valid ibm-web-ext.xmi file at
    \wp_profile\config\cells\your_cell\applications\your_ear\deployments\your_app\your_war\WEB-INF

    I just faced same problem, but I fix ibm-web-ext.xmi at this location and problem is gone
    • SystemAdmin
      SystemAdmin
      30895 Posts
      ACCEPTED ANSWER

      Re: WebSphere Portal 8 Auto reload theme

      ‏2012-12-14T09:13:02Z  in response to Gobozov_Georgy
      What "fix" did you put on the ibm-web-ext.xmi file?
      The file was auto generated and I just change reloadEnabled from false to true.

      <?xml version="1.0" encoding="UTF-8"?>
      <com.ibm.ejs.models.base.extensions.webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.ejs.models.base.extensions.webappext="webappext.xmi" xmi:id="WebAppExtension_1354713252538">
      <webApp href="WEB-INF/web.xml#WebApp_ID"/>
      <jspAttributes xmi:id="JSPAttribute_1354713252538" name="reloadEnabled" value="true"/>
      <jspAttributes xmi:id="JSPAttribute_1354713252546" name="reloadInterval" value="10"/>
      </com.ibm.ejs.models.base.extensions.webappext:WebAppExtension>