This is a non-sequitur:
"In handle_page.xsp i will read the parameters and pass it to another
url"
XSP is a generator at the start of a pipeline - it handles
parameters coming in; it does not generate URIs.
My example shows that, if you have a http://xxx?x=3&y=4 call
you can handle it in a pipe
Sorry, I miss "getFirstChild()". When I wrote "var a1 =
document.getFirstChild().getChildNodes().item(1).getFirstChild().getNodeValu
e();", it works.
- Original Message -
From: "magic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 2:15 PM
Subject: how to get nod
Smith
Unless you can make this question more specific,
the general answer is "the same way any other
XML is generated" or, to put in another way, the
XML for a form can be generated from a pipeline
which can be as flexible as you like. With XSP
as the starting generator, you could have various
Adriano Smith dijo:
> How can dynamic xml forms be generated using xsp?
You can use a xsp pipeline as the input of another pipeline where you
build the form.
Best Regards,
Antonio Gallardo
-
To unsubscribe, e-mail: [EMAIL PROT
hi, everyone
When I wrote "var a1 =
document.getFirstChild().getChildNodes().item(1).getNodeValue();", a1 =
null. How can I get nodevalue in javascript? Someone help me? Thanks!
function obm1(form) {
var documentURI = cocoon.parameters["documentURI"];
var document = loadDocumen
Mine works (English locale on Windows XP) -
I assume this Cocoon 2.1.5
>>> [EMAIL PROTECTED] 2004/08/20 03:31:31 AM >>>
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 i
How can dynamic xml forms be generated using xsp?
> From: JACOB, ERIC [mailto:[EMAIL PROTECTED]
>
> Hi,
>
> In the portal sitemap, I found these actions:
>
>src="org.apache.cocoon.portal.acting.LoginAction"/>
>src="org.apache.cocoon.portal.acting.LogoutAction"/>
>src="org.apache.cocoon.portal.acting.ObjectModelAction"/
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 som
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]
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 wel
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] SQLT
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
<. 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
>> n
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.
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 buil
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]
> Betref
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 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 occurs
Hi,
In the portal sitemap, I found these actions:
The portal-login, portal-logout and portal-save-profile actions are quite
obvious, but what they others two actually do and how to use them? Are there
more actions available (adding a column, a tab and a user f
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 i
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.
>
>
>
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.
However, trying to guess all the different files types
people will use ahead of time is nearly impossible
(.doc .xsl .mov .mpg .whoknowswhatelse)
Is there an easy
Smith
In Cocoon, its the role of the pipeline to handle requests...
Assuming I type http://xxx?x=3&y=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:
true
(Obvi
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
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 wr
>
> 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 us
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 fr
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&y=4 should automatically direct to a page where the values of x and y will be posted.
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/
--
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 t
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 UR
- 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 -
On Thu, 2004-08-19 at 11:54, oceatoon wrote:
> 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 ?
>
>
>
> var path
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
sour
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
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 i
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 doc
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 ?
var path = jxpathContext.getValue("@path");
var uploadFile = new java.io.
Hello Jan,
Thursday, August 19, 2004, 8:43:21 AM, you wrote:
JH>
JH>
JH>
JH>
JH>
JH>
JH>
JH> value="AuthenticationHandler"/>
JH>
JH>
<. 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:
JH> Inside the protected area I used an xsp to quickly get the session content:
JH> String test = path="/
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 abou
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 th
I too had some problem with encoding formparameters
i used the
java.net.URLEncoder
public String getRequestElementEncodedValue() throws Exception {
return
this.field.hasValue()
? "&" + this.parametername + "=" +
URLEncoder.encode(this.fie
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 c
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 Ã
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: [EMA
Robby,
I would change this
for (int teller = 1; teller <= numberoflinestotal; teller++) {
}
to this:
for (int teller = 1; teller <= numberoflinestotal; teller++) {
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
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 inte
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, jus
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
- 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 Err
53 matches
Mail list logo