Have you guys read the documentation? The authentication framework is
explained in detail here:
http://xml.apache.org/cocoon/developing/webapps/index.html
Let me know if you have any additional questions.
Matthew
--
Open Source Group Cocoon { Consulting, Training, Projects }
This seems to work.
Thanks
- Original Message -
From: Antonio Gallardo Rivera [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 8:56 AM
Subject: Re: Escape characters in ESQL
Try single quote example:
esql:execute-query
esql:query
alter session set
Hello all,
I have successfully integrated Cocoon-2.0 with JBoss-2.4.7_Tomcat-4.0.4 and
it is working fine.
I have properly made ear file containing EJB jar file and cocoon folders as
war file.
If I need to change any XSP and other classes then How will it work without
redeploying all stuffs.
I
[EMAIL PROTECTED] wrote:
Another issue of having too many pipelines.
As i understand in the sitemap is generated into a java class.
And the various matchers within a pipeline(s) are really a bunch
of if-else if statements.
So the more matchers you have (to match to a pipeline or
Cocoon User wrote:
i have succesfull write a js that create an xmlobject and then post it
using xmlhttp
i have too succesfull post this xml stream to .php and java servlet .
server side i just echo this stream and return this echo to js
how can i modify sitemap to make cocoon ready to
The results of this thread from my point of view can be found at
http://outerthought.net/wiki/Wiki.jsp?page=DesignPipelines.
Are there any other points?
Regards,
Reinhard
-Original Message-
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 8:57 AM
Hello everybody,
I try to run a Cocoon example with the sql transformer and I use the hsqldb database
included in Cocoon distribution for this.
But how can I start this db?
Thank you
Sylvain
-
Please check that your question
It is started automatically when Cocoon is loaded.
Usually, you can see a message like:
Server started. Press Ctrl+C to shutdown in console window - it is the
HSQLDB message.
If don't get a similar message then check logs to see what's wrong.
--
Konstantin Piroumian
-Original
Thank you Konstantin, I have this message: Server 1.6 is running.
Is there a console where I can execute queries?
Sylvain
-Message d'origine-
De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
Date: lundi, 14. octobre 2002 10:50
À: '[EMAIL PROTECTED]'
Objet: RE: Cocoon and hsqldb
From: [EMAIL PROTECTED]
Thank you Konstantin, I have this message: Server 1.6 is running.
Yes, it's the HSQLDB.
Is there a console where I can execute queries?
Have no idea here. Try to search for some tools for HSQLDB. I don't know if
there is anything like that is bundled with
I have found a script file that creates tables and entries in the default Cocoon
example database, you can find this file here:
\WEB-INF\db\cocoondb.script
Now all work with HSQLDB!
Has someone tried to connect Cocoon to a Microsoft SQL Server database?
I'm looking for a database URL
On Monday 14 October 2002 11:18, [EMAIL PROTECTED] wrote:
. . .
Has someone tried to connect Cocoon to a Microsoft SQL Server database?
I'm looking for a database URL connection example.
. . .
If you're courageous you can use the JDBC-ODBC bridge for this, but last time
I checked it was
There is a JDBC driver for MS SQL Server, available at sourceforge.net:
jtds.
-Message d'origine-
De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
Date: lundi 14 octobre 2002 11:26
á: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet: Re: Cocoon and hsqldb
On Monday 14 October 2002
Is there a console where I can execute queries?
Yes, start: java org.hsqldb.util.DatabaseManager
Ralph Henke
-
Please check that your question has not already been answered in the
FAQ before posting.
Apologies if this is a slightly lower level problem than normal but I
think I am going slowly mad.
I have just started working with cocoon 2 and am having some problems
getting this to connect to mySQL. I have followed the tutorials to the
letter and am getting an
Exception in
Hi,
My sitemap is as follows:
map:match pattern=welcome.html
map:generate src=welcome/welcome.xml/
map:transform src=welcome/{role}.xsl/
map:serialize type=html/
/map:match
In my welcome folder I have author.xsl and
learner.xsl.My xml file has the tag, role.Depending
upon the role the sitemap
Title: Action example
Hi
Is
there any other example for using action?
because i still cant find any pratical and useful
application of action??!! ;P
cheers
-Original Message-From: Sternath Elmar
[mailto:[EMAIL PROTECTED]]Sent: lundi 14 octobre 2002
12:56To: '[EMAIL
See the sources of samples:
http://localhost:8080/cocoon/samples/authentication-fw/login
http://localhost:8080/cocoon/samples/portal-fw/sunspotdemoportal
http://localhost:8080/cocoon/samples/tutorial/home.html
Antonio Gallardo
El Lunes, 14 de Octubre de 2002 04:54, Hong Gia Dinh escribió:
Hi
Thank you for all your replies!
At the moment for the development phase, I use the JDBC driver provided by Microsoft.
It is not very fast but it works.
For information the driver is: Microsoft SQL Server 2000 Driver for JDBC.
I use the URL:
Hello,
I would like to use the XInclude transformer so that I can put my database queries
into separate files (i.e. atomic queries that are reused elsewhere). Currently, the
SQL Transformer does not transform the resulting XML [using Cocoon 2.0.3+Tomcat 4.1.12
under win2k]. Does anyone have
Hi there I'm a member but still unable to track it down (in the
prev_reviews.html )Plz could post the complete url - path
Luca Morandini wrote:
Folks,
in the November issue of Software Developoment ( http://www.sdmagazine.com ) you may
find a brief review of Cocoon: building XML
One more thing to mention.
I am working on creating wizard2vxml.xsl and
xmlform2vxml.xsl for VoiceXML 2.0 for XMLForm.
Is it Necessary to have / in the field name (html
input variable name) like : select name=/city
this?
Would this be fine?
select name=city
I am using bean not dom for
I have achieved this using some work originally done by
Nikolai Grigoriev at renderx.com.
You may still be able to find some examples from their
web site. If not come back, and I'll email some privately
rather than clog up this list.
Tony
-
Tony Goodwin
[EMAIL PROTECTED]
Thank you Matthew
I've read it adn it seemed fairly understandable, sort of, except for the
chapter on The authentication resource, which introduces this syntax:
authentication uri=cocoon:raw://authenticationresource/ without
explaining what raw is about, and give a practical example of how to
Hi Carsten,
I've tested both encoding and namespaces and they
worked fine. Thanks very much for the quick fixes.
Now, a couple of problems:
1. The namespace declarations are generated at each
individual element rather than the root node. Of
course it still works, but add to the file size and
Hi,
I would like to store XML-documents after
transformations to disk (with a store key) in a way
that I can access it later on with url like
http://../cocoon/MyDir/Store?key=123456789abcdefg.
Are there any tools to do this (transformation)?
SourceFileWriter doesn't work because I need to save
I want to be able to match cocoon-action-* and use the value {1}. Is
this possible? Which matcher?
Thanks
--
Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638
Hello,
doing the following I do not get the expected results. The german umlaut
with ISO-8859-1 converts magically to UTF-8. All encodings
(html-/xml-serializers, xml-files, xsl-files) are set to ISO-8859-1
src.xml:
html
head
...
a href=dest?selection=öö/ (ö = german umlaut for oe)
On Friday 11 October 2002 22:05, Geoff Howard wrote:
P.S. Do you really mean 8180?
FYI, Debian seems to do this. I work on that port too.
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL
(cross-posted to -dev and -user, we need you too!)
IMHO adding tracks to the Cocoon documentation could make it
much more useful, by providing several reading lists targeted to the
various uses of Cocoon.
Please see
http://outerthought.net/wiki/Wiki.jsp?page=DocumentationTracksProject
about
Try this in your sitemap:
map:action name=set-character-encoding
src=org.apache.cocoon.acting.SetCharacterEncodingAction/
and
map:act type=set-character-encoding
map:parameter name=form-encoding
value=your-encoding/
/map:act
--- Stefan Riegel [EMAIL PROTECTED] wrote:
Hello,
Try using this:
map:match type=request-parameter pattern=cocoon-action-*
Antonio Gallardo
El Lunes, 14 de Octubre de 2002 09:19, Bobby Mitchell escribió:
I want to be able to match cocoon-action-* and use the value {1}. Is
this possible? Which matcher?
Thanks
Antonio Gallardo Rivera wrote:
Try using this:
map:match type=request-parameter pattern=cocoon-action-*
snip
This example will match a request parameter with the name of
cocoon-action-*, with the * as a literal character. I have tried all
sorts of different matchers and haven't found one
Or put the most likely pipelines to get hit first and the least likely
last...
That can be problematic if your most used pipelines are the generic matches.
Eg, three special cases and 100 general cases:
match=fee.foe
match=fee.fie
match=fee.fum
match= fee.*
On 14.Oct.2002 -- 12:41 PM, Bobby Mitchell wrote:
Antonio Gallardo Rivera wrote:
Try using this:
map:match type=request-parameter pattern=cocoon-action-*
snip
This example will match a request parameter with the name of
cocoon-action-*, with the * as a literal character. I have tried
Interesting. Thanks.
--- Kjetil Kjernsmo [EMAIL PROTECTED] wrote:
On Friday 11 October 2002 22:05, Geoff Howard wrote:
P.S. Do you really mean 8180?
FYI, Debian seems to do this. I work on that port
too.
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT
Can't you generate the key with an action and pass it as sitemap parameter
then use SourceWritingTransformer (CVS) ?
What change would be needed for SourceWritingTransformer to be able to write
any format out, and can it do so already ?
--
website : www.babsfrance.fr.st
ICQ : 135868405
-
However, there is a RequestParameterExistsAction that could be used if
you knew all possible values for *
Chris.
Here is what I have tried:
map:act type=req-param-exists
map:parameter name=parameter-name value=cocoon-action-*/
map:parameter
apurva zaveri wrote:
One more thing to mention.
I am working on creating wizard2vxml.xsl and
xmlform2vxml.xsl for VoiceXML 2.0 for XMLForm.
Is it Necessary to have / in the field name (html
input variable name) like : select name=/city
this?
If you do a transformation, why can't you
Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3
My problem is this: I'm writing an XSP and trying to insert an attribute in the root
element of my document. The root element is Product, as this doc stores product
info.
Anyhow, a logicsheet inserts an
xsp:attribute
To be honest, I circumvented this whole issue by having as few pipelines as possible.
Basically I use action or event id's that point to metadata files. The metadata files
have all the information how to build a portal page, I then use WSUI (wsui.org) files
to describe each of the portlets.
On 14.Oct.2002 -- 02:23 PM, Bobby Mitchell wrote:
However, there is a RequestParameterExistsAction that could be used if
you knew all possible values for *
Here is what I have tried:
map:act type=req-param-exists
map:parameter name=parameter-name
List,
C:\Java\xml-cocoon2build test
Chugs along and then during the jUnit portion produces 51 errors
culminating with this final one. If you want I can output the file
into a txt file for verification.
Final line of error output
BUILD FAILED
file:C:/Java/xml-cocoon2/build.xml:2027: Compile
I am currently trying to make a weblog application I created the main association to my root URL. Right now I have it setup so that the welcome.xhtml is called whenever I hit my URL. What I want to happen is that i want my weblog sitemap to be called and the "foo.html" to be passed to my weblog
elements in XMLForm do not have to start with /.
It is just used for clarity in the examples.
You can try just city.
What are the limitations for names of VXML forms?
- Original Message -
From: apurva zaveri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 13, 2002 9:08
select name=city
Would be just fine if your bean has a get/setCity()
- Original Message -
From: apurva zaveri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 7:59 AM
Subject: Re: XMLForm - VoiceXML
One more thing to mention.
I am working on creating
Can you share your pipeline.
Maybe you organize your content in a much smarter way than I can imagine.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 3:59 PM
Subject: Re: [Q] Pipeline best practices
To be honest, I circumvented this
Hi Matthew,
I have read the documentation a couple of times... this one
http://xml.apache.org/cocoon/developing/webapps/sunrise.html
But still, I cannot understand or apply anything on the User
Administration...
Can I use it with a database?
Where would the user data be stored?
Do I need to
Hi
Upon recommendation from this list, I initially used XPathDirectoryGenerator,
but it was too slow for online use. Since I know when a file is changed, I
call the following URL which produces one large XML file with the contents of
all files in the directory.
A FileChainingGenerator would
Richard,
this is the correct link to the _current_ version (in 2.1-dev):
http://xml.apache.org/cocoon/developing/webapps/authentication.html
Can I use it with a database?
Yes - the authentication framework maps functions to pipelines. And as such
a pipeline can do whatever _you_ want.
50 matches
Mail list logo