cssClasses trouble two various servers

15 views
Skip to first unread message

Jagath Deshapriya Banneheka

unread,
Mar 27, 2017, 10:42:28 AM3/27/17
to Information Workbench Discussions
Hello everybody

I am on creating a wiki page and have an issue on a one server. 
The information workbench is installed on 2 servers (same version of IWB and same OS also). 
In a server works with the same syntax as desired and others it does not work as desired. 

Here you can find the pictures how it looks like.


So code looks like:

__NOTOC__
{{#block:
| appearance = {{ autoLayout = false }}
| includes = {{
{{
include = 'includeDynProd:oimShop'
| cssClasses = {{ 'layoutBox' | 'metricsBox' }}
}}
}}
}}



Do you have an idea?

Many Thanks.

Cheers
Jagath

Andreas Schwarte

unread,
Mar 28, 2017, 5:01:06 AM3/28/17
to iwb-dis...@googlegroups.com

Hello Jagath,

 

It looks like you have stumbled into an issue that we have fixed in the meantime in our development / patch releases.

 

To verify this: could you inspect the HTML DOM tree (e.g. in Firebug)? If this is the bug you will see that the content of the container is outside of the “<div>” which defines the CSS class.

 

A workaround for you (which can be applied without code-changes, and which you hence can apply in your installation) is to modify the classpath configuration:

 

In <IWB-HOME>/platform/config/classpath.xml

 

Modify the file to look like this (i.e. add the listing of single *.jar files before the “lib” entry).

 

….

    <classpath>userlib/override/lib</classpath>

   <classpath>lib/fbase.jar</classpath>

    <classpath>lib/fajax.jar</classpath>

    <classpath>lib/fiwb.jar</classpath>

    <classpath>lib/fiwbcom.jar</classpath>

    <classpath>lib/fcoremgmt.jar</classpath>

    <classpath>lib/fecm.jar</classpath>  

    <classpath>lib</classpath>

….

 

After that you can restart and the issue should be gone.

 

Please let us know if this resolves your issue.

 

Please let us know which release version you are using. Note that the issue will be fixed in the next release.

 

Best,

Andreas

--
You received this message because you are subscribed to the Google Groups "Information Workbench Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iwb-discussio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages