IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  static page

    Posted Thu November 13, 2008 08:18 PM

    Whats the best method of publishing a static page and have it accessible? I put a static page in project and published but I can’t find how to add it or even referenced in file system besides the deployment folder. Any help would be appreciated


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: static page

    Posted Thu November 13, 2008 08:37 PM

    By static page, you mean an HTML file?

    If so, just use an HTML include inside a portlet, put the portlet on an MWS page, alias it, and away you go…

    Lucas.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 3.  RE: static page

    Posted Thu November 13, 2008 11:19 PM

    Tried that but i don’t seem to be seeing the include when i look at the source of the portlet. The other factor is that I would have a button that would take the submit of the page w/in the html line - bascially the action=‘’ wouldn’t be pointing at webMethods but to another server - SSO solution idea.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 4.  RE: static page

    Posted Thu November 20, 2008 05:54 PM

    You can use the IncludeHTML control like Lucas suggested (see http://www.ajax-softwareag.com/articles/N7M0TP/DesignerOnlineHelp/caf_include_html.html); set the control’s “value” property to the path to the .html file from your projects WebContent root; for example if you have the following directory structure

    myproject
    ----src
    ----WebContent
    --------META-INF
    --------my-html
    ------------my-file.html
    --------WEB-INF

    set the IncludeHTML control’s value to “/my-html/my-file.html”.

    Also, you can access that html file directly through the following url:

    http://localhost:8585/myproject/my-html/my-file.html

    Justin


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS