On Thursday 19 September 2002 19:37, Alex McLintock wrote:
> I've reviewed the New Riders Cocoon book and the review is available here.
>
> http://news.diversebooks.com/article.pl?sid=02/09/19/1722242
[...]
> The book starts off with far too much information about web applications
> without spec
On Wednesday 18 September 2002 15:33, Ivan Luzyanin wrote:
> Hi!
>
> I'm having a problem with sendmail. I've successfuly set up sendmail
> logicsheet, put mail.jar from JavaMail 1.3 pakage to WEB-INF/lib.
> Transformed XSP page (Java source in work dir, attached) seemes to be ok
> and no errors r
Phil,
Sorry it took me a while to respond, I am having some problems with the 2.1
build.
The XForms spec mandates one sub element.
I think if you need additional text, you can use other custom tags from your
own namespace.
My field
Custom Text
Another option is to not set display text
Barbara:
Thanks for the tip. What ended up working was using the
org.apache.cocoon.acting.RequestParamAction Action class. For the sake of
anyone reading this in the future, here's what I did.
I created an action as follows:
I then used this new Action in my pipeline:
[EMAIL PROTECTED] wrote:
> I am closer now thanks to that bit of info. However, now when I open
> "http://stuff.domain.com/Cocoon"; I get a nicely formatted "Cocoon 2 -
> Internal server error":
> - 8< Snip---
> java.lang.NullPointerException
[...]
> (CocoonServlet.java:901
> [EMAIL PROTECTED] wrote:
> > I searched the archives, and google, and haven't found a good
> > explanation about how to go about getting Cocoon working in Websphere
> > 3.5.x. I am close I think. I used the WAR file converter in the Admin
> > Console, but I get an exception during init of
Cocoon users,
I am using Cocoon 2.0.3 and Tomcat 4.0.4. I have a redirect-to in place in my
sitemap that looks like this:
Everytime I hit the page http://localhost:8080/gwd_webapp/ I get the following
error message in access.log:
.
.
.
DEBUG (2002-09-19) 13:36.
I've reviewed the New Riders Cocoon book and the review is available here.
http://news.diversebooks.com/article.pl?sid=02/09/19/1722242
Oh ok, here it is too.
Title: Cocoon: Building XML Applications
Author: Matthew Langham
Author: Carsten Ziegler
Publisher: New Riders
URL: http://www.newrid
[EMAIL PROTECTED] wrote:
> I searched the archives, and google, and haven't found a good
> explanation about how to go about getting Cocoon working in Websphere
> 3.5.x. I am close I think. I used the WAR file converter in the Admin
> Console, but I get an exception during init of the Cocoon
second question : yes : see rotation tag in WEB-INF/logkit.xconf.
Babs
- Original Message -
From: "Timothy Larson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 6:17 PM
Subject: how to prevent logging passwords in request and sessionparams?
How do you p
Hello,
I searched the archives, and google, and haven't found a good
explanation about how to go about getting Cocoon working in Websphere
3.5.x. I am close I think. I used the WAR file converter in the Admin
Console, but I get an exception during init of the Cocoon servlet:
javax.servlet.
How do you prevent logging of passwords held in request parameters
and session attributes? I do not want to turn off logging completely.
By the way, is there any sort of automated log rotation for cocoon
to prevent the logs getting too big?
Tim
---
Thanks to everyone who replied to this thread, I managed to crack it in
the end.
The solution to my umlaut problem consisted of:
1. Putting this action at the top of the pipeline which handles the
UTF-8 post:
2. Saving all my files ensuring the bytes written to disk were UTF-8 (as
Ugo, An
Awesome! I changed the xsp file to declare a namespace of:
xmlns:session="http://apache.org/xsp/session/2.0";
create-session="true"
instead of
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
create-session="true"
and changed all the tags in the file (of cour
Yeah, you were right. :)
The path was wrong.
The right is: "/usr/java/tomcat/webapps/reqDyn/requirement/"
Thank you!
greets
> "nothing is saved as well.", are you sure any file of name xyz.xml is
> created, in usr/home for example ? I don't know much with Linux but if
> this
> is supposed to w
Hi list,
thanks for your help and advices :)
> Sure it will couse a nullpointerexception. First of all you need to to get
> from this snip something like this:
>
>
>
>
> /images/test.svg?label_text=hello&label_color=red
>
>
>
>
> and than use thi
Hi all,
i've downloaded the Cocoon 2.0.3 and tried to deploy the file cocoon.war
to my Tomcat server (4.1.10) using the Tomcat Manager (or 'Deployment
tool' by Sun)
After deployment the manager reports the Cocoon application as
"running"
whenn calling /cocoon on my Tomcat Server i get the follo
Hello,
we are using cocoon with JBoss/Catalina. We have packed the cocoon.war file
into an .ear file to set the context-root to "/cocoon".
Everything works fine with 3.0.0/4.0.3 & JDK 1.3.1_03.
Now we have upgraded JBoss/Catalina from 3.0.0/4.0.3 to 3.0.2/4.0.4.
Result: we cannot deploy Cocoon 2
Alan, thanks, that helped to solve one problem, in other words: I am not
getting the NullPointer exception anymore. Strangely enough, it looks like
the CastorTransformer is not kicking in at all now. Please find below
various fragments of code
from the sitemap:
props/castor-bind.xml
"nothing is saved as well.", are you sure any file of name xyz.xml is
created, in usr/home for example ? I don't know much with Linux but if this
is supposed to write a file, it should...
Sorry.
- Original Message -
From: "Hans Wursten" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Th
I have writing-rights.
Yes, I am using windows. But if I write "xyz.xml" as filename instead of the
"\\ten-web\..."
or use slashes, nothing is saved as well.
> maybe the way you wrote the path with antislashes Linux system uses
> slashes... Do you use Windows system on your local computer ?
maybe the way you wrote the path with antislashes Linux system uses
slashes... Do you use Windows system on your local computer ?
Maybe a write rights problem too.
Babs
- Original Message -
From: "Hans Wursten" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19,
Barbara Post wrote:
>It works fine if I compile my classes with JBuilder and Tomcat running, but
>it says "Cocoon was not initialized" if I build my webapp with JBuilder and
>Tomcat running : i.e : JBuilder copies all the jars to WEB-INF/lib again,
>instead of only the classes to WEB-INF/classes.
I am using the stylesheet below to save generated xml to a file. It works
fine, locally on my computer.
But when I try to use the webapp on the (linux)server (ten-web), nothing is
saved!
What could be the problem?
Thanks for any help!
http://apache.org/xsp";
xmlns:xsl="http://www.w3.org/1999/X
Matthew,
The code generated with 2.0.1 means that session logicsheet was not applied. Please
look at 2.0.1 samples for session logicsheet usage. It might be that with 2.0.1 you
have to use "session" namespace, not "xsp-session". This bug was fixed, now (2.0.3)
you can use any namespace prefix
I did not express clearly so you partly misunderstood (the code you wondered
about was in fact in the act() method of my custom action to create and
initialize my custom non-Cocoon class) but you helped me anyway, thanks
Marcus : indeed the 2 loggers I have have the same ID (LogKitLogger@2d5534),
Hi,
I want to use ®(which is for ®) in
messages_de.xml and messages_en.xml.My messages_en.xml
is as follows:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
Hello ® Kavitha
I want the out put as Hello ® Kavitha.But Iam getting
just Hello.
If I
I solved it after restarting cocoon, it worked... Indeed I used the
SimpleFormTransformer. I also used 2 "error" tags.
- Original Message -
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 1:58 PM
Subject: Re: form validation
> On 12.S
On 12.Sep.2002 -- 03:12 PM, Barbara Post wrote:
> I just wonder whether I can do the following in my xsl :
>
> The field validation can trigger 2 types of errors :
> 1. the field is null -> show message 1
> 2. the field is not null but has wrong regex syntx -> show message 2.
>
> I just have tro
Hi Barbara,
On Thu, Sep 19, 2002 at 12:04:07PM +0200, Barbara Post wrote:
> I get a NPE. I followed :
> http://outerthought.net/wiki/Wiki.jsp?page=JavaLogging method 1.
>
> First class is a classical custom Action, which has its logger defined in
> the sitemap.
> Logging of this action works fin
On 14.Sep.2002 -- 07:17 AM, Antonio Gallardo Rivera wrote:
> This can be changed to a question: how to manipulate parameters before
> form-validation.
You can use a custom action that stores the result in a request attribute
and validate against that.
> El Sábado, 14 de Septiembre de 2002 06:56
On Thu, 19 Sep 2002 [EMAIL PROTECTED] wrote:
> well, thank you, I basically know this, but to come back to the point:
>
> I DO NOT want to learn how to make correct XHTML, what I want is, that
> Cocoon renders correct HTML.
>
> *that* is the point!
>
> any suggestions?
Sorry, I missed your in
> Once upon the time Cocoon ignored ;-)
>
yes. I have the statement:
already in my document since the beginning. it is ignored completly.
however: in my opinion, this should not matter, as this should be the task
of the serializer: and I did select the html serializer not the xht
Once upon the time Cocoon ignored ;-)
Regards,
Joerg
Emmanuil Batsis (Manos) wrote:
> [EMAIL PROTECTED] wrote:
>
>> I DO NOT want to learn how to make correct XHTML, what I want is, that
>> Cocoon renders correct HTML.
>>
>> *that* is the point!
>>
>> any suggestions?
>
>
>
> Hmmm. Well,
[EMAIL PROTECTED] wrote:
> I DO NOT want to learn how to make correct XHTML, what I want is, that
> Cocoon renders correct HTML.
>
> *that* is the point!
>
> any suggestions?
Hmmm. Well, whatever you are doing produces XML. If you are using XSLT,
try changing the output method to html:
Ma
>
> Probably because what you have there is not XHTML. You don't have a
> DOCTYPE declaration. For more information about how Mozilla chooses
> between the XHTML and HTML display modes (using MIME, DOCTYPE and file
> extentions), see [1].
>
> Your markup, is not XHTML; a namespace alone is no
Hi, I just realized that something doesn't work anymore and I have no clue
why...
and :
while this fortunately works :
Maybe because I use 2 different pipelines for cocoon://mlform and the one
where I have my test stylesheet ? Gonna solve it after lunch...
B
Just an idea, I am busy yet : use an Action and getParameterNames() method
if I remember well (look at the API docs), so that you have all the request
parameters. Then you can put sitemap parameters as you want.
HTH,
Babs
- Original Message -
From: "Erik Norvelle" <[EMAIL PROTECTED]>
To:
Problem Summary **
I cannot figure out how to use matchers to capture an arbitrary
number of request-parameters, in combination with using a wildcard
matcher to parse the structure of the request URI. I seem to be
limited to capturing only a single
I get a NPE. I followed :
http://outerthought.net/wiki/Wiki.jsp?page=JavaLogging method 1.
First class is a classical custom Action, which has its logger defined in
the sitemap.
Logging of this action works fine.
In this action I create an instance of a custom class that extends
AbstractLogEnabl
Probably because what you have there is not XHTML. You don't have a
DOCTYPE declaration. For more information about how Mozilla chooses
between the XHTML and HTML display modes (using MIME, DOCTYPE and file
extentions), see [1].
Your markup, is not XHTML; a namespace alone is not enough. AFAI
Greg Jones wrote:
> How are you creating your HTML. This looks like the issue might be in
> your .XSL file that is creating the tag. The two tags
> XHTML and HTML should work the same.
>
how could this be an issue of the XSL file??? the xsl file has to be XML
well-formed, hence you have to
It works fine if I compile my classes with JBuilder and Tomcat running, but
it says "Cocoon was not initialized" if I build my webapp with JBuilder and
Tomcat running : i.e : JBuilder copies all the jars to WEB-INF/lib again,
instead of only the classes to WEB-INF/classes.
So Tomcat messes up with
Actions were invented after XSPs, and their field / way of control is
different. Actions set visible control in the sitemap (structured here).
Look for former thread partially entitled "avoid use of xsp" or something
similar. [EMAIL PROTECTED]
So you'll see what best fits your needs...
Babs
---
Hello
I am investigating the possibility of offering multiple views to information for users
of a portal. I had imagined that this would involve some kind of 'guest cookie' being
set on the user's machine that holds the level at which the user would like to see the
information (i.e. beginner,
Hi,
I'm new in xml, xsl, ... I try to understand how to make forms with
post/get methods, ... but I begin to implicate the solutions.
1. I can make an xml, and an xsl (for the xml) to make a html form and
post it to the other html. In this case I have to insert the
row in the
sitemap, then
46 matches
Mail list logo