Hello group,
I have a big problem!
I want to do the following:
I have a query on a database. It is working fine!
I can do the following with every field but the date:
e.g.
http//...?id=1
but as soon as I but ?date='11.11.2002'
it blows!
So trying the following blows it too:
esql:query
;weidmueller.de]
Sent: 13 November 2002 17:00
To: Cocoon-Users (E-Mail)
Subject: esql / xsp - query for date
Hello group,
I have a big problem!
I want to do the following:
I have a query on a database. It is working fine!
I can do the following with every field but the date:
e.g.
http//...?id=1
Jepp!
That way I don't an error but neither any result!
-Ursprüngliche Nachricht-
Von: Cedric Picard [mailto:C.Picard;kainos.com]
Gesendet: Mittwoch, 13. November 2002 18:03
An: [EMAIL PROTECTED]
Betreff: RE: esql / xsp - query for date
Have you tried '11/11/2002' instead?
I would
select * from IDM_info where Info_datum = #11/13/2002#
is working (F**cking MS)!
Took my hours :-(
-Ursprüngliche Nachricht-
Von: Scherler, Thorsten
Gesendet: Mittwoch, 13. November 2002 18:09
An: [EMAIL PROTECTED]
Betreff: AW: esql / xsp - query for date
Jepp!
That way I don't
]
Sent: 13 November 2002 17:09
To: [EMAIL PROTECTED]
Subject: AW: esql / xsp - query for date
Jepp!
That way I don't an error but neither any result!
-Ursprüngliche Nachricht-
Von: Cedric Picard [mailto:C.Picard;kainos.com]
Gesendet: Mittwoch, 13. November 2002 18:03
An: [EMAIL PROTECTED
have to use ## to narrow the date, right!
because:
esql:query
select * from IDM_info where Info_datum = #xsp-request:get-parameter name=date/#
/esql:query
is working fine!
Thanks a lot for the hint!
Good luck,
Cedric
-Original Message-
From: Scherler
## to narrow the date, right!
because:
esql:query
select * from IDM_info where Info_datum = #xsp-request:get-parameter name=date/#
/esql:query
is working fine!
Thanks a lot for the hint!
Good luck,
Cedric
-Original Message-
From: Scherler, Thorsten [mailto:Thorsten.Scherler;weidmueller.de
Thanks
-Ursprüngliche Nachricht-
Von: Ilya A. Kriveshko [mailto:ilya;kaon.com]
Gesendet: Mittwoch, 13. November 2002 18:25
An: [EMAIL PROTECTED]
Betreff: Re: AW: esql / xsp - query for date
Please, read the recent SQL injection thread: your query is vulnerable.
Use esql:parameter
Not 100% related to your date narrowing issue, but the modern way to
pass date and time literals in JDBC is with escape sequences, e.g.:
UPDATE Orders SET OpenDate={d '1995-01-15'}
WHERE OrderID=1023
I have no idea if this will work with Cocoon (it should) or with your
JDBC driver (it works
After searching the created Java file (apologies for my earlier
mistake), the request helper is the only place it could be trying to set
the variable.
For example the following XSP (entire file) :
+-+
?xml version=1.0?
xsp:page
xmlns:xsp
I dont make use of it. But I use XSP. :-D
Try to change the order of the namespaces to:
xsp:page
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
create-session=true
xmlns:xsp=http://apache.org/xsp;
The check again the Java code. It is a interesting error. What version are
you using
To: [EMAIL PROTECTED]
Subject: RE: xsp-session : Bug with Cocoon? or Bug with programmer?
I dont make use of it. But I use XSP. :-D
Try to change the order of the namespaces to:
xsp:page
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
create-session=true
xmlns:xsp=http://apache.org/xsp
What version of cocoon are you using?
Geoff
--- Tom Place [EMAIL PROTECTED] wrote:
After searching the created Java file (apologies
for my earlier
mistake), the request helper is the only place it
could be trying to set
the variable.
For example the following XSP (entire file
Hello. I am new to Cocoon and XSP and was wondering if it is possible to
use the XSP's on their own outside of the pipeline framework. More
specifically would I be able to use a ServerPagesGenerator to process a XSP
using ESQL to get an XML document from within a session bean? Currently we
Thanks for everyone's help with this. I was using cocoon 2.03 and when I
downloaded a new copy, this bug seemed to disappear.
Thanks anyway!
Tom
-Original Message-
From: Geoff Howard [mailto:cocoongeoff;yahoo.com]
Sent: 12 November 2002 15:46
To: [EMAIL PROTECTED]
Subject: RE: xsp
Someone else is using the name XSP and XML Server Pages,
and as far as I can tell gives no mention of Apache or Cocoon
I'm not sure from what I've seen whether it's the same technology ...
Thought we all should know
Look at http://xsp.triloggroup.com/flowbuilder/site/f5_1_Tech_XSP.xsp
or http
Timothy and others,
I think I found a solution to this problem!
By adding this:
xsp:dependency/some/file/here.xsl/xsp:dependency
Into the XSP file, ServerPagesGenerator checks if that file has also
changed. If it is, the
XSP is recompiled. You can add as many dependencies as you want. See
cycling tomcat to get changes visible.
If
changes are picked up, are they a dependancy of the
pipeline, or are they only picked up when the XSP
itself is recompiled due to another trigger,
such as being updated.
They are not re-read when the xsp is modified (don't
know if this is a bug
It seems to be a sort of templating system. They include a fair amount
of bs including:
XSP is the only Web development technology where the logic is stored
separately from the presentation layer.
XSP technology transcends the limitations of the presentation layer
technology available
Forgetting the fact that this appears to be an obvious ripoff of cocoon...
what legal recourse does apache (host of the cocoon project and implementor of the
apache license) have over these guys. I mean is cocoon copyrighted and/or any of the
proprietary concepts, e.g. XSP, etc.
In looking
On Monday 11 November 2002 20:59, [EMAIL PROTECTED] wrote:
So what if these guys did a white room implementation of XSP and came
up with a bright idea and said ... let's call it XSP. There
doesn't appear to be much to stop them from doing this. Unless you
sue them to look at their code
xsp-session:set-attributename=fruitApple/xsp-session:set-attribute
^
It looks to me like a misplaced .
You are attempting to evaluate (name=fruit Apple) or some such.
HTH, Mark.
-Original Message-
From: Tom Place [mailto:trp99c;cs.nott.ac.uk]
Sent
copyright vs trademark.
yes your right in that the branding concepts I was lumping under copyright. Really
the apache license covers the copyright so that's golden.
the branding (e.g. xsp) is under the trademark concept. As I said there's nothing on
the website stating trademark infringement
are not
picked up by a running cocoon, and I'm not even sure
they are re-read with cocoon-reload. I have been
cycling tomcat to get changes visible.
If
changes are picked up, are they a dependancy of
the
pipeline, or are they only picked up when the XSP
itself is recompiled due to another
FWIW, we are using relative file paths for our logicsheets, and this is
supposed to cause pages to be recompiled if we modify the logicsheet. Be
warned, though, that it seems to be somewhat flaky; it often works as
expected, but sometimes not. In those cases, you have to touch the main
XSP
On Monday 11 November 2002 22:06, [EMAIL PROTECTED] wrote:
However under trademark law there is the concept of common law
trademark where you don't explicitly trademark anything (something I
learned from my lawyer family in the last 15 minutes.)
Really...? Yeah, I thought I had heard
My apologies. I made a typo on this message (not in cocoon). The line
should have read
xsp-session:set-attribute
name=fruitApple/xsp-session:set-attribute
I have included me original message below (with correction)
Hi All,
I emailed recently about a problem using session variables in cocoon
what legal recourse does apache (host of the cocoon project and
implementor of the apache license) have over these guys. I mean is
cocoon copyrighted and/or any of the proprietary concepts, e.g. XSP, etc.
The copyright is covered by tbe license:
http://xml.apache.org/cocoon/license.html
I'm aware of the license usage in terms of the copyright protection as well as the
apache branding trademark.
But the XSP trademark may fall under common law trademark, e.g. if you've been using
it first for years (and XSP has been around and has been documented (news, articles,
etc
El Lunes, 11 de Noviembre de 2002 15:25, Kjetil Kjernsmo escribió:
On Monday 11 November 2002 22:06, [EMAIL PROTECTED] wrote:
However under trademark law there is the concept of common law
trademark where you don't explicitly trademark anything (something I
learned from my lawyer family in
Are you sure you're looking at the right section of
your xsp? The section you've quoted doesn't match,
making it most likely that something else in your xsp
is causing the problem. Search for fruit in the
generated java file you've been looking at - you
should find something almost identical
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 09, 2002 5:06 PM
Subject: Re: Redirect in XSP
Thanks Joerg and Artur, but in my case I'm building for WAP.
Unfortunately the WML equivalent of your client side redirect crashes
early Nokia 7110 phones.
I really want to use map:redirect
Hi!
I have a question. How to make o redirection in XSP from one page to other
depeneding on some code in xsp:logic? I tried xsp-response:send-redirect
url=any/ and it doesn't work.
WT
-
Please check that your question has
parameter for map:redirect-to to use.
Can anyone help us both?
Thanks,
Neil.
On Friday, November 8, 2002, at 09:41 AM, Witold Treliski wrote:
Hi!
I have a question. How to make o redirection in XSP from one page to
other
depeneding on some code in xsp:logic? I tried
xsp-response:send-redirect
url
Witold,
First of all processing of XSP is done by a Generator
which is part of pipeline *execution*. This means that
it's too late to redirect at that point since some data
might already been sent back to the browser (depends
on the size of your serializer buffer).
You should only redirect
://some.com/other/url/
0 means no delay.
--
Ilya
Artur Bialecki wrote:
Witold,
First of all processing of XSP is done by a Generator
which is part of pipeline *execution*. This means that
it's too late to redirect at that point since some data
might already been sent back to the browser
-Original Message-
From: Ilya A. Kriveshko [mailto:ilya;kaon.com]
Sent: November 8, 2002 10:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Redirect in XSP
If you want to redirect the browser to a new URL after the
pipeline has been constructed and the generation has (possibly
I am just starting to really get into XSP, having worked with various other parts of
Cocoon
since 1.3 and I have three questions regarding XPS Logicsheets:
First, it appears that a logicsheet must declared to be used and that the only place
to declare a
logic sheet is in the xconf file
Hi Artur,
where is the problem?
Instead of xsp-response:send-redirect url=any/ you create a own
element like redirect url=any/ in the XML. This is processed by a
transformer to meta http-equiv=Refresh content=0; URL=any/ and
sent to the browser. Even if it's a very poor solution, there shell
...
-Original Message-
From: Joerg Heinicke [mailto:joerg.heinicke;gmx.de]
Sent: November 8, 2002 7:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Redirect in XSP
Hi Artur,
where is the problem?
Instead of xsp-response:send-redirect url=any/ you create a own
element like redirect
What causes /HEAD to be sent? Let's assume you have a pipe consisting
of a generator, a transformer and a serializer. Normally the XSP creates
SAX events for a XML like this:
page
titletest page/title
paragraphA short sentence./paragraph
/page
But in some special cases a redirect shoud
Who should close the head/ element? The transformer can not send an
endElement() until everything inside is processed. Of course you have
to
Ofcourse, I don't know what I was thinking.
Does this make it a bit clearer? Everybody can of course improve my
This makes it very clear.
Thanks
Hi All,
In an XSP I want an XML String data to be parsed into the event pipeline,
but if I use xsp:expr element, my XML data is evaluated as a String
(hello/ becomes lt;hello/gt;).
I looked at XSPObjectHelper apidoc, and two methods allowed the parsing of
xml datas :
- xspExpr
:Insert XML String in XSP
Hi All,
In an XSP I want an XML String data to be parsed into the event pipeline,
but if I use xsp:expr element, my XML data is evaluated as a String
(hello/ becomes lt;hello/gt;).
I looked at XSPObjectHelper apidoc, and two methods allowed the parsing of
xml datas
PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 1:41 PM
Subject: RE: Insert XML String in XSP
Perhaps you could use
xsp:include-expr
xsp:expryourMethodCallHere()/xsp:expr
/xsp:include-expr
HTH,
Sreedhar
-Original Message-
From: Ludovic de Beaurepaire
Hi, i have an error on this .xsp page but i can't solvehelp plz
Error:
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
query_prod_xsp:
Line 1113, column 18: ')' expected
Line 1114, column 11: illegal start
2002 4:28
PM
Subject: XSP+logic
Hi, i have an error on this .xsp page but i can't solvehelp
plzError:org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compilingquery_prod_xsp:Line 1113, column 18: ')'
ex
:
xsp:logic
String Prova;
/xsp:logic
or
xsp:expr
String Prova;
/xsp:expr
Also, it would be faster if you opened the database connection once, and
then placed all your queries inside of it:
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql
Thx the problem is that i have to replace a substring from the result of
query...
but there arent methods or tag to do it...
- Original Message -
From: Ilya A. Kriveshko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 4:45 PM
Subject: Re: XSP+logic
Search
11/7/2002 10:02 AM
To: [EMAIL PROTECTED]
Cc:
Subject:Re: Insert XML String in XSP
Thanks a lot,
It didn't work with my version of cocoon (2.0.3), but was the good way to
find solution in archives :
util:include-expr
util:exprxsp:expr
data
/xsp:expr/util:expr
/util:include-expr
uot;java"
xmlns:xsp="http://apache.org/xsp"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xsp:logic
String pippo="eheh";
String pippo2="";
String pippo3="";
static String replace(Stri
Title: Blank
Hello experts,
I was wondering if anyone out there could provide me with someinstructions
about how torun "Hello World " kind ofXSP code with Cocoon?
If anyone could please give me some tips or ideas on how this might be
done
I will be most grateful.
Regards,
Dhiman Paul.
WARNING, Win users! the mail of Paul Dhiman is infected with HTML.Redlof.A
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To
How can I access the output of an input module in an XSP page?
I am talking about the input modules as they are used by the modular
database actions in 2.1-dev (org\apache\cocoon\components\modules\input). I
have written my own input module which works fine with the modular database
actions
Hugo Burm wrote:
How can I access the output of an input module in an XSP page?
?xml version=1.0?
xsp:page language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
document
xsp
On 30.Oct.2002 -- 08:45 PM, Hugo Burm wrote:
How can I access the output of an input module in an XSP page?
I am talking about the input modules as they are used by the modular
database actions in 2.1-dev (org\apache\cocoon\components\modules\input). I
have written my own input module
Try putting a document tag around all of your content and logic.
I.e.:
=
?xml version=1.0?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
content
xsp:logic
String keyword = request.getParameter(value);
/xsp:logic
The 'value
language=java xmlns:xsp=http://apache.org/xsp;
content
xsp:logic
String keyword = request.getParameter(value);
/xsp:logic
The 'value' parameter was: xsp:exprkeyword/xsp:expr
/content
/xsp:page
=
I think the problem might come from the fact
I'm pretty sure it is an XSP feature, but is possibly a documentation bug.
The feature allows you to, for example, declare instance variables or
declare instance or static methods to be used in the body of the XSP.
Wouldn't you agree?
I'm actually using it in some of my XSP pages, so please
Hi Everyone-
Here is a newbe question: I'm trying to use the implicit 'request'
variable in a xsp page, however, whenever I try to access it like this I
get a NPE error at line x:
xsp:logic
keyword = request.getParameter(value); //line x
/xsp:logic
When I attempt to access it like this, I
Make sure you put your request inside a tag. Like this:
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
data
xsp:logic
your logic
/xsp:logic
/data
/xsp:page
You do not appear to have declared `keyword'.
i.e., try:
String keyword = request.getParameter(value);
Dave
- Original Message -
From: Eric Everman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 3:46 PM
Subject: xsp request variable is not declaired
Hi
At 10/28/2002, you wrote:
You do not appear to have declared `keyword'.
i.e., try:
String keyword = request.getParameter(value);
Dave
Ha, fair enough. But believe it or not, this is a copy/paste error. Here
is the simplest xsp page that causes the problem (verbatim this time
Your xsp page requires the cocoon processing instruction:
?cocoon-process type=xsp?
I have also seen the xsp:page tag written:
xsp:page language=java xmlns:xsp=http://www.apache.org/1999/XSP/Core;
I am not clear if both are acceptable.
Dave
- Original Message -
From: Eric
Title: How can I access parts of a SOAP response in XSP?
Hi,
I am using Cocoon 2.0.3 with Tomcat 4.1 on Windows 2000.
I would like to take information from a SOAP call and use it to set a cookie on the browser. The SOAP call is working fine and I am comfortable passing the result
Title: Encoding style of SOAP messages in xsp
Hello,
I am trying to send a soap message to a locally deployed soap service using the following encoding style: soap:encodingStyle=http://xml.apache.org/xml-soap/literalxml so that a dom node can be passed instead of a string or an integer
Hi Antonio,
I've been trying hard to get this esql sample to work.
The tag works perfectly.
userxsp-session:getxml context=authentication
path=/authentication/ID//user
returns the userID in my xsp page. So there is nothing wrong with the
class or the session.xsl file.
However, I need
Hi Bert,
Try to put esql:parameter around xsp-sessio:getxml in your query.
-Tuomo
On Fri, 25 Oct 2002, Bert Van Kets wrote:
Hi Antonio,
I've been trying hard to get this esql sample to work.
The tag works perfectly.
userxsp-session:getxml context=authentication
path=/authentication
I tried this already. This does not work!
Here's my page:
?xml version=1.0 encoding=UTF-8?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
users
esql:connection
esql:poolbvar/esql:pool
page:
?xml version=1.0 encoding=UTF-8?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
users
esql:connection
esql:poolbvar/esql:pool
esql:execute-query
esql:querySELECT * FROM members
some enhancement. It now returns as=string.
Antonio Gallardo
El Viernes, 25 de Octubre de 2002 05:14, Bert Van Kets escribió:
I tried this already. This does not work!
Here's my page:
?xml version=1.0 encoding=UTF-8?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http
Sorry, for the too late answer. I was in a meeting. Here is example of how to
make it work inside a query:
SELECT * FROM usuarios
WHERE usr_id = esql:parameter
type=intxsp:exprInteger.parseInt(xsp-session:getxml
context=authentication path=/authentication/ID
as=string/)/xsp:expr
language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
users
esql:connection
esql:poolbvar/esql:pool
esql:execute-query
esql:querySELECT * FROM members WHERE
ID=esql:parameterxsp
is it possible to
generate document type declaration DTD
dynamic using xsp
i'm thinking to generate something like
!DOCTYPE thePage [
!ENTITY remote SYSTEM http://www.osmosis.gr/xml/xsp-plain/esql;
]
dynamic in a xsp the problep is that all this string are
before
xsp:page language
/table, and it
works also for
util:include-expr
util:exprxsp:exprtest/xsp:expr/util:expr
/util:include-expr
when test=test;
thats the first step.
but how can i put html-tag into xsp-variable??
if i try the following, it fails --
xsp:logic
string = table
class=standardtrtd1/tdtd2/td
On 23.Oct.2002 -- 12:45 PM, Thomas Garger wrote:
but how can i put html-tag into xsp-variable??
if i try the following, it fails --
Thought you gonna ask that :-)
You may not use and in an xsp when not writing xml tags that
are part of the document structure. So, you need to use the xml
Haul [mailto:haul;dvs1.informatik.tu-darmstadt.de]
Gesendet: Mittwoch, 23. Oktober 2002 13:12
An: [EMAIL PROTECTED]
Betreff: Re: use xsp-vars to generate html
On 23.Oct.2002 -- 12:45 PM, Thomas Garger wrote:
but how can i put html-tag into xsp-variable??
if i try the following, it fails
On 23.Oct.2002 -- 01:36 PM, Thomas Garger wrote:
but if use these entities lt; gt;, the (for example
lt;tablegt;lt;MyText/tablegt;
Thomas, if you write
String foo = lt;br/gt;
your String will contain br/ If you include that with the util
logicsheet, it should appear as node.
The other
[mailto:haul;dvs1.informatik.tu-darmstadt.de]
Gesendet: Mittwoch, 23. Oktober 2002 14:07
An: [EMAIL PROTECTED]
Betreff: Re: use xsp-vars to generate html
On 23.Oct.2002 -- 01:36 PM, Thomas Garger wrote:
but if use these entities lt; gt;, the (for example
lt;tablegt;lt;MyText/tablegt;
Thomas, if you
On 23.Oct.2002 -- 02:17 PM, Thomas Garger wrote:
hi
sorry boring you you,
i did what you said
String foo = lt;br/gt;
td
class=standardutil:include-exprutil:exprxsp:exprfoo/xsp:expr
/util:expr/util:include-expr/td
Try this
xsp:logic
String foo=lt;br/gt;;
/xsp:logic
hi
but that's the same i do.
just other tags
i do all this in my logicsheets, maybe this is the point
tom
-Ursprüngliche Nachricht-
Von: Christian Haul [mailto:haul;dvs1.informatik.tu-darmstadt.de]
Gesendet: Mittwoch, 23. Oktober 2002 15:26
An: [EMAIL PROTECTED]
Betreff: Re: use xsp
On 23.Oct.2002 -- 05:05 PM, Thomas Garger wrote:
but that's the same i do.
just other tags
i do all this in my logicsheets, maybe this is the point
So, maybe you have a xsl:value-of where you should really have a
xsl:copy-of? Post your code and we'll find out.
Chris.
--
C h r i s t
hi
if want to use xsp-variables to generate html-code for the sites.
let me explain.
i have a xsp-varibale, for example
String test =
tabletrtd1/tdtd2/td/trtrtd3/tdtd4/td/tr/tabl
e;
after this, i have the following in my xsp-site
table
tr
td/td/tr
tdxsp:exprtest/xsp:expr/td
/tr
On 23.Oct.2002 -- 09:20 AM, Thomas Garger wrote:
hi
if want to use xsp-variables to generate html-code for the sites.
let me explain.
have a look at the util logicsheet, especially the include-*
tags. That could be a solution. Anyway, your var needs to contain
well-formed XML.
Chris
Hi,
Running on JDK1.4.0, I have successfully been using Cocoon 2.0.3 in JBoss
3.0.0 with embedded Catalina (TomCat 4.0.3)..it runs as a war in an ear
file w/o problem.
I have just made the switch to JBoss 3.0.3 with embedded Tomcat (4.1.2) and
now my XSP generation has stopped workingmy
-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Sent: Montag, 14. Oktober 2002 21:56
To: [EMAIL PROTECTED]
Subject: Simple XSP Ordering Problem
Product
xsp:logic
String productId = xsp-request:get-parameter
name=productid default=/;
/xsp:logic
...
Try
, 14. Oktober 2002 21:56
To: [EMAIL PROTECTED]
Subject: Simple XSP Ordering Problem
Product
xsp:logic
String productId = xsp-request:get-parameter
name=productid default=/;
/xsp:logic
...
Try:
xsp:logic
String productId = request.getParameter(productid);
if (productId == null
There are several objects available for use in xsp, take
a quick look in the generated java, they should be documented
there.
J.
PS, folks: when you reply, *please* trim any excess off :)
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Hmmm, I didn't read about the request object in my
Hello.
Can I use XMLForms provided data with XSP logicsheets,
like ESQL, Request, Session? I've searching cocoon docs,
but find nothing. Any advises?
Thanks in advance.
-
Please check that your question has not already been
Hello,
I try to test my first XSP page but I have this error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click
the Refresh button, or try again later
Cocoon 2.0.4dev (from CVS around 9-17-2002)
JDK 1.4.0_02
If I serialize the XSP page as XML it is always is up-to-date, but when I
use the XSP as a serverpage it is usually out-of-date. This tells me that
the XML of the XSP page is being cached properly, but the JAVA code
that it generates
]
|
| cc:
|
| Subject: XSP error
Thank you, it works if I serialize the output to html.
But why it doesn't work? I use IE 6.0.
Sylvain
-Message d'origine-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Date: mardi, 15. octobre 2002 14:23
À: [EMAIL PROTECTED]
Objet: Re: XSP error
Hi Sylvain,
it looks
:
|
| Subject: RE: XSP error
|
--|
Thank you, it works if I serialize the output
This problem looks very strange.
When this problem appended, I tried to test a simple helloworld application (without
XSP):
map:pipeline
map:match pattern=helloworld
map:generate src=helloworld.xml/
map:transform src=helloworld2html.xsl/
map:serialize
You certainly could.
I am not a great fan of XSP myself, being bitten by JSPs many times.
Maybe some of the other folks can help with examples.
Ivelin
- Original Message -
From: Druzhinin Igor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 5:46 AM
Subject
helloworld application (without XSP):
map:pipeline
map:match pattern=helloworld
map:generate src=helloworld.xml/
map:transform src=helloworld2html.xsl/
map:serialize/
/map:match
/map:pipeline
and the result was a HTML page which looks like:
-html
Somebody suggested that documentation for the request object could be found in the
generated Java file for the XSP..but there isn't any documentation in there that I can
see. Just curious to learn more about it. :-)
Instead of:
Product
xsp:logic
String productId = xsp-request:get
What do you use, if not xsp?
-Original Message-
From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 9:28 AM
To: [EMAIL PROTECTED]; Druzhinin Igor
Subject: Re: [newbie] XMLForms XSP
You certainly could.
I am not a great fan of XSP myself, being bitten
: [newbie] XMLForms XSP
What do you use, if not xsp?
-Original Message-
From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 9:28 AM
To: [EMAIL PROTECTED]; Druzhinin Igor
Subject: Re: [newbie] XMLForms XSP
You certainly could.
I am not a great fan
501 - 600 of 1591 matches
Mail list logo