Topic
  • 3 replies
  • Latest Post - ‏2010-11-25T07:10:36Z by zeliboba
zeliboba
zeliboba
8 Posts

Pinned topic Change Step Completion Widget's button location.

‏2010-11-24T08:30:31Z |
Hi, all! I'm newbie in Mashup Center Widgets, but out company are going to use it actively. My first question is how I can change location of button in Step Completion widget? Where can i find description of this widget or any others? Thanks a lot.
Updated on 2010-11-25T07:10:36Z at 2010-11-25T07:10:36Z by zeliboba
  • zeliboba
    zeliboba
    8 Posts

    Re: Change Step Completion Widget's button location.

    ‏2010-11-24T10:17:53Z  
    If something is not clear: in default Step Completion Widget buttons (Save, Complete) are located terrible. I need correct this location, and for do this I tried to find file with description of this widget. I found only StepCompletion.xml and ecmwdgt-core_es.js, but there are not any information about this problem.
  • drdamour
    drdamour
    23 Posts

    Re: Change Step Completion Widget's button location.

    ‏2010-11-24T20:25:24Z  
    • zeliboba
    • ‏2010-11-24T10:17:53Z
    If something is not clear: in default Step Completion Widget buttons (Save, Complete) are located terrible. I need correct this location, and for do this I tried to find file with description of this widget. I found only StepCompletion.xml and ecmwdgt-core_es.js, but there are not any information about this problem.
    You're not supposed to modify the existing widgets. I supposed you could tweak the CSS to redefine the layout, but this wouldn't be the recommended approach.

    The right way would for you to build your own step completion widget and integrate it with the existing one. This way you can have the layout however you see fit. Information on how to do this can be found @ http://www.ibm.com/developerworks/data/library/techarticle/dm-1009ecmwidgets3/index.html?ca=drs-


    I am Just a new Boy,
    A Stranger in this Town,
    Where are All the Good Times,
    Who's Gonna Show this Stranger Around?
  • zeliboba
    zeliboba
    8 Posts

    Re: Change Step Completion Widget's button location.

    ‏2010-11-25T07:10:36Z  
    • drdamour
    • ‏2010-11-24T20:25:24Z
    You're not supposed to modify the existing widgets. I supposed you could tweak the CSS to redefine the layout, but this wouldn't be the recommended approach.

    The right way would for you to build your own step completion widget and integrate it with the existing one. This way you can have the layout however you see fit. Information on how to do this can be found @ http://www.ibm.com/developerworks/data/library/techarticle/dm-1009ecmwidgets3/index.html?ca=drs-


    I am Just a new Boy,
    A Stranger in this Town,
    Where are All the Good Times,
    Who's Gonna Show this Stranger Around?
    Tnank you very much. I thought about it. And simultaneously I have another problem, if you have experience with it help please.
    I've downloaded widget.monitor.war from here http://www.ibm.com/developerworks/lotus/library/mashups-widgets/

    I am looking error (An error occurred when adding to Mashup Builder. Please contact admin or try doing it later. Error 400: An unhandled exception occured: null )when deploying this widget to Mashup Builder from the Catalog.

    My logs:

    24.11.10 14:58:45:888 MSK 00000045 deployment 3 com.ibm.mm.widgets.deployment.DeploymentResult monitorDeploymentStart BMWFW0001I: Deployment start: 1 290 599 925 888
    24.11.10 14:58:45:888 MSK 00000045 deployer > com.ibm.mm.was.core.internal.deployer.WASDeployer deployWidget ENTRY com.ibm.mm.framework.rest.next.ServletContextImpl@299c299c {onlyDeploy=true, componentName=dw.widget.monitor, pragma=no-cache} null
    24.11.10 14:58:45:888 MSK 00000045 deployment 3 com.ibm.mm.widgets.deployment.DeploymentResult monitorDeploymentEnd BMWFW0002I: Deployment end: 0
    24.11.10 14:58:45:888 MSK 00000045 ControllerSer I com.ibm.mm.framework.rest.next.servlet.ControllerServlet logException A checked exception of type http://com.ibm.mm.framework.rest.next.exception.UnhandledExceptionException occurred during the resolution process, do not log the exception trace to avoid log file spamming. Enable trace logging for http://com.ibm.mm.framework.rest.next.exception.ExceptionHelper=all to log the exceptions. The exception message was: 400: An unhandled exception occured: null
    24.11.10 14:58:45:888 MSK 00000045 exception > com.ibm.mm.framework.rest.next.exception.ExceptionHelper sendError ENTRY com.ibm.mm.framework.rest.next.servlet.RESTRequestWrapper@c4f0c4f com.ibm.ws.webcontainer.srt.SRTServletResponse@45cc45cc com.ibm.mm.framework.rest.next.exception.UnhandledExceptionException: java.lang.NullPointerException
    24.11.10 14:58:45:888 MSK 00000045 exception 3 com.ibm.mm.framework.rest.next.exception.ExceptionHelper sendError exception
    com.ibm.mm.framework.rest.next.exception.UnhandledExceptionException: java.lang.NullPointerException