Hi, Karsten,
Thanks for this.
xsl:param name=resources-uriresources/xsl:param
xsl:template match=head mode=forms-field
script src={$resources-uri}/forms-lib.js type=text/javascript/
link rel=stylesheet type=text/css href=main.css/
/xsl:template
Actually, I did the code
I humbly withdraw this page from the wiki.
I have been waiting to see if this would generate any interest. However,
there doesn't really seem to be much interest, so I don't want to waste any
space or mindshare.
I've kept a copy in backup just in case, though.
Best wishes,
Dave
: AW: Withdrawl of poposal: ExtremeDocumentationOverhaul
David,
what was the Proposal about (well, what exactly) and when did you post it?
Regards,
Torsten
-Ursprüngliche Nachricht-
Von: David Leangen [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. Januar 2005 14:59
An: users
Hi, Mark,
Ok, points taken. I'll put it back up. Hope to see yours (and other's)
comments.
Cheers,
Dave
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: 8 January 2005 4:26
To: users@cocoon.apache.org; [EMAIL PROTECTED]
Subject: RE: Withdrawl of poposal:
Dear All,
I have created the first tutorial in what will hopefully become a series of
tutorials for CForms newbies.
Although the examples provided with the Cocoon samples are very rich with
information, their very richness, IMVHO, makes it difficult for those just
starting out to distinguish
Dave (nice name!),
This is taken from the Java API:
Character classes
[abc] a, b, or c (simple class)
[^abc] Any character except a, b, or c (negation)
[a-zA-Z]a through z or A through Z, inclusive (range)
[a-d[m-p]] a through d, or m through p: [a-dm-p] (union)
[a-z[def]]d,
Ok, thanks!
Please let me know when you figure this out. You've got me curious now! ;-)
Cheers,
Dave
-Original Message-
From: Morus Walter [mailto:[EMAIL PROTECTED]
Sent: 22 December 2004 21:44
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: processing when a pattern
Hi, Sylvain,
Thanks for the suggestion.
Do you have a widget that is named submit? If yes, it overrides the
submit() function of the form object in the web page, and therefore
breaks the client-side handling of submit-on-change.
Yes, I have a submit button. Actually, I need a submit button.
Hello!
I'm having a bit of trouble with event handling in CForms.
What is the element that I'm missing that will trigger a page update? I
can't seem to figure that out...
This is the function in my flow controller:
function showLimitsForm()
{
var form = new Form(limits.xml);
I am interested in this, since I am pretty much at the same point. So, I am
very curious...
With your approaches to managing the apps, doesn't this mean, though, that
you pretty much have to manage some things manually? I mean, what do you do
if there is a new or updated dependency with Cocoon,
Hi, Andres,
Actually, I don't think this is the right list to be asking XSL specific
questions...
My advice, though, is to try the book XSLT Cookbook by Sal Mangano (ISBN:
0-596-00372-2). I've found it to be very helpful. It is also available on
O'Reilly Safari (safari.orielly.com).
Regards,
(BHi, Helma,
(B
(BExcellent points and great ideas!
(B
(B
(B I just read the ExtremeDocumentationOverhaul. Great, more or
(B less what I had mind although not as well thought out and
(B certainly not as well written out.
(B
(BDo you mean that it's not as well written out as the extent
Hi, Upayavira.
First, I want to express my thanks for all your efforts, and those like you.
You have always been very active on this list and have helped me on several
occasions. Thanks!
Second, I want to stress that my post was in NO WAY intended to be negative
towards anybody. I very much
Good points, Ralph.
Just one additional thought...
My past experience has been that the best documentation comes from
people who like to write and are technical enough that they can read
small pieces of code and understand it. Basically, when I have worked
with technical writers they ask
...Not sure if I'm making myself clear, but I'm interested in hearing
others' thoughts on this approach...
You might want to take what follows with a grain of salt, please don't
be offended.
Not offended at all. Good points and well said! :-)
(Also, intentionally or not, appears to
Don't ask around too much, you know the need and will is here - just do
it, import the good parts of the existing docs (there *are* quite a lot
of good parts actualy hidden in there) into whatever system you feel is
good to use, create a live, tangible, concrete example of what the new
docs
There's a huge amount you can contribute to this effort I'm sure. All it
needs is people like you on board!
Thank you for your nice compliments. I wouldn't speak so quickly, though.
You haven't yet experienced how opinionated I really am. ;-)
How does that sit with you?
I think you have
You might meet some skepticism here, mostly because there have been
several such experiments in the past, which have all stopped after a
few weeks as the initial excitement disappeared. But we're (at least
I'm) all ears and eyes if you can do better!
Well, what I and those who join me could
I started using Cocoon about a year ago now, just a little before Derek
Hohls. Even then, we were discussing the Cocoon doc.
For example:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=108365757316657w=2
I've been out of the project now for several months due to other
obligations, but I'll
I brought something up like this a month or two ago, over on the dev
list I think, and my idea was to start up a Cocoon Shop Manual kind of
thing.I guess one thing we were all waiting for was to have a system
on apache.org that we can run an instance of Cocoon and Forrest on.
I'm
I'm interested.
:-)
-Original Message-
From: Nick Van den Bleeken [mailto:[EMAIL PROTECTED]
Sent: June 17, 2004 5:09
To: [EMAIL PROTECTED]
Subject: Re: CForms+Hibernate+Flow
Derek,
I'm currently developing a web application that needs
persistence. I'm using
hibernate as my
Sorry if this thread diverges a little from Cocoon...
Using OJB and Druid I do:
BTW, next version of Druid will include support for Hibernate
Druid looks really interesting, but there is NO documentation...
No doc, no use!
Any idea where I can get SOME info, even if it's old?
Just wondering how the sample using Hibernate was coming along...
Or, can anybody point me to some other example of using Cocoon with
Hibernate for the persistance layer?
I'd be VERY interested in seeing something like this.
Thanks!
Is anybody able to tell me how to get the context path from flowscript?
I noticed some threads on the subject, but wasn't able to find any
answers...
For example: http://marc.theaimsgroup.com/?t=10710482681r=1w=2
I'd like to be able to access a file from within my webapp, but I keep
To sum up all the other threads on the issue...
This nice feature magically disappears after you use any transformer. So
you don't need to worry about it.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: May 16, 2004 19:37
To: [EMAIL
I again turn to you for salvation.
I'm finally ready to jump into flowscript... but I need a push in the right
direction.
Based on previous threads, it appears that a good approach (just to avoid
saying best practice ;-) is to invoke the business logic from flowscript,
set any values necessary,
Holy service!!
Thanks Antonio and Christian for the ultra-quick 911!!
-Original Message-
From: Christian Rosenberger [mailto:[EMAIL PROTECTED]
Sent: May 13, 2004 17:57
To: [EMAIL PROTECTED]
Subject: Re: Getting started with flowscript
David Leangen wrote:
-Original
g[R]ek already gave the answers, I just want to rephrase them
a bit.
cinclude:include src=cocoon:/component.html/
Ah!
That's what I wasn't getting.
Thanks so much, g[R]ek and Jeorg!!
Writing good XSLTs is heavily experienced-based...
Ok, thanks for this!
I can't tell you how much your comments are helpful to me!! Thanks!!!
The following sums up very well what I am attempting to do.
map:match pattern=index.html
map:aggregate
map:for-each src=cocoon:/componentsList.xml
map:part src={componentname}.html/
/map:for-each
I am trying to do some dynamic aggregation, but without success so far.
Unfortunately, map:aggregate doesn't do the trick for me simply because it
requires that you first know what parts you want to aggregate. In my case, I
don't know in advance what or how many components will be aggregated.
I
or
http://wiki.cocoondev.org/Wiki.jsp?page=CInclude for help on using it.
Maybe you can find additional information in the cocoon docs...
Jasper Michalczik
-Ursprüngliche Nachricht-
Von: David Leangen [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 9. Mai 2004 21:29
An: [EMAIL
Hi, Ralph.
It would be helpful to me to know in a little more detail what
you are trying to do. On what basis is it determined what should
be dynamically aggregated?
Well, most of the usual cases cover a situation such as, for example:
++
|
[I don't want to barge in on things here or step on anybody's toes. My
intention is only to get some direction so I can help contribute to the
Cocoon documentation. Although I am a relative newbie any my Cocoon skills
are 1/1000th of the vets lingering around on this list, I think that's
exactly
Thank you for your input! Some excellent comments have been made and all are
noted.
So far, the poll results show that there is no unanimity (see below). I
think that it would be pretty unscientific to reach any firm conclusions
based on such a small sample, but I think that some trends can be
Unless you deleted it already, I'd be interested in reading your long
answer.
I find this discussion very interesting. If possible, it would be great to
reach some type of conclusion. That way, we could make some best practices
documentation out of it to help out future users.
I wonder if it's
Well said!
I don't mind volunteering myself to draft a Wiki during my spare time.
However, as I mentioned before, I think that we need some type of consensus
on these issues... even if that means agreeing to disagree.
So, first reach consensus and I'll sum in all up in a Wiki with pleasure.
No, but if you come to Osaka, give me a ring!
-Original Message-
From: Philippe Guillard [mailto:[EMAIL PROTECTED]
Sent: May 4, 2004 1:13
To: users cocoon
Subject: RE: using Cocoon: chinese government agencies
Hi all,
Just to tell you that Labor day = important holidays
I have a question about jx:forEach.
I would like to consistently use either Jexl or JXPath. In my case, I have
chosen JXPath.
I have a jx:forEach construct as follows:
jx:forEach select=#{pageComponents}
ci:include src=skins/#{skinName}/#{.}.xml/
/jx:forEach
The problem is that I am
With all this talk of JXTemplate, I have become very interested in trying it
out.
I looked around, but other than the link below, I didn't see any real
example app that could help me to get going.
http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html
Can anyone point me out an example
What documentation exactly?
What sort of documentation are you looking for?
If I can add my 2 cents, I'd be really interested in seeing some kind of
comparison with other solutions (such as Struts).
I think that other first time or potential users may also find this
interesting...
Just a
Persistence layer: OJB, Hibernate or similar O/R mapping tool
Business logic: Java classes
Controller: Flowscript
View: JXTemplateGenerator or Velocity
Ditto to all of that. I think this is really the killer combo!
Since we're on the subject, I'm interested in hearing everybody's
David (I like your name!)
Try using views.
http://cocoon.apache.org/2.1/userdocs/concepts/views.html
Regards,
David
-Original Message-
From: David Swearingen [mailto:[EMAIL PROTECTED]
Sent: April 21, 2004 11:21
To: [EMAIL PROTECTED]
Subject: Best Practices for Debugging XML?
Hello, fellow Cocoon enthusiasts!
I am trying to use the document() function to import some data from an
external XML file.
I.e.: xsl:value-of select=document('somefile.xml')/somenode/
At the same time, I am using the catalog to resolve the DTD. However, I
noticed that when using the
Joerg,
Thanks for the reply!
I am trying to use the document() function to import some data
from an external XML file.
I.e.: xsl:value-of select=document('somefile.xml')/somenode/
At the same time, I am using the catalog to resolve the DTD. However,
I noticed that when using the
Geoffry,
We work in English, French, and Japanese, but lately mostly in Japanese.
Just a question, but do you really need to use Shift-JIS?
UTF-8 works fine for us... Browsers seem to have no problem recognising
UTF-8 and correctly displaying Japanese text. Of course, you need to include
the
xsl:value-of select=xalan:nodeset($result)/
Though I don't see why this should not work.
Me neither. It's working now, and I can't figure out why! I'm not able to
break it again to figure out what I did wrong.
Anyway, thanks so much for your help! I always appreciate what you guys (and
Hi!
I'm trying to convert a result tree fragment to a nodeset in Cocoon 2.1.3,
but with no success. Just to make sure that I didn't mess anything up with
my Cocoon configuration, I even tried a fresh build, but I get the same
problem.
The closest thing I found to help me solve my problem was
Hi!
One way, and perhaps the easiest, is to declare your entities somewhere in
your DTD.
Hope this helps.
Dave
-Original Message-
From: beyaNet Consultancy [mailto:[EMAIL PROTECTED]
Sent: March 8, 2004 20:57
To: [EMAIL PROTECTED]
Subject: Entity declaration
Hi,
I have
Hello!
I have a question (or suggestion, depending on how you look at it).
A while ago, I did something really stupid (again!) that caused me lose
hours and hours of time, not to mention shorten my life by a few weeks from
stress and frustration. ;-)
I couldn't figure out why my transforms
Jorg,
Sorry for my late reply. I thought that I would have the time to do this,
but I had a very busy week.
So, attached is the test file that I mentioned along with a minimal sitemap.
You can use this and view a.xml, b.xml or ab.xml. In each case, the
extra appears.
Regards,
David
Hi!
It's probably embedded as a quote if you're using mozilla
so more like
r
a
asdf
/a/r
Note the quotes around the
When I look at the XML source (using View--Page Source), there don't seem
to be any quotes.
Also, what's interesting is that when I use namespaces, I get something
Hello!
I noticed an interesting feature from the aggregator.
Given the following sitemap fragment:
map:match pattern=x
map:aggregate element=r
map:part src=a.xml/
/map:aggregate
map:serialize type=xml/
/map:match
With a.xml being:
a
asdf
/a
The output is:
r
a
asdf
Hello!
I'm sorry if this type of question has been posted before. Any help would be
greatly appreciated.
I'd like to switch from using DTDs to XML Schema, and I'd also like for
everything to validate properly in dev mode. I've been searching for
documentation about how to use XML Schema with
Hello!
I am using multiple map:transforms in my pipeline. I would like for the
transforms to output the DOCTYPE declaration. I am using v2.1.3.
Generally, my sitemap is something like:
map:match pattern=*.html
map:generate src={1}.xml/
map:transform src=t1.xsl/
map:transform
David Leangen
Konova Solutions Inc.
www.konova.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: January 28, 2004 0:56
To: [EMAIL PROTECTED]
Subject: getting rid of namespace attribute
Hi,
This is rather an xlst question, but maybe some of you may
Hi!
I am having a bit of a problem when trying to output UTF-8 encoded
(Japanese) html directly through. Everything works fine when I use the
default File generator. The problem only occurs when using the HTML
generator.
Am I doing something wrong, or is this a bug?
Thanks!!
Here is a
Hi!
I am having a bit of a problem when trying to output UTF-8 encoded
(Japanese) html directly through. Everything works fine when I use the
default File generator. The problem only occurs when using the HTML
generator.
Am I doing something wrong, or is this a bug?
Thanks!!
Here is a
Hi!
I am having a bit of a problem when trying to output UTF-8 encoded
(Japanese) html directly through. Everything works fine when I use the
default File generator. The problem only occurs when using the HTML
generator.
Am I doing something wrong, or is this a bug?
Thanks!!
Here is a
Hi!
I am having a bit of a problem when trying to output UTF-8 encoded
(Japanese) html directly through. Everything works fine when I use the
default File generator. The problem only occurs when using the HTML
generator.
Am I doing something wrong, or is this a bug?
Thanks!!
Here is a
59 matches
Mail list logo