bad error messages on missing name

2002-12-06 Thread Will Holcomb
I am new to trying to use cocoon for a command line application and I had 
an error in my sitemap where I had:



rather than the



that I should have. The errors that I got were no help whatsoever. It 
threw a ClassNotFoundException, but it did not name the class that wasn't 
found and it came in the debugging log at this point:

DEBUG   2002-12-06 02:57:20.308 [manager ] (): ComponentHandler 
  initialized for: org.apache.cocoon.transformation.TraxTransformer
DEBUG   2002-12-06 02:57:20.309 [manager ] (): Adding 
 org.apache.cocoon.transformation.TraxTransformer for xslt
DEBUG   2002-12-06 02:57:20.319 [manager ] (): ComponentHandler 
 initialized for: org.apache.cocoon.serialization.XMLSerializer

And so I kept trying to figure out what was wrong with the serializer. And 
the only description that comes out is:

ComponentSelector could not find the component for hint:

(Since the name was wrong it doesn't have a name to put in as the hint.)

It was just really tough to find the error in the file because of my lack 
of familiarity and I wanted to suggest that a more descriptive exception 
is throw for this error.

Will Holcomb


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




DO NOT REPLY [PATCH QUEUE] Summary December 7 2002

2002-12-06 Thread nicolaken
---
 This mail is generated automatically using
 Jakarta Ant. Contents are automatically
 downloaded from Apache's Bugzilla.
---
 Please do not reply to this mail.
---

***
COCOON PATCH QUEUE UPDATE
 
patches in queue:  26 
***


---
9075:[PATCH] Contribution of SAP R/3(r) connectivity components
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9075

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
9728:[PATCH] CocoonServlet getClassPath() enhancements Tomcat4
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9728

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
11533:[PATCH] Replacement for AvalonToCocoonSource
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11533

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
11549:[PATCH] Replace LogKitManageable through LoggerManageable
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11549

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12235:[PATCH] XPathTransformer
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12993:[PATCH] New version of CastorTransformer (includes marshalli
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12993

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
13070:[PATCH] Add a new tag  to XSP
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
13220:[PATCH] build dist-bin broken in HEAD
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13220

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
13247:[PATCH] PNG output of SVGSerializer broken in HEAD
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13247

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
14048:[PATCH] No-cache enhancement for ResourceReader component
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14048

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
14117:[PATCH] AuthAction fails in sub-requests
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14117

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
14144:[Patch] add CompressionFilter declaration to web.xml
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14144

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
14327:[PATCH] JSPEngineImpl response charset should be specified w
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14327

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
14700:[Patch] IOUtils.java recognize .. in Path
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14700

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
14835:[PATCH] Added container/form-encoding init-params to web.x
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14835

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---

Re: Converting AI to SVG

2002-12-06 Thread Jeremy Quinn

On Friday, Dec 6, 2002, at 15:51 Europe/London, Upayavira wrote:


Does anyone know how to do a bulk conversion of Adobe Illustrator 
files to SVG files?


Depends on your platform I imagine, but Illustrator on MacOSX has a 
rich AppleScript Dictionary, I have not used it myself, but I hear good 
reports from a friend who is using it for algorithmic drawing. It could 
be possible to write AppleScript to control a combination of the Finder 
and Illustrator to do the job. Ask around on some appropriate 
production graphics forums.

regards Jeremy


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



Re: MsSQL MySql PosgreSQL BasisPlus Oracle As400 Connections

2002-12-06 Thread Thor Heinrichs-Wolpert
Torque has some issues surrounding LOBs in Oracle, which have no  
suitable work around for now (not eve a nifty bypass).  Thanks for the  
OJB url!

Thor HW

On Friday, December 6, 2002, at 02:53  AM, Nicola Ken Barozzi wrote:



Antonio Gallardo wrote:

Hi,
I already saw your post on the wiki. :-D
The proposal is nice. Maybe we can make some changes to integrate  
Torque
into Cocoon.
I will start to learn about Torque.
Thanks for your comments.

Look at OJB http://jakarta.apache.org/ojb/index.html

It's deemed to be better than torque by some Turbine developers, and  
has an Avalon component for it (ask on that dev list for it).

Antonio Gallardo.
Alex McLintock dijo:

At 22:42 04/12/02, Gabriele Domenichini wrote:


Are you wondering how to connect Cocoon to your database and you  
have
got  one of theese?:

  * As400 
  * BasisPlus 
* Oracle 
  * PostgreSQL
 * MsSQL

  * MySQL 


Then go to
 
http://outerthought.net/wiki/ 
Wiki.jsp?page=SpecificDatabaseConnection

Thanks to the tribute from people who had your same problem, you can
now  follow instructions on:


Or better still, why not try using Apache Torque which is part of the
Apache Turbine project, and get database independance.
Has anyone tried that yet?

Alex McLintock





--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>





-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XMLForm and DOM node initialization

2002-12-06 Thread Sylvain.Thevoz
Hello everybody,

I'm using XMLForm and its possibility to access to DOM nodes.

Here is the code in the view (form.xml):


  Workstation Type
  


  
  


The problem is when I load the web app page (containing the node field) for the first 
time (after a Tomcat or Browser restart), the "value" and "caption" fields are empty 
although the number of  are right.

Here is the HTML source when the fields are empty (first load):


Here is the HTML source when the fields are OK (not first load):
DesktopLaptopOther configuration

The node is initialized in the Bean (model) conctructor.


Is anybody could help me to understand what's happen?!?
I'm really desparate because I really don't know what could be the problem!

When a web page is loaded, which methods or actions are called?


Any suggestions will be greatly appreciated.
Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Converting AI to SVG

2002-12-06 Thread Upayavira
Dear All,

Firstly, I apologise if this request is off topic for this group.

Does anyone know how to do a bulk conversion of Adobe Illustrator files to SVG files?

I have a site that is currently served using ASP and VB, and I have worked out how to 
reproduce and greatly improve it using Cocoon, but cannot do it unless I can bulk 
convert 500 AI files to SVG.

Any ideas?

Regards, Upayavira
 



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Request parameters for SQL arguments

2002-12-06 Thread Christian Haul
On 06.Dec.2002 -- 04:13 PM, [EMAIL PROTECTED] wrote:
> I use ESQL, the beginning of my page is like this :
> 
> 
> 
> http://apache.org/xsp"; 
>xmlns:esql="http://apache.org/cocoon/SQL/v2";>
> 
>   
>   
>   personnel
>   
>   
>   select * From AllTask Where 
>wfID=
>  
>   
>   
> ...
> 
> But with this I get an error because of "" 

Yeah, because this will create wrong java code.

So, if you really don't want to do it right, you can


  "select * From AllTask Where wfID="
  + 
  
   

But I would strongly suggest reading the docs.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Request parameters for SQL arguments

2002-12-06 Thread Scherler, Thorsten
please send mor code!

I will have a look at home

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 16:14
An: [EMAIL PROTECTED]
Betreff: RE: Request parameters for SQL arguments


I use ESQL, the beginning of my page is like this :



http://apache.org/xsp"; 
xmlns:esql="http://apache.org/cocoon/SQL/v2";>



personnel


select * From AllTask Where 
wfID=
   


...

But with this I get an error because of "" 


-Original Message-
From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 4:12 PM
To: [EMAIL PROTECTED]
Subject: AW: Request parameters for SQL arguments


Is there a reason u don't use esql?

Or do you use esql?

http://enpdata.csit.fsu.edu/cocoon/documents/esql

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 16:04
An: [EMAIL PROTECTED]
Betreff: RE: Request parameters for SQL arguments


If I write :
select * From AllTask Where wfID=1 
It's alright, but when I write:
select * From AllTask Where wfID= Then I get following error: "typeStatus report message 
descriptionThe requested resource () is not available."

Do I have to add something in my pipeline? 
 

 
 

 
 



thanks
-Original Message-
From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: AW: Request parameters for SQL arguments


Sorry, that is much better (use ):

select * From AllTask Where wfID=


-Ursprüngliche Nachricht-
Von: Scherler, Thorsten 
Gesendet: Freitag, 6. Dezember 2002 15:44
An: [EMAIL PROTECTED]
Betreff: AW: Request parameters for SQL arguments


select * From AllTask Where wfID=

call it like: ../view-workflow?myID=2

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 15:41
An: [EMAIL PROTECTED]
Betreff: XSP: Request parameters for SQL arguments


I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a xsp page. In the 
sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Request parameters for SQL arguments

2002-12-06 Thread Maxime.Gheysen
I use ESQL, the beginning of my page is like this :



http://apache.org/xsp"; 
xmlns:esql="http://apache.org/cocoon/SQL/v2";>



personnel


select * From AllTask Where 
wfID=
   


...

But with this I get an error because of "" 


-Original Message-
From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 4:12 PM
To: [EMAIL PROTECTED]
Subject: AW: Request parameters for SQL arguments


Is there a reason u don't use esql?

Or do you use esql?

http://enpdata.csit.fsu.edu/cocoon/documents/esql

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 16:04
An: [EMAIL PROTECTED]
Betreff: RE: Request parameters for SQL arguments


If I write :
select * From AllTask Where wfID=1 
It's alright, but when I write:
select * From AllTask Where wfID= Then I get following error: "typeStatus report message 
descriptionThe requested resource () is not available."

Do I have to add something in my pipeline? 
 

 
 

 
 



thanks
-Original Message-
From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: AW: Request parameters for SQL arguments


Sorry, that is much better (use ):

select * From AllTask Where wfID=


-Ursprüngliche Nachricht-
Von: Scherler, Thorsten 
Gesendet: Freitag, 6. Dezember 2002 15:44
An: [EMAIL PROTECTED]
Betreff: AW: Request parameters for SQL arguments


select * From AllTask Where wfID=

call it like: ../view-workflow?myID=2

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 15:41
An: [EMAIL PROTECTED]
Betreff: XSP: Request parameters for SQL arguments


I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a xsp page. In the 
sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Request parameters for SQL arguments

2002-12-06 Thread Scherler, Thorsten
Is there a reason u don't use esql?

Or do you use esql?

http://enpdata.csit.fsu.edu/cocoon/documents/esql

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 16:04
An: [EMAIL PROTECTED]
Betreff: RE: Request parameters for SQL arguments


If I write :
select * From AllTask Where wfID=1 
It's alright, but when I write:
select * From AllTask Where wfID=
Then I get following error:
"typeStatus report
message
descriptionThe requested resource () is not available."

Do I have to add something in my pipeline? 
 

 
 

 
 



thanks
-Original Message-
From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: AW: Request parameters for SQL arguments


Sorry, that is much better (use ):

select * From AllTask Where wfID=


-Ursprüngliche Nachricht-
Von: Scherler, Thorsten 
Gesendet: Freitag, 6. Dezember 2002 15:44
An: [EMAIL PROTECTED]
Betreff: AW: Request parameters for SQL arguments


select * From AllTask Where wfID=

call it like: ../view-workflow?myID=2

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 15:41
An: [EMAIL PROTECTED]
Betreff: XSP: Request parameters for SQL arguments


I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a xsp page. In the 
sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Request parameters for SQL arguments

2002-12-06 Thread Maxime.Gheysen
If I write :
select * From AllTask Where wfID=1 
It's alright, but when I write:
select * From AllTask Where wfID=
Then I get following error:
"typeStatus report
message
descriptionThe requested resource () is not available."

Do I have to add something in my pipeline? 
 

 
 

 
 



thanks
-Original Message-
From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 06, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: AW: Request parameters for SQL arguments


Sorry, that is much better (use ):

select * From AllTask Where wfID=


-Ursprüngliche Nachricht-
Von: Scherler, Thorsten 
Gesendet: Freitag, 6. Dezember 2002 15:44
An: [EMAIL PROTECTED]
Betreff: AW: Request parameters for SQL arguments


select * From AllTask Where wfID=

call it like: ../view-workflow?myID=2

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 15:41
An: [EMAIL PROTECTED]
Betreff: XSP: Request parameters for SQL arguments


I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a xsp page. In the 
sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Request parameters for SQL arguments

2002-12-06 Thread Christian Haul
On 06.Dec.2002 -- 03:47 PM, Scherler, Thorsten wrote:
> Sorry, that is much better (use ):
> 
> select * From AllTask Where wfID=name="myID"/>

Please imagine what happens if myID evaluates to "; update AllTasks set done = 1; --"

IOW you should use  around it to have esql use a PreparedStatement.

BTW the xsp:expr is not needed here.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Request parameters for SQL arguments

2002-12-06 Thread Scherler, Thorsten
Sorry, that is much better (use ):

select * From AllTask Where wfID=


-Ursprüngliche Nachricht-
Von: Scherler, Thorsten 
Gesendet: Freitag, 6. Dezember 2002 15:44
An: [EMAIL PROTECTED]
Betreff: AW: Request parameters for SQL arguments


select * From AllTask Where wfID=

call it like: ../view-workflow?myID=2

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 15:41
An: [EMAIL PROTECTED]
Betreff: XSP: Request parameters for SQL arguments


I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with
the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a
xsp page.
In the sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: Request parameters for SQL arguments

2002-12-06 Thread Scherler, Thorsten
select * From AllTask Where wfID=

call it like: ../view-workflow?myID=2

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 6. Dezember 2002 15:41
An: [EMAIL PROTECTED]
Betreff: XSP: Request parameters for SQL arguments


I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with
the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a
xsp page.
In the sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XSP: Request parameters for SQL arguments

2002-12-06 Thread Maxime.Gheysen
I try to have a variable for my sql query :

select * From AllTask Where wfID=

That variable (wfID=*) is in my url, that means the page is loaded with
the adress:

.../view-workflow?myID=2 or .../view-workflow?myID=5

How can I get the variable 2 or 5 and put it in my SQL query? I use a
xsp page.
In the sitemap I have the following pipeline

 

 
 

 
 

 

Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Synthax problems for links from an ESQL field!

2002-12-06 Thread Christian Haul
On 06.Dec.2002 -- 03:01 PM, [EMAIL PROTECTED] wrote:
> Hello,
> I want a link on every ID, what is the synthax to get the value from the
> variable : "" after this
> "view-workflow?myID=1"  (instead of "1")
> 
> 
>   
>column="wfID"/>
>   
>   
> 
> 
>   
> 
> 

use  to do that.


  view-workflow?myID=
  
http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Synthax problems for links from an ESQL field!

2002-12-06 Thread Maxime.Gheysen
Hello,
I want a link on every ID, what is the synthax to get the value from the
variable : "" after this
"view-workflow?myID=1"  (instead of "1")












-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




[ANN] Apache Cocoon 2.0.4 Release

2002-12-06 Thread Carsten Ziegeler
Apache Cocoon 2.0.4 Released


   The Apache Cocoon team is proud to announce the new release
   of Apache Cocoon.


Apache Cocoon is an XML framework that raises the usage of
XML and XSLT technologies for server applications to a new level.
Designed for performance and scalability around pipelined SAX
processing, Cocoon offers a flexible environment based on the
separation of concerns between content, logic and style.
A centralized configuration system and sophisticated caching
top this all off and help you to create, deploy and maintain
rock-solid XML server applications.

Today, most web engineers consider XML as the key for an improved
web model and web site managers see XML as a way to reduce costs
and ease production. In an era where services rather than software
will be key for economic success, a better and less expensive model
for web publishing will be a winner, especially one based on open
standards.

This release of Cocoon is a maintainance release focusing on
improved performance and robustness. In addition some bugs were
fixed and new features were added. See the following changes list
for more information.



For more information about Apache Cocoon 2.0.4, please go to
http://xml.apache.org/cocoon

Changes with Apache Cocoon 2.0.4

*) The HTMLGenerator now accepts a JTidy configuration file for fine-grained
control on the generated document. [SW]

*) New Logicsheet for use with InputModules. [CH]

