You get very similar functionality for date/time in flowscript;
also it seems that XSLT 2.0 can do this via fn:current-dateTime()
http://www.w3.org/TR/xpath-functions/#func-current-dateTime
(Disclaimer: I have not used 2.0 - but others in this thread have;
maybe they can respond here?)
>>> On 20
oddly enough, the first example of embedded XSP in the Moczar and Aston
book is to find the time
with a tiny bit of embedded java.
Date now = new Date();
.
...
By the way, today's date is now,/xsp;exp>
--
I have also used the considerable date/time functionality of postgreSQL
to con
Out of interest... which part of Cocoon lacks "date/time awareness" -
the sitemap? Can't a (custom-written) java module execute/call an
external program? Also not sure about "directory listing" - does the
Directory Generator not serve in that role?
>>> On 2009/04/30 at 02:48, in message <49f99e
Stephen Winnall wrote:
I think a lot of the anti-XSLT sentiment comes from people who don't see
the point of XML.
Yes, there are many of these.
XML and its philosophy are far too complicated for the average
designer-cum-website-hacker. This is neither a criticism of XML nor of
the d-c-w-h. X
The main reason (speaking as a user) I think XSP was deprecated
is that it does not fit well with the cocoon mantra of 'separation of
concerns' i.e. too easy to mix in markup and code in one place (not
that you have to, of course). I also used ESQ/XSP for my early DB
apps, but I really find that t
Hi Derek,
Thanks for spotting out my error. I was wondering why there where too
few related mails about Freemarker in cocoon. :P
Best Regards,
Antonio Gallardo
Derek Hohls escribió:
> Antonio
>
> True - but it would be useful to tell the original author this
> as well!
>
> PS it is Freemarker
Derek Hohls wrote:
Ken
I would echo most of your sentiments, except for the XSP part.
I have found that the flowscript/JXT gives me all the logic/layout
options I need ... without having to worry about any Java at all in
my apps. I think that is why the developers decided to deprecate
XSP quite
Yes it is.
Just add the saxon-transformer to your sitemap, add the necessary
lines in cocoon.xconf and make sure you are using the correct
transformer in your pipelines & have installed the appropriate jar in
you lib-folder.
It also works to do a quick google on the subject (apache cocoon saxon):
It is possible to make cocoon use Saxon, which implements xslt 2.0, as it's
underlying xslt processor.
StanD.
Derek Hohls wrote:
Ken
I would echo most of your sentiments, except for the XSP part.
I have found that the flowscript/JXT gives me all the logic/layout
options I need ... without hav
Antonio
True - but it would be useful to tell the original author this
as well!
PS it is Freemarker (not maker)
[1] http://cocoon.markmail.org/search/?q=freemarker
>>> On 2009/04/24 at 10:07, in message <49f21bea.7030...@agssa.net>,
Antonio Gallardo wrote:
hi Derek,
Comparing XSLT with JSP
Ken
I would echo most of your sentiments, except for the XSP part.
I have found that the flowscript/JXT gives me all the logic/layout
options I need ... without having to worry about any Java at all in
my apps. I think that is why the developers decided to deprecate
XSP quite a while back, though
Stephen Winnall wrote:
I think a lot of the anti-XSLT sentiment comes from people who don't
see the point of XML.
XML and its philosophy are far too complicated for the average
designer-cum-website-hacker. This is neither a criticism of XML nor of
the d-c-w-h. XML and tools which make use of
I think a lot of the anti-XSLT sentiment comes from people who don't
see the point of XML.
XML and its philosophy are far too complicated for the average
designer-cum-website-hacker. This is neither a criticism of XML nor of
the d-c-w-h. XML and tools which make use of it and fairly advance
Hi Ken,
I guess that many people feel the same way about XSP. Remember "XSP is
evil" :
http://www.nabble.com/Re:-How-can-i-activate-XSP-in-cocoon-2.2---p19457928.html
http://markmail.org/message/ciwirkn5gs4lrahz
From my point of view, XSP was one of the reasons of Cocoon's success,
of course
Antonio Gallardo wrote:
hi Derek,
Comparing XSLT with JSP is like comparing pears and apples. XSLT is
quite useful for some tasks and weak in others. The same apply for JSP.
We still use XSLT even if you have JSP at hand. In cocoon particular
wolrd, perhaps he should compare JSP with XSP.
I did
hi Derek,
Comparing XSLT with JSP is like comparing pears and apples. XSLT is
quite useful for some tasks and weak in others. The same apply for JSP.
We still use XSLT even if you have JSP at hand. In cocoon particular
wolrd, perhaps he should compare JSP with XSP.
I did not read the whole articl
0:14 -0300
Subject: Re: XSLT is Dead ?!
Derek Hohls wrote:
> At least, according to this article:
>
> http://java.dzone.com/news/death-xslt-web-frameworks
>
> Maybe some of the developers, or other power users here,
> would like to comment at this blog - I see Cocoon
Derek Hohls wrote:
At least, according to this article:
http://java.dzone.com/news/death-xslt-web-frameworks
Maybe some of the developers, or other power users here,
would like to comment at this blog - I see Cocoon also gets
a "dig in the ribs" ...
Derek
I saw this also. A few of hi
@cocoon.apache.org
Betreff: AW: Re: XSLT is Dead ?!
Chris
I had to smile - here you say:
"the Maven build-process, the maven-plugins needed and the changes in
the project-structures gave me the impression of relearning the entire
thing from scratch."
while in the next breath you talk about the "
the simplicity of a Spring+(Flex+BlazeDS)/CXF+Aegis
application is far more tempting for me at the moment because of its
simplicity.
Chris
Von: Merico Raffaele [raffaele.mer...@less.ch]
Gesendet: Freitag, 24. April 2009 14:17
An: users@cocoon.apache.org
moment because of its simplicity.
Chris
Von: Merico Raffaele [raffaele.mer...@less.ch]
Gesendet: Freitag, 24. April 2009 14:17
An: users@cocoon.apache.org
Betreff: AW: Re: XSLT is Dead ?!
Dear Cocoon Community
First of all I have to say that I am a Cocoon lover.
.
-Ursprüngliche Nachricht-
Von: Derek Hohls [mailto:dho...@csir.co.za]
Gesendet: Freitag, 24. April 2009 09:14
An: users@cocoon.apache.org
Betreff: [!! SPAM] Re: XSLT is Dead ?!
Oh, and on the flip side, there's this article:
http://www.onenaught.com/posts/8/xslt-in-server-side-web-frame
Derek Hohls wrote:
> Carsten
>
> I had hoped comments like these would be added to the blog :)
I usually do not comment blog entries - sorry :)
>
> One other point, you say:
>
> "The attraction of Cocoon as a separate framework has decreased,
> but that's definitely not due to XSLT."
>
> Why
Oh, and on the flip side, there's this article:
http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks
(but I would guess that is "preaching to the converted"
on this mailing list!)
>>> On 2009/04/24 at 09:03, in message <49f1805f.5ce9.00d...@csir.co.za>,
>>> "Derek Hohls" wrote:
C
Carsten
I had hoped comments like these would be added to the blog :)
One other point, you say:
"The attraction of Cocoon as a separate framework has decreased,
but that's definitely not due to XSLT."
Why do you say Cocoon's attractiveness is decreasing... should we
all be looking around for a
Derek Hohls wrote:
> At least, according to this article:
>
> http://java.dzone.com/news/death-xslt-web-frameworks
>
> Maybe some of the developers, or other power users here,
> would like to comment at this blog - I see Cocoon also gets
> a "dig in the ribs" ...
>
Without commenting on thi
At least, according to this article:
http://java.dzone.com/news/death-xslt-web-frameworks
Maybe some of the developers, or other power users here,
would like to comment at this blog - I see Cocoon also gets
a "dig in the ribs" ...
Derek
PS I'm also curious about the package mentioned a num
27 matches
Mail list logo