ndeloof
Oct 5th, 2006, 07:07 AM
Hello,
I'm just starting looking at SpringXT. From documentation samples it seems I have to build the HTML replacement code using Components that map my HTML structure. Is there any way to use a JSP to build this HTML ?
In some case it may be simplier to write a JSP file to produce (x)HTML than building a DOM model based on java classes. If I want to build a tableBody content, It is easy in JSP to use a <c:foreach> inside a table canvas, but this requires lot's of code to add TableRow / TableDatas and then my formated content.
Is there any support for this, or plan for such a use case ?
Another use case I'd like to use is to return Javascript code. I'm using openRico Effects to create a nice transition between my two phase transaction (some blocks fade, some other reduces, and a confirm box appears). I'd like this JavaScript code to be in a separate JS file. Can I use SpringXT to replace some fake DIV content with my JS content and eval it ? (I can do this using Prototype Ajax.Updater).
A third use case is a combination of those two : my JSP code could be created from a JSP, so that some content can be dynamically created.
Can I expect such features in springXT ?
I'm just starting looking at SpringXT. From documentation samples it seems I have to build the HTML replacement code using Components that map my HTML structure. Is there any way to use a JSP to build this HTML ?
In some case it may be simplier to write a JSP file to produce (x)HTML than building a DOM model based on java classes. If I want to build a tableBody content, It is easy in JSP to use a <c:foreach> inside a table canvas, but this requires lot's of code to add TableRow / TableDatas and then my formated content.
Is there any support for this, or plan for such a use case ?
Another use case I'd like to use is to return Javascript code. I'm using openRico Effects to create a nice transition between my two phase transaction (some blocks fade, some other reduces, and a confirm box appears). I'd like this JavaScript code to be in a separate JS file. Can I use SpringXT to replace some fake DIV content with my JS content and eval it ? (I can do this using Prototype Ajax.Updater).
A third use case is a combination of those two : my JSP code could be created from a JSP, so that some content can be dynamically created.
Can I expect such features in springXT ?