*) xsp.xsl now includes all xsp:init-page tags. Additional xsp:exit-page tag
for cleanup operations. [CH]

*) New InputModule to map parameter names to / from another name. Uses
translation table and additional prefix / suffix. [CH]

*) Fixed SimpleFormTransformer: Malformed XML with textarea elements.  [CH]

*) Allow to set the i18n transformer's locale from the sitemap as a
parameter (ported from 2.1-dev). The old behavior, based on LocaleAction is
preserved only for 2.0.x versions and will be removed from the further
releases (2.1 and higher). [KP]

*) New build target "validate-config" to conduct build-time validation of
some core important configuration files using RELAX NG (call it manually
with: ./build.sh validate-config). Currently doing: all sitemap.xmap, all
cocoon.roles, all *.xsl stylesheets, all book.xml files. [DC]

*) Extend the syntax of sitemap variable substitution : variables can have a
prefix which indicates an InputModule where to get the value from. For
example, the expression "{request-param:foo}" will evaluate to the value of
the "foo" request parameter (provided of course that the "request-param"
InputModule is correctly defined in cocoon.xconf). [SW]

*) RequestLifecycleComponents were not handled properly when the cocoon:
protocol is used [CZ]

*) Changed SimpleFormTransformer to use InputModules. [CH]

