Hi,

we figured out a weird behaviour using comments in the xml code building up a split panel.

This code displays a correct split panel:

<splitPanel dividerLocation="70%">
   <events>
    <postInitialize action="action1"/>
   </events>
   <top panelName="splitt1"/>
   <bottom panelName="splitt2"/>
</splitPanel>

If you now add a comment above the <top>, the bottom panel sometimes disappears:

<splitPanel dividerLocation="70%">
   <events>
    <postInitialize action="action1"/>
   </events>

   <!-- Comment -->

   <top panelName="splitt1"/>
   <bottom panelName="splitt2"/>
</splitPanel>

Adding the comment below the <top> the top-panel disappears, but the bottom one is shown:

<splitPanel dividerLocation="70%">
   <events>
    <postInitialize action="action1"/>
   </events>
   <top panelName="splitt1"/>

   <!-- Comment -->

   <bottom panelName="splitt2"/>
</splitPanel>

Unfortunately this behaviour is not 100% reproduceable. Sometimes both panels are shown correctly, sometimes not. We spent a lot of time to figure out that this is influenced by the comments.

We're now using no comments in the xml defining split panel, but it would be nice to use them again ;-)

Best Regards,

Michael

asked 26 Mar '15, 05:06

Michael's gravatar image

Michael
2095
accept rate: 0%


Hi Michael,

Thanks for the feedback. We'll look into this issue and let you know the details.

Regards.

link

answered 26 Mar '15, 07:33

Serdar's gravatar image

Serdar ♦♦
100k4
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×2

Asked: 26 Mar '15, 05:06

Seen: 535 times

Last updated: 26 Mar '15, 07:33


© Copyright Gerger 2017