0 Replies Latest reply on Dec 19, 2013 3:48 AM by andymcc

    Using customised css in jBPM task forms deployed via Guvnor

    andymcc

      My config: jBPM 5.4.0, Windows SBS2008, Windows 7, Windows 8

       

      I would like to customise the appearance of my human task forms using css and images and at the moment am using the text editor within the BPMN designer rather than the form designer.

       

      Normally I would put my css and images in relative folder locations e.g. css/mycss.css and images/myimage.jpg and then include these using <link href="css/mycss.css" rel="stylesheet" type="text/css">.

       

      However, this doesn't work when deploying via Guvnor. It is possible to do this kind of thing? Can anyone offer advice?

       

      Here's what I've tried without success

      • Adding mycss.css to my package assets and changing the link html to <link href="mycss.css" rel="stylesheet" type="text/css">.
      • Adding mycss.css to my package assets and changing the link html to <link href="{myhost}:{myport}/drools-guvnor/rest/packages/{mypackage}/assets/mycss.css/binary" etc.>

       

      Neither of those worked, although I was able to add png files to Guvnor and use them by adding a URL pointing the the Guvnor assets.

       

      Many thanks,

       

      Andy