[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Layoutbuffer  XML
Forum Index -> Deployment
Author Message
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

In the system.xml there's an property "layoutbuffer".

<layoutbuffer active="false"/>

But if i set this to false, it is ignored.

Further investigations of this problem pointed at the parser of this xml.
Instead of searching for "active" in this tag, it is looked for "name". So
<layoutbuffer name="false"/> works fine.

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

Hi,

yes, you're right, thanks!
We now updated to:

Code:
             if (name.equals("layoutbuffer"))
             {
                 String value = attributes.getValue("active");
                 if (value == null)
                     value = attributes.getValue("name"); // compatibility with previous version
                 s_layoutbufferActive = ValueManager.decodeBoolean(value,true);
             }
 


...so both "active" and "name" will work. Fortunately the parameter layoutbuffer is normally not used...

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team