Here is what I use :
String paramname
= parameters.getParameter("PARAM_NAME", "-DEFAULT-");
Other used the but
sometimes encounter problems
Laurent
"Carlos Dias" <[EMAIL PROTECTED]>
22/04/2004 19:23
Please respond to users
To:
<[EMAIL PROTECTED]>
Thanks for this , I will try.
To explain the context :
I have a woody form, when completed
, I send a success page.
This success page is a JX page which
allow me to retrieve woody content,...
In this JX page, I use a
In this html we retrieve some JX parameters
that have to be replace by JX
On 23.04.2004 02:18, David Swearingen wrote:
I picked Cocoon as my platform in part because of the elegance and
simplicity of keeping content in xml files in a directory(s) where I
can see them, and so I can have ad hoc document structures without
having to be tied down to a RDBMS schema that can
When calling a pipeline, you can't pass parameters (As far as I know).I
had the same problem a while ago. I then just passed the parameters
asrequest parameters by
callingsrc="". Another option is
to setyour parameters in a session by invoking an action before
generatinganything.
Though I a
Hi,
How can one change the profile at run-time of the portal?
Can I deactivate the Cache for user profiles?
Thanks for help
Seb
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [
Hi
I'm using request parameter selector to maka a choice of correct xsl
tranformation.
This pipeline works correctly, but additionaly I'd like to check if the
request parameter exists.
How can I do it? (I'd like to do the same transform when parameter doesn't
exist, and is equal "0")
Title: Newbie Question: Howto make Web App access CLASSPATH
My Woody Action subclass is coming up with "System Error: No SAX Parsers found in classpath" but 'xerces.jar' is included in the classpath.
Cocoon started as a servlet and I am trying to show a Woody form.
Help please.
David Teke
Why don't you use the parser via Cocoon ?
Parser parser = manager.lookup(Parser.ROLE);
David Tekeshe wrote:
My Woody Action subclass is coming up with "System Error: No SAX Parsers
found in classpath" but 'xerces.jar' is included in the classpath.
Cocoon started as a servlet and I am trying to
I have a flowscript that winds up doing a "sendpage" to a pipeline
producing a table from data generated from a cgi script.
this script either returns a table or an error code
I would like to jump to different pages depending on the result, that
is, either a text page describing that there was no
You might try a map:resource entry called e.g. success-resource
in which you HTMLGenerate src="cocoon:/success-config.html" and
call that resource where you now call cocoon:/success-config
That way you load a properly formatted XML document based on
the html document in your pipeline, and not the p
Jan,
the transformer I mentioned is:
Peter
On 23 Apr 2004, at 07:14, Jan Hoskens wrote:
I've not yet heard of a jpath transformer, where did you find it? I do know that there's an xsp logicsheet "jpath" that you may use, especially for
use with flow. There's another transformer which does jpath
Title: Re: Newbie Question: Howto make Web App access CLASSPATH
Thanks Olivier but I am trying to keep the xml parsing staff separated from Cocoon.
I am binding my Woody Form to a JAVA Bean which I am populating using a different framework, org.openadaptor
The "System Error: No SAX Pars
What about using Jetty?
You can write your own startup app which launches Jetty+Cocoon, even as an
autostart-exe which uses a jre on the cd (which might be a little bit slow).
-Ursprüngliche Nachricht-
Von: Michael Faschinger [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 22. April 2004
Hi Markus,
Ya, it's the same for getValue, instead
cocoon.request.getCookies()[0].value() works.
Phil
On Fri, 2004-04-23 at 03:38, Markus Heussen wrote:
> Hi!
>
> Is there a known bug in the Cocoon cookie handling within a flowscript?
>
> I created a cookie using
>
> cocoon.response.addCookie
Ha, I see, did you read the javadocs?
It states:
Transformer implementation of the JPath XSP tag
library.
But the jpath transformer doesn't support every tag
yet.
Anyways you're better off using the xsp
logicsheet.
I also think you misinterpreted the jpath
transformer. (what follows
It's something like:
CDias
- Original Message -
From: "Jorg Heymans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 10:03 PM
Subject: Re: Passing parameters to aggregation parts
> what does your map:match look like?
>
> Carlos Dias wrote:
> > Jorg,
> > Thank
Thanks Jan...
I will try it...
CDias
- Original Message -
From:
Jan Hoskens
To: [EMAIL PROTECTED] ; Carlos Dias
Sent: Friday, April 23, 2004 8:23
AM
Subject: Re: Passing parameters to
aggregation parts
When calling a pipeline, you can't pass parameters (As
Hi,
the following lines produced error. can anyone help?
var profile;
profile =
cocoon.getComponent(Packages.org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager.ROLE);
profile.logout();
ERROR:
WARN(2004-04-23) 11:51.46:702 [portal] (/cocoon/test/portal)
http8180-Processor
Hi,
I am fairly new to cocoon and I am planning to use it for a quite big
website. I keep thinking what the best way is to genrate XML from a
database.
- XSP seems too complicated and limited and there is no knowledge in the
developer-team available
- JSP seems okay, many developers are familiar
Hello,
I try to find a way to grant the customization of some section
of the portal page to end user with new cocoon portal.
With the portal framework, that is possible with Type profile
(and the in sitemap),
but in the new portal, I don't see this possibility.
So my problem is to know if it is po
Mariusz Wójcik <[EMAIL PROTECTED]> writes:
> Hi
>
> I'm using request parameter selector to maka a choice of correct xsl
> tranformation.
> This pipeline works correctly, but additionaly I'd like to check if the
> request parameter exists.
> How can I do it? (I'd like to do the same transform wh
Hi,
I also ask me such a question when I
start with Cocoon.
For me, I think that :
1) You have to use as much as possible
the existing generator ans simply pass them parameters.
2) If you have database, you can greatly
reduce development time by using XSP and ESQL
3) When there are really spec
You could try an Object/Relational bridge, like OJB or Hibernate,
and combine it with Flowscript.
You can use the JX generator to write bean information in the pages
dynamically (using, of course, flowscript and cocoon.sendPage)
There are tutorials and introductions on the WIKI on that subject.
I
Hey,
I think you should consider anyway using XSP. It isn't hard to
learn/use (actually to get data from database and convert it to XML it
is really simple !!) and the performance should be good (use caching if
possible).
We use XSP's for data extraction, which also consists of generating
(large)
[EMAIL PROTECTED] writes:
> Hi,
> I also ask me such a question when I start with Cocoon.
> For me, I think that :
> 1) You have to use as much as possible the existing generator ans simply pass
> them parameters.
Reusing existing components is fine, but there is a limit. If you
need complicate
Hi,
I have a flowscript which does the following:
cocoon.sendPage("registered_section1", {"userGlobal":userGlobal});
where userGlobal is a user object. I try to retrieve elements within the java object inside my xsp page by saying:
but am getting the following error message:
org.apache.common
Hildebrandt, Ole wrote:
I am fairly new to cocoon and I am planning to use it for a quite big
website. I keep thinking what the best way is to genrate XML from a
database.
Persistence layer: OJB, Hibernate or similar O/R mapping tool
Business logic: Java classes
Controller: Flowscript
View: JXTempl
Leon Widdershoven wrote:
It is, of course, strongly recommended that you have some knowledge
about java if you're going to build a O/R bridge. But not that much.
I would strongly advise against *building* an O/R bridge. It's not easy
at all to get it right and there are many good products availabl
beyaNet Consultancy wrote:
"userGlobal.getUserName()" does not seem like a valid XPath expression
to me. Try "userGlobal/userName". I don't know if it works, since I
would never do it that way. Why don't you use the JXTemplateGenerator?
Ugo
Hi,
Thanks for all the replies. I will have a look at the flowscript, which i
ommitted so far, as I thought it is not essential for builing a website that
has fairly any user-interactive processes, but is just barely an
information-delivery-website.
I have been developing some MVC-Webapps with Se
Le 23 avr. 04, à 14:15, Ugo Cei a écrit :
...Persistence layer: OJB, Hibernate or similar O/R mapping tool
Business logic: Java classes
Controller: Flowscript
View: JXTemplateGenerator or Velocity
Don't let anyone try to convince you that you can find a better
combination for Cocoon. You won't...
Quoting Mariusz Wójcik <[EMAIL PROTECTED]>:
Hi, maybe you could isolate the case with no parameter with a
ParameterMatcher...
>
> I'm using request parameter selector to maka a choice of correct xsl
> tranformation.
> This pipeline works correctly, but
Ugo,
in the context o what I am doing within an xsp page which has a jpath xmlns declaration : xmlns:jpath="http://apache.org/xsp/jpath/1.0", how would i use the JXTemplateGenerator you mention?
my sitemap pipe is:
Peter
On 23 Apr 2004, at 13:20, Ugo Cei wrote:
beyaNet Consultancy wro
Hildebrandt, Ole wrote:
Hi,
Thanks for all the replies. I will have a look at the flowscript, which i
ommitted so far, as I thought it is not essential for builing a website that
has fairly any user-interactive processes, but is just barely an
information-delivery-website.
I have been developing s
Hi,
I agree with all that has been said here, and as a newbie i can tell
XSP+SQL for reading is really easy and OJB not so hard if like me you
use 10% of its incredible capabilities.
But!!: speaking about full XML website, i'm surprised to see nobody
mentioned native XML databases and XML:DB?
Phi
Bertrand Delacretaz wrote:
It mostly depends on what a "quite big web site" is. Generating a
couple hundred thousand pages out of a database with direct SQL would be
no problem if the database schema is a simple one and if you're doing
"read-only" stuff, only generating XML out of the database,
beyaNet Consultancy wrote:
Ugo,
in the context o what I am doing within an xsp page which has a jpath
xmlns declaration : xmlns:jpath="http://apache.org/xsp/jpath/1.0";, how
would i use the JXTemplateGenerator you mention?
I suggested that you should use JXTG _instead_ of XSP. You won't
certainl
Thanks, Joerg. So I read up on Xindice last night. Are people using Xindice for production sites yet, or is it still in alpha?
David
Joerg Heinicke <[EMAIL PROTECTED]> wrote:
On 23.04.2004 02:18, David Swearingen wrote:> I picked Cocoon as my platform in part because of the elegance and> si
Hi all,
i'm looking for a way to integrate a nice calendarpicker in our portal. It
would be perfect if i could select days, but also ranges of dates.
E.g. if a query needs a "fromdate" and "todate" it would be nice if i could
select a week or month and that my parameters get this "fromdate" and
On 23 Apr 2004, at 16:04, David Swearingen wrote:
Thanks, Joerg. So I read up on Xindice last night. Are people using
Xindice for production sites yet, or is it still in alpha?
FWIW, I saw a nice Lucene/Cocoon-based project this week, which
supposedly was handling the load pretty well. Dunnow
Ugo,
your eralier suggestion, , worked fine. My only reason for using an xsp page is because I can transform it with an xsl stylesheet. Can I do the same with an JXTG file?
On 23 Apr 2004, at 14:55, Ugo Cei wrote:
beyaNet Consultancy wrote:
Ugo,
in the context o what I am doing within an xsp page
David Swearingen wrote:
Thanks, Joerg. So I read up on Xindice last night. Are people using
Xindice for production sites yet, or is it still in alpha?
I know of people using XIndice in production. It is currently Beta, but
we might expect a formal release at some point in the next three-six
m
beyaNet Consultancy wrote:
Ugo,
your eralier suggestion, ,
worked fine. My only reason for using an xsp page is because I can
transform it with an xsl stylesheet. Can I do the same with an JXTG file?
Of course you can! JXTemplateGenerator is a generator, just like the
ServerPagesGenerator (XSP).
Hello,
im saving text coming from a textarea in a MySQL database using Java and
Flowscript. All linebreaks will be replaced by \r\n.
After reading this text from the database and displaying it in the
textarea using a JXTemplate I got 2 linebreaks in the html source:
1. a new line
2. a entity
BlankSome inputs of the page are serialized from the inquire outcome from a
database.
Nobody knows how many they are and what they are.
Then what should I do if I want to retrieve the value of these inputs
associated with their names?
Many thanks!!
Ugo,
thanks for your help. All is working now ;-)
Peter
On 23 Apr 2004, at 15:42, Ugo Cei wrote:
beyaNet Consultancy wrote:
Ugo,
your eralier suggestion, , worked fine. My only reason for using
an xsp page is because I can transform it with an xsl stylesheet. Can
I do the same with an JXTG file?
Basically content of the page is generalized from the database.
There are variable number of user inputs. Each input can be
-textfields, radio, select list etc.
Names of these inputs are inquired from database, and transformed by a xstl
because I know all possible names of them.
But I f
Le 23 avr. 04, à 15:52, Ugo Cei a écrit :
...I more or less assumed that a "big" site would also be a complex
web site, with a complex information architecture, data model and
interaction
Sure...but the perception of what is "big" varies widely between people
and projects!
People might not
Ugo Cei wrote:
Leon Widdershoven wrote:
It is, of course, strongly recommended that you have some knowledge
about java if you're going to build a O/R bridge. But not that much.
I would strongly advise against *building* an O/R bridge. It's not
easy at all to get it right and there are many goo
Title: Message
Hi Corin,
can you tell me where I can find this information
?
Stefan
- Original Message -
From:
Corin
Moss
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 11:17
PM
Subject: RE: cocoon.dat in cache-dir
keeps growing ?
Hi
There,
Bertrand Delacretaz wrote:
People might not realize that for Cocoon a 10'000-pages website
generated from a read-only database is not that "big" ;-)
Well, just this morning I generated a static snapshot of a Cocoon
website totaling a little more than 9800 pages ;-). Most of them are
coming from
On Fri, 23 Apr 2004, Upayavira wrote:
> David Swearingen wrote:
>
> > Thanks, Joerg. So I read up on Xindice last night. Are people using
> > Xindice for production sites yet, or is it still in alpha?
>
> I know of people using XIndice in production. It is currently Beta, but
> we might expect a
lechael wrote:
> Basically content of the page is generalized from the database.
>
> There are variable number of user inputs. Each input can be
> -textfields, radio, select list etc.
>
> Names of these inputs are inquired from database, and transformed by a
> xstl because I know all possible
Just a long shot at what you are asking:
Have you looked at the request-generator? It generates an XML-representation
of the request, making it more or less trivial to retrieve the
request-parameters from the form.
Askild
-
lechael [mailto:[EMAIL PROTECTED] wrote:
>Basically content of the page
I don't know which Cocoon technologies you are currently using, but this
hsould be fairly straightforward in Java (using XSP). You can ask the
request for a list of all parameters, and iterate through the list and take
the appropriate actions.
If you need help getting started with XSP, there
I am trying to install Cocoon 2.1.4 on my Redhat linux
server. I followed the simple
instructions setting my JAVA_HOME variable, but when I run build.sh I get this:
[EMAIL PROTECTED] cocoon]# set
JAVA_HOME=/usr/java/j2sdk1.4.1_02/
[EMAIL PROTECTED] cocoon]# ./build.sh
Apache Cocoo
On Apr 23, 2004, at 5:15 AM, Ugo Cei wrote:
Hildebrandt, Ole wrote:
I am fairly new to cocoon and I am planning to use it for a quite big
website. I keep thinking what the best way is to genrate XML from a
database.
Persistence layer: OJB, Hibernate or similar O/R mapping tool
Business logic: Java
On 23.04.2004 16:45, Stephan Coboos wrote:
Hello,
im saving text coming from a textarea in a MySQL database using Java and
Flowscript. All linebreaks will be replaced by \r\n.
After reading this text from the database and displaying it in the
textarea using a JXTemplate I got 2 linebreaks in t
> > 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 everybo
Ok. I see. I managed to catch the file with a custom component and save it
in db.
Has anyone noticed, that if you change the location of upload-dir from
web.xml, the files get stuck on that dir? It seems that Cocoon cannot
delete the files if it's not the default location.
-Tuomo
On Tue, 20 Apr
One issue with the combination below is that
JXTemplateGenerator is not Cacheable. Implementing a
custom generator may be a bit more effort, but can pay
back in performance.
Le 23 avr. 04, à 14:15, Ugo Cei a écrit :
> > ...Persistence layer: OJB, Hibernate or similar
> O/R mapping tool
> > Busi
We use and really like eXist. Nice work being done with XQuery and
XUpdate. Integrates great with Cocoon.
Darren
On Apr 23, 2004, at 12:06 PM, James Cummings wrote:
On Fri, 23 Apr 2004, Upayavira wrote:
David Swearingen wrote:
Thanks, Joerg. So I read up on Xindice last night. Are peopl
On 23 Apr 2004, at 19:58, Alex Romayev wrote:
JXTemplateGenerator is not Cacheable.
Is any work being done on this???
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
the following line in flow, produced an error. Can anyone help me please?
LINES:
var dportalComponentManager =
cocoon.getComponent(Packages.org.apache.cocoon.portal.impl.DefaultPortalComponentManager);
ERROR:
org.apache.cocoon.ProcessingException: Could not read resource
cocoon://test/appl
> On 22.04.2004 17:02, Michael Faschinger wrote:
> > Hello everyone!
> > I just try to set up Tomcat(4.0.6) + Cocoon (2.0) to run from CD. Tomcat
> > works perfectly fine but cocoon won't work as it tries to write some
files
> > (WEB-INF\db\commondb.*) to the CD. Is there a way to avoid this? Are
t
Hi,
I've been trying the AntBuildGenerator (to invoke CVS from
within Ant from within Cocoon)
but I'm running into the following problems:
(1) Ant has to have the cvs client executable in "the path",
but there doesn't seem to be a way to specify the path from
within Ant, and I don't know of a way t
Title: Mensaje
Hello,
I'm try
to migrate my app from cocoon 2.1.3 to cocoon 2.1.4.
I have one xsp file that use the sendmail
logicsheet. This worked well in cocoon 2.1.3, but in cocoon 2.1.4 appear the
next error:
Error compiling comentarios_xsp:
Line 0, column 0: This compilation unit in
Title: Mensaje
-BEGIN PGP SIGNED MESSAGE-Hash:
SHA1
Did you download java mail? It's an external library
that needs to bein your classpath (can't remember if it's webapp/yourapp/lib
or thegeneral classpath
carlos- - Original Message - From: Henry
Orlando Canastero To: [EM
- What's not working: JspGenerator gives an exception when invoked
from another pipeline:
Exception JspGenerator.generate()
org.apache.cocoon.ProcessingException: Exception
JspGenerator.generate(): java.lang.StringIndexOutOfBoundsException:
String index out of range: -1
I tried with Cocoon 2.1.3
We are using Cocoon 2.1/MySQL 4.0.16 and have user data from a HTML form
that needs to be inserted into two tables inside a single transaction.
Inserts into a single table seem to be simple, but into multiple tables is
little harder...
How should I accomplish this?
I have looked at in the new Co
On 24.04.2004 00:18, Benoit Deshaies wrote:
- What's not working: JspGenerator gives an exception when invoked
from another pipeline:
Exception JspGenerator.generate()
org.apache.cocoon.ProcessingException: Exception
JspGenerator.generate(): java.lang.StringIndexOutOfBoundsException:
String index
71 matches
Mail list logo