*) Changed InputModules to return Iterator instead of Enumeration. New
abstract "meta" module to make new meta modules easier. Stripped "meta" from
defaults module. Added JXPathMetaModule. Added extension classes and
packages to all modules that are based on JXPath. [CH]

*) Improved support for CLOB and BLOB columns in modular database actions.
[CH]

*) New chaining InputModule that allows to use additional modules when an
attribute is not present or null. [CH]

*) Changed defaults of InputModule names in many places to new names. [CH]

*) Fixing namespace handling of SQLTransformer. [CZ]

*) New ZipArchiveSerializer to build zip files aggregating various sources
as archive entries. Can be used to generate zip files, sxw files
(OpenOffice), jar files, etc. [SW]

*) TraxTransformer does not have use-deli parameter anymore. If deli is
configured in the cocoon.xconf, it always will be used. [VG]

*) CocoonServlet upload behavior now configurable from the web.xml.
Configuration parameters are: autosave-uploads, overwrite-uploads,
upload-max-size. See web.xml for description. [VG]

*) Remove the static factory variable in RequestFactory, and instead pass it
to the HttpRequest via the environment. [VG]

*) ReadDOMSessionTransformer now can work with any types of object (same
mechanism as in  now used). Configuration parameter dom-name
renamed to attribute-name. [VG]

