Enterprise Project
About Enhydra Enterprise
Project Mail Lists
Working Groups
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Designers: Dynamic HTML...template Columns???


Hi Richard,

Thanks a lot for that information, everything is working great now.
I thought it would be possible but obviously it's better to confirm
suspicions from someone that might know, *before* going down an alley and
finding it's a dead end!

Cheerz,
:TRiX

----- Original Message -----
From: "Richard Kunze" <kunze@tivano.de>
To: <Designers@enhydra.org>
Sent: Monday, March 19, 2001 5:05 PM
Subject: Re: Designers: Dynamic HTML...template Columns???


> On Monday 19 March 2001 17:06, you wrote:
> > Hi,
> >
> > I've been Enhydra using for a few weeks now and have been happily using
the
> > "template-row" technique with XMLC to generate Dynamic tables...BUT now
I
> > am in a situation where I must generate <td> "templates" dynamically.
ie.
> > Dynamic *columns* of data (the number of rows in each table is static
AFAIK
> > at present!).
> >
> > I was wondering if there was any way to do this in a similar fashion to
> > template rows?...
>
> Sure it is. XMLC doesn't care in the least if the template "row" is really
a
> <tr>, a <li>, a <td> - as in your case - or some other tag. Simply use the
> <td> as "row template", <span> or something similar for the "columns", and
do
> the fill columns/clone template/insert copy routine as usual. If you use
the
> same ID, you don't even have to change the code ;-)
>
> Example HTML:
>
> <tr>
> <td id="MyTemplate">Dynamic column # <span id="ColNo">??</span></td>
> </tr>
>
> It's a bit more tricky if you want to fill in a dynamic row with a number
of
> dynamic columns (basically, you need to make sure that the row template is
> cleared before you start the next row), but even that is doable ;-)
>
> Hope this helps,
>
> --
> Richard Kunze
>
> [ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
> Tel.: +49 6102 249 600, Fax.: +49 6102 247 970
> http://www.tivano.com, kunze@tivano.com
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe designers" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-designers@enhydra.org.

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe designers" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-designers@enhydra.org.