RE: CForms Tutorial

2005-01-10 Thread David Leangen
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

Withdrawl of poposal: ExtremeDocumentationOverhaul

2005-01-07 Thread David Leangen
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

RE: Withdrawl of poposal: ExtremeDocumentationOverhaul

2005-01-07 Thread David Leangen
: 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

RE: Withdrawl of poposal: ExtremeDocumentationOverhaul

2005-01-07 Thread David Leangen
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:

[ANN] CForms Minimal Examples

2004-12-31 Thread David Leangen
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

RE: processing when a pattern does NOT match

2004-12-22 Thread David Leangen
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,

RE: processing when a pattern does NOT match

2004-12-22 Thread David Leangen
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

RE: Problems with event handling in CForms

2004-12-06 Thread David Leangen
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.

Problems with event handling in CForms

2004-12-05 Thread David Leangen
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);

RE: Deployment of Cocoon apps. Best practices?

2004-11-23 Thread David Leangen
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,

RE: question on xsl

2004-11-20 Thread David Leangen
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,

RE: bored with *talks* about docs (was: New documentation project?)

2004-11-14 Thread David Leangen
(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

RE: New documentation project?

2004-11-13 Thread David Leangen
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

RE: New documentation project?

2004-11-13 Thread David Leangen
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

RE: bored with *talks* about docs (was: New documentation project?)

2004-11-13 Thread David Leangen
...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

RE: bored with *talks* about docs (was: New documentation project?)

2004-11-13 Thread David Leangen
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

To Wiki, or not to Wiki (was: bored with *talks* about docs)

2004-11-13 Thread David Leangen
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

RE: To Wiki, or not to Wiki

2004-11-13 Thread David Leangen
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

New documentation project? (was: [OT] This is quite disappointing...)

2004-11-12 Thread David Leangen
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

RE: New documentation project?

2004-11-12 Thread David Leangen
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

RE: CForms+Hibernate+Flow

2004-06-17 Thread David Leangen
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

RE: CForms and Database - 5 Degrees of Separation?

2004-06-14 Thread David Leangen
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?

Sample using Hibernate

2004-06-04 Thread David Leangen
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!

Re: [Flowscript] Obtaining servlet context directory

2004-05-20 Thread David Leangen
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

RE: Aggregator Bug?

2004-05-16 Thread David Leangen
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

Getting started with flowscript

2004-05-13 Thread David Leangen
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,

RE: Getting started with flowscript

2004-05-13 Thread David Leangen
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

RE: Dynamic aggregation

2004-05-11 Thread David Leangen
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!

RE: Dynamic aggregation

2004-05-10 Thread David Leangen
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

Dynamic aggregation

2004-05-09 Thread David Leangen
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

RE: Dynamic aggregation

2004-05-09 Thread David Leangen
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

RE: Dynamic aggregation

2004-05-09 Thread David Leangen
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: ++ |

Vote: to unify, or not to unify (Was RE: Business Logic in Cocoon Applications?)

2004-05-04 Thread David Leangen
[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

RE: Vote: to unify, or not to unify - results

2004-05-04 Thread David Leangen
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

RE: JXT or XSP?

2004-05-03 Thread David Leangen
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

RE: Business Logic in Cocoon Applications?

2004-05-03 Thread David Leangen
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.

RE: using Cocoon: chinese government agencies

2004-05-03 Thread David Leangen
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

JXTemplate - forEach

2004-05-01 Thread David Leangen
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

RE: JXT or XSP?

2004-04-30 Thread David Leangen
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

Documentation (was RE: Cocoon: Language Babel -or- Database Development Platform ?)

2004-04-28 Thread David Leangen
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

RE: Generating XML - Design decisions

2004-04-23 Thread David Leangen
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

RE: Best Practices for Debugging XML?

2004-04-20 Thread David Leangen
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?

document() function and catalog

2004-04-19 Thread David Leangen
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

RE: document() function and catalog

2004-04-19 Thread David Leangen
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

RE: trying to serialize UTF-8 as Shift-JIS

2004-03-31 Thread David Leangen
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

RE: Unable to convert RTREEFRAG to nodeset

2004-03-19 Thread David Leangen
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

Unable to convert RTREEFRAG to nodeset

2004-03-18 Thread David Leangen
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

RE: Entity declaration

2004-03-08 Thread David Leangen
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

Avoiding a problem with html output in xsl transforms

2004-03-07 Thread David Leangen
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

RE: Strange output from aggregator (bug?)

2004-03-06 Thread David Leangen
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

RE: Strange output from aggregator (bug?)

2004-02-29 Thread David Leangen
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

Strange output from aggregator (bug?)

2004-02-28 Thread David Leangen
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

Switching from DTDs to XML Schema

2004-02-24 Thread David Leangen
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

Need to include DOCTYPE definition after transform

2004-01-31 Thread David Leangen
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

RE: getting rid of namespace attribute

2004-01-27 Thread David Leangen
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

HTML Generator and UTF-8 encoding

2004-01-25 Thread David Leangen
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

HTML Generator and UTF-8 encoding

2004-01-25 Thread David Leangen
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

HTML Generator and UTF-8 encoding

2004-01-24 Thread David Leangen
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

HTML Generator and UTF-8

2004-01-24 Thread David Leangen
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