Where table is assumed to be the parent node of all the tr nodes.
Does this help ?
Scott Warren
Jacob Arnold wrote:
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
All Nodes Even
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
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 for
>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 take any parameters. But most of
>m
Here's some places you can go for examples:
ESQL Page in Docs
http://xml.apache.org/cocoon/userdocs/xsp/esql.html
Mailing List ARChives:
http://marc.theaimsgroup.com/?l=xml-cocoon-users
(just do a search on "stored procedure")
J
-Original Message-
From: Brian Campbell [mailto:[EMAIL PR
Never mind. Evidently get-boolean works.
J
-Original Message-
From: Jacob Arnold [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 10:16 AM
To: '[EMAIL PROTECTED]'
Subject: Stored Procedure Question
I'd like to use an Oracle stored procedure for users to sign
I'd like to use an Oracle stored procedure for users to sign in. I have the
following code in my XSP:
{call pwdp.syusracc.encode_login(username, password, , ,
)}
EmployeeMasterID is .
Error code is .
The employee ID in column 3 is coming back fine, but when the generator gets
to
That worked. Thanks for the help.
J
-Original Message-
From: Michael Wechner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Trouble Passing Parameters
Jacob Arnold wrote:
> I'm having difficulty passing parameters to my
I'm having difficulty passing parameters to my XSP. I'm using the following
in my sitemap:
And this in my XSP
But the value is not showing up. When I try the code suggested in the
matchers and selectors doc,
parameters.getParameter("id") I get this error:
org.apache.cocoon.
>From everyone's silence, I'm guessing this can't be done with the included
database action. Can it be done with the modular database actions, or am I
going to have to write my own?
Thanks,
J
-Original Message-
From: Jacob Arnold [mailto:[EMAIL PROTECTED]]
Sent: Th
Create your new app in the cocoon directory instead. And then add your app
to Cocoon's main sitemap. Add something like this to cocoon\sitemap.xmap
under map:pipeline.
You don't need to copy the WEB-INF directory. You can check the FAQs for
ways to take cocoon/ out of your path.
J
-Or
Correction: I'm running Cocoon 2.0.4.
-Original Message-
From: Jacob Arnold [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 2:01 PM
To: '[EMAIL PROTECTED]'
Subject: Getting Parameters from a Database Action
I'm having trouble getting some parameters
I'm having trouble getting some parameters from a database add action. The
key param is passed through fine, but the value param is not. I'm using
Cocoon 2.0.3. The pipeline in my sitemap is as follows:
A portion of my descrip
Never mind, I figured it out myself. I had to use {../1}.
Regards,
Jacob
-Original Message-
From: Jacob Arnold [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 9:56 AM
To: '[EMAIL PROTECTED]'
Subject: Descriptor Sitemap Wildcard Difficulty
I'm using a fairly
I'm using a fairly generic sitemap match to handle my edit forms. I'd like
to redirect the user back to the edit page after they've submitted the form,
but the "edit-{1}.xsp" wildcard within the action doesn't seem to work. I
get the error message:
java.io.FileNotFoundException:
d:\jakarta-tomcat-
I've been adapting the protected login example from the Cocoon docs for my
own Web application, but my company encrypts users' passwords in its Oracle
database. Is it possible to call a stored procedure (to check the password)
from a descriptor? I haven't been able to figure out the syntax for doi
16 matches
Mail list logo