Re: AW: Accessing named session attributes in XSP?

2003-02-10 Thread Derek Hohls
I am not sure by what you mean "How is it accessed"; it is called by the sitemap as a generator at the start of a match entry... in fact, the same XSP may be called from more than one match; with different processing and transformation taking place thereafter.   How can I avoi

AW: Accessing named session attributes in XSP?

2003-02-10 Thread Marco Rolappe
hi derek, could you tell me please how the XSP is accessed? the problem might be that your XSP is dealing with a different session (XSPs default to creating a new session). > -Ursprungliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im > Auftrag von

Accessing named session attributes in XSP?

2003-02-10 Thread Derek Hohls
looks like: myDB This process seems to be working, as I can now get access to the protected part of the pipeline: ie. However, when I try and use the username attribute in an XSP file, I just get a "null" returned - here's the snippet from the file: http://a

Re: variable i not found in XSP!

2003-02-06 Thread Cyril Vidal
e of type Vector: > > Always the same following error is thrown: > > Line 236, column 59: variable i not found in class > > org.apache.cocoon.www.mount.essai.session3_xsp > > > > Below is my code: > > > > > > > > > xmlns:xsp="http://ap

Re: variable i not found in XSP!

2003-02-06 Thread Christian Haul
9: variable i not found in class > org.apache.cocoon.www.mount.essai.session3_xsp > > Below is my code: > > > > xmlns:xsp="http://apache.org/xsp"; > > xmlns:xsp-session="http://apache.org/xsp/session/2.0"; > > xmlns:xsp-request="

variable i not found in XSP!

2003-02-06 Thread Cyril Vidal
elow is my code: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; create-session="true"> java.util.Vector Vector items = (Vector); if (items == null) items =

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
Hi Roman, thank you very much for your reponse. I know that in theory, using actions is better than simply mixing pure Java code in XSP pages. But it's true that I must go quite quickly, and just to have an idea of how sessions work in Cocoon, I just would to have a first try with the s

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
e current session) > > > > > > xmlns:xsp="http://apache.org/xsp"; > > xmlns:xsp-session="http://apache.org/xsp/session/2.0"; > > xmlns:xsp-request="http://apache.org/xsp/request/2.0"; > > create-session="true"> &

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
I think I'm on the point of being successful with my business. But I still have one question, considering the following short code and especially the uncommented snippet: (serves to retrieve and display all the items of the current session) http://apache.org/xsp"; xmlns:xsp-ses

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
On 05.Feb.2003 -- 02:56 PM, Cyril Vidal wrote: > Hello Christian, > > Thanks again for your help and your availibility. > Of course, I meant Session logicsheet and not ESQL one...Sorry... > I've tried to launch the code you've suggested: > > > >

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
Hello Christian, Thanks again for your help and your availibility. Of course, I meant Session logicsheet and not ESQL one...Sorry... I've tried to launch the code you've suggested: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0";

RE: xsp session logicsheet

2003-02-05 Thread FULEK Roman
Hi Cyril, you do not have to use actions if you do not want :-) As I said, when you use session namespace, there is always a variable session there in the generated java code. You can access this session either directly in xsp page from within tags, or you can write your own taglib. This taglib

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
On 05.Feb.2003 -- 11:00 AM, Cyril Vidal wrote: > > Thanks for you response. > hum, I guess actions are still a little bit too complex for me, regarding my > knowledge of Cocoon... > > Isn't it really possible to add merely values to the same session's > attribute with the ESQL logicsheet? It so

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
Hi Roman, Indeed I've done this: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; create-session="true"> The list of items is: Your session was created:

RE: xsp session logicsheet

2003-02-05 Thread FULEK Roman
Hi Cyril, try adding xmlns:session="http://apache.org/xsp/session/2.0"; namespace to your xsp page. Then have a look at the generated code. Basically you should see a java variable (object) named "session", with it you can do what you want. No need to declare it, cocoon do

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
't use an action, I think it's better not to have too much Java code > in your xsp-pages. > In an action you can take your code as it is. > Cheers > Beat > > > Hi, > > > > I would like to deal with session through xsp, and serve as far as > > possible

