Clemens; Swixml is only a very thin layer, present between parsing and rendering. Therefore, Swixml cannot deliver more than Swing and in your case, you will have to use models like column models table models etc. However, you could also extend JTable and register your own tag. If your extension had setters like setColumn(..) Swixml would pick it up and your xml descriptor starts to work ..
Wolf -- Wolf Paulus C a r l s b a d C u b e s mailto:[EMAIL PROTECTED] 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. > -----Original Message----- > From: Wyss Clemens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 11:21 PM > To: '[EMAIL PROTECTED]' > Subject: Tables in swixml > > > Hi swixml-team, > first of all let me say that I think swixml is really cool! > I have a question regarding tables in swixml. > Can't I describe in swixml, that a table has column a (with header label > "Gender") and column b (with header label "Name") and...? > E.g.: > -------------------------------- > |Gender | Name | Surname | ....| > -------------------------------- > ... > > In swixml: > <table name="persons"> > <tableheader><column label="gender"></column><column > label="name"></column><column label="surname"></column>...</tableheader> > <rows> > <row><textfield></textfield><textfield></textfield><textfield></te > xtfield>.. > .</row> > <row><textfield></textfield><textfield></textfield><textfield></te > xtfield>.. > .</row> > <row><textfield></textfield><textfield></textfield><textfield></te > xtfield>.. > .</row> > ... > </rows></able> > > Is the lack of this possibility due to Java/Swing's handling of tables? > > Regards > Clemens > > ======================================================== > Clemens Wyss Dipl. Inf. Ing. ETH > Projectleader, Team 3 Phone: +41 (0)62 836 45 13 > Helbling SWIT Mail: [EMAIL PROTECTED] > ======================================================== > >