*) Src attribute can be used now with SessionAttributeGenerator to specify
session attribute name. Old syntax preserved. [VG]

*) Local parameters in SessionStateAction still do override global
parameters, but do NOT change global parameters. [VG]

*) Src attribute can be used now with ResourceExistsAction. Old parameter
syntax preserved. [VG]

*) Fixed prefix mapping for the sql transformer. [CZ]

*) FOP user configuration can now be specified as URL or relative path as
the value of the  element. [VG]

*) Load default FOP configuration only once, do not overwrite any user
configuration. [VG]

*) Remove unnessesary code in SVGBuilder. This also fixes intermittent
ClassCastExceptions in Batik code. [VG]

*) Fix issue

Réf:Re: LDAPTransformer

2002-12-06 Thread Rano, Didier

Cocoon 2.0.3

Séparateur de messages
Objet : Re: LDAPTransformer
Auteur :[EMAIL PROTECTED]
Date :  05/12/2002 20:24

Thanks Didier.

I still get the same exception :-(
I am using revision 1.9 of LDAPTransformer from cvs HEAD.
Nicola moved it to a block a week ago, but did not change
it otherwise.

Which version of cocoon do you use?


Martin

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




[REQ] Problem deploying cocoon.war in Borland Enterprise Server

2002-12-06 Thread Cedric Picard
Title: [REQ] Problem deploying cocoon.war in Borland Enterprise Server






If you have experience with deploying cocoon in Borland AppServer or Enterprise Server, you might be able to help me with the following query:

I followed all the steps recommended in JBuilder for Cocoon developing by Michal Durdina, apart from the inclusion of the CatalogManager.properties file.

Upon deployment of my war file in Borland Enterprise Server 5.0, I get the following error in 

var\servers\\adm\properties\partitions\standard\tomcat\work\localhost\\cocoon-files\log\WEB-INF\logs

FATAL_E (2002-12-06) 09:24.26:510   [access] (Unknown-URI) Unknown-thread/CocoonServlet: Unable to get 'Cocoon-Libs' attribute from the Manifest

From looking at the CocoonServlet code, it appears to me that it expects cocoon.jar to be included in the web application in WEB-INF\lib. Is that correct?

What I then did was to specifically require Jbuilder to include cocoon.jar in the web archive (should the name given to the required library be "Cocoon-Libs" as I called mine "cocoon"?), but got the same error.

I would appreciate your help if you can spot what I am doing wrong.


Regards,

Cedric Picard,

Software Engineer

Kainos Software Ltd.



Regards,

Cedric Picard,

Software Engineer

Kainos Software Ltd.


--This e-mail is confidential and is intended for the named recipient only. Ifyou receive it in error please destroy the message and all copies. KainosSoftware Ltd. does not accept liability for damage sustained as a result ofmalicious software (e.g. viruses). Kainos does not accept liability for, orpermit, the creation of contracts on its behalf by e-mail, the publication ofany defamatory statement by its employees by e-mail, or changes subsequentlymade to the original message. The Company's registered office is located at4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.


Re: MsSQL MySql PosgreSQL BasisPlus Oracle As400 Connections

2002-12-06 Thread Nicola Ken Barozzi


Antonio Gallardo wrote:

Hi,

I already saw your post on the wiki. :-D

The proposal is nice. Maybe we can make some changes to integrate Torque
into Cocoon.

I will start to learn about Torque.

Thanks for your comments.


Look at OJB http://jakarta.apache.org/ojb/index.html

It's deemed to be better than torque by some Turbine developers, and has 
an Avalon component for it (ask on that dev list for it).

Antonio Gallardo.

Alex McLintock dijo:


At 22:42 04/12/02, Gabriele Domenichini wrote:


Are you wondering how to connect Cocoon to your database and you have
got  one of theese?:

  * As400 
  * BasisPlus 
* Oracle 
  * PostgreSQL
 * MsSQL

  * MySQL 


Then go to
http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection

Thanks to the tribute from people who had your same problem, you can
now  follow instructions on:



Or better still, why not try using Apache Torque which is part of the
Apache Turbine project, and get database independance.
Has anyone tried that yet?

Alex McLintock





--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Pleeese! retrieving xml code as out-parameter

2002-12-06 Thread Gabriele Domenichini
Thank you so much.
I'll began the switching. If in the mean time a solution is found I'd
prefere to use the sql transformer.

On Fri, 6 Dec 2002 11:38:22 +0100, "Christian Haul"
<[EMAIL PROTECTED]> said:
> On 06.Dec.2002 -- 12:19 PM, Gabriele Domenichini wrote:
> > I need to retrieve xml data from Oracle database as an out-parameter. The
> > stored procedure works but the output is like this:
> > 
> >
> > Something written
> >
> > 
> > I think that SQL Transformer convert "<" and ">" signs in entities. I
> > need desperately to have my code back. Please help me
> 
> No idea how to achieve this with the transformer, but with esql you
> could use esql:get-xml for this (or enclose a get-string with
> util:include-expr).
> 
> Switching to XSP would surely have a major impact but since you are
> desparate
> 
> I believe there has just been a similar thread, so have a look at the
> archives. 
> 
>   Chris.
> -- 
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 
-- 
  Gabriele Domenichini
  [EMAIL PROTECTED]

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Complicated setup

2002-12-06 Thread Simeon Walker
Hi,

I've come to this thread a few days late but I thought I would mention
how I did it as no body else here seems to have done it this way.

In tomcat the Cocoon servlet is mounted at the root, i.e. no prefix.

I started out using mod_jk and used JkMount for ech of the top level
sections of our website. This looked like it worked and left apache
to handle all other URL's (images,css,big file downloads etc).

But when I came to implement i18n I found that the browsers acccept-language
request headers did not make it though to Cocoon :-(

I got around this by having tomcat (one of the 4.0 milestones at the time)
listen on an http port 127.0.0.1:8080 and using mod_proxy in apache.
In this way I could get all the headers passed to Cocoon and it all
works.

So, in httpd.conf I have:

# this handle some servlets and svg paths to Cocoon

	JkWorkersFile /etc/tomcat/jk/workers.properties
	JkLogLevel error
	JkLogFile /var/log/apache/mod_jk.log
	JkMount /svg/* ajp13
	JkMount /servlet/* ajp13
	JkMount /testpilot/*.tp3 ajp13


# handle redirects sent from Cocoon

	ProxyPassReverse / http://127.0.0.1:8080/



	RewriteEngine on
	RewriteLog /var/log/apache/rewrite.log
	RewriteLogLevel 1
	# I snipped out some legacy url re-writing here...

	# This handles the home page
	RewriteRule ^/$ http://127.0.0.1:8080/ [P]

	# This handles each top level section
	RewriteRule /(search|auth|login|school|people|gazette|teaching|research|admin)/(.*) 
http://127.0.0.1:8080/$1/$2 [P]
	# Note: mozilla did the wrapping here!


That's about it.

Maybe some time I should try the latest tomcat and mod_jk to see if
the problem with the language headers still exists. Currently I'm using
Cocoon 2.0.4-dev and tomcat 4.0.5.

Sim


On 12/03/02 14:34, Jeremy Quinn wrote:
Hi All

Can anyone advise me on getting this complicated setup right?

We have a website that will have some stuff served by Cocoon and some 
served by Apache.

It is not easy to separate them out because we need to retain legacy 
URLs. Likewise, it is not possible to give Cocoon served material a URL 
prefix, primarily because we need Cocoon to serve the home page of the 
site.

 From Cocoon:

/
/index
/general/*
/archive/*
/x-space/*
etc. (about 10 items)

 From Apache:

/images/*
/movies/*
/audio/*
/x-spaceprojects/*
/harlem/*
etc. (also about 10 items)


And then we need Slide-based WebDAV access to the Cocoon based material, 
with Cocoon generating from the Slide repository . and this I have 
still never had working .

If necessary we /could/:
a) place all static content in a single directory and redirect (legacy 
URLs) into it from Cocoon.
b) use virtual-hosts, one for Cocoon and one for the static stuff and 
redirect from Cocoon. But redirecting to images etc. is not that great ;)

I am getting confused with all the options .. virtual-hosts, 
web-app, JK, JK2 connectors and all the options in them!

Have any of you lot tried any of this before?
How did you approach it?

Many thanks for any help


regards Jeremy








-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

--
Simeon Walker,  email: [EMAIL PROTECTED]
School of Biological Sciences,  phone: +44 (0)1248 383702
University of Wales, Bangor,fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.  www: http://biology.bangor.ac.uk/



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Pleeese! retrieving xml code as out-parameter

2002-12-06 Thread Christian Haul
On 06.Dec.2002 -- 12:19 PM, Gabriele Domenichini wrote:
> I need to retrieve xml data from Oracle database as an out-parameter. The
> stored procedure works but the output is like this:
> 
>
> Something written
>
> 
> I think that SQL Transformer convert "<" and ">" signs in entities. I
> need desperately to have my code back. Please help me

No idea how to achieve this with the transformer, but with esql you
could use esql:get-xml for this (or enclose a get-string with
util:include-expr).

Switching to XSP would surely have a major impact but since you are
desparate

I believe there has just been a similar thread, so have a look at the
archives. 

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: MsSQL MySql PosgreSQL BasisPlus Oracle As400 Connections

2002-12-06 Thread Antonio Gallardo
Hi,

I already saw your post on the wiki. :-D

The proposal is nice. Maybe we can make some changes to integrate Torque
into Cocoon.

I will start to learn about Torque.

Thanks for your comments.

Antonio Gallardo.

Alex McLintock dijo:
> At 22:42 04/12/02, Gabriele Domenichini wrote:
>>Are you wondering how to connect Cocoon to your database and you have
>> got  one of theese?:
>>
>>* As400 
>>* BasisPlus 
>> * Oracle 
>>* PostgreSQL
>>  * MsSQL
>> 
>>* MySQL 
>>
>>
>>  Then go to
>>  http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection
>>
>>Thanks to the tribute from people who had your same problem, you can
>> now  follow instructions on:
>
>
> Or better still, why not try using Apache Torque which is part of the
> Apache Turbine project, and get database independance.
> Has anyone tried that yet?
>
> Alex McLintock
>
>
>
>
> Openweb Analysts Ltd, London.
> Software For Complex Websites http://www.OWAL.co.uk/
> Open Source Software Companies please register here
> http://www.OWAL.co.uk/oss_support/
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: [SUMMARY] Complicated setup

2002-12-06 Thread Jeremy Quinn

On Thursday, Dec 5, 2002, at 23:01 Europe/London, Charles Yates wrote:


  # Problem: now EVERYTHING is served by cocoon. No way to serve
static/legacy content by Apache!


A small quibble, but this isn't true.  You can set up an alias in
httpd.conf, for example:

Alias /images/ "/usr/java/tomcat/webapps/cocoon/resources/images/"


Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all



 Then any request to '/images/someimagefile will be served by
apache, even with cocoon context at '/'.  At least this works for me
apache 2.0.43 mod_webapp 1.2.  This is also how I handle pdfs.
 On the other hand, Leo's excellent summary has got me thinking I
should switch to mod_jk2 . . .


I just tried this with jk_mod.

With " JkMount /* " it will not work (and that's the one I need). 
TomCat gets the ball.

Using mod_jk 1.2.0, Apache 1.3.27

regards Jeremy


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



Re: MsSQL MySql PosgreSQL BasisPlus Oracle As400 Connections

2002-12-06 Thread Alex McLintock
At 22:42 04/12/02, Gabriele Domenichini wrote:

Are you wondering how to connect Cocoon to your database and you have got 
one of theese?:

   * As400 
   * BasisPlus 
   * Oracle 
   * PostgreSQL 
   * MsSQL 
   * MySQL 


 Then go to
 http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection

Thanks to the tribute from people who had your same problem, you can now 
follow instructions on:


Or better still, why not try using Apache Torque which is part of the 
Apache Turbine project, and get database independance.
Has anyone tried that yet?

Alex McLintock




Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



Pleeese! retrieving xml code as out-parameter

2002-12-06 Thread Gabriele Domenichini
I need to retrieve xml data from Oracle database as an out-parameter. The
stored procedure works but the output is like this:

   
Something written
   

I think that SQL Transformer convert "<" and ">" signs in entities. I
need desperately to have my code back. Please help me
Gabriele Domenichini
-- 
  Gabriele Domenichini
  [EMAIL PROTECTED]

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can you explain a little more about that?)

2002-12-06 Thread Christian Haul
On 05.Dec.2002 -- 01:25 PM, Konstantin Piroumian wrote:
> 
> From: "Antonio Gallardo" <[EMAIL PROTECTED]>
> > Christian Haul dijo:
> > > Konstantin Piroumian wrote:
> > >> Hi!
> > >>
> > >> Why the names of tags are not:
> > >> 
> > >> 
> > >> etc.?
> > >
> > > Good point. My reasoning was that get-parameter is the most visible /
> > > most used tag from the request logicsheet. And since I see this as a
> > > replacement, I thought differences should be minimal.
> >
> > I agree too. Is better stay at the formal specification:
> >
> > tag is official called elements
> > parameter is official called attribute.
> >
> > Can you make the change Konstantin?
> 
> I'll be able to do it only in the evening today (about 6 hours later). Hope
> this won't be too late.

Thanks a lot!

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XMLForm: please help

2002-12-06 Thread Sylvain.Thevoz
Hello,

I'm trying to have an XMLForm app with dynamic listbox. The values of the listbox come 
from an XML file.

The navigation app is like this:
Start->Form1->Form2->Confirm->End

In the Form1 view I have a listbox. The content (the different choices) of this 
listbox comes from an XML file. The code is:

  Workstation Type
  


  
  


This code seems to be OK. The XPath code is also OK.

I load the XML file in a DOM Node property (called "select"). This property is located 
in the Bean file (with getter and setter methods for this property). I load the XML 
file in this Node property also in the Bean file, in the constructor. Here the Bean 
file:

public class AddWorkstationBean {
private String workstationName;
private String workstationType;
...

private Node select; //values from the XML file

public AddWorkstationBean() {
initSelect();
}

public Node initSelect() {
...
//Here I load values into select property form XML file
...
}
 
.. getter an setter methods..
..

}


My problem is when I start the app (with the Start view) and then display the Form1 
there is NOTHING in the listbox (the list isn't empty but it's like the caption and 
value properties are null)!!
Then I go to the next view (Form2). Then if I press the Preview button and go back to 
the Form1, the listbox is OK!! It's crazy and I really don't understand why!

Someone could help me?
Any suggestions will be greatly appreciated!

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: LDAPTransformer

2002-12-06 Thread Martin Holz
On Thursday 05 December 2002 20:29, Nicola Ken Barozzi 
wrote:
> Martin Holz wrote:
> > Thanks Didier.
> >
> > I still get the same exception :-(
> > I am using revision 1.9 of LDAPTransformer from cvs
> > HEAD. Nicola moved it to a block a week ago, but did
> > not change it otherwise.
>
> Not /yet/ ;-)
>
> I'm going to use it for the first time in the next days
> for my intranet, so I need it fixed too if it's broken.
> Actually I will also need to make addition possible,
> we'll see...

I did not yet dive deep into the code, but I got the 
impression, that the transformer always complains about the 
second child  of , regardless of its name. 
There is something wrong with the value of 
this.current_state.

Martin

=
More precisely:
org.apache.cocoon.ProcessingException: Failed to execute 
pipeline.: java.lang.IllegalStateException: 
LDAPTransformer: Not expecting a start serverurl element

Extra info:
Original exception : java.lang.IllegalStateException: 
LDAPTransformer: Not expecting a start serverurl element
at 
org.apache.cocoon.transformation.LDAPTransformer.throwIllegalStateException(LDAPTransformer.java:313)
at 
org.apache.cocoon.transformation.LDAPTransformer.startServerurlElement(LDAPTransformer.java:495)
at 
org.apache.cocoon.transformation.LDAPTransformer.startElement(LDAPTransformer.java:979)
at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
at 
...
==

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: ldap

2002-12-06 Thread Christian Joelly
Hi Brett!

then you are on the lucky side ;-) I have a LDAP directory and can't
switch to a database without migrating the whole infrastructure. Its a
pain to change the cocoon version every few months when you realize that
things are not working properly, so im thinking of using another
framework for our project. (which is far away from a simple hello world
website... =;-))

Chris

On Fri, Dec 06, 2002 at 12:17:47AM -0800, Brett McCormick wrote:
> I haven't gotten LDAPTransformer to work, and I haven't found any good
> docs on it.  I decided to use an SQL db for now, and switch to LDAP
> later.

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed





msg21496/pgp0.pgp
Description: PGP signature


Re: ldap

2002-12-06 Thread Brett McCormick

I haven't gotten LDAPTransformer to work, and I haven't found any good
docs on it.  I decided to use an SQL db for now, and switch to LDAP
later.

On Friday, 6 December 2002, at 09:16:09, Christian Joelly wrote:

> 
> Hi Tim!
> 
> thanks for your response. I'll switch to LDAPTransformer.
> 
> Chris
> 
> On Fri, Dec 06, 2002 at 09:27:13AM +1100, Bentley, Tim wrote:
> > 
> > Unfortunately I am no longer using Cocoon, so I haven't tested eldap with
> > the latest versions and am not in a position to provide much help :-(
> > However, there is no reason that I'm aware of why it shouldn't work.  At a
> > guess from the logs you've posted there's something more fundamental wrong
> > with your XSP page - 'illegal start of expression' sounds like a problem
> > with the XML syntax.  
> 
> -- 
> KNAPP Logistics Automation  http://www.knapp.com
> Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
> Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz
> 
> -- Support your government, give Echelon/Carnivore something to parse --
> AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
> Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
> Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
> compromise defense  democracy  destroy  destruct  detonator  directorate
> elections enforce extasy force  foreign embassy government grass hashish
> heroin   illegal  information   international  military systems  missile
> million dollars   nuclear  policital   pot  power   presidental  project
> restricted data  revolution  rule the world sensitive  smuggle spy steal
> system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed
> 
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: ldap

2002-12-06 Thread Christian Joelly
Hi Tim!

thanks for your response. I'll switch to LDAPTransformer.

Chris

On Fri, Dec 06, 2002 at 09:27:13AM +1100, Bentley, Tim wrote:
> 
> Unfortunately I am no longer using Cocoon, so I haven't tested eldap with
> the latest versions and am not in a position to provide much help :-(
> However, there is no reason that I'm aware of why it shouldn't work.  At a
> guess from the logs you've posted there's something more fundamental wrong
> with your XSP page - 'illegal start of expression' sounds like a problem
> with the XML syntax.  

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed





msg21494/pgp0.pgp
Description: PGP signature