Hello!
Is it posible to get session attributes in an XSL?
My goal, is to customize a menu depending on the role attribute store in
the session.
Now I'm using a stylesheet with xsl:apply-templates
select=document('../menu.xml')/ to get the menu configuration.
So, in order to customize this file,
On Sun, Feb 16, 2003 at 09:32:16PM -0600, Sean McKaharay wrote:
I found the website that talked about building Cocoon so it will work with
eclipse, but the parameters don't work. I try to do build eclipse-project
but it says that eclipse-project is not a good parameter. Does anyone have
any
-Original Message-
From: Xavier RODRIGUEZ [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 8:59 AM
To: [EMAIL PROTECTED]
Subject: How to get session attributes in XSL
Is it posible to get session attributes in an XSL?
The short answer is yes.
The long answer is:
There
On 15.Feb.2003 -- 01:44 AM, Andre Taube wrote:
Any pointers on how to convert a date before it's inserted into MySQL
database while using cocoon's Modular Database Action?
I tried
value name=start_date type=date
mode name=attribute
Hi@all
Can anyone tell me how to
debug cocoon und get the debugging information generated? I am using cocoon2 on
Win.XP with JDK1.4..
Many thanks,
Halgurt
-
Please check that your question has not already
I generate file from a form and I need to use cocoon-reload parameter, I
don't know why but I had to.
To use it I'm doing, from my xsl file.
...
form method=post target=_top
action=../ixiarequest?cocoon-reload=true
...
Is there another way to use it without passing it in the URL.
let me quote a comment from the virgin cocoon sitemap:
quote
Since this is important, let me repeat it: Selectors are executed
during pipeline setup.
/quote
the same goes for matchers and actions.
what this means is that the RequestAttributeSelector is done before your
generation step in
On 14.Feb.2003 -- 02:07 PM, Josema Alonso wrote:
snip/
In this how-to I explored new ways of storing the form model. This new way
the XML model is stored in a file in the system with an empty structure.
Then it is loaded into a JXPath Container and manipulated from there. The
getFormModel()
Hi all
Due to heavy demand for the little piece of software developed by other,
and amputated to run under Cocoon 2.0.4 by me ;-) I hereby post it to the
mailing list.
I tried posting the binary and the source code - but due to limits on
filesize I can only send one of them :-(
It's been a
in the
page you want to debug , dont forget to add the namespace :
xmlns:log=http://apache.org/xsp/log/2.0
then you can use :
log:debugThis is debug Line 1
/log:debug
and for codes :
xsp:logic
int i= 4;
getLogger()debug("This variable is : "+i); (for
example)
/xsp:logic
and in
the
Hi!
I use someJSP for the xml-data
generation.
These JSPs import some java classes for query a
database, and so on...
These classes are used ONLY in the
JSPs.
Where I have to put these java classes on the
cocoon context??
In the folder cocoon/WEB-INF?
Or somewhere inside the cocoon/myApp
And
can you tel me please where can I read the generated
information? I did what you told me
-Ursprüngliche Nachricht-
Von: Hong Gia Dinh
[mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. Februar 2003
10:51
An: [EMAIL PROTECTED]
Betreff: RE: Debug
in the
page you want to
Hi,
I have installed cocoon-2.0.4-vm14 under jboss-3.0.4_tomcat-4.1.12 under
W2K, J2SE 1.4.1_01
I have put the java classes xalan-2.3.1.jar, xercesImpl-2.0.0.jar,
xml-apis.jar from Cocoon's WEB-INF\lib in
jre\lib\endorsed form J2SE.
I have removed crimson.jar and jaxp.jar from
Hi
Currently, cocoon doesn't seem to work under weblogic 7 etc. due to problem
of jsp handling... from cocoon to app servers' jspengine except tomcat (see
other threads by doing a search on weblogic and jsp).
I am wondering if it is possible to ship cocoon with jasper jsp compiler
together so
Hello,
I have some additional information concerning my ResourceReader problem. I found that
the ResourceReader sends its HTTP GET twice (as already described) because the URL
defined in the sitemap is called twice:
DEBUG (2003-02-17) 10:29.44:357 [sitemap]
Tried that as well to workaround the problem with weblogic jsp engine .
however, that way does not seem to be straightforward either. There seem to
be conflicts between the weblogic internal classloader and jasper
(classloader exceptions when trying to use jasper as jsp engine). Have not
Hello,
meanwhile I traced also the HTTP traffic between browser and cocoon and recognized
that surprisingly - at least for me - even there the HTTP GET request was sent twice.
So, it must be an IE problem.
Regards,
Elmar
-Ursprüngliche Nachricht-
Von: Sternath Elmar [mailto:[EMAIL
I have a DatabaseAction with the followed descriptor
?xml version=1.0?
tabelle
connectionline_db/connection
table name=t_news
keys
key param=numprg dbcol=numprg type=int mode=manual/
/keys
values
On 17.Feb.2003 -- 03:31 PM, Marco Taiuti wrote:
I have a DatabaseAction with the followed descriptor
?xml version=1.0?
tabelle
connectionline_db/connection
table name=t_news
keys
key param=numprg dbcol=numprg type=int mode=manual/
I am also facing the same problem...I am having
classcast exception while trying to load some class..
No solutions available yet..Please help somebody !!
GB
--- Schaper, Christoph [EMAIL PROTECTED]
wrote:
Tried that as well to workaround the problem with
weblogic jsp engine .
however, that
I don't know what the 'ixiarequest' maps to in your pipeline, but maybe
there's a problem with that component (generator, I uess?). otherwise I
can't directly see the sense of needing cocoon to reload.
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
hi
nesto,
that
IllegalStateException is a current cocoon bug (should by now be resolved in
cocoon-2.0.5-dev and 2.1). cocoon is trying to notify an error, i.e. the one you
are searching for. please have a look at your logs to see what the actual error
is. if the cocoon logs don't reveal
Hello!
I'm trying to understand the command-line interface of Cocoon -
unfortunately without much success so far.
The Cocoon version I'm using is 2.0.4. Where do I find the java.class
that starts the CLI? Do I have to download anything?
Is it correct that once the class has started I type in:
The CLI is part of the cocoon.jar, so is contained in your cocoon version.
You call it by:
BUT, it doesn't work. Noone who ever asked this list for help on the cli
received a helpful answer. The reason to my opinion is not a lack of
cooperation, but the lack of experience with the cli and the
I'd like to know which objects and files and parsed during the
initialization (in a very detailed way)
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi again,
I've got yet another question to do with HSQLDB which I have never used.
Reading Cocoon: Building XML Applications I've come across an HSQLDB
example (p. 176) which works fine but I wonder why.
I'm calling
sql:use-connectionpersonnel/sql:use-connection
With some queries id, name
If you want details on using the command line interface, check out the Wiki page:
http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine
It is mostly there and should get you going. If you have any problems with it, let me
know and I'll see if I can help you through.
Regards, Upayavira
Hello!
If you want details on using the command line interface, check out the Wiki page:
http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine
It is mostly there and should get you going. If you have any problems with it, let me
know and I'll see if I can help you through.
Regards, Upayavira
Hello!
If you want details on using the command line interface, check out the Wiki page:
http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine
It is mostly there and should get you going. If you have any problems with it, let me
know and I'll see if I can help you through.
Regards, Upayavira
Hello!
If you want details on using the command line interface, check out the Wiki page:
http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine
It is mostly there and should get you going. If you have any problems with it, let me
know and I'll see if I can help you through.
Regards, Upayavira
Hello!
Hello, Chris.
I wonder if it would be easier and cleaner to have different actions
depending on the model (e.g. bean / dom) like you demonstrate on the
wiki page or at least two different parameters for specifying the
model. Automagic is fine but hiding the information whether it is a
class
On Monday, February 17, 2003, at 04:55 PM, Ines Robbers wrote:
Hi again,
I've got yet another question to do with HSQLDB which I have never
used.
Reading Cocoon: Building XML Applications I've come across an HSQLDB
example (p. 176) which works fine but I wonder why.
I'm calling
Hi everybody,
i'm quite new to Cocoon and i'm wondering if it's possible to replace
the xerces version with a newer one without breaking anything inside of
Cocoon 2.0.4.
thanks in advance
Joern Turner
-
Please check that
Hi list-
Just wondering if there was a quicker way to get the 'build run' target to
start Cocoon faster without having to go through the entire build process
whenever I need to restart Jetty.
Regards,
Tony
-
Please check that
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your
Tony,
If you're using Windows, you can use the batch file I've attached. Otherwise, you
can try Pier's Unix script at:
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=104337896731869w=2
Hope that helps.
This assumes tthat you're trying to run 2.1, which has Jetty included.
Regards, Upayavira
Josema Alonso wrote:
I wonder if it would be easier and cleaner to have different actions
depending on the model (e.g. bean / dom) like you demonstrate on the
wiki page or at least two different parameters for specifying the
model. Automagic is fine but hiding the information whether it is a
Is the cocoon tutorial under apache licence?
In other words, can I reuse part of the tutorial like the apache
presentation features (apache.xsl for example) for one of my project??
Thanks!
Xavier
-
Please check that your
Title: RE: extending XMLForms for different kinds of models...opinions?
Ivelin
The
W3C's candidate recommendation for xforms defines both:
1. a
element named 'model' enabling one to bind an object to a named model in the
form
2. a
common attribute named 'model' enabling one to choose
Christian Haul dijo:
On 17.Feb.2003 -- 03:31 PM, Marco Taiuti wrote:
I have a DatabaseAction with the followed descriptor
?xml version=1.0?
tabelle
connectionline_db/connection
table name=t_news
keys
key param=numprg dbcol=numprg type=int
On Mon, 17 Feb 2003, Upayavira wrote:
Tony,
If you're using Windows, you can use the batch file I've attached. Otherwise, you
can try Pier's Unix script at:
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=104337896731869w=2
Hope that helps.
This assumes tthat you're trying to run 2.1,
I'm running Cocoon 2.0.4 on Tomcat 4.1.12 on Apache 1.3.6 on UNIX but I'm
developing with 2.0.4 on Tomcat on Apache 2.
I figured I'd develop and test on my own machine and then copy the files
over. The sysadmin has kindly cloned the production instance of Cocoon (
just by copying the folder)
hallo
at first sorry for the long code
second, has anyone an idea how to make a sum of i.e. the node jahr_2000 in
the node gl_3_4020010
thanks
gerald
gl_2_402
gl_2_bezII.. S a c h a n l a g e n/gl_2_bez
II.
Tastes differ and both have their use. I'd like to second Sylvain on this.
Regarding Sylvain's opinion, please forgive me on this cause it seems I lost
the thread somewhere, but I guess you're talking about this:
snip
Sylvain Wallez wrote:
This is a good idea when you need to use the
I would really suggest going back and finding the solution to the problem
that made cocoon-reload necessary. That causes the entire cocoon instance
to be destroyed and reloaded - reading all configuration from files on
disk, re-initializing all components, etc. It is going to be a very big
The new implementation for esql:skip-rows and esql:max-rows
in
src/java/org/apache/cocoon/components/language/markup/xsp/AbstractEsqlConnection.java
is pretty neat, especially for oracle.
1) Unfortunately, Sybase Adaptive Server Enterprise does not support select TOP,
only Sybase Adaptive
normally in sitemap.log in the Web-inf/log directory(if you dont
define the logfile in the sitemap)or
inlogfile.log you declare in the sitemap.xmap .
-Original Message-From: Mustafa Ali, Halgurt
[mailto:[EMAIL PROTECTED]]Sent: 17 February 2003
18:01To: [EMAIL PROTECTED]Subject: AW:
then you should definitely have a look at the source code ;-)
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
Auftrag von Lionel Crine
Gesendet: Montag, 17. Februar 2003 17:54
An: [EMAIL PROTECTED]
Betreff: What does cocoon-reload initialized
I'd
Thanks, that's exactly what I need. However, my date is in MM/dd/
format, how could I pass a format string to the DateMetaInputModule? API
says: Configuration options: child element input-module holds InputModule
to obtain the string from, attribute format to input-module that holds a
Hi,
I wonder how to do redirection using Cocoon like this:
http://mail1.plasa.com/Redirect/xml.apache.org/cocoon/faq/index.html
Of course, I have to map the Redirect. However, what
objects should I use for the redirection? I want to create
a redirection for the internal sites (still in the
Hi all!
Can anyone sent me any differents between the XT and XSLT transformation (or path to
doc resource)
Thanks.
--
Best regards,
Yury Mikhienko.
IT engineer, ZAO Mobicom-Kavkaz
-
Please check that your question has not
Are you refering to something specific?
As far as I know XT *is a* XSLT processor. http://www.blnz.com/xt/index.html
I don't know if there is any XT, which can be compared to XSLT, and I
don't think so.
Joerg
Yury Mikhienko wrote:
Hi all!
Can anyone sent me any differents between the XT and
52 matches
Mail list logo