Re: newbie xsp question

2003-02-04 Thread Jim Bearce
the sample xsp provided with cocoon, on the page docs/samples/xsp/simple.xsp There's a section of code that looks like this: Item i I understand that the CDATA sections are needed to escape the "<" in the for loop declaration,

Re: xsp session

2003-02-04 Thread Beat De Martin
Hi Cyril Why don't use an action, I think it's better not to have too much Java code in your xsp-pages. In an action you can take your code as it is. Cheers Beat > Hi, > > I would like to deal with session through xsp, and serve as far as > possible > the same goal as w

xsp session

2003-02-04 Thread Cyril Vidal
Hi, I would like to deal with session through xsp, and serve as far as possible the same goal as with the following servlet: e.g put all the parameters named 'item' in the object of type Vector 'items' bound to the current session, so that it would be possible to list at any t

newbie xsp question

2003-02-03 Thread I-Lin Kuo
In the sample xsp provided with cocoon, on the page docs/samples/xsp/simple.xsp There's a section of code that looks like this: Item i I understand that the CDATA sections are needed to escape the "<" in the for loop d

XSP TransformCustomDate [was: Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?]

2003-02-02 Thread Scherler, Thorsten
Hello everyone, after all the help I received from you I wrote a little How-to about transforming a custom date string to a valid Java Date object. Please have a look at http://wiki.cocoondev.org/Wiki.jsp?page=XSPTransformCustomDate. It is more or less the conclusion off the thread &quo

Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-02-02 Thread Andrew Timberlake
Thorsten On Sun, 2003-02-02 at 05:27, Thorsten Scherler wrote: > Hello Andrew, > > how is weather in SA? Here in Germany it is snowing! Here it is hotter than I have experienced for many years. What problem are you still experiencing? The code you included produced the following results when run

Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-02-01 Thread Thorsten Scherler
date=30.01.2002 (datePattern = "dd.MM."). http://apache.org/xsp";> java.util.* java.text.* String datePattern = "dd.MM."; SimpleDateFormat dateFormat = new SimpleDateFormat( datePattern ); String sDate_one = "31.01.2002"; String sDate_two

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
oblem. King regards -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Freitag, 31. Januar 2003 18:11 An: [EMAIL PROTECTED] Betreff: AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param? I tried: http://apache.org/xsp"; xmlns:esql="http://apache.

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
I tried: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> Date myDate = ""; Strin

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andres, Judith
Hi Thorsten, you define the variable dateParam inside a try/catch-block. When you reference to it outside of this block you're out of scope. try: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://a

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
org.apache.cocoon.www.logic.IDC2_info_int_xsp Line 0, column 0: 2 errors the xsp: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> Date myDate = "";

Re: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 18:37, Scherler, Thorsten wrote: > Hello again, > > I have shorten the xsp: > http://apache.org/xsp"; >xmlns:esql="http://apache.org/cocoon/SQL/v2"; >xmlns:xsp-request="http://apache.org/xsp/request/2.0";> > > > Date

AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello again, I have shorten the xsp: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> Date myDate = ""; try{ myDate = (new SimpleDateFormat("dd.MM.").parse(reques

Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
user >wants to put 30.01.2003 in the form. > > If I parse that into the esql I can't get any data out of db. > > I thought about client-side JavaScript to transform the date and then parse it, but >I hoped that I could transform it on the server side with xsp. > > You s

AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
;t get any data out of db. I thought about client-side JavaScript to transform the date and then parse it, but I hoped that I could transform it on the server side with xsp. You said something about: simply invert the process on the SimpleDateFormat object. How would I do that? -Urs

Re: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
o_int.xml) Thread-9/IDC2_info_int_xsp: XSP date error: > java.lang.IllegalArgumentException: Cannot format given Object as a Date > at java.text.DateFormat.format(DateFormat.java:265) > at java.text.Format.format(Format.java:116) > > now you wrote: > If there is an e

AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
You're patience and so brilliant: sitemap.log: ERROR (2003-01-31) 16:36.32:707 [sitemap.generator.serverpages] (/weidmueller-dev/IDC2/info_int.xml) Thread-9/IDC2_info_int_xsp: XSP date error: java.lang.IllegalArgumentException: Cannot format given Object as a Date

AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Gesendet: Freitag, 31. Januar 2003 16:14 An: [EMAIL PROTECTED] Betreff: AW: AW: AW: xsp-element equivalent to xsl:param? Thanks, but now I am not getting any results because is always timeOfDay = "". I will look into using tags. Thanks for your patience. -Ursprüngliche Nachrich

Re: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
I think that the request parameter is returning a string and the format object is expecting a Date object. (I should have recognised this earlier). I think the XSP page is throwing an exception which we have been ignoring. Try the following code and then check the sitemap.log and errors.log (can&#

AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
etreff: Re: AW: AW: xsp-element equivalent to xsl:param? Try this ... String timeOfDay = ""; try{ timeOfDay = (new SimpleDateFormat("MM/dd/")).format(request.getParameter("date")); }catch(Exception e){} IDC2_int s

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-31 Thread Hunsberger, Peter
> I think we are agreeing (?) on the issue of proprietary : in essence, any code that > you do not write yourself is 'proprietary' in some way - it "belongs" to someone. Uh, no, but it's not worth worrying about... - Please check

Re: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
nfo_datum = #timeOfDay# I will mention again that you should look into using tags. Andrew On Fri, 2003-01-31 at 16:46, Scherler, Thorsten wrote: > Hello Andrew, > > my final xsp should look like this: > ... > > > try{ > String timeOfDay = (new > SimpleDateF

AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
I found out that (1): ... String timeOfDay = (new SimpleDateFormat("MM/dd/")).format(new Date()); ... select * from info_bericht where country ='' AND Info_datum = #timeOfDay# ... works fine! BUT this (2/3/4) one is not working at all: ... try{ String timeOfDay = (new

AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello Andrew, my final xsp should look like this: ... try{ String timeOfDay = (new SimpleDateFormat("MM/dd/")).format(request.getParameter("date")); }catch(Exception e){} IDC2_int select * from info_bericht where country ='' AND Info_dat

Re: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 16:09, Scherler, Thorsten wrote: > Hello Jan, > > I couldn't find the error. > > But I attached it. > I was reading your previous post in which you posted your xsp source. Instead of this: select * from info_bericht where coun

Re: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
eter ... code is placed after the first xml element in the xsp page. -- Andrew Timberlake <[EMAIL PROTECTED]> - Please check that your question has not already been answered in the FAQ before posting. <http://xml.

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello Jan, I couldn't find the error. But I attached it. -Ursprüngliche Nachricht- Von: Jan Harms [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 14:31 An: [EMAIL PROTECTED] Betreff: AW: xsp-element equivalent to xsl:param? Thorsten, here is a tip that might be u

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Jan Harms
ated code, but quite readable. -Jan > -Ursprüngliche Nachricht- > Von: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 31. Januar 2003 14:09 > An: [EMAIL PROTECTED] > Betreff: AW: xsp-element equivalent to xsl:param? > > > Yes, I've n

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Yes, I've noticed that as well but with getParameter("date")); -> same exception. Thanks -Ursprüngliche Nachricht- Von: Geoff Howard [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 14:17 An: [EMAIL PROTECTED] Betreff: RE: xsp-element equivalent to xsl:para

RE: xsp-element equivalent to xsl:param?

2003-01-31 Thread Geoff Howard
Wast that cut and pasted? It looks like you're missing an end ) - should be: getParameter("date")); Geoff > -Original Message- > From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 7:48 AM > To: [EMAIL PROTECTED] > Subje

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Sorry jan, ...and thabks a lot for your help! I posted the working one! ;-) The NOT working logic/IDC2_info_int.xsp: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> try{ String timeO

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Jan Harms
herler, Thorsten [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 31. Januar 2003 13:54 > An: [EMAIL PROTECTED] > Betreff: AW: xsp-element equivalent to xsl:param? > > > Hello jan, > > with the request I get a similar error like with the parameters. > > But here are

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
sp: http://apache.org/xsp"; xmlns:esql="

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Jan Harms
ot;date") instead of parameters.getParameter("date") The variables "request" and "parameters" are predefined variables in every XSP. Have a look at http://wiki.cocoondev.org/Wiki.jsp?page=XSPEnvironment Hope this helps -Jan Harms ---

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
generate() in class org.apache.cocoon.generation.AbstractGenerator Line 0, column 0: 2 errors -Ursprüngliche Nachricht- Von: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 13:39 An: [EMAIL PROTECTED] Betreff: Re: xsp-element equivalent to xsl:param? On Fri, 2003-01-31 at 14:31, Sche

Re: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 14:31, Scherler, Thorsten wrote: > Hello group, > > is there an equivalent in xsp to the xsl: ? Yes, see below > > e.g. guess my request is like that: ...?date=30%2F01%2F2003. > > And > > select * from info_bericht where Info_datum

xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello group, is there an equivalent in xsp to the xsl: ? e.g. guess my request is like that: ...?date=30%2F01%2F2003. And select * from info_bericht where Info_datum = ## is working fine. But can't be used in like that: String timeOfDay = (

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-30 Thread Derek Hohls
or maintained but at least you still have the code. I have purchased commercial products before without code (the compnay wanted to save money!) and have ended up rewriting some apps because of a lack of continued support As for the XSP thing - you have said yourself that someone is who no

Re: Passing parameters to an XSP

2003-01-30 Thread leo leonid
On Donnerstag, Januar 30, 2003, at 07:47 Uhr, Mark H wrote: I'm trying to pass parameters to an XSP but I'm getting an exception: unreported exception: org.apache.avalon.framework.parameters.ParameterException; must be caught or declared to be thrown I saw a similar post in the ar

Re: Passing parameters to an XSP

2003-01-30 Thread Lajos
Mark - Yup, you do. I use something like: String myparam = ""; try { myparam = parameters.getParameter("myparam"); } catch (Exception e) { } Make sure it comes AFTER the root user tag in your XSP. Regards, Lajos Mark H wrote: I'm trying to pass par

Passing parameters to an XSP

2003-01-30 Thread Mark H
I'm trying to pass parameters to an XSP but I'm getting an exception: unreported exception: org.apache.avalon.framework.parameters.ParameterException; must be caught or declared to be thrown I saw a similar post in the archives but when I tried the recommended solution it still didn&#

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-30 Thread Hunsberger, Peter
st incidental to the reason for my original response: the fact remains that you don't need XSP to write a major Cocoon application...    

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-30 Thread Derek Hohls
ocoon.  They haven't forced us away from Cocoon yet, but they could in the future.   > All that said, I would be very happy to "upgrade my skills"  > (and design approach) to learn how to develop Cocoon-based  > systems that are both complex and XSP-free.    1st learn 

Re: XSP Compiler Issue: Class Not found

2003-01-29 Thread Robert Simmons
- From: Robert Simmons To: Cocoon Users Sent: Thursday, January 30, 2003 4:47 AM Subject: XSP Compiler Issue: Class Not found Greetings. I decided that I wanted to try writing an XSP page. I know about logicsheets but just to start I figured Id go the brute force

XSP Compiler Issue: Class Not found

2003-01-29 Thread Robert Simmons
Greetings. I decided that I wanted to try writing an XSP page. I know about logicsheets but just to start I figured Id go the brute force approach. The following is the XSP page.   http://apache.org/xsp"  xmlns:jconfer="http://www.jconfer.org/">      javax.nam

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-29 Thread Hunsberger, Peter
us, we have some requirements to run our code outside of Cocoon.  They haven't forced us away from Cocoon yet, but they could in the future.   > All that said, I would be very happy to "upgrade my skills"  > (and design approach) to learn how to develop Cocoon-based  >

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-28 Thread Derek Hohls
(and design approach) to learn how to develop Cocoon-based systems that are both complex and XSP-free.   If you (or anyone else) would care to share your approach and methodology in the form of tutorials and/or examples, I am sure I am not the only one who would benefit from it.   Derek>>&g

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-28 Thread Hunsberger, Peter
Title: Message  >  Hmm?  Well isn't that like saying that sitemaps are "proprietary"    Well yes, but there's a big difference between coding your business logic in a proprietary non-portable solution and configuring a  pipeline.  By staying away from XSP I can switch

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-27 Thread Derek Hohls
Hmm?  Well isn't that like saying that sitemaps are "proprietary" to Cocoon.  XSP, to me, provide a valid and useful function.  They allow me to develop generators with a *minimal* amount of Java knowledge (which, sadly, is my situation); as far as possible I avoid using

Re: XSP All Nodes Even

2003-01-23 Thread J.Pietschmann
Jacob Arnold wrote: Whenever I test for even nodes using XSLT on my serialized XSP, all the nodes are even. This is a FAQ. Most probably you are counting whitespace nodes. Either avoid selecting text nodes, for example by explicitely specifying the element you want to match: or strip the

RE: XSP All Nodes Even

2003-01-23 Thread Jacob Arnold
Yep, that works. Thanks for your help. Best Regards, J -Original Message- From: Scott Warren [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:33 PM To: [EMAIL PROTECTED] Subject: Re: XSP All Nodes Even No not a second stylesheet, Change your stylesheet to be like this

Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
... through 114. Are you suggesting adding a second stylesheet? Thanks, J -Original Message- From: Scott Warren [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:22 PM To: [EMAIL PROTECTED] Subject: Re: XSP All Nodes Even What is the value that position() is returning? Can you move

RE: XSP All Nodes Even

2003-01-23 Thread Jacob Arnold
If my query returns 56 records (1 per row) then I get 2, 4, 6, 8, 10... through 114. Are you suggesting adding a second stylesheet? Thanks, J -Original Message- From: Scott Warren [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:22 PM To: [EMAIL PROTECTED] Subject: Re: XSP

Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
What is the value that position() is returning? Can you move the template into a another template that has a I think you may get different results then. Hope this helps Scott Warren Jacob Arnold wrote: Whenever I test for even nodes using XSLT on my serialized XSP, all the nodes are even

Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
What is the value that position() is returning? Can you move the template into a another template that has a I think you may get different results then. Hope this helps Scott Warren Jacob Arnold wrote: Whenever I test for even nodes using XSLT on my serialized XSP, all the nodes are even

XSP All Nodes Even

2003-01-23 Thread Jacob Arnold
Whenever I test for even nodes using XSLT on my serialized XSP, all the nodes are even. For example, I'm trying to make every even table row a different color: But every table row is getting the evenrow class applied. When I display the position, every row (and every

Problem with an xsp->java transformation

2003-01-23 Thread Ducrocq, Henri
Hi, I'm currently trying to run Cocoon 2.0.3 under Weblogic 6.0sp1, with Xalan 2.3.1 and Xerces 2.0, and I have the exception shown below when I try to display any XSP page. The problem apparently occurs when trying to transform the .xsp file using the transformation defined in the followin

Re: XSP Redirection HELP!!!

2003-01-21 Thread Christian Haul
edirect ("http://my_home_page";); > > > This is kinda clunky because it sends the response header back > to the browser but it does the job from within XSP. There is also a logicsheet for that -- response.xsl. Please be aware that sending a redirect command to the client *after* any

Re: AW: AW: XSP Redirection HELP!!!

2003-01-20 Thread Antonio Gallardo
> pipeline. Sorry I dont know and I think that as you told. This is a ugly solution. And I dont know if the code can be used in future releases of Cocoon. Anyway I recomend to use the correct approach. Solutions are always many, but we need to use the best. The Cocoon gurus said that the XSP-Acti

Re: XSP Redirection HELP!!!

2003-01-20 Thread Jim McCullough
der back to the browser but it does the job from within XSP. Jim Jim McCullough Risk Analytics Inc. - Las Vegas Software Engineering [EMAIL PROTECTED] [EMAIL PROTECTED] (702) 407-1814 (voice) (702) 407-1824 (fax) - Original Message - From: "Rajasekhar Atchutuni" <[E

AW: AW: XSP Redirection HELP!!!

2003-01-20 Thread Marco Rolappe
well, it does work, I tried it out. only one generator per pipeline, that's right (only one generator can be set at pipeline setup time). but in this case, there is only one pipeline, that is the ServerPagesGenerator. the redirect is to another pipeline. anyway, I can imagine the use o

Re: AW: XSP Redirection HELP!!!

2003-01-20 Thread Antonio Gallardo
Marco Rolappe dijo: > are you using your xsp as an action via ServerPagesAction? > > are you using your xsp as the target for the form action? like this: > > > > in your sitemap: > > > > ... > > > you co

AW: XSP Redirection HELP!!!

2003-01-20 Thread Marco Rolappe
are you using your xsp as an action via ServerPagesAction? are you using your xsp as the target for the form action? like this: in your sitemap: ... you could redirect after the generation step via but this is kind of ugly

Re: XSP Redirection HELP!!!

2003-01-20 Thread Antonio Gallardo
Rajasekhar Atchutuni dijo: > Hi, > > I am sorry I framed my question wrong. > > I am already successfully saving my form data to oracle using esql:query > in my xsp page. > > What I need to know is how I can send/redirect the user to the home > page, after I close the

Re: XSP Redirection HELP!!!

2003-01-20 Thread Rajasekhar Atchutuni
Hi, I am sorry I framed my question wrong. I am already successfully saving my form data to oracle using esql:query in my xsp page. What I need to know is how I can send/redirect the user to the home page, after I close the esql:connection. Thanks Raj Original Message Follows

Re: XSP Redirection HELP!!!

2003-01-20 Thread Antonio Gallardo
Rajasekhar Atchutuni dijo: > > Hi, > > I am using cocoon 2.0.3 with tomcat 4.1. > > In my xsl form submit I call an action that generates an xsp. The xsp > writes the form data to sql; After this I need an auto redirect to the > home page. How do I do this? > > Th

XSP Redirection HELP!!!

2003-01-20 Thread Rajasekhar Atchutuni
Hi, I am using cocoon 2.0.3 with tomcat 4.1. In my xsl form submit I call an action that generates an xsp. The xsp writes the form data to sql; After this I need an auto redirect to the home page. How do I do this? Thanks for the help. Raj

RE: XSP : control structures

2003-01-20 Thread Antonio Gallardo
"XSP should at most be used to transfer data from request attributes into to the SAX stream." > Artur... Good point! I do the same too. Antonio Gallardo. - Please check that your question has not already bee

RE: XSP : control structures

2003-01-20 Thread Artur Bialecki
There is nothing like that in XSP. I'm sure most people here will tell you to use transformers, actions, or better yet flow from 2.1. Since I had XSPs left over from 1.x version and I like having data access, logic and error handling in the same place (the XSP) I developed my own logicshe

Re: Vir: Re: XSP : control structures

2003-01-19 Thread Antonio Gallardo
07.57 --- > > > > >* > > > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Sat, 18 Jan 2003 20:21:42 +0100 > Subject: Vir: Re: XSP : control structures > > The virus SirCAM have been detected in a message from: > [EMAIL PROTECTED] to: &g

Vir: Re: XSP : control structures

2003-01-19 Thread CARLETTA ANGELO
, 18 Jan 2003 20:21:42 +0100 Subject: Vir: Re: XSP : control structures The virus SirCAM have been detected in a message from: [EMAIL PROTECTED] to: [EMAIL PROTECTED] It has been quarantined in: Dirty Messages 20-01-03 07.57 Envoyé à

Re: XSP : control structures

2003-01-18 Thread Pierrick Brihaye
Hi, Sorry, I have reordered your answer : > > Are there control structures in XSP ? Here is what I mean (taken from > > http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html) : > > No. :-( > For the example you gave, if msg has either an empty string value, or a >

RE: XSP : control structures

2003-01-18 Thread Geoff Howard
> -Original Message- > From: Pierrick Brihaye [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 18, 2003 4:31 AM > To: [EMAIL PROTECTED] > Subject: XSP : control structures > > > Hi, > > Are there control structures in XSP ? Here is what I mean (take

XSP : control structures

2003-01-18 Thread Pierrick Brihaye
Hi, Are there control structures in XSP ? Here is what I mean (taken from http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html) : http://apache.org/xsp";> Hello, world! Got it ? The like for / , ... Such things would be useful, woul

XMLForms within XSP

2003-01-14 Thread Eric Gykatee
Hi, I'd like to use XMLFORMs within XSP much like the older Form Logicsheet can be. Has anyone already done this? I like the fact that the form is defined within an xml file not including presentation. However it would be nice to be able to "Agregate this" into and

XForms and XSP integration

2003-01-14 Thread Eric Gykatee
Hi, I'd like to use XMLFORM within XSP much like the older Form Logicsheet can be. Has anyone already done this? Is this feasible? How would I go about it? I figure eventually there will be a tighter integration between XSP and XMLForms. Cheers,

cocoon 2.0.3 and xsp request

2003-01-12 Thread Hong Gia Dinh
Title: cocoon 2.0.3 and xsp request Hi all, have you all ever used the request : in cocoon 2.0.3? i deployed my application in jboss 3.0.4 but cant run the above request!! but when i deployed my application wiith  cocoon 2.0.4 it runs well!!! so if i still want to use cocoon 2.0.3

Re: Cocoon/XSP/ESQL help

2003-01-11 Thread Leszek Gawron
On Fri, Jan 10, 2003 at 07:52:33PM +, Brian Campbell wrote: > Hope this is the appropriate list for this question. > > I have a simple XSP page. I want to use ESQL to call stored procedures in > a Microsoft SQL Server database. I've got my connection pool set up > cor

RE: Cocoon/XSP/ESQL help - Finally

2003-01-10 Thread Brian Campbell
eeded. I've just been trying every variation that I can think of. -Brian Have you looked at the generated java file under the work directory? That usually clears up mysterious xsp problems for me. Do you need the single quotes around the parameter value (thought esql would put them

RE: Cocoon/XSP/ESQL help

2003-01-10 Thread Brian Campbell
Have you looked at the generated java file under the work directory? That usually clears up mysterious xsp problems for me. Do you need the single quotes around the parameter value (thought esql would put them in for you) Geoff Howard > > > -Brian > > > > > > &

RE: Cocoon/XSP/ESQL help

2003-01-10 Thread Geoff Howard
----')} > Have you looked at the generated java file under the work directory? That usually clears up mysterious xsp problems for me. Do you need the single quotes around the parameter value (thought esql would put them in fo

RE: Cocoon/XSP/ESQL help

2003-01-10 Thread Brian Campbell
not the end of my problems. -Brian From: Jacob Arnold <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Cocoon/XSP/ESQL help Date: Fri, 10 Jan 2003 14:39:49 -0700 >I have a simple XSP page. I want to

RE: Cocoon/XSP/ESQL help

2003-01-10 Thread Brian Campbell
Yeah, I caught that and fixed it already. It was a problem, but not the end of my problems. -Brian From: Jacob Arnold <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Cocoon/XSP/ESQL help Date: Fri

RE: Cocoon/XSP/ESQL help

2003-01-10 Thread Jacob Arnold
>I have a simple XSP page. I want to use ESQL to call stored procedures in >a Microsoft SQL Server database. I've got my connection pool set up >correctly. I'm able to execute simple select statements and I'm able to >execute a stored procedure that doesn't t

<    1   2   3   4   5   6   7   8   9   10   >