Is there a way to specify date format other then configuring in cocoon.conf ?
Say, if i need date in formats and MM - should i specify 2
module instances with different config ?
--
qMax
-
To unsubscribe, e-mail: [EMAIL
I want to set up my pipelines with final stage page-html-format
called from resource:
map:pipeline
map:match
map:generate ... /
map:transform ... /
map:call resource name=format-page.html/
/map:match
/map:pipeline
But this format-page.html should aggregate various other sources:
hi, all
I have a form including repeater, and I want to load data from a
xml into repeater. I wrote a function in flow, but it doesn't work.
error message: getElement is not a function
function obm1(form) {
var documentURI = cocoon.parameters[documentURI];
var document =
Is there any way i can use variable names with a hyphen in Flowscript?
something like
var mail-user="hello";
I get an error when i tried this.
Or is it possible to use the same in XSP?
I've just tried a little test (I never worked with applications in
authentication before)
This does work fine:
sitemap snippets:
authentication-manager
handlers
handler name=AuthenticationHandler
redirect-to uri=cocoon:/login.html/
Why do you want that hyphen?
I would suggest to use normal java way of capitalization:
mailUser = hello;
Kind Regards,
Jan
Adriano Smith wrote:
Is there any way i can use variable names with a hyphen in
Flowscript?br br something like br var mail-user=hello;br
br I get an error when i tried
Hi Markus,
thanks for reporting this - it's fixed now.
Carsten
-Original Message-
From: Markus Heussen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 9:32 PM
To: [EMAIL PROTECTED]
Subject: [portal] Bug in portal-page.xsl
Playing around with Cocoon's portal engine I
- Forwarded by Laurent
Rorive/MARINEPOWER on 19/08/2004 09:16 -
[EMAIL PROTECTED]
13/08/2004 18:40
Please respond to users
To:
[EMAIL PROTECTED]
cc:
Subject:
Configuration problem 2.1.5.1 - Element.getLocalName()
- NoSuchMethod Error
Dear All,
I
No, you will need to post the values as usual
from a normal HTML form; the transform should
take care of this part.
[EMAIL PROTECTED] 2004/08/19 06:21:48 AM
Is it possible to submit using pseudo html??
i want to post the values and then do the transform as usual.
Quoting [EMAIL PROTECTED]:
Thursday, July 15, 2004, 10:24:22 PM, [EMAIL PROTECTED] wrote:
OB The user informations are given by the auth-protect action.
OB So you can't access these infos the same way without using the action.
OB A workaround is to store these infos in session with the
OB SessionPropagatorAction, just
Hi,
Question1:
I'd like to know if there is another way to refresh CachingURICoplet
than setting bookmarks or cl:link evrywhere, or even invalidate the
cache. Maybe for that purpose i should use URICoplets ?
Question2:
Until now i adopted this rule : if i need CForms + Flow (continuation)
or
Hi,
Finally here is my conclusions about memory usage with an 46Mb XML input file,
depending on how I do the transform:
Xalan interpreted: 130 Mb
Xalan compiled (XSLTC): 90 Mb with the same stylesheet
Custom one pass SAX transformer: 4 Mb !!
So XSLTC does a better job in memory usage than
Well,
you maybe right... Sometimes i get confused of when i should use the
xsp:content tag...
I think only when you want to write a tag with a xsp:expr in between, is
that right?
-Original Message-
From: Perez Carmona, David [mailto:[EMAIL PROTECTED]
Sent: 19 August, 2004 10:07
To:
Hi,
We are having trouble with request parameters that have special characters
(scandinavian letters) not decoding correctly. These parameters are passed from a form
in the request to be displayed on another form, but they are not decoded properly from
the uri (for example the letter ä becomes
Hi,With the CLI(Cocoon-2.1.5) I want to generate a xml-file with a xsp , connecting a postgres database.when I start up cocoon as a servlet and enter in my browser http://127.0.0.1:/testcli/client-list.xml , the correct file is shown.But when using the CLI it doesn't work :First I composed my
I too had some problem with encoding formparameters
i used the
xsp:includejava.net.URLEncoder/xsp:include
public String getRequestElementEncodedValue() throws Exception {
return
this.field.hasValue()
? amp; + this.parametername + = +
Jyri P dijo:
Hi,
We are having trouble with request parameters that have special characters
(scandinavian letters) not decoding correctly. These parameters are passed
from a form in the request to be displayed on another form, but they are
not decoded properly from the uri (for example the
qMax wrote:
[...]
More general:
I need main page template (currently i use XSLT) which uses (and slightly transforms)
original HTML content and content from some other sources (currently i
use map:aggregate as input to this XSLT)
and should produce final HTML with menu and all that stuff.
What
. Hi Jan! .
Thursday, August 19, 2004, 8:43:21 AM, you wrote:
JH I've just tried a little test (I never worked with applications in
JH authentication before)
JH This does work fine:
snip/
JH Inside the protected area I used an xsp to quickly get the session content:
JH String test =
Hello Jan,
Thursday, August 19, 2004, 8:43:21 AM, you wrote:
JH map:pipeline
JH map:match pattern=test.xml
JH map:generate src=test.xml/
JH map:serialize type=xml/
JH /map:match
JH map:match pattern=**
JH
Hello
I am trying to declare a Java Pacakge in the binding javascript/onload tag
but I can't seem to get this to work???
is it possible to import Java Packages like in flow in the binding
javascript / onload tag ?
fb:javascript id=path path=@path direction=load
fb:load-form
var path =
I managed to solve the template problem. I have created multiple templates
deriving from a single base template. Now my problem is using different
templates based on different urls. I am defining my pipelines in publication-
sitemap giving match as **/RFI*.* as given below. By this I want all
Thursday, August 19, 2004, 4:11:31 PM, [EMAIL PROTECTED] wrote:
Vr qMax wrote:
[...]
More general:
I need main page template (currently i use XSLT) which uses (and slightly
transforms)
original HTML content and content from some other sources (currently i
use map:aggregate as input to this
Thank you Ralph.
I also found from a web search the following thread
that was quite helpful.
http://archives.real-time.com/pipermail/cocoon-users/2004-January/044588.html
Also, at the bottom of this thread Stefan writes:
For that I wrote a transformer. My pages contain
statements of the form
Hello cocooners,
I use the velocity-generator to load an utf-8 encoded XML-File and fill
in a UTF-8 encoded sitemap-parameter. OK the is parameter filled in
correctly
but the file seems to be decoded in ISO-8859.
Is it possible or how is it possible to configure the generator to
decode the
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 1:55 PM
Subject: Fw: Configuration problem 2.1.5.1 - Element.getLocalName()
- NoSuchMethod Error
- Forwarded by
Laurent Rorive/MARINEPOWER on 19/08/2004 13:50 -
qMax wrote:
[...]
Oh! Thanks! This solution has slept from my view.
But actually included content is not ready-to-use HTML, but is XML to
integrate into final HTML via XSLT. In particular - block meta has
additional xml-info about current site node (page), and is
dependant on current request URL
Not that I'm aware of. I can tell you that it isn't very hard to write
your own. We have our own authentication framework that returns the user's
permissions after being authenticated. I then wrote a selector that checks
the permission specified in the sitemap against the map containing all
Hi to all,
i have a question about the cocoon portal and the
actions, which are used. There are 2 actions: auth-logout and
portal-logout. Can anyone tell me, whats the difference between
the actions?
Thanks :)
Seb
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
I retrieve 2 parameters from a url using xsp request.
is there any way to post these 2 parameters to the next url automatically without having a submit button ?
ie the url http://xxx?x=3=4 should automatically direct to a page where the values of x and y will be posted.
The portal-logout logs the user out of the portal which means
all information in the session about the portal are removed.
But not the session itself.
The auth-logout action logs the user out of the authentication
handler and eventually terminates the session.
This is a result of the different
Question1:
I'd like to know if there is another way to refresh
CachingURICoplet than setting bookmarks or cl:link evrywhere,
or even invalidate the cache. Maybe for that purpose i should
use URICoplets ?
You can invalidate the cache manually from within flow or
any component using
Thank you Ralph, this is most helpful.
-Paul
--- Ralph Goers [EMAIL PROTECTED] wrote:
Not that I'm aware of. I can tell you that it isn't
very hard to write
your own. We have our own authentication framework
that returns the user's
permissions after being authenticated. I then wrote
a
Very big thanks :)
On Thu, 19 Aug 2004 15:44:29 +0200, Carsten Ziegeler
[EMAIL PROTECTED] wrote:
The portal-logout logs the user out of the portal which means
all information in the session about the portal are removed.
But not the session itself.
The auth-logout action logs the user out of the
Smith
In Cocoon, its the role of the pipeline to handle requests...
Assuming I type http://xxx?x=3y=4 into my browser,
or that this URI results from another form somewhere in
the system, why not just have a pipeline match for this:
map:match pattern=xxx
map:generate type=serverpages
I was wondering if there was an easy way to handle
non-html files. I have a few entries in my sitemap
such as this.
map:match pattern=images/*.gif
map:read mime-type=images/gif
src=resources/images/{1}.gif/
/map:match
However, trying to guess all the different files types
people
To clarify, I am refering to serving files that have
been uploaded. I am not trying to generate these
documents.
--- Kirk Storer [EMAIL PROTECTED] wrote:
I was wondering if there was an easy way to handle
non-html files. I have a few entries in my sitemap
such as this.
map:match
Thanks Bruno
Indeed , the multiPart type isn't the same , This doesn't work.
well as anybody else would do in this case , I changed the idea :)
Anyhow thanks for he help
T.
Bruno Dumon wrote:
On Thu, 2004-08-19 at 11:54, oceatoon wrote:
Hello
I am trying to declare a Java Pacakge in the
Hi,
In the portal sitemap, I found these actions:
map:action name=portal-login
src=org.apache.cocoon.portal.acting.LoginAction/
map:action name=portal-logout
src=org.apache.cocoon.portal.acting.LogoutAction/
map:action name=portal-object-model
I'm binding a schema validated xml document
to a cocoon form and then re-saving and sending it back to the database.
However, at some point the xml elements are being re-ordered in alphabetical
order which causes the schema validation to fail. I'm assuming that this
alphabetical re-ordering
Hello,
is it possible to use stored procedures within a SQL sheet of the
SQLTransformer?
Thank you.
Regards
Stephan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm sorry I mean prepared statements. Is it possible to use it within a SQL
sheet of the SQLTransformer?
Thank you.
Regards
Stephan
-Ursprüngliche Nachricht-
Von: Stephan Coboos [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 19. August 2004 20:00
An: [EMAIL PROTECTED]
Betreff:
I want to put some application specific jar files in the application's
WEB-INF/lib directory. So I've created the following structure:
cocoon_dir/WEB_INF/lib [1]
/myapplication/WEB-INF/lib [2]
[1] this is cocoon's default lib dir
[2] this is where my jar are
when using the default
Hi,
I am wondering how best to do this in Cocoon:
When a user logs in, the user has to check if they are
the first person to login for the day and if so, do
some tasks.
To do this, I though of setting a global variable say
FIRST_LOGIN=true at midnight every night - using the
Quartz scheduler.
. Hi Kirk! .
Thursday, August 19, 2004, 4:39:31 PM, you wrote:
KS To clarify, I am refering to serving files that have
KS been uploaded. I am not trying to generate these
KS documents.
KS --- Kirk Storer [EMAIL PROTECTED] wrote:
I was wondering if there was an easy way to handle
non-html
Matthias,
You could try editting cocoon's web.xml file (in cocoon_dir/WEB-INF) and
adding the jars to the extra-classpath init-param. This didn't work
for me but you could give it a go. Not sure if there's another way, I
lost patience and ended up using Cocoon's lib directory (your [1])
Scott.
YES.
It's all explained in:
http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html
José Ernesto Echeverría
-Original Message-
From: Stephan Coboos [mailto:[EMAIL PROTECTED]
Sent: Jueves, 19 de Agosto de 2004 12:00 p.m.
To: [EMAIL PROTECTED]
Subject: [cocoon]
Checking the calendar in
http://localhost:8080/cocoon/samples/cal
Show a broken calendar, with JULY (instead of August) and the days all
messed starting with july 31.
Could it be a problem of locales (I'm working a spanish version of Windows
XP) or is it a general problems for other users as
Hello list,
Some user can help me with steps for
the integration of xindice and cocoon 2.1.4
Thanks very much.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In handle_page.xsp i will read the parameters and pass it to another url.How can this be specified in handle_pag.xsp ie redirecting to another url, which will have a pipeline match pattern (containing my_next_page.xsp as generator).
Also why have you given transform as page2html.xsl? Can it be
50 matches
Mail list logo