From: Cocoon User [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 6:56 PM
To: [EMAIL PROTECTED]
Subject: open xml in .js
i have a .xml web site
serve it using cocoon
into a .xml file i have information i want to use as data
into an .js file
using the following code
[Please, don't use HTML mails]
1) you can't use only the pipeline from cocoon (at least, you can't do it
easily), but you can use cocoon itself from an application and not a
servlet. You can use the command line environment for that or create your
own one.
2) What do you mean?
Konstantin
From: Cocoon User [mailto:[EMAIL PROTECTED]]
cocoon try to make xsl transformation
And then?
On Thu, 27 Jun 2002, Piroumian Konstantin wrote:
From: Cocoon User [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 6:56 PM
To: [EMAIL PROTECTED]
Subject: open xml
Again, please, don't use HTML mails, they are not readable for some users.
1) so you mean that if i have turbine i can't call cocoon?
I didn't say a word about turbine. That depends on the way you are going to
call Cocoon. Would you elaborate a little?
2)i mean something like: wrapping castor
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
Again, please, don't use HTML mails, they are not readable
for some users.
1) so you mean that if i have turbine i can't call cocoon?
I didn't say a word about turbine. That depends on the way
you are going to
call Cocoon
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
P.s.
- in Cocoon, does something already exist to get set sitemap
parameters from somewhere 'global' (hopefully from the init params)?
Or perhaps to/from the servlet context?
There is a new thing in CVS HEAD called InputModules. I
From: TREGAN Fabien [mailto:[EMAIL PROTECTED]]
De: Philipp Bo?em [mailto:[EMAIL PROTECTED]]
what is meant with IMHO?
In My Humble Opinion
This will help a lot:
http://www.acronymfinder.com/
-
Please check that your
From: Bruce Krautbauer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 7:02 PM
To: [EMAIL PROTECTED]
Subject: RE: negative time with Profiling on 2.1-Dev (was NPE
with Profiling on 2.1-Dev)
Hi Carsten, thanks for the fix, it works now. This is a very
nice feature!
Now
-Original Message-
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: JspGenerator Problem
I tried it but I still get the same error. What about JSP file? is it
valid JSP that returns XML? I'm not sure.
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
Nothing changed. Same error again. Can you try them in your system
for me? I want to learn is it my fault or Cocoon's fault?
If this was addressed to me, then yes, send your page.
Konstantin
__
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
I tried JSPreader but now error is much more interesting. It returns
nothing. My sitemap entry is:
Have you looked at the log? Is there any relevant information? What do you
really get: 404 error or a blank page?
map:pipeline
From: Andrei Svirida [mailto:[EMAIL PROTECTED]]
Hello Cocooners,
I have a simple problem filling the values of my form fields.
As it seems to be rather common and oft occuring problem i
hope somebody knows a solution.
Take a look at the XMLForm. It solves this kind of problems, such
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
I found out the problem. I use a subsitemap and so my files are in a
folder like Cocoon_Home/myfolder
You should have said that earlier. Seems that you've hit a known problem in
JSP(Generator | Reader).
In the subsitemap, you have to enter
From: M Al-yahya [mailto:[EMAIL PROTECTED]]
Hi Lajos,
At Last... problem solved :)
Well here's what I did :
1. I realized that I was having the same problem as you the views
should be inside the components and not after it.
views should be after components. Never heard of the
I don't have problems with the examples in 2.0.3 and Tomcat 4.0.1. They work
OOTB.
Something's wrong with your JAXP libs. Check, that you don't have one more
xml-api packages somewhere in your classpath before xml-apis.jar from
Cocoon. (A hint: check batik-**.jar).
I can check if your JSPs work
A quick question: did you use the 'installscratchpadwar' target for the
build? CastorTransformer is in the scratchpad still, so you'll need to use
this target to get it included to the webapp.
--
Konstantin Piroumian
[EMAIL PROTECTED]
-Original Message-
From: TREGAN Fabien
Something's wrong at your site.
I've just checked both 2.0.3 and 2.1 branches: JSP samples work just fine.
The only thing I can advise is try to update Cocoon to 2.0.3 and check the
well-formedness of the source XML (no need for ?xml ? header there).
My config: Win NT 4.0, JDK 1.3.1, Tomcat
The problem comes from the Batik libs that include out of date XML API
classes.
Either remove org.xml.sax.* classes and directories from batik-*.jar or get
it from CVS (2.0.3 already fixed, 2.1 will be ready in a few minutes).
--
Konstantin Piroumian
[EMAIL PROTECTED]
-Original
From: yuryx [mailto:[EMAIL PROTECTED]]
Thanx, Vadim.
And next question :)
What is the line in cocoon.xconf:
!--sitemap
class=org.apache.cocoon.components.treeprocessor.TreeProcessor
logger=sitemap/--
maybe uncomment this? (also comment sitemap check-reload=yes
file=sitemap.xmap
From: yuryx [mailto:[EMAIL PROTECTED]]
Piroumian Konstantin wrote:
From: yuryx [mailto:[EMAIL PROTECTED]]
Thanx, Vadim.
And next question :)
What is the line in cocoon.xconf:
!--sitemap
class=org.apache.cocoon.components.treeprocessor.TreeProcessor
logger=sitemap/--
maybe
must admit that things could have changed since we've discussed
the implementation details for XMLForm. I have to take a fresh look at it.
Konstantin
P.S. Sylvain, this explanation can be an answer to your first point: How
does Cocoon implement Struts' features.
Piroumian Konstantin wrote
as the validation result? In this case a selector
should be used (map:select .../) to choose the next page.
Konstantin
Piroumian Konstantin wrote:
From: Yromem.com MailingList [mailto:[EMAIL PROTECTED]]
I was thinking about a default javabeans, with N parameter :
1. where to go when the form
I have no problems in running JSP samples in Cocoon 2.1-dev, Tomcat 4.0.1.
They work out-of-box, without any jasper-compiler or xerces/xalan tweaking.
(The access URL is http://localhost:8080/cocoon/samples/jsp/).
The SAX Exception usually comes from a non well-formed source XML. Check, if
your
Folks,
The long awaited first draft of the Sitemap XML Schema is now available from
CVS (HEAD branch).
Currently, it correctly validates most of the Cocoon sitemaps (root,
samples, mod-db, portal, several samples). I've also used it to write a
sitemap in XML Spy and jEdit and I could at least
From: Jerzy Kut [mailto:[EMAIL PROTECTED]]
Sorry - of course. But it don't helps. I paste only
abbrewiated snippets
into post.
But thank You.
Trouble is located somewhere in component.xslt i think, but i don't
understand why nullpointerexception is throwed...
The stylesheet itself
Title: Message
Hi!
Thanks for sending this. I guess that this is
Portuguese?
Could you also translate this line: "Portuguese translation was made by
your-name / [your-email /]" and
the name of Portugal?
Btw,
the simple_dict_pt.xml is in the old dictionary format and it's not supported
Title: Message
Use
aggregation. Add something like this to a matcher:
...
map:aggregate element="site"
map:part
src="cocoon:/menu/main.xml"/ map:part src="cocoon:/content/{1}.xml" label="content"//map:aggregatemap:transform src="site2html.xsl"/map:serialize/
...
You should define also
Hi!
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Dear colleagues,
for developing a web application we thought about an
architecture using the
model-view-controller architecture pattern. Can somebody help
me and say
whether this is a good or bad idea?
It's not a bad idea ;)
Hi!
From: Jeremy Crosbie [mailto:[EMAIL PROTECTED]]
Setup:
Win2k, JDK1.3.1_02, Tomcat 4.0.3, Cocoon 2.0.2/Cocoon 2.1-dev
I am having a problem with the Cocoon samples that use the
JSP generator as
well as any code I write using that generator, I get a 404
error. I went
back in
Hi, Olivier!
From: Olivier Lange [mailto:[EMAIL PROTECTED]]
Konstantin
While playing with the i18n transformations, I did write a
french message
file messages_fr.xml for the i18n samples. You will find a
copy of the file
herewith, as well as an updated version of the sample files
Hi!
Is your translation for i18n samples? If yes, then could you please send me
you messages_fr.xml? I would add it to Cocoon samples.
Regards,
Konstantin
_
Konstantin Piroumian
Lead Developer
ICQ#: 2297575
* Work Tel#: +7 095 795 0520 * 1288
From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
Hi guys,
I've got into problem with internationalization with input
forms. I'm using
'UTF-8' encoding. When displaying data back from the database (Oracle)
it is not in the same encoding. This must be very stupid and annoying
this in any documentation.
It's not surprising as there is a lot of things that need documenting. But
you could find all the necessary info from javadocs.
Konstantin
Alex.
- Original Message -
From: Piroumian Konstantin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 11
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Hi colleagues,
I need the i18n transformer and tried a simple sample:
first.xml:
route xmlns:i18n=http://apache.org/cocoon/i18n/2.0;
start
i18n:translate
i18n:textStartpunkt/i18n:text
/i18n:translate
/start
It's enough to
/
map:serialize/
/map:match
Hope this helps.
Konstantin
Regards
- Volker -
-Original Message-
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 12. April 2002 11:23
To: '[EMAIL PROTECTED]'
Subject: RE: Unable to locate resource: messages (C2)
From
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Dear colleagues,
I want to switch language to en at runtime. I read the
source of the LocationAction and tried so set the
language-attribute in some different ways, but this didn't work.
Does anybody know, how I can switch the
-
-Original Message-
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 12. April 2002 13:36
To: '[EMAIL PROTECTED]'
Subject: RE: How to switch language for i18n at runtime?
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Dear colleagues,
I want
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Hi Konstantin,
I'm sorry but if I tried your solution, I got the german
translation in
every case. I did this:
map:actions
...
map:action logger=sitemap.action.locale name=locale
src=org.apache.cocoon.acting.LocaleAction
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Hi Konstantin,
I tried a request parameter called locale (as you said before):
.../Cocoon/test?locale=en
and .../Cocoon/test?locale=de
works fine, but the map:parameter name=locale-attribute
...-section can be left out (it has
-Original Message-
From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:41 PM
To: [EMAIL PROTECTED]
Subject: Cookie question
Hi,
My browser does not recieve cookie... Here is XSP piece:
xsp-cookie:create-cookies
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
2.
Use Castor's marshalling capabilities:
some-items anAttr=aVal
xsp:logic
model.marshal(this.contentHandler);
/xsp:logic
/some-items
This
Just ignore this message.
--
KP
[EMAIL PROTECTED]
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I am fighting with that problem. JSPReader already working. Now I try to
figure out what's wrong with the JSPGenerator.
The most strange thing is that the message in log says that: 'no pipeline
matched' my request. But the pipeline with the needed matcher is there and
JSPReader works from the
Hi!
What is your OS?
I am using Tomcat 4.0.1 on Win NT 4.0, JDK 1.3.1 and CVS version of Cocoon
and SVG samples work fine here.
--
Konstantin Piroumian
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:06 PM
Good evening!
It seems that I've solved the problem with JSPs. Patch will be available in
CVS tomorrow.
Regards,
Konstantin Piroumian
[EMAIL PROTECTED]
-Original Message-
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:37 PM
To: [EMAIL PROTECTED]
From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]]
Hi
I tried to send this directly to
Carsten Ziegeler, but the email was rejected
with this message:
[EMAIL PROTECTED]:
212.8.217.2 failed after I sent the message.
Remote host said: 552 Error: content rejected
and so I am
-Original Message-
From: Corey Jewett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 12:50 PM
To: [EMAIL PROTECTED]
Subject: HTML Output Issues
Rookie cocoon user. Asked this question about a week ago and got no
answer, trying to rephrase it.
I have very simple
be somewhere in the core or the sitemap. I'll take a look
at it today and hope will solve the problem.
--
Konstantin Piroumian
[EMAIL PROTECTED]
Thanks in advance,
Chiths
-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:38 AM
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Konstantin
Thanks - this works fine when the JavaScript is included in
the XSL file - does not work when the JS is a separate,
linked file, tho'.
Hm... So, what's the result? If you include a file then it must become
something like:
script
-Original Message-
From: Martin Mauri [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 5:36 PM
To: [EMAIL PROTECTED]
Subject: Re: XSL question
Dear Alexandre,
Yes, I already know how to use params, but the point here is
that I need to
pass the param from an outside
Title: Message
Hi
From: M. Reck
[mailto:[EMAIL PROTECTED]] Sent: Friday, March 22,
2002 12:29 AMTo: [EMAIL PROTECTED]Subject:
i18n questionsHi all,
I am trying to develop a multilingual site by use of
the i18n-Transformer.
But some questions arise:
1. Is it possible
-Original Message-
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
Hello Peter,
Interestingly there are no errors in the core.log., whatsoever...
There are no errors in error.log
The only error was in sitemap.log***
Does Cocoon JSP samples work? Try to use JSPReader to see
Why not to use RequestDispatcher's include? Opening a new URL connection for
every include on a page is performance overhead.
Do you have separate web application contexts for Struts and Cocoon? If yes,
then URL connection is the only way, but if you place Cocoon in the same
webapp context and
Title: Message
You can setup 3 different
serializers one for every encoding and then use a selector in sitemap to choose
the needed one.
--Konstantin Piroumian[EMAIL PROTECTED]
-Original Message-From: Arun.N
[mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:15
From: Peter Wieland [mailto:[EMAIL PROTECTED]]
Hi,
snip/
But this will not be the final state and I think I will try out java
variables. But: on the cocoon site I found about variables
* Even when using enclosing braces around the xsp:logic
section, there's
always the risk that
-Original Message-
From: Stefano Bonnin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 1:21 PM
To: [EMAIL PROTECTED]
Subject: Question about Static Variables
Hi,
I'd like to know the answer at the following question:
how can I define (with Cocoon) a Static
-Original Message-
From: Sylvain Wallez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Running Cocoon on non-compliant servlet engines
Hi folks,
The project I'm currently working on requires Cocoon to run
From: Peter Wieland [mailto:[EMAIL PROTECTED]]
Hi,
I'm trying for one day to get a logicsheet to do some work
for me. I want to print out a drop down menu with values from
a database and the format speciefied in my xsp source.
here is the relevant part of the xsp-page (test.xsp)
-Original Message-
From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 12:37 AM
To: cocoon-users
Subject: XSP Question
Hi Folks
I have taken Konstantin Piroumian's
sample logic sheet ie db.xsp and I am trying
to modify it so that I could
-Original Message-
From: Je vous site [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: XSP Questions
hello,
I try to learn about Xsp, so I read the example.
I have this fragment
xsp:page language=java
From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]]
Hi
I understand that db.xsl has to be modified,
but my problem is that I am not able to set any
attribute values for the db:employees tag.
In this case I am trying to set the
attribute start to some value or default of 0
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 7:54 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [HELP]Exception JspGenerator.generate()
Description:org.apache.cocoon.ProcessingException: Exception
skipped/
Is serializer serialized request also? (this stupid question may be...)
Do you need to set encoding on the coming request? This can be done with
an
action.
Yes, in action or use form-encoding attribute (in XSP page with use
xsp-request: logicsheet),or use manual encoding
Hi!
I have a small tutorial on logicsheet creation. It consists of
2 simple logicsheets and step-by-step instructions on how to create and install
them in C2. Feel free to place it on your site if you think it'll be
useful.
Regards,
Konstantin Piroumian
- Original Message -
Hi!
My name is mariano from
argentina. I just want to ask yuo a question. are good at cocoon? I have
installed and the problem i have is even when i see the directory with the
file when i click a page i see only xml tags but not a page at normal
"way".
This usually means
On Mon, 11 Mar 2002 18:32:26 +0300
yuryx [EMAIL PROTECTED] wrote:
Vadim Gritsenko wrote:
RTFM
http://xml.apache.org/cocoon/userdocs/xsp/request.html:
8
8
Vadim
Thanx for you help, Vadim, but I
Piroumian, Konstantin wrote:
On Mon, 11 Mar 2002 18:32:26 +0300
yuryx [EMAIL PROTECTED] wrote:
Vadim Gritsenko wrote:
RTFM
http://xml.apache.org/cocoon/userdocs/xsp/request.html:
8
8
Vadim
Thanx
Hello cocoon-users,
Can anybody tell be any way to solve a problem with help of Cocoon -
I want to use Cocoon as base for View level in Web-application. Now
I use Struts as MVC framework but JSP is not the best choice to
create and support web-resource. Is there any way to use
Lai, Harry wrote:
Hi Yury,
Within the act method, you can access the cocoon ServletContext via the
objectModel parameter. Just use the constants in
org.apache.cocoon.Constants. For example:
Context cocoonServContext = (Context)
objectModel.get(Constants.CONTEXT_OBJECT);
Note
From: yuryx [mailto:[EMAIL PROTECTED]]
Thanx for ideas ,Vadim.
But I can't undestand how declare JSP encoding.
Try to read JSP specification.
The correct declaration is:
%@ page language=java import=java.text.SimpleDateFormat,java.util.*
pageEncoding=KOI8-R%?xml version='1.0'
From: yuryx [mailto:[EMAIL PROTECTED]]
Hi all!
My JSPGenerator or jasper-compiler don't supported KOI8-R charset
encoding. What is me do?
Use UTF-8 or Win-1251 which are (IIRC) supported.
KOI8-R is supported too. I've just checked.
Vadim
Instructions llike
?xml
Is it the problem of JSPGenerator or maybe this happens during
transformation or serialization? Try to remove the transformer from the
pipeline or replace JSPGenerator with FileGenerator and use static content
in KOI8-r to find out what is the cause of the problem.
Regards,
Konstantin
To: [EMAIL PROTECTED]
Subject: Re: JSPGenerator encoding problem
Without transformation I have
page
content
paraETH;Ograve;Eacute;times;Aring;Ocirc;!/para
/content
/page
Problem with generation, I know...
Piroumian, Konstantin wrote:
Is it the problem of JSPGenerator or maybe this happens
I checked the SAX API (looking at
http://www.saxproject.org/?selected=quickstart ) and it explicitly
says that 'a SAX driver is free to chunk the character data any way it
wants, so you cannot count on all of the character data content of an
element arriving in a single characters event'
Hi!
For locale selection use LocaleAction like this:
map:action name=locale
logger=sitemap.action.locale
src=org.apache.cocoon.acting.LocaleAction
/
...
!-- Btw, does this matcher work for you? You are matching exactly the
'file' and won't have {1} parameter --
map:match
Please,use plain text format for your
messages.
- Original Message -
From:
Chitharanjan
Das
To: [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 2:50
AM
Subject: Cocoon 2 and i18n
Hello,
My env
is
Platform
Win2K
Cocoon
2.0
I'm having some problems with the i18n transf. of Cocoon 2.0.1 (worked
fine with 2.0)
I have an XML file with an elementi like
titlei18n:textscelta viaggio/i18n:text/title
and the corrisponding messages_it.xml containing
message key=scelta viaggioScelta del viaggio/message
the sitemap
Hi!
What is your configuration? Platform, servlet engine, etc.
Regards,
Konstantin Piroumian
hey !
My Problem :
I want to render a JSP (Struts Tags) with cocoon !
Everything works fine !
1. A servlet arrange the data an puts the beans to the request.
2. forward to the coocoon
is not very helpful.
Any help would be appreciated!
Thanks!
--
Matt Ho
Principal
Indigo Egg, Inc.
Providing VoiceXML Professional Services
-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 12:51 AM
To: [EMAIL
and regards,
Ulli
-Ursprüngliche Nachricht-
Von: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. Dezember 2001 17:39
An: [EMAIL PROTECTED]
Betreff: Re: Coconn-EJB application build
Hi,
I'm migrating from Tomcat/Jboss to Cocoon2/Tomcat/Jboss and need some data
Hi,
I'm migrating from Tomcat/Jboss to Cocoon2/Tomcat/Jboss and need some data
on how the packaged application would look like.
Currently the app.ear consists of:
app.war
appEjb.jar
application.xml
sun-j2ee-ri.xml
Manifest.mf
Now I'm wondering what has to be included in cocoon.war?
For a more flexible flow control you can use selectors:
http://xml.apache.org/cocoon2/userdocs/selectors/selectors.html
Personally, I don't like selectors' syntax and prefer the Struts's version
of flow control:
action name=logon ...
forward name=success path=welcome.jsp /
forward
Dear All
Is it possible to get Cocoon 1.x to output plain text to a web browser
using
an XSL stylesheet? I find that unless the resulting document is valid XML
(which plain text isn't) Cocoon gives an error.
As I remember, you should use a fake root element, which will be stripped
from the
I'm not sure, but maybe this can be achieved by using XML entity references.
See this message from Struts mail list for an example:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13216.html
regards,
Konstantin
While I was rewriting my sitemap file today, I noticed how much
Cocoon uses its own session class: org.apache.cocoon.environment.Session, so
you should simply use it exactly as if you were using the
javax.servlet.http.Session. Remove javax.servlet.http.* from imports and
everything must work (as I remember Cocoon's session class is imported
already)
Regards,
Btw, i18n transformer documentation is out-of-date in the part of working
with dictionaries. The dictionary format was changed in C2.1-dev and changes
has been ported to C2.0 too, but the document remained the old one. As I
remember, in C2.1 documentation had been updated too, but now it seems
This can be implemented as a logicsheet and you'll forget about pure Java in
your XSPs and have much clear XSP pages. More over, if you develop a
transformer for this then you'll be able to apply it even to pure XML files.
This way a logicsheet can be used:
?xml version=1.0 encoding=ISO-8859-1?
This is done to allow Cocoon 2 to run in any environment and not only
servlet container. C2 can be used also in any other environment, e.g.:
command line (this one is implemented), EJB (this one is possible, although
I've never heard of implementations).
Regards,
Konstantin Piroumain
-
Simply use an "action" to do your calculations then return the
result to the sitemap:
match pattern="*.xml"
generate src=""
/
act
type="select-stylesheet"
transform
src="" / !-- You should place a value into the
returning Map returned by your action at 'style-sheet' key --
/act
Hi!
I think, that the problem comes from the build process. I suspect, that you
have hsqldb.jar and maybeupload.jar in your xml-cocoon/lib directory and
this causes the build process to use some specific classes to build the
core.
Try to make clean rebuild of C2 (with removed hsqldb.jar,
The answer is: use request attributes for that. Request params are immutable
by Servlet specification and you should use request attributes for such
things. Change your XSP page to use attributes and everything will be fine.
There is another - in my opinion a hacky way - of passing params: you
Hello,
I would like someone to help me to resolve a simple problem :
I've got a few xml files... page_X.xml
all page_X.xml are transformed using pages.xsl
In pages.xsl, I would like to add a href=edit.xspEDIT ME!/a only
if request.getSession().getAttribute(editable) equals 1 ..
how
Hi!
Hello cocoon-users,
Hi I'm trying to use Cocoon2 inside an ejb (The esql taglib) in
cocoon1 I used the SQLProcessor. Any hints on how I might do this?
I've got a string (or reader) that has the XML but I'm not sure how
to procede with Cocoon2.
No HTTPRequests or anything
Hello Judith,
In the latest developer snapshot, Konstantin introduced a new format for
the dictionary files. They now look as follows:
Just a correction: new dictionary support was developed by Marcus Crafter.
catalogue xml:lang=en
message key=some keyTranslated Text/message
Their is not jasper.jar in Tomcat 4.0-b7 or -b8, but their is a
jasper-compiler.jar. Copying jasper-compiler.jar to cocoon/WEB-INF/lib
works.
Is this a Tomcat or Cocoon problem?
I think, this is no a problem, but a feature of Tomcats (at least 3.3 and
4.0). See 'readme' files in lib/common
and I hope everything
will work. I couldn't get runnng JSP sample without it in Tomcat 4.0b6.
Paul Spencer
Piroumian, Konstantin wrote:
Their is not jasper.jar in Tomcat 4.0-b7 or -b8, but their is a
jasper-compiler.jar. Copying jasper-compiler.jar to
cocoon/WEB-INF/lib
works
Oops, wrong list. It was for cocoon-dev.
Hi, C2ers!
I'm still trying to understand how source resolver works with different
types of paths and protocols.
Can anybody please point me to some kind of documentation about the path
resolution? I can't figure out why
Why you don't want to use request attributes? They are the right place of
holding this kind of information and passing between different processing
layers: actions, pages, etc.
- Original Message -
From: Chris Newland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September
.
Other solution can be creating a new request with new parameters, but it's
not a good way.
kot
Thanks for your patience,
Chris
-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: 05 September 2001 10:43
To: [EMAIL PROTECTED]
Subject: Re: C2: Action
Hi.,
Is internationalization in c2 just substituting or
more than that.. Sorry for putting the question that
way, 'coz i donno anything about i18n. Just started to
look into..
And also is there a kinda editor tool for authering
such i18n xml docs?..
For more info about i18n see
101 - 200 of 222 matches
Mail list logo