CForms styling issue

2008-05-12 Thread J.D. Williams
I want to display a set of multiple-choice questions with radio buttons, with a question above each set of radio buttons. I am using the samples in 2.1.9 as the basis for my work. I am unable to move to the latest at the moment, so I need to solve this in XSL so I can continue using the files I alr

Cocoon and multimedia

2007-08-03 Thread J.D. Williams
I would like to include some multimedia in some HTML created by Cocoon. Specifically, I would like for visitors to be able to play an mp3.\ I included the XML transformed to produce the following in the result HTML. http://www.apple.com/qtactivex/qtplugin.cab"; height="26" type="audio/mpeg" width

Re: re-design of sitemaps

2007-06-06 Thread J.D. Williams
On Wed, 2007-06-06 at 14:10 +0200, Reinhard Poetz wrote: > Stephen Winnall wrote: > > Has anyone given any thought to a re-design of Cocoon's sitemaps in one > > of the new versions of Cocoon? I can see scope for improvement in the > > following areas... Cocoon is tough enough to grok now withou

Image in a CForm radio list

2007-05-19 Thread J.D. Williams
I would like to use an image as the label for an item in a CForm selection list that is styled as radio buttons. None of the examples in the docs I have seen maps exactly to this. I have succeeded in getting an image to appear in a form, but not in place of a label in the radio list. Ideas?

Re: Minimal build and authentication

2007-05-17 Thread J.D. Williams
? On Thu, 2007-05-17 at 09:30 -0500, J.D. Williams wrote: > I built a webapp based on a full build of Cocoon and now realize I need > to reduce the size. So, I built a minimal Cocoon and: > > 1. Transferred the pipelines from the old sitemap.xmap to the new one. > 2. Added the mys

Minimal build and authentication

2007-05-17 Thread J.D. Williams
I built a webapp based on a full build of Cocoon and now realize I need to reduce the size. So, I built a minimal Cocoon and: 1. Transferred the pipelines from the old sitemap.xmap to the new one. 2. Added the mysql connector to WEB-INF/lib 3. Added the mysql driver to the load-class in the web.xm

Session attribute, Flow, CForms question

2007-04-28 Thread J.D. Williams
I have a Cocoon-based Web site (2.1.9) for my students and would like to offer online quizzes using CForms. I have gotten as far as a password-protected student area using the authentication framework and an online quiz form using CForms, based on the sample at: http://cocoon.zones.apache.org/demo

Re: BLOG via Cocoon?

2007-03-09 Thread J.D. Williams
Strictly speaking this last comment is accurate, perhaps. However, 90 percent of the blogs one sees online have a feature for readers to comment, so no, Derek does not want a Web forum, he wants a blog that works like the vast majority of blogs on the Interwebs. On Fri, 2007-03-09 at 11:57 +0100

RE: Authentication Framework and database

2007-03-01 Thread J.D. Williams
> right bbelow "Substitution". > > Hope it helps. > > Regards > Armaz > > > -Original Message- > > From: J.D. Williams [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 27, 2007 8:57 PM > > To: users@cocoon.apache.org >

RE: Authentication Framework and database

2007-03-01 Thread J.D. Williams
on.apache.org/2.1/userdocs/sql-transformer.html > right bbelow "Substitution". > > Hope it helps. > > Regards > Armaz > > > -Original Message- > > From: J.D. Williams [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 27, 2007 8:57 P

Re: Authentication Framework and database

2007-02-28 Thread J.D. Williams
have died out with no solution apparent. Frustrating. On Tue, 2007-02-27 at 16:25 +0100, Tobia wrote: > J.D. Williams scrisse: > > http://apache.org/cocoon/SQL/2.0";> > > > > select name from user where name = > > '' > >

Catalog demo: File not found

2007-02-28 Thread J.D. Williams
The demo for sdocbook returns a "File Not Found" error. As per the instructions on this page... http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html ...I did the following: --Downloaded sdocbook.dtd and placed it at /usr/local/sgml/docbook/simple/sdocbook.dtd --Created a catalog file at /

Re: Authentication Framework and database

2007-02-27 Thread J.D. Williams
Thought it might be some whitespace from careless XSL writing, but I got rid of the superfluous whitespace (I think) and still no luck. I could use another set of eyes on this to help me see what I am missing. The login page is the one from the authentication framework sample in 2.1.9 The only c

Re: Authentication Framework and database

2007-02-27 Thread J.D. Williams
Nice catch on the ":" instead of "-" Unfortunately, it did not work. Tried your other suggestions, as well, and others, too. Any clue on where I might look or how I might determine where the problem is? Here is the authentication matcher.

Authentication Framework and database

2007-02-27 Thread J.D. Williams
I have been using the DatabaseAuthenticatorAction, but now need to switch to the Authentication Framework, using a database as the authentication resource. In my authentication resource, the following works: http://apache.org/cocoon/SQL/2.0";> select name from user where name = 'example' but

Re: authentication-fw and sql

2007-01-19 Thread J.D. Williams
Found the answer here... http://mail-archives.apache.org/mod_mbox/cocoon-users/200402.mbox/% [EMAIL PROTECTED] On Fri, 2007-01-19 at 08:43 -0600, J.D. Williams wrote: > Still not having any luck with this. I have rebuilt the sitemap several > times now and made sure that the authenti

Re: authentication-fw and sql

2007-01-19 Thread J.D. Williams
Thu, 2007-01-18 at 11:00 -0600, J.D. Williams wrote: > I am having a problem using a MySQL database as an authentication > resource with the Authentication Framework. > > This authentication resou

Re: authentication-fw and sql

2007-01-18 Thread J.D. Williams
Tomorrow? On Thu, 2007-01-18 at 11:00 -0600, J.D. Williams wrote: > I am having a problem using a MySQL database as an authentication > resource with the Authentication Framework. > > This authentication resou

authentication-fw and sql

2007-01-18 Thread J.D. Williams
I am having a problem using a MySQL database as an authentication resource with the Authentication Framework. This authentication resource pipeline:

CLI in 2.1.9: Cannot find ServletContext object

2006-12-19 Thread J.D. Williams
I have Googled for this exception, read the docs for 2.1, and cannot figure this out. I did a ./build.sh clean, then built a minimal webapp and verified that it worked. No blocks, no samples, bare minimum. Then, I copied servlet-2.3.jar from $COCOON_INSTALL_DIRECTORY/tools/jetty/lib to $COCOON_IN

RE: XPathDirectory generator styling help

2006-11-17 Thread J.D. Williams
Thanks, Andrew. Yes, that worked perfectly. It lops off the ".xml" extension to give you a "Cocoon-style" url. Now...on to another issue. ;) Joe On Fri, 2006-11-10 at 18:09 +, Andrew Stevens wrote: > >From: "J.D. Williams" <[EMAIL PROTECTED]>

RE: XPathDirectory generator styling help

2006-11-10 Thread J.D. Williams
Hi Andrew, I will give this a try and report back. I have a couple other things before I get back to this particular project. Joe > > How about > > > > ? Or, if you think the characters ".xml" may appear more than once in the > filename (substring-be

RE: XPathDirectory generator styling help

2006-11-10 Thread J.D. Williams
Hi Ard, I did, in fact, get it to work with some tweaking of the xsl. The snippets follow. What I would like to do now is strip the ".xml" file extension from the resulting href in the html. Suggestions? Joe P.S. Here is what works. >From this sitemap matcher...

XPathDirectory generator styling help

2006-10-31 Thread J.D. Williams
I would like to be able to drop valid xml files into a directory and have them appear automagically in a menu, with the ability to transform the title of the article in the file into the text of a link if I want. I get the XPathDirectory generator to work with the following pipeline matcher.

Re: Migrating Cocoon site for static presentation

2006-03-06 Thread J.D. Williams
No offense, but from a user's perspective they are still two very different ways of going about it. btw, you mention Cocoon CLI as "another option"; it's how "forrest site" is implemented. --tim - To unsubscribe, e-mail: [E

Re: Migrating Cocoon site for static presentation

2006-03-06 Thread J.D. Williams
. Williams wrote: Wow. I had not even heard of this one. I will check it out. Joe Bertrand Delacretaz wrote: Le 3 mars 06 à 18:35, J.D. Williams a écrit : ...However, a need has arisen to generate static Web sites for this content for delivery via a Web server; i.e., not Tomcat or other servlet

Re: Migrating Cocoon site for static presentation

2006-03-05 Thread J.D. Williams
Wow. I had not even heard of this one. I will check it out. Joe Bertrand Delacretaz wrote: Le 3 mars 06 à 18:35, J.D. Williams a écrit : ...However, a need has arisen to generate static Web sites for this content for delivery via a Web server; i.e., not Tomcat or other servlet container

Re: Migrating Cocoon site for static presentation

2006-03-04 Thread J.D. Williams
more, tell me please Fady J.D. Williams wrote: I have a Cocoon webapp that is nothing more than a way of presenting XML-based documentation based on an arbitrary DTD. I use Cocoon instead of another way of building the HTML output because it works better than any other method I have tried.

Migrating Cocoon site for static presentation

2006-03-03 Thread J.D. Williams
I have a Cocoon webapp that is nothing more than a way of presenting XML-based documentation based on an arbitrary DTD. I use Cocoon instead of another way of building the HTML output because it works better than any other method I have tried. The important thing is the DTD. It is required as

Re: DITA and Cocoon

2005-10-15 Thread J.D. Williams
I use DITA and Cocoon for my own Web site as a way of exploring both. I'd be interested in discussing a possible collaboration offline. Joe Combinational Logic wrote: The Darwin Information Typing Architecture (DITA) is an OASIS XML standard for technical documentation created by IBM. I’m won

Re: ERROR: Invalid byte 1 of 1-byte UTF-8 sequence.

2005-08-26 Thread J.D. Williams
The illegal character was in a newsfeed I am using in an aggregated page. Isn't there a parameter somewhere that lets Cocoon recover or ignore that kind of error? Joe Gerald Aichholzer wrote: J.D. Williams wrote: Just started up a Cocoon development installation that was wo

ERROR: Invalid byte 1 of 1-byte UTF-8 sequence.

2005-08-26 Thread J.D. Williams
WTF? Just started up a Cocoon development installation that was working yesterday, and I get: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. I don't get it. This was working yesterday, and I did not change the content of anything but a CSS file. What gives? Joe

RequestURI in aggregation page

2005-08-03 Thread J.D. Williams
I should know how to do this, but if someone could point me in the right direction, I would appreciate it very much. I want to aggregate several pipelines using cinclude. I would like to change one of those pipelines based on user request. For example: For this matcher, aggregate.

XPointer elementpath scheme: arbitrary element?

2005-07-28 Thread J.D. Williams
Is there a way to select an arbitrary element, say from a file using the XPointer elementpath scheme demonstrated in the Aggregation samples? Using only the syntax demonstrated, it is possible to select the first of a set of elements (e.g., ), but I was wondering whether you could select one

Re: Modular Database Actions: SQL syntax error with MySQL

2005-06-30 Thread J.D. Williams
Let me put it another way. I changed this... create table user ( uid integer identity primary key, name varchar(50), firstname varchar(50), uname varchar(20), unique (uname) ); create table groups ( gid integer identity primary key, gname

Modular Database Actions: SQL syntax error with MySQL

2005-06-30 Thread J.D. Williams
Attempting to use the samples in the Databases block, I converted everything (I thought) to use a MySQL db and am able to add and delete groups just fine. However, adding a new user gives this: "Syntax error or access violation, message from server: "You have an error in your SQL syntax. Chec

Mail Block Samples question

2005-06-16 Thread J.D. Williams
Greetings. I would like to include a form on my website, so that visitors can send comments or questions via email. Is this a good application for the Cocoon sendmail action? If so, could someone point me to a working sample of the mail block? If this has been addressed on the list before, I

Re: AW: Tomcat 5.0 installation

2005-05-04 Thread J.D. Williams
Good to know. Whoever has taken on the task of upgrading the documentation might consider adding this and posting it somewhere prominent. I found the Tomcat install only because I was familiar with the docs already, but the Tomcat 4.0.x is the newest version of a Cocoon install (on Tomcat) that

Tomcat 5.0 installation

2005-05-03 Thread J.D. Williams
Howdy from Texas. It's been a while since I have paid much attention to the list, but the time has come to get back into my Cocoon project. My provider uses Tomcat 5.0, and I am wondering whether anyone has created any docs specifically for that version. Or is it about the same as running 2.1.x