custom css not loading in workflow form

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2014 02:25 PM
Hi All,
I am trying to add some css style to my workflow forms.
Based on following documentation
http://docs.alfresco.com/community/topic/com.alfresco.community.doc/tasks/forms-fieldlable-change.ht...
I have added my css file in "C:\Alfresco\tomcat-share\webapps\share\custom\forms\custom-label-loyout.css"
and have added css dependency in form configuration as
But I don't see share loading this css. Firebug does not show making request for this file. And form style is unchanged ?
Am I adding file to correct location ? I am using alfresco 4.2.c
thanks
sumit
I am trying to add some css style to my workflow forms.
Based on following documentation
http://docs.alfresco.com/community/topic/com.alfresco.community.doc/tasks/forms-fieldlable-change.ht...
I have added my css file in "C:\Alfresco\tomcat-share\webapps\share\custom\forms\custom-label-loyout.css"
and have added css dependency in form configuration as
<config evaluator="string-compare" condition="activiti$eDCR"> <forms> <dependencies> <css src="/custom/forms/custom-label-layout.css" /> </dependencies> <form> <field-visibility> <show id="bpm:workflowDescription" /> <show id="packageItems" />…………<config evaluator="task-type" condition="fgwf:changeRequest"> <forms> <dependencies> <css src="/custom/forms/custom-label-layout.css" /> </dependencies> <form> <field-visibility> <show id="bpm:workflowDescription" /> <show id="packageItems" /> <show id="fgwf:reasonOfChange" />…..………….………..
But I don't see share loading this css. Firebug does not show making request for this file. And form style is unchanged ?
Am I adding file to correct location ? I am using alfresco 4.2.c
thanks
sumit
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014 05:40 AM
Hi,
instead of adding them in your workflow task evaluators add it in top as a separate tag
instead of adding them in your workflow task evaluators add it in top as a separate tag
<config> <forms> <dependencies> <css src="/custom/forms/custom-label-layout.css" /> </dependencies> </forms> </config>

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014 03:18 PM
Thanks,
That solve the problem.
That solve the problem.
