* Joerg Heinicke <[EMAIL PROTECTED]> [2004-02-10 11:04]:
> On 10.02.2004 10:29, Alan wrote:

> >I'm learning forms.
> >
> >    The registration example uses JXTemplate to generate the
> >    confirmation page. Where does JXTemplate stand these days? Is it
> >    a first class citizen of the Repblic of Cocoon? 

> The best resource on this is the CVS: 
> http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java.
>  

> See how often it was changed in the last days/weeks/months. From
> the commit message you should also get the importance of a change.

Here's another metric:

    [EMAIL PROTECTED] cocoon-2.1.3]$ find . -name \*.xsp | wc
          150     150    9546
    [EMAIL PROTECTED] cocoon-2.1.3]$ find . -name \*.jx | wc
          13      13     800

    It appears that XSP, although folks are moving away from it, still does a
    lot of work in the Cocoon 2.1.3 distribution.

    JXTemplate doesn't look like it has as much employment, yet.
    

> >    It seems that JXPath is used elsewhere in Cocoon, which bodes
> >    well for JXTemplate.
> >
> >    Beside handling form output, where else would I use JXTemplate
> >    in my sitemap?

> You can use it everywhere where you need a template technique. Or shall 
> I say where a template technique is powerful enough for you? In 
> comparison to JSP you have the advantage of applying transformer afterwards.

Is JXTemplate moving into the vacuum created by XSP then? Anyone else want to
    chime in? It seems to me to be the case if JXTemplate has been moved to
    the core (from the CVS log) and XSP is moving out.

> And to answer your fears on your blog: The problem of XSP is the 
> implementation, not the idea. It allows to much, so that we can't be 
> restrictive on validating or similar. We don't get bugs fixed as we 
> can't hit all use cases (e.g. 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15841).

I'm not sure what I'm looking at in the bug report, but I can see that there
    is no good way to validate XSP. Especially if you can inject elements from
    Java snippets.

> BTW Woody is propagated to be used with Flow, but not bound to it.

Woody is designed to be used with Flow, but not bound to it. Check.

-- 
Alan / [EMAIL PROTECTED] / http://engrm.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to