Thomas Kjeldahl Nilsson wrote:
Question: Can I use some combination of JXForm\JXTemplate for this?
The problem is that I need JXTemplate for conditionals in building
the markup and content of the xml\html, but also I'd like to use
JXForms for the forms\interactive content.
JXForms is
Can either Thomas or Ugo why explain why JXTemplate
is needed for building a form - can this not be done via
XSP or XSLT?
Thanks
Derek
Oh, and is there an example of the approach you adopt?
[EMAIL PROTECTED] 2004/04/30 11:10:18 AM
Thomas Kjeldahl Nilsson wrote:
Question: Can I use some
Derek Hohls wrote:
Can either Thomas or Ugo why explain why JXTemplate
is needed for building a form - can this not be done via
XSP or XSLT?
Does it have to be Thomas or Ugo? Will I do? ;-)
JXTemplate is a 'template' language. As is XSP. So, you could use XSP in
place of JXTemplate. Either
Sorry, yes you will!, and thanks for making sense of this -
obviously some use cases highlighting why JXTemplate
is recommended (as opposed to XSP, which I think I
'grok') will be helpful. I guess the beauty of Cocoon is
that it does not force a single path on you; as long as
we can be clear as
\JXForms at the same time?
Sorry, yes you will!, and thanks for making sense of this -
obviously some use cases highlighting why JXTemplate
is recommended (as opposed to XSP, which I think I
'grok') will be helpful. I guess the beauty of Cocoon is
that it does not force a single path on you
Derek Hohls wrote:
Sorry, yes you will!,
Great!
and thanks for making sense of this -
You're welcome.
obviously some use cases highlighting why JXTemplate
is recommended (as opposed to XSP, which I think I
'grok') will be helpful.
I'm not really in a position to give a comparison - I've
Derek Hohls wrote:
Can either Thomas or Ugo why explain why JXTemplate
is needed for building a form - can this not be done via
XSP or XSLT?
It's not needed, it's just a possibility. Yes, you could use XSP and/or
XSLT.
Ugo
-
Derek Hohls wrote:
PS can JXTemplate do everything XSP can, and then some,
or is it the other way around?
No, it can't. With XSP, you can fill your templates with lots of Java
code and do an awful mess ;-). JXTtemplate gives you much less rope to
hang yourself with, and I think that's a plus.
The rationale below is exactly why I mentioned we're reluctant to use
XSP; the danger of little or no separation between code and markup.
Exactly what we don't want to do in our new project.
Thank you for confirming my nasty suspicion. :-)
Thomas
Ugo Cei wrote:
Derek Hohls wrote:
PS can