The page under the following URL:
http://xml.apache.org/cocoon2/logicsheet-sessions.html
is still having the old namespaces for the xsp,
session, etc.
How can we change this?
TIA
Drasko
__
Do You Yahoo!?
Make international calls for as low as $.04/
Jeremy Crosbie wrote:
>
> The xml-announce list already appears to handle the Cocoon announcements.
I see, thanks for the info.
Ulrich
--
Ulrich Mayring
DENIC eG, Systementwicklung
-
Please check that your question has not a
Hi,
I try to get xml from my DB (MySQL), here is my piece of code :
SELECT piano from TFiche where
IdFiche=
node is a child of so I have /page/sebas
here is the piece of xml in my DB :
#B1DFB0#A4D1FF
When I try to apply a template in my XSL stylesheet, it does not apply
the te
hi Sébastien,
>
> Hello
u should use match not name
hope it helps,
hubert
---
Ausgehende Mail ist zertifiziert virenfrei.
Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).
Version: 6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 2001-07-18
--
Hi,
can someone please exlpain how to use the and
attributes?
mypool
select d.docid, d.title, d.author, h.date, h.histid from doc as d, history
as h
where h.docid = d.docid and d.docid != 0 and noAdmin
h.histid = (select max(h2.histid) from history as h2 where h2.docid =
d.docid) order by O
Oups !!!
I had a template name because of the need of a and I
didn't see it !
Thanks again
Sébastien
>hi Sébastien,
>
>>
>>Hello
>>
>
>u should use match not name
>
>hope it helps,
>hubert
>
>
>
>---
>Ausgehende Mail ist zertifiziert virenfrei.
>Uberpruft durch AVG Antivirus System (http:
Hi,
after hours of debugging (trying to figure out the fault that causes "cannot
output text before element" or something equally useful error info.), I
moved my files to another folder.
I had:
welcome/welcome.xml
welcome/welcome-html.xsl
and changed to:
startpage/welcome.xml
startpage/welcom
Hello Wes,
did you solve your problem? I also have my problem with this function,
equal to relative/absolute path and so on, it seems to me, that the
document()-function doesn't work.
Best proof:
I won't get my .. in the output-document, if it is
written after the . And I don't
Hello again,
I need some help with the session-logicsheet.
I try to set an attribute in a session
but I get always a compilation error.
Here is my xsp:
http://apache.org/xsp";
xmlns:session="http://apache.org/xsp/session/2.0";
>
apple
I create a session, try to set an attribute
On a contrary.
:)
Regards,
Vadim
> -Original Message-
> From: Madock Chiwenda [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 12:58 AM
> To: [EMAIL PROTECTED]
> Subject: message is null
>
>
> Hi
>
> I am testing Cocoon2 on Tomcat 3.2.2. On using "Manage Employee" Sample
Try
"apple"
Vadim
> -Original Message-
> From: Enke Michael [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: Need help with session:set-attribute
>
>
> Hello again,
> I need some help with the session-logicsheet.
> I try to set an
would anybody know how to get the session object in
C2?
I would need to pass it to some java methods :-(
--- Vadim Gritsenko <[EMAIL PROTECTED]> wrote:
> Try
>
name="fruit">"apple"
>
> Vadim
>
> > -Original Message-
> > From: Enke Michael
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesda
Hi All,
I'm trying to add a map:match to my sitemap to fetch images but they are not
fetched (my fault, Cocoon2 is working great)
Location of my files:
tomcat/webapps/cocoon/docs/samples/pages/my_page.xsp
tomcat/webapps/cocoon/docs/samples/images/my_image.jpg
tomcat/webapps/cocoon/stylesheets/m
How about copying the existing one into the Cocoon 1 documentation before
changing it? It would also be nice for the original Request logicsheet
docs to be copied into the Cocoon 1 docs (they were originally for Cocoon
1, too). There are still a lot of folks working with Cocoon 1 and asking
que
Ok, if I do this, I get also an error.
Now there is the semicolon missing!
The java file looks like:
...
XSPObjectHelper.xspExpr(contentHandler,
XSPRequestHelper.getSessionId(objectModel));
this.contentHandler.endElement("", "session-id", "session-id");
IMHO,
Your configuration seems right. I bet that using
/images/my_image.jpg
will give you the image.
But the tag that is in your page should be
After all, the URL of the page is
/pages/my_page.html,
right?
Hope this helps.
- Original Message -
From: "Chris Newland" <[EMAIL PROTECT
Hi.,
The debug "guru" of cocoon2 is the log..As you might
already know, everything(well almose) the passes thru
cocoon2 is logged..
So check the log bottom up would give u idea of
whats going on with ur jpg's..
good luck
--- Chris Newland <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying
If you are getting nothing back when you use the document() function, make
sure the file you are opening with document() is valid XML. I found out
the hard way that document() fails silently (at least in Cocoon 1.8.2) when
the XML is bad. Try opening the XML document in IE or something like tha
Chris,
Try with a single star in map:match, like in:
Best regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
+39 0744 59 85 1 Office
+39 0335 681 02
Chris,
Access "images/my_image.jpg" from the browser and look into cocoon.log file.
(you may want to delete existing cocoon.log - if any - before this)
Vadim
> -Original Message-
> From: Chris Newland [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 10:10 AM
> To: Cocoon-Us
There shouldn't be any issues with folder naming; I use this pattern all
the time. I believe the particular error you mention occurs when you try
to put text in the output at the root level (e.g., not inside an enclosing
element). For example,
Hello, World!
...
-Christopher
Please r
Hi everyone... i am new in Cocoon please sorry for my stupid questions
I'll ask here...
I need a simple user authentication mode, then I am writing my code
around the 'protected area' web application in Cocoon 2.
The only change I need to do is setting a cookie with username and
password to the
Enke,
Check session.xsl in cocoon.jar:
XSPRequestHelper.setSessionAttribute(objectModel,
String.valueOf(),
);
Note: there is ";" after setSessionAttribute. If your copy does not have one - it's
time to upgrade.
Vadim
> -Original Message---
What URL produces
?
If it's "pages/test.xsp" the link has to be "../images/my_image.jsp" ...
-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 22. August 2001 16:30
An: [EMAIL PROTECTED]
Betreff: RE: C2: can't match images in sitemap
Chris,
Thanks everyone,
Accessing the images directly works fine and so does prefixing the url with
../ (path back to webapp root) but my understanding was that the sitemap
provided a total abstraction between the url fetched by the browser
"images/my_image.jpg" and the actual file on disk.
Prefixing m
Kevin,
there are many ways of doing what you want to do, outside of modifying your
code as has already been suggested.
You can generate Cocoon processing instructions dynamically in your XML,
using the tag (see http://xml.apache.org/cocoon/xsp.html for
instructions on this.) You can also chai
> -Original Message-
> From: Chris Newland [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: RE: can't match images in sitemap
>
>
> Thanks everyone,
>
> Accessing the images directly works fine and so does prefixing the url with
>
Yes.,
there is abstraction between the url and actual
location of the files on the disk...But from my
understanding what the situation is..
1. If you have sent over html to browser with image
link as "/images/image1.jpg" and that html url is
"http://localhost:8080/cocoon/welcome";..
2. When th
Hi Christopher,
thanks for your reply, but it must be another problem. I tested the
stylesheet with all the XML-files on the commandline with Ant/Xalan and
without Cocoon - it works fine. But I want to use Cocoon for doing this
transformation on the fly.
For the document()-function I have a q
If you have all your images in one directory (%context%/images) then you can
use this:
This will redirect all requests like:
docs/samples/pages/images/img.jpg <-- this is what you get with your src
attribute
to %context%/images
This is not a good solution, but it works and you can use
Ok, thanks all, this is much clearer now.
btw, is there any way to remove "cocoon" from the URL, I guess this is a
tomcat configuration issue so I'll have a look in there first.
thanks,
Chris
> -Original Message-
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: 22 August 2001 16:08
Ok, thanks for the tip.
The problem was the timestamp on the session.xsl
soo the build.sh didn't recognize that src/.../session.xsl
was newer than build/cocoon/src/.../session.xsl
which had no ";"
Michael
Vadim Gritsenko wrote:
>
> Enke,
>
> Check session.xsl in cocoon.jar:
>
>
>
Chris,
there is a FAQ entry on this at the Cocoon2 site (it works only on Apache,
though...).
Best regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
+39 0744 59 85 1 Office
I have troubles with C2
My build is succesfull but I cant launch the
servlet.
When I go to http://localhost:8080/cocoon/, I see
the following page :
Please help,
Olivier
Cocoon 2 - Internal server error
type
internal-server-error
message
The sitemap handler's sitemap is not avai
Hello,
I'm currently evaluating Cocoon 2 for the next version of our site (we
deployed with Cocoon 1.8 earlier this year). I spent a couple of days
porting the old application to Cocoon 2 as a test, and I've run into a few
issues that I'm hoping you can help me sort out. Some of these things m
Hi!
Everywhere in the Cocoon docs I lern that
it is the best to separate the content from the logic. Ok.
Now I want to generate a Menuestructure from database
entries in the way a filebrowser works, expand an entry on mouseclick,
on the second mouseclick collapse them (html links).
My first gues
In
your web.xml file change init-param value to the path that points to where your
cocoon.properties file located at.
web.xml
-
properties
web-inf/conf/cocoon.properties
.
..
Cihan
-Original Message-From: Ekrem Aksoy
[mailto:[EMAI
On Wed, Aug 22, 2001 at 11:07:14AM +0200, Olivier Pineau wrote:
> I have troubles with C2
>
> My build is succesfull but I cant launch the servlet.
>
> When I go to http://localhost:8080/cocoon/, I see the following page :
>
> message The sitemap handler's sitemap is not available. Please check
FYI,
I'm developing with Cocoon 2.0 b2 with Tomcat 3.2.3 (default web server)
running on Windows NT 4.0.
Kito D. Mann
Chief Architect
[EMAIL PROTECTED]
Grow.Net
At 11:58 AM 8/22/01 -0400, you wrote:
>Hello,
>
>I'm currently e
Hi,
I'm one step further!! The problem: I looked in the wrong logfile. In the
logfile for Tomcat there is written nearly the same as for Cocoon, but no
errors ;-)
Now I could change the link to the called XML-file. But there is still a
problem:
javax.xml.transform.TransformerException: Can no
Hi, I have a very standard pipeline for my project. The file
"oversikten.xml" is filtered through the stylesheet
"oversikten.xsl" which uses parameters sent to it to filter/rearrange the
output.
Karl Øie wrote:
>
> Hi, I have a very standard pipeline for my project. The file
> "oversikten.xml" is filtered through the stylesheet
> "oversikten.xsl" which uses parameters sent to it to filter/rearrange the
> output.
>
>
>
>
>
Yes, I solved the problem. I hadn't realized that the path needed to be
relative to the stylesheet (kind of a no-brainer in retrospect).
Wes Morgan
Jörg Heinicke wrote:
> Hello Wes,
>
> did you solve your problem? I also have my problem with this function,
> equal to relative/absolute path an
Hi
Olivier
I'm
having the exact same problem. I'll let you know if and when I solve
it...
Gotta
check out the sitemap.xmap and Jdbc.Connection
-Original Message-From: Olivier Pineau
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 22,
2001 5:07 PMTo: [EMAIL PROTECTED]
Hi,
> Now I want to generate a Menuestructure from database
> entries in the way a filebrowser works, expand an entry on mouseclick,
> on the second mouseclick collapse them (html links).
> My first guess was to use nested select statements
> to only get those entries I want to show (expanded or
Hi all,
According to the conclusions of the cocoon-dev thread "Why does Action
implement ThreadSafe ?", ThreadSafe implementation has been removed from
Action and added to all non abstract existing implementations.
This means that :
- you should update your existing actions so that they imple
46 matches
Mail list logo