Re: ESQL : creating dynamic elements ?
It works perfectly as I wanted. Thanks a lot Christopher! Julien - Original Message - From: "Christopher Painter-Wakefield" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 5:01 PM Subject: Re: ESQL : creating dynamic elements ? > > > > > try this: > > > String s1 = "junk"; > String s2 = "stuff"; > > > s1 > > s > 2 > > > > -Christopher > > > > |-+> > | | "julien bloit" | > | | <[EMAIL PROTECTED]| > | | am.fr> | > | || > | | 12/15/2003 10:30 | > | | AM | > | | Please respond to| > | | users| > | || > |-+> > >----------- ---| > | | > | To: <[EMAIL PROTECTED]> | > | cc: | > | Subject: ESQL : creating dynamic elements ? | > >--- ---| > > > > > I'm building a database request using ESQL. Let's say I have a table with > two columns in the table i'm requesting. This is the xsp snippet I use to > get the results from the request : > > > > > > > > > > > > > This works, but as I want this code to be dynamic in order to be used with > other tables, I need my column element name (the currently static > "" element) to be created with the requested column > name. > The same logic would apply for the 'name' attribute in the 'xsp:attribute' > element. I don't know if this is possible, using the esql logicsheet. > > any ideas? > > Thank you, > Julien > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ESQL : creating dynamic elements ?
try this: String s1 = "junk"; String s2 = "stuff"; s1 s 2 -Christopher |-+> | | "julien bloit" | | | <[EMAIL PROTECTED]| | | am.fr> | | || | | 12/15/2003 10:30 | | | AM | | | Please respond to| | | users| | || |-+> >--| | | | To: <[EMAIL PROTECTED]> | | cc: | | Subject: ESQL : creating dynamic elements ? | >--| I'm building a database request using ESQL. Let's say I have a table with two columns in the table i'm requesting. This is the xsp snippet I use to get the results from the request : This works, but as I want this code to be dynamic in order to be used with other tables, I need my column element name (the currently static "" element) to be created with the requested column name. The same logic would apply for the 'name' attribute in the 'xsp:attribute' element. I don't know if this is possible, using the esql logicsheet. any ideas? Thank you, Julien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ESQL : creating dynamic elements ?
I'm building a database request using ESQL. Let's say I have a table with two columns in the table i'm requesting. This is the xsp snippet I use to get the results from the request : This works, but as I want this code to be dynamic in order to be used with other tables, I need my column element name (the currently static "" element) to be created with the requested column name. The same logic would apply for the 'name' attribute in the 'xsp:attribute' element. I don't know if this is possible, using the esql logicsheet. any ideas? Thank you, Julien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]