forum  

Re: [Forum] problem with borders in swixML

List for Users of Carlsbad Cubes' Technologies and Products
Wed, 19 Oct 2005 22:33:31 -0700

Why don't you write and register your own border converter.
After you have it working, submitted it back to the swixml project.

Thanks
  Wolf

On Oct 19, 2005, at 9:08 AM, List for Users of Carlsbad Cubes' Technologies and Products wrote:

I have encountered a problem using borders in swixML.

I want to use a compound border like this:

<code snippet>
<panel id="somePanel" 
       border="CompoundBorder(TitledBorder(someTitle),
                              EmptyBorder(x,x,x,x) )"
       layout="aLayout" ....>

.......

</panel> 

The problem is that the BorderConverter class can
convert only one border argument, so 

CompoundBorder( Border a, Border b) is not supported.

The BorderConverter code can be fixed to handle this,
but is there another solution to the problem with
compound borders? (for example, extending the
CompoundBorder class and passing this extended class
as the argument for the border attribute? I tried this
but
obviously the attribute was not identified and ignored

by the parser.)

Thanks in advance,

Emil


        

__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.

_______________________________________________
Forum mailing list


--

Wolf Paulus

707.202.3937

[EMAIL PROTECTED]


C a r l s b a d  C u b e s

Dedicated to Excellence 


CONFIDENTIALITY NOTICE:

This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


_______________________________________________
Forum mailing list
Forum@carlsbadcubes.com
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
  • [Forum] problem with borders in swixML List for Users of Carlsbad Cubes' Technologies and Products
    • Re: [Forum] problem with borders in swixML List for Users of Carlsbad Cubes' Technologies and Products