C2 how javascript can read or write a Session attribute?

2001-07-03 Thread Apostolou, Kostantinos

Hi
I created I session. Now I want to my clent to modify an attribute
or read an attribute
do you know how java script can do it?




 Apostolou, Kostantinos.vcf

-
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: Cocoon 1.8.3???

2001-07-03 Thread Frans Thamura

I prefer to use 1.8x, because all of my script is not work in cocoon 2, that
is because sitemap.xmap file.

Still question

Frans


- Original Message -
From: "Ramsés Morales" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 6:11 PM
Subject: Cocoon 1.8.3???


> Hi.
>
> Are you planning a new Cocoon 1.8.x release, or we have to jump
> immediately to Cocoon 2??
>
> thanks for your help.
>
>
> -
> 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 You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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]>




formvalidator and xform

2001-07-03 Thread java guru

Hi.,
 I really like the idea of form validator stuff and
appreciate the efforts put into it...

I was wondering if there is work goingon in the area
of xforms/xfdl stuff.. 


Your input is highly appreciated..




Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
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: C2/Tomcat 3.2.2: Include Cocoon-Content in JSP

2001-07-03 Thread Jeff Turner

On Tue, Jul 03, 2001 at 10:39:19PM +0200, Stefan Seifert wrote:
> I want to include the result of a cocoon transformation as part of
> another JSP Page as follows:
> 
> ... jsp content ...
> 
> <%
> String strIncludeURL = "../cocoon/meeting_agenda.htm?MeetingID=1";
> %>
> 
> 
> ... jsp content ...
> 
> 
> Unfortunately this does not work. If i use a JSP page as include
> destination it works. If i type in the Coccon-URL directly, i get the
> content right. But in combination i get nothing. The cocoon servlet is
> mapped on /cocoon/*. meeting_agenda.htm is the result of an C2 pipeline
> serialized as HTML.

Hmm.. should work, shouldn't it? Perhaps your unusual .htm extension is
confusing something?

I usually put Cocoon in a separate context, and use jakarta-taglibs'
"io" taglib to suck in the content.

But in your situation,  should work.

--Jeff

http://jakarta.apache.org/taglibs/doc/io-doc/intro.html


> Any ideas how to include a cocoon page in a JSP page? I've found a
> sample using jsp:include with C1, but this seems not to work with C2.
> 
> Stefan

-
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: The sitemap handler's sitemap is not available Help

2001-07-03 Thread Lajos Moczar

I've watched this list for months as others have had this problem, and 
today I got bit by it myself (Cocoon2b1 w/ Tomcat 3.2.2 on Win 98). Just 
delete $TOMCAT_HOME/lib/jaxp.jar and $TOMCAT_HOME/lib/parser.jar. That 
did it for me.

Lajos
Galatea IS Inc.


Kalven Beaver wrote:

> HelpHelp...
> Anyone run into this problem and have a workaround or
> solution?  Followed instructions and still get:
> 
> 
> 
> type internal-server-error
> 
> message The sitemap handler's sitemap is not
> available.
> 
> description org.apache.cocoon.ProcessingException: The
> sitemap handler's sitemap is not available.
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> request-uri
> 
> /cocoon/
> 
> exception
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
> 
> path-info
> 
> 
> 
> stacktrace
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
>   at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
>   at
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
>   at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
>   at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>   at
> org.apache.tomcat.core.Handler.service(Handler.java:286)
>   at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>   at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
> 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>   at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> -
> 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: The sitemap handler's sitemap is not available Help

2001-07-03 Thread java guru

this problem is being reported and sollutions being
suggest numerous times...Please seach the mail
archive...


 --- Kalven Beaver <[EMAIL PROTECTED]> wrote: >
HelpHelp...
> Anyone run into this problem and have a workaround
> or
> solution?  Followed instructions and still get:
> 
>

> 
> type internal-server-error
> 
> message The sitemap handler's sitemap is not
> available.
> 
> description org.apache.cocoon.ProcessingException:
> The
> sitemap handler's sitemap is not available.
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> request-uri
> 
> /cocoon/
> 
> exception
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
> 
> path-info
> 
> 
> 
> stacktrace
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:293)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
>
-
> 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 You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
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]>




The sitemap handler's sitemap is not available Help

2001-07-03 Thread Kalven Beaver

HelpHelp...
Anyone run into this problem and have a workaround or
solution?  Followed instructions and still get:



type internal-server-error

message The sitemap handler's sitemap is not
available.

description org.apache.cocoon.ProcessingException: The
sitemap handler's sitemap is not available.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

exception

org.apache.cocoon.ProcessingException: The sitemap
handler's sitemap is not available.

path-info



stacktrace

org.apache.cocoon.ProcessingException: The sitemap
handler's sitemap is not available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at
org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)




__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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]>




Cocoon 1.8.3???

2001-07-03 Thread Ramsés Morales

Hi.

Are you planning a new Cocoon 1.8.x release, or we have to jump
immediately to Cocoon 2??

thanks for your help.


-
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: [C2] - trying out Simple SQL

2001-07-03 Thread java guru

Hi.,
  The poolable error i got in the instances where the
connection pool couldnt be created for any reason..so


1. You could specify jdbc driver properties in
database.properties and then go ahead with build
process. That way the correct jdbc properties would be
propagated to different parts of the build. You dont
need to change any other files(like web.xml etc)...

2. Make sure the jdbc driver you are using is
accessable to cocoon..I mean the jar file of the
driver is included in the c2 classpath.

Everything should work fine now...

Again poolable error is 'coz the c2 couldnt create the
connection pool for some reason

good luck

 --- Colin Paul Adams <[EMAIL PROTECTED]>
wrote: > I've just got Cocoon 2 up and running
successfully
> on Linux (2.4.3 with
> Sun JDK 1.3.1, Apache 1.3.19 and Tomcat 3.2.2).
> 
> I'd like to get JDBC access going with Postgresql
> 7.0.3. Can anyone
> tell me what I need to do?
> I've tried editing web.xml to specify
> postgresql.Driver, and I also
> edited both database.properties and web.xml in order
> to try to set the
> connection parameters. But when I try the Simple SQL
> option on the
> welcome menu (I've created the table defined in
> sql-page.xml.sql) I
> get:
> 
> org.apache.cocoon.ProcessingException: Failed to
> execute pipeline.:java.sql.SQLException: You cannot
> get a Poolable before the pool is initialized
> 
> 
> -- 
> Colin Paul Adams
> Preston Lancashire
> 
>
-
> 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 You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
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]>




RedHat 7.1

2001-07-03 Thread Miles Elam

Is anyone else running Cocoon2b1 on a RedHat 7.1
system with either the Sun or the IBM 1.3.x JVM?  I've
been having no end of trouble getting it to work on
three different boxes.  Google searches turn up
reports of problems with Tomcat (for example).  I
tried the solutions for Tomcat-related JVM problems
(although my Tomcat4b5 seems to work fine with JSPs
and other servlets) to no avail.

The error I get is a ServletException on init().  Root
cause is "java.lang.NoClassDefFoundError:
javax/xml/parsers/ParserConfigurationException".  I
built the WAR file as documented in the INSTALL file
both with a change to the "extra-classpath" parameter 
in web.xml (specifying the location of my Tomcat's
servlet.jar archive) and without.

I haven't seen anything in the docs or the mailing
list archives that solves my problem.
Is there someone out there that can confirm that they
are also having problems on a RedHat 7.1 system or if
they are running the same config with no difficulties?
- Miles

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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]>




[C2] - trying out Simple SQL

2001-07-03 Thread Colin Paul Adams

I've just got Cocoon 2 up and running successfully on Linux (2.4.3 with
Sun JDK 1.3.1, Apache 1.3.19 and Tomcat 3.2.2).

I'd like to get JDBC access going with Postgresql 7.0.3. Can anyone
tell me what I need to do?
I've tried editing web.xml to specify postgresql.Driver, and I also
edited both database.properties and web.xml in order to try to set the
connection parameters. But when I try the Simple SQL option on the
welcome menu (I've created the table defined in sql-page.xml.sql) I
get:

org.apache.cocoon.ProcessingException: Failed to execute 
pipeline.:java.sql.SQLException: You cannot get a Poolable before the pool is 
initialized


-- 
Colin Paul Adams
Preston Lancashire

-
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 and DTD

2001-07-03 Thread Mohamed Ramzy

hi
i have a very strange problem, actually i'm passing
parameters from HTML file into .XML file. in the .XML
i'm using XSP to receive these parameters, i'm using a
DTD to include external entities. here is the code







%entite;
]>

http://www.apache.org/1999/XSP/Core";>




  request.getParameter("Price")


.
.
.
.




the problem that i get an XSP NullPointerException,
and i think may be because of xsp declared as the root
element  in the DOCTYPE part
but i don't know how to solve that, as XSP is the root
element and not tst.

i'm using Cocoon 1.8.2, apache Jserv/1.1 

please i need help as soon as possible..

thanks in advance

=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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]>




Floating Point alignment

2001-07-03 Thread Carloz Alaniz

Does anybody know how to use XSLT to align floating point numbers in an
HTML Table?

(e.g.)

My ex.xml file looks like this:




   My Heading 
   1.234   
   23.3432 
   1.2 
   111.221 

-
My ex.xsl file looks like this:

 
http://www.w3.org/1999/XSL/Transform";>

  
  Example 
  
   
   
   
   

   
 
   

   


   

--
My HTML table looks like this:


| My Heading |
 
|   1.234|
 
|  23.3432   |   
 
|1.2 |
 
|   111.221  |
 
If you look at the columns in my example, you will see that Floating
Point alignment does not take place correctly.

Has anyboy encountered this kind of problem or can help me fix it so
that my alignment will be correct such as:
--
| My Heading  |
 -
|1.234|
 -
|   23.3432   |   
 -
|1.2  |
 -
|  111.221|
 

begin:vcard 
n:Alaniz;Carloz
x-mozilla-html:FALSE
org:ASIC New Products Development
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Carloz Alaniz
end:vcard



-
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]>


Help... How to dynamically generated pages without recompiling sitemap?

2001-07-03 Thread Jessica Kung

Dear Cocoon users

We are in the midst of implementing a publishing tool using Cocoon 2. We 
understand that in order to add a new web page into the system, we will need 
to update the sitemap file and recompile this. We may need to restart Tomcat 
as well in order for the system to recognise the new web page.

Please let me know if this is correct. Perhaps we are using it wrongly.

However, as we are building a system to allow the content owners to 
dynamically add new web pages. If the above conditions are true, and our 
system has about 10 content owners, must we restart Tomcat and recompile the 
sitemap each time the owners add new pages?

Please help. We need to implement this system in 2 weeks time.

Your help is much appreciated.

Thanks in advanced!

Regards,
Jessica
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
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]>




C2/Tomcat 3.2.2: Include Cocoon-Content in JSP

2001-07-03 Thread Stefan Seifert

I want to include the result of a cocoon transformation as part of
another JSP Page as follows:

... jsp content ...

<%
String strIncludeURL = "../cocoon/meeting_agenda.htm?MeetingID=1";
%>


... jsp content ...


Unfortunately this does not work. If i use a JSP page as include
destination it works. If i type in the Coccon-URL directly, i get the
content right. But in combination i get nothing. The cocoon servlet is
mapped on /cocoon/*. meeting_agenda.htm is the result of an C2 pipeline
serialized as HTML.

Any ideas how to include a cocoon page in a JSP page? I've found a
sample using jsp:include with C1, but this seems not to work with C2.

Stefan

-
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]>




XML inside XML, and XSLT inside XSLT

2001-07-03 Thread Carloz Alaniz


Can someone help me or tell me there is such a thing as including an XML
file inside another XML file, or including an XSLT file inside another
XSLT file? 

Does such a thing exist??

~carloz

begin:vcard 
n:Alaniz;Carloz
x-mozilla-html:FALSE
org:ASIC New Products Development
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Carloz Alaniz
end:vcard



-
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]>


FW: RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor:

2001-07-03 Thread shivanarayanan
 BDY.RTF


Query problems !

2001-07-03 Thread Gustavo Mejia


Hi !!
I am making a query passing it from a JSP file, my code is very simple
but I got an error:
java.lang.RuntimeException:
Error executed prepared statement: 
?
 at _C_._tomcat._webapps._cocoon._m3._query_m3.populateDocument(_query_m3.java:233)
 at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
 at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527)
 at org.apache.cocoon.Engine.handle(Engine.java:384)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
My code is the next:

   
 
   

and I send the variable pQuery using the URL, something like:
http://localhost/cocoon/m3/query_m3.xml?pQuery=select * from inmuebles
I don't know what the error is, I think it is because the spaces in
the query, I tried also putting my query directly, (no like a parameter)
and it works fine.
Could you help me ? how can I fix this error !!
I would appreciate all your help !
Thanks a lot
--
Gustavo Mejía Mora
INFOTEC
Tel: 5624 28 00
Ext: 253
 


Re: Cocoon-2.0 with Tomcat-3.2.2 on Sun/Solaris

2001-07-03 Thread Marcus Crafter

Hi Joseph,

We have a similar configuration here, but its with Solaris 2.6.

What's happening when you start tomcat ? What's in the servlet and
cocoon2 logfiles ?

Cheers,

Marcus

On Tue, 3 Jul 2001, Rajkumar, Joseph wrote:

> Hi Folks
> 
> Does any one have this combination working on
> a Sun/Solaris-2.7 box. I have tried high and low to get
> it to work, but I am having lots of problems.
> 
>I have been able to create the cocoon.war file, but I
> am unable to proceed further.
> 
> Thanks
> Joseph Rajkumar
> 
> PS: Please note that I have successfully installed and run
> Cocoon-2.0B1 with Tomcat-3.2.2 on Windows/98
> and a laptop running Linux-Mandrake-8.0, but I just cannot
> figure out the problem running this on a standalone Sun/Sparc-20
> running Solaris-2.7. I have JDK-1.3 on the Sun box which is
> running an Xserver and I do get response for "xdpyinfo" command.
> 
> 
> 
> 
> -
> 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]>
> 
> 

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Open Software Associates GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
&&&:   After Hours: +49 69 49086750


-
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: Help... C2- How to dynamically create new pages without recompiling sitemap?

2001-07-03 Thread Sergio Carvalho

On Wed, 04 Jul 2001 00:01:05 +0800, [EMAIL PROTECTED] wrote:
--
> Dear Cocoon users
> 
> We are in the midst of implementing a publishing tool using Cocoon 2. We
> understand that in order to add a new web page into the system, we will
> need to update the sitemap file and recompile this. We may need to
> restart Tomcat as well in order for the system to recognise the new web
> page.

You don't need to restart tomcat. Cocoon should notice the changed sitemap and reload 
it. This is happening and working perfectly with the main sitemap. For sub-sitemaps, 
though, I've been having problems. Cocoon doesn't seem to detect the changed sitemap, 
and keeps using the old one. I've been using the workaround of requesting the URL with 
a cocoon-reload=true parameter, but I want to find out what's happening. 

You'll probably want to change sitemap recompiling to synchronous. It is set to 
asynchronous by default. Have a look at the bottom of cocoon.xconf.

> Please let me know if the above assumptions are correct. Perhaps we are
> using it wrongly.
> 
> However, we are building a system to allow the content owners to
> dynamically add new web pages. If the above conditions are true, and our
> system has about 10 content owners, must we restart Tomcat and recompile
> the sitemap each time the owners add new pages?

Here, it'd be probably better if each user has his own sitemap, mounted from the main 
sitemap. This makes it so that a user sitemap change doesn't force a site-wide sitemap 
recompile. Only the local sitemap gets recompiled.

> Please help... We are rushing to implement this system in 2 weeks time
> and really need all the help we can.

Good luck, and don't forget to write back with the results :-)

--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for 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: Help... C2- How to dynamically create new pages without recompiling sitemap?

2001-07-03 Thread Vadim Gritsenko

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 12:01
> To: [EMAIL PROTECTED]
> Subject: Help... C2- How to dynamically create new pages without recompiling sitemap?
> 
> 
> Dear Cocoon users
> 
> We are in the midst of implementing a publishing tool using Cocoon 2. We
> understand that in order to add a new web page into the system, we will
> need to update the sitemap file and recompile this. We may need to
> restart Tomcat as well in order for the system to recognise the new web
> page.
> 
> Please let me know if the above assumptions are correct. Perhaps we are
> using it wrongly.

Your assumptions are not correct; please look into sample sitemap:

   





   

This pipeline works for any request of form "xsp/*", and cocoon2 demo
have 6 *.xsp files in docs/samples/xsp/ directory. It is just matter of adding
new xsp file to it in order to add new page. That's it. No restart is required.

This is just an example. You should update it in a way you need.

PS However, it is possible to write such a sitemap so you need to recompile it
every time you add something new. It's just a matter of how you write your sitemap.

Vadim

> 
> However, we are building a system to allow the content owners to
> dynamically add new web pages. If the above conditions are true, and our
> system has about 10 content owners, must we restart Tomcat and recompile
> the sitemap each time the owners add new pages?
> 
> Please help... We are rushing to implement this system in 2 weeks time
> and really need all the help we can.
> 
> Your help is very very much appreciated.
> 
> Thanks a zillion in advanced!
> 
> Regards,
> Jessica
> 
> 
> -
> 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: how to precompile the xsp ?

2001-07-03 Thread java guru


  There is a procedure describe in faq of c2 on how to
pre-compile the jsps at the build level..I tried but
not luck..i have posted same to this mailing list so
may times with no response...

Hopefully, someone would reply
  
 --- JEULIN Olivier <[EMAIL PROTECTED]>
wrote: > I'm working with C1, but I think XSP works
the same
> way in C2:
> XSP pages are compiled if
>   - the java file doesn't exist
>   - the XML file is newer than the java file
> So, if you want to "precompile" XML files, you'll
> have to send a request for
> those files to your web server.
> I guess there are many way to achieve this by
> programming, but a quick way
> could be to use an off-line navigating tool (wget,
> teleport pro, or
> whatever) to request *.xml files
> Have fun,
> Olivier
> 
> > >I am developing a web application with Cocoon
> 2.
> > > But the xsp's performance is not very good ( 
> > > very slow ), so is it posible to precompile the
> xsp
> > > file ? and may i know how to do it ?
> > > 
> > > Thank you.
> > > 
> > > From Kok Cho0n.
> 
>
-
> 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 You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
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: Cocoon-2.0 with Tomcat-3.2.2 on Sun/Solaris

2001-07-03 Thread java guru

Hi.,
  Best thing would be delete the log and start the c2
again.. send the log with environment info to mailing
listand hope




Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
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: Help... C2- How to dynamically create new pages without recompiling sitemap?

2001-07-03 Thread java guru

Hi.,
   If u see the cocoon2 sitemap. it has something like
patterns which map the user request to the actual
document to be published. And you can use wildcards in
the patterns to send the web pages dynamically to the
user. So i think the web page(or xsp or image) names
to be requested need not be tied in sitemap.

I am not sure if ur requirement is something else but
this way it should solve your problem. If u want to
serve the web pages of each owner by different url
patterns then you simply create separate patterns for
each owner but leave the actual document name(webpage)
to be requested by ther user to the wildcard stuff...

Hope this helps


 --- [EMAIL PROTECTED] wrote: > Dear Cocoon users
> 
> We are in the midst of implementing a publishing
> tool using Cocoon 2. We
> understand that in order to add a new web page into
> the system, we will
> need to update the sitemap file and recompile this.
> We may need to
> restart Tomcat as well in order for the system to
> recognise the new web
> page.
> 
> Please let me know if the above assumptions are
> correct. Perhaps we are
> using it wrongly.
> 
> However, we are building a system to allow the
> content owners to
> dynamically add new web pages. If the above
> conditions are true, and our
> system has about 10 content owners, must we restart
> Tomcat and recompile
> the sitemap each time the owners add new pages?
> 
> Please help... We are rushing to implement this
> system in 2 weeks time
> and really need all the help we can.
> 
> Your help is very very much appreciated.
> 
> Thanks a zillion in advanced!
> 
> Regards,
> Jessica
> 
> 
>
-
> 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 You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
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]>




C2: Sitemap problem

2001-07-03 Thread Martin Mauri

Hi Cocooners,

I've posted this message some time ago, but I had no response, so I'll try
again.

The fact is that I'm trying to get C2 running, I've got Tomcat 3.2.1 over
Win ME and after reading the installation documentation and starting Tomcat,
I point with mt browser to http://localhost:8080/ and then C2 tries to
compile the sitemap, but I get the following error:

Cocoon 2 - Internal server error




type internal-server-error

message The sitemap handler's sitemap is not available.

description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

exception

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.

path-info



stacktrace

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
 at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:185)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:442)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)

any idea?

thanks,


Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) 4373-7786/7 int: 422
[EMAIL PROTECTED]
www.profesi.com.ar


-
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: how to precompile the xsp ?

2001-07-03 Thread JEULIN Olivier

I'm working with C1, but I think XSP works the same way in C2:
XSP pages are compiled if
- the java file doesn't exist
- the XML file is newer than the java file
So, if you want to "precompile" XML files, you'll have to send a request for
those files to your web server.
I guess there are many way to achieve this by programming, but a quick way
could be to use an off-line navigating tool (wget, teleport pro, or
whatever) to request *.xml files
Have fun,
Olivier

> >I am developing a web application with Cocoon 2.
> > But the xsp's performance is not very good ( 
> > very slow ), so is it posible to precompile the xsp
> > file ? and may i know how to do it ?
> > 
> > Thank you.
> > 
> > From Kok Cho0n.

-
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]>




Help... C2- How to dynamically create new pages without recompiling sitemap?

2001-07-03 Thread jesskung

Dear Cocoon users

We are in the midst of implementing a publishing tool using Cocoon 2. We
understand that in order to add a new web page into the system, we will
need to update the sitemap file and recompile this. We may need to
restart Tomcat as well in order for the system to recognise the new web
page.

Please let me know if the above assumptions are correct. Perhaps we are
using it wrongly.

However, we are building a system to allow the content owners to
dynamically add new web pages. If the above conditions are true, and our
system has about 10 content owners, must we restart Tomcat and recompile
the sitemap each time the owners add new pages?

Please help... We are rushing to implement this system in 2 weeks time
and really need all the help we can.

Your help is very very much appreciated.

Thanks a zillion in advanced!

Regards,
Jessica


-
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]>




C2- How to implement visitor personalisation feature?

2001-07-03 Thread jesskung

Dear Cocoon users

Has anyone implemented this feature before? It is a feature similar to 
excite.com where they allow the visitor to custom turn on or off certain 
sections of the web page. Any help is greatly appreciated! Is this feature 
possible in C2?

Thanks in advanced.

Regards,

-
This mail sent through IMP: samurai.brel.com

-
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]>




Help... [C2]how to dynamically create new pages without recompiling sitemap?

2001-07-03 Thread jesskung

Dear Cocoon users

We are implementing a publishing system where a content owner is able to add 
new web pages. 

However from our understanding, we need to recompile the sitemap and also to 
restart Tomcat once we add a new page in the C2 system. Please advise if we 
understand this wrongly.

If yes, please let us know on how we can implement this feature. We really need 
this feature urgently as we need to get the system up in 2 weeks. Please please 
help...

Thanks in advanced for all responses.

Regards
Jessica

-
This mail sent through IMP: samurai.brel.com

-
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]>




Cocoon-2.0 with Tomcat-3.2.2 on Sun/Solaris

2001-07-03 Thread Rajkumar, Joseph

Hi Folks

Does any one have this combination working on
a Sun/Solaris-2.7 box. I have tried high and low to get
it to work, but I am having lots of problems.

   I have been able to create the cocoon.war file, but I
am unable to proceed further.

Thanks
Joseph Rajkumar

PS: Please note that I have successfully installed and run
Cocoon-2.0B1 with Tomcat-3.2.2 on Windows/98
and a laptop running Linux-Mandrake-8.0, but I just cannot
figure out the problem running this on a standalone Sun/Sparc-20
running Solaris-2.7. I have JDK-1.3 on the Sun box which is
running an Xserver and I do get response for "xdpyinfo" command.




-
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: AW: Cocoon2 Live Site...

2001-07-03 Thread Rajkumar, Joseph

Hi
I tried it and it worked. Then after reading this email
I tried again and got the same error as you mention, but
wait, I tried again after another 1/2 hour and it worked.
So I presume that they are doing some development and
you happened to hit the site at just the wrong time, try again
and I hope you will be successful.

Regards
Joseph Rajkumar

Daniel Pfuhl wrote:

> hmm seems to be misconfigured :-(
> I always get an internal server error
>
> daniel
>
>  --- Tobias Kieninger <[EMAIL PROTECTED]> schrieb: > Hi
> again,
> >
> > it seems that i forgot the URL of the new Live Site.
> >
> > http://www.XSLT-Patterns.com
> >
> > Ciao
> > Tobias
> >
> > > -Ursprüngliche Nachricht-
> > > Von: Joost Fleuren
> > [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Samstag, 30. Juni 2001 15:04
> > > An: [EMAIL PROTECTED]
> > > Betreff: Re: Cocoon2 Live Site...
> > >
> > >
> > > Hi,
> > >
> > > Sounds interesting, to see a live exampele.
> > > Can I see it, is there a web page adress?
> > >
> > > Thanx in advance,
> > >
> > > Joost Fleuren,
> > >
> > > Delft Technical University,
> > > the Netherlands.
> > >
> > > - Origineel Bericht -
> > > Van: "Tobias Kieninger" <[EMAIL PROTECTED]>
> > > Datum: Donderdag 28 Juni 2001 10:47
> > > Onderwerp: Cocoon2 Live Site...
> > >
> > > > Hi,
> > > >
> > > > we realized a new Web Site with Cocoon 2 using
> > features dynamic
> > > > generatedbuttons and menue through SVG.
> > > > Everything is based on XML and XSP using 4
> > different Stylesheets
> > > > in the pipe
> > > > for processing the data.
> > > >
> > > > We´d like to be listed on the "Cocoon Live
> > Sites" list.
> > > > Further suggestions and criticism are welcome at
> > any time.
> > > >
> > > > I wonder there are no Cocoon 2 sites on this
> > list yet!?!
> > > >
> > > > Thanks,
> > > > Tobias
> > > >
> > > >
> > > >
> >
> ---
> > > > --
> > > > Please check that your question has not already
> > been answered in the
> > > > FAQ before posting. <"
> > > >
> > target="l">http://xml.apache.org/cocoon/faqs.html>
> > > > 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]>
> >
>
> =
> 
> Daniel Pfuhl
> mailto:[EMAIL PROTECTED]
>
> __
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
>
> -
> 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: Why XSP?

2001-07-03 Thread Eduardo Yanez

Hi Mikael,

XSLT is just a transforming language, you can use it for transform any xml
document to any other textual format (html, txt, svg, pdf, etc).

On the other side you can compare XSP with JSP, they technologies for
dynamic content generation, JSP allow you to create servlets easily for
dynamic html generation, with XSP you have dynamic XML generation!.

In fact XSP uses XSLT in the transformers (C2) and in the XSP processor
(C1).

I hope the explanation aids you.

Regards,
Eduardo Yanez.

-Original Message-
From: Mikael Steldal [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 29 de Junio de 2001 04:51 a.m.
To: [EMAIL PROTECTED]
Subject: Why XSP?


What is the need for XSP? Why not use XSLT with extensions instead?


-
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: Displaying Images ?

2001-07-03 Thread Gustavo Mejia

Yeap !!

Thanks Mohamed !! I´m going to do that !!

--
Gustavo Mejía Mora
INFOTEC
Tel: 5624 28 00
Ext: 253



Mohamed Ramzy wrote:

> hi,
> the idea is simpleget the name of the image file
> from ur database by using esql(as u use it), then pass
> it to the XSL file as a tag and put it through
> variable and write the normal HTML imag tag, and in
> the source field write the name of ur variable
> i hope that can help
> --- Gustavo Mejia <[EMAIL PROTECTED]> wrote:
> > Hello !!
> >
> > Yes, I am here again .. I have a question, I need to
> > display an image
> > stored in my Oracle Database, I'm using esql, to get
> > the information,
> > but I I don't know how to get the pic's.
> >
> > I would appreciate all your Ideas and help !
> >
> > Thanks in advance.
> >
> > Gustavo
> > INFOTEC
> >
> >
> >
> -
> > 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]>
> >
>
> =
> Mohamed Ramzy Zakaria, Graduate Research student
> School of Computer Science & Information Technology
> Jubilee Campus, Nottingham University
> Nottingham, UK
> TEL: 00 44 (0)115 84 66529
> MOB: 00 44 (0)7947105251
> MOB E-MAIL: [EMAIL PROTECTED]
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> -
> 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]>




[C2] exception when sitemap has changes and attempts to recompile

2001-07-03 Thread Seth Ladd

Hello,

If I modify sitemap.xmap during runtime, the Cocoon 2 system notices this
change, and attempts to recompile the map.  I see this exception in the
cocoon.log file:

ERROR   33448   [cocoon  ] (Thread-6): Error compiling sitemap
java.lang.NullPointerException
at
org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnvironmen
t.java:206)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:230)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:206)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
at java.lang.Thread.run(Thread.java:498)

Not sure if anyone else sees this error.  Doesn't seem to affect the running
of the system.  I am forced to restart Servlet engine (Resin 2.0) to
recompile the sitemap.  I am using the IBM JDK 1.3 on Linux 2.2.

Thanks,
Seth


-
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: AW: Cocoon2 Live Site...

2001-07-03 Thread Daniel Pfuhl

hmm seems to be misconfigured :-(
I always get an internal server error 

daniel

 --- Tobias Kieninger <[EMAIL PROTECTED]> schrieb: > Hi
again,
> 
> it seems that i forgot the URL of the new Live Site.
> 
> http://www.XSLT-Patterns.com
> 
> Ciao
> Tobias
> 
> > -Ursprüngliche Nachricht-
> > Von: Joost Fleuren
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Samstag, 30. Juni 2001 15:04
> > An: [EMAIL PROTECTED]
> > Betreff: Re: Cocoon2 Live Site...
> >
> >
> > Hi,
> >
> > Sounds interesting, to see a live exampele.
> > Can I see it, is there a web page adress?
> >
> > Thanx in advance,
> >
> > Joost Fleuren,
> >
> > Delft Technical University,
> > the Netherlands.
> >
> > - Origineel Bericht -
> > Van: "Tobias Kieninger" <[EMAIL PROTECTED]>
> > Datum: Donderdag 28 Juni 2001 10:47
> > Onderwerp: Cocoon2 Live Site...
> >
> > > Hi,
> > >
> > > we realized a new Web Site with Cocoon 2 using
> features dynamic
> > > generatedbuttons and menue through SVG.
> > > Everything is based on XML and XSP using 4
> different Stylesheets
> > > in the pipe
> > > for processing the data.
> > >
> > > We´d like to be listed on the "Cocoon Live
> Sites" list.
> > > Further suggestions and criticism are welcome at
> any time.
> > >
> > > I wonder there are no Cocoon 2 sites on this
> list yet!?!
> > >
> > > Thanks,
> > > Tobias
> > >
> > >
> > >
>
---
> > > --
> > > Please check that your question has not already
> been answered in the
> > > FAQ before posting. <"
> > >
> target="l">http://xml.apache.org/cocoon/faqs.html>
> > > 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]>
>  

=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

-
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: how to precompile the xsp ?

2001-07-03 Thread Mohamed Ramzy

hi,
XSP is the first thing to be compiled before any thing
in the file
--- Ling Kok Choon <[EMAIL PROTECTED]> wrote:
> hi,
> 
>I am developing a web application with Cocoon 2.
> But the xsp's performance is not very good ( 
> very slow ), so is it posible to precompile the xsp
> file ? and may i know how to do it ?
> 
> Thank you.
> 
> 
> From Kok Cho0n.
> 
>

> Name: Ling Kok Choon
> E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
> Date: 06/26/01
> Time: 22:32:02
> 
> This message was sent by Z-Mail Pro - from NetManage
> NetManage - delivers Standards Based IntraNet
> Solutions
>

> 
>
-
> 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]>
> 


=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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: Displaying Images ?

2001-07-03 Thread Mohamed Ramzy

hi,
the idea is simpleget the name of the image file
from ur database by using esql(as u use it), then pass
it to the XSL file as a tag and put it through
variable and write the normal HTML imag tag, and in
the source field write the name of ur variable
i hope that can help
--- Gustavo Mejia <[EMAIL PROTECTED]> wrote:
> Hello !!
> 
> Yes, I am here again .. I have a question, I need to
> display an image
> stored in my Oracle Database, I'm using esql, to get
> the information,
> but I I don't know how to get the pic's.
> 
> I would appreciate all your Ideas and help !
> 
> Thanks in advance.
> 
> Gustavo
> INFOTEC
> 
> 
>
-
> 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]>
> 


=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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: Why XSP?

2001-07-03 Thread Mohamed Ramzy

hi
XSLT is just for transforming, but XSP, think about it
as your gateway to include any java code in ur file,
or importing any custom/not java class/classes to your
file...it is the gate!!
--- Mikael Ståldal <[EMAIL PROTECTED]> wrote:
> What is the need for XSP? Why not use XSLT with
> extensions instead?
> 
> 
>
-
> 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]>
> 


=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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]>




Install Roadblock: Newbie needs help!

2001-07-03 Thread Benjamin Cramer

Hi,

I have had an uphill climb trying to get Cocoon 1.8.2 installed on my Win2K,
Apache-Tomcat machine. I have read all the install hints, tips and tricks or
at least I believe I have. However, I keep running into the same error:

java.lang.RuntimeException: Error creating
org.apache.cocoon.parser.XercesParser: make sure the needed classes can be
found in the classpath (org/apache/xerces/framework/XMLParser)
I understand that the Xerces parser utilizes some of the same API's as the
parser and requires that you rename the parser.jar to zparser.jar. I have
renamed accordingly. The full error message is:

java.lang.RuntimeException: Error creating
org.apache.cocoon.parser.XercesParser: make sure the needed classes can be
found in the classpath (org/apache/xerces/framework/XMLParser)
at org.apache.cocoon.framework.Manager.create(Manager.java:122)
at org.apache.cocoon.Engine.(Engine.java:147)
at org.apache.cocoon.Engine.getInstance(Engine.java:232)
at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

My %TOMCAT_HOME%\lib directory has the following jars:

 ant.jar
 ant_1_1.jar
 bsf.jar
 bsfengines.jar
 cocoon.jar
 fesi.jar
 fop_0_15_0.jar
 jasper.jar
 jaxp.jar
 sax-bugfix.jar
 servlet.jar
 servlet_2_2.jar
 stylebook-1.0-b2.jar
 test
 turbine-pool.jar
 w3c.jar
 webserver.jar
 xalan_1_2_D02.jar
 xerces_1_2.jar
 xt.jar
 zparser.jar
 zxml.jar

>From the stack trace, I believe that Cocoon has been set up properly within
Tomcat. However, I am stumped as to the reason for the XercesParser error.

TIA for any help available,

Ben Cramer
iPath Solutions
Houston, TX


-
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: Cocoon2 Live Site...

2001-07-03 Thread Tobias Kieninger

Hi again,

it seems that i forgot the URL of the new Live Site.

http://www.XSLT-Patterns.com

Ciao
Tobias

> -Ursprüngliche Nachricht-
> Von: Joost Fleuren [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 30. Juni 2001 15:04
> An: [EMAIL PROTECTED]
> Betreff: Re: Cocoon2 Live Site...
>
>
> Hi,
>
> Sounds interesting, to see a live exampele.
> Can I see it, is there a web page adress?
>
> Thanx in advance,
>
> Joost Fleuren,
>
> Delft Technical University,
> the Netherlands.
>
> - Origineel Bericht -
> Van: "Tobias Kieninger" <[EMAIL PROTECTED]>
> Datum: Donderdag 28 Juni 2001 10:47
> Onderwerp: Cocoon2 Live Site...
>
> > Hi,
> >
> > we realized a new Web Site with Cocoon 2 using features dynamic
> > generatedbuttons and menue through SVG.
> > Everything is based on XML and XSP using 4 different Stylesheets
> > in the pipe
> > for processing the data.
> >
> > We´d like to be listed on the "Cocoon Live Sites" list.
> > Further suggestions and criticism are welcome at any time.
> >
> > I wonder there are no Cocoon 2 sites on this list yet!?!
> >
> > Thanks,
> > Tobias
> >
> >
> > ---
> > --
> > Please check that your question has not already been answered in the
> > FAQ before posting. <"
> > target="l">http://xml.apache.org/cocoon/faqs.html>
> > 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: Logicsheet chaining

2001-07-03 Thread Luca Morandini


Drasko,

really ?

Could please mshow an example of that ?

I thought this to be impossible, since the XSP processor can't be called
more than once per session... I guess.

Best regards,
 
-
   Luca Morandini
   GIS Consultant
    [EMAIL PROTECTED]
  +39 0744 59  85  1 Office
  +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
> Sent: martedì 3 luglio 2001 13.19
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Logicsheet chaining
>
>
> Not compleatly true ... it is possible to apply
> multiple logicsheets ... just add them one after the
> other in the XSP file.  The different thing is with
> the stylesheet chaining ... there you have to mess
> around and introduce in the resulting XML stream the
> XSLT processing instruction (together with the
> reference to the next stylesheet).
>
> So, it is possible in C1 too (just not elegant at
> all).
>
> HTH
> Drasko
>
> --- Luca Morandini <[EMAIL PROTECTED]> wrote:
> > Matteo,
> >
> > I think there is no way of accomplishing this with
> > C1. On the other hand,
> > this could be done quite easily in C2.
> >
> > I'm afraid, but if you want to use more than one
> > logicsheet/tag library you
> > have no option but use C2.
> >
> > Best regards,
> >  
> > -
> >    Luca Morandini
> >    GIS Consultant
> >     [EMAIL PROTECTED]
> >   +39 0744 59  85  1 Office
> >   +39 0335 681 02 12 Mobile
> > http://utenti.tripod.it/lmorandini/index.html
> > -
> >
> >
> > > -Original Message-
> > > From: Matteo Colombo [mailto:[EMAIL PROTECTED]]
> > > Sent: martedì 3 luglio 2001 11.57
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Logicsheet chaining
> > >
> > >
> > > Hi,
> > > I try to explain me better:
> > >
> > > What I want do,it is something like that.
> > >  a.xml
> > > 
> > > 
> > > 
> > > 
> > > ...
> > >  ... tag mapped in mylogic.xsp.xsl ...
> > 
> > > ...
> > > b.xsl:
> > > 
> > >> name="xml-stylesheet">href="c.xsl"
> > > type="text/xsl"
> > >> >
> >
> name="xml-logicsheet">href="../mylogic2.xsp.xsl" > nstruction
> > > >
> > >> >
> >
> name="cocoon-process">type="xsp"
> > >> >
> >
> name="cocoon-process">type="xslt"
> > > ...
> > > 
> > > ...tag mapped in
> > mylogic2.xsp.xsl...
> > > ...
> > >
> > > In a.xml I use mylogic.xsp.xsl (my taglib), and
> > with b.xsl I want add
> > > mylogic2.xsp.xsl (another taglib).
> > >
> > > c.xsl: trasforms the page xml in a html page.!
> > >
> > > Is it possible?
> > > Thanks for help
> > >
> > > Ciao Matteo
> > >
> > >
> > >
> > >
> >
> -
> > > 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]>
> >
>
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>


-
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: ESQL Error!

2001-07-03 Thread Adrian Geissel



Use  
instead
Adrian

  I think that the error is when I use
   
  
   
  after query = "select count(*) from 
  .".
  Where is the error?
  Can someone help me?
  Thanks
  Marco
   


Re: Logicsheet chaining

2001-07-03 Thread Ulrich Mayring

Drasko Kokic wrote:
> 
> So, it is possible in C1 too (just not elegant at
> all).

You can simply use  or  to make it elegant.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

-
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: Logicsheet chaining

2001-07-03 Thread Drasko Kokic

Not compleatly true ... it is possible to apply
multiple logicsheets ... just add them one after the
other in the XSP file.  The different thing is with
the stylesheet chaining ... there you have to mess
around and introduce in the resulting XML stream the
XSLT processing instruction (together with the
reference to the next stylesheet).

So, it is possible in C1 too (just not elegant at
all).

HTH
Drasko

--- Luca Morandini <[EMAIL PROTECTED]> wrote:
> Matteo,
> 
>   I think there is no way of accomplishing this with
> C1. On the other hand,
> this could be done quite easily in C2.
> 
>   I'm afraid, but if you want to use more than one
> logicsheet/tag library you
> have no option but use C2.
> 
> Best regards,
>  
> -
>    Luca Morandini
>    GIS Consultant
>     [EMAIL PROTECTED]
>   +39 0744 59  85  1 Office
>   +39 0335 681 02 12 Mobile
> http://utenti.tripod.it/lmorandini/index.html
> -
> 
> 
> > -Original Message-
> > From: Matteo Colombo [mailto:[EMAIL PROTECTED]]
> > Sent: martedì 3 luglio 2001 11.57
> > To: [EMAIL PROTECTED]
> > Subject: Re: Logicsheet chaining
> >
> >
> > Hi,
> > I try to explain me better:
> >
> > What I want do,it is something like that.
> >  a.xml
> > 
> > 
> > 
> > 
> > ...
> >  ... tag mapped in mylogic.xsp.xsl ...
> 
> > ...
> > b.xsl:
> > 
> >name="xml-stylesheet">href="c.xsl"
> > type="text/xsl"
> >>
>
name="xml-logicsheet">href="../mylogic2.xsp.xsl" nstruction
> > >
> >>
>
name="cocoon-process">type="xsp"
> >>
>
name="cocoon-process">type="xslt"
> > ...
> > 
> > ...tag mapped in
> mylogic2.xsp.xsl...
> > ...
> >
> > In a.xml I use mylogic.xsp.xsl (my taglib), and
> with b.xsl I want add
> > mylogic2.xsp.xsl (another taglib).
> >
> > c.xsl: trasforms the page xml in a html page.!
> >
> > Is it possible?
> > Thanks for help
> >
> > Ciao Matteo
> >
> >
> >
> >
>
-
> > 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]>
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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]>




HTML tags in XML page are escaped

2001-07-03 Thread Matthias Jahn
Title: HTML tags in XML page are escaped 





Hi,


Some weeks ago, there were two possibilities for the problem "escaped HTML tags in a XML page".
I tried both, but everytime I get the same error message.


Here is a short example of what I tried:



    
        
            parse();

        
    



As parse method I have used this one:


private Node parse( String data ) {


    try
    {
        return xspParser.parse( 
            new InputSource(new StringReader
                (data))).getDocumentElement();
    }
    catch( Exception e )
    {
   return null;
   }
}


The second try was to use:


myOwnMethod() 


The error message which I get is:


org.xml.sax.SAXException: The markup in the document preceding the root element must be well-formed. [FATAL ERROR] [File: "null" Line: 1 Column: 1] (nested exception: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. ) at org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105) 

I'm running Cocoon 1.8.2 on a Windows 2000 System with JDK 1.3 and Tomcat 3.2.



Matthias Jahn


-
OVSoftware b.v.         OVSoftware GmbH
                
Burg. Wallerstraat 179      Bahnhofstrasse 40
7574 AN Oldenzaal           48599 Gronau
The Netherlands         Deutschland
Tel. +31 (0) 541 533111     Tel. +49 (0) 2562 8180 60
Fax +31 (0) 541 533112      Fax +49 (0) 2562 81 80 61


Postadres:
Postbus 11007           
7502 LA Enschede
The Netherlands


mailto:[EMAIL PROTECTED]
http://www.OVSoftware.com





**
As you are aware, e-mails sent via Internet can easily be prepared or manipulated by third persons, For this reason we trust you will understand that, for your own and our protection, we rule out the legal validity of the foregoing statements and comments. The applicable regulations of OVSoftware on the legal validity of declarations of intent of a binding nature remain unaffected.

This message is confidential. It may also be privileged or otherwise protected by legal rules. It may be unlawful for you to read, copy or use it in anyway. If you have received it by mistake please let us know by reply and then delete it from your system.





Re: Exception in Cocoon

2001-07-03 Thread Frans Thamura

The solution is

Use tomcat 3.22 fresh from the apache.org, and remove the jaxp.jar and
parse.jar

and use all jar from cocoon 2

Don't use jar from any other source.

I don't know why, even if you use the newest version of jar, you cocoon 2
won't work.

Strange yah, I don't have any idea, what kind of JAR is use by Cocoon, and
why the jar is not compatible.



Frans
- Original Message -
From: "Victor Serrato" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 9:09 PM
Subject: Exception in Cocoon


> I try to use Cocoon 2 in Tomcat 3.2, when I call
> http://localhost:8080/cocoon/ I recive the next error
> message:
>
> file://Begin Message
> Cocoon 2 - Internal server error
>
> --
--
>
> type internal-server-error
>
> message The sitemap handler's sitemap is not
> available.
>
> description org.apache.cocoon.ProcessingException: The
> sitemap handler's sitemap is not available.
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> stacktrace
>
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
> at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
> at
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> at
> org.apache.tomcat.core.Handler.service(Handler.java:287)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
> at java.lang.Thread.run(Thread.java:479)
>
>
> exception
>
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
>
> request-uri
>
> /cocoon/
>
> path-info
> file://End Message
>
> I am very interesting in use Cocoon, please could you
> tell me the error's cause.
>
> Victor Serrato
> [EMAIL PROTECTED]
>
>
> _
> Do You Yahoo!?
> Obtenga su dirección de correo-e gratis @yahoo.com
> en http://correo.espanol.yahoo.com
>
> -
> 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 You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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: Logicsheet chaining

2001-07-03 Thread Luca Morandini

Matteo,

I think there is no way of accomplishing this with C1. On the other hand,
this could be done quite easily in C2.

I'm afraid, but if you want to use more than one logicsheet/tag library you
have no option but use C2.

Best regards,
 
-
   Luca Morandini
   GIS Consultant
    [EMAIL PROTECTED]
  +39 0744 59  85  1 Office
  +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Matteo Colombo [mailto:[EMAIL PROTECTED]]
> Sent: martedì 3 luglio 2001 11.57
> To: [EMAIL PROTECTED]
> Subject: Re: Logicsheet chaining
>
>
> Hi,
> I try to explain me better:
>
> What I want do,it is something like that.
>  a.xml
> 
> 
> 
> 
> ...
>  ... tag mapped in mylogic.xsp.xsl ... 
> ...
> b.xsl:
> 
>   href="c.xsl"
> type="text/xsl"
>name="xml-logicsheet">href="../mylogic2.xsp.xsl" >
>name="cocoon-process">type="xsp"
>name="cocoon-process">type="xslt"
> ...
> 
> ...tag mapped in mylogic2.xsp.xsl...
> ...
>
> In a.xml I use mylogic.xsp.xsl (my taglib), and with b.xsl I want add
> mylogic2.xsp.xsl (another taglib).
>
> c.xsl: trasforms the page xml in a html page.!
>
> Is it possible?
> Thanks for help
>
> Ciao Matteo
>
>
>
> -
> 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: Logicsheet chaining

2001-07-03 Thread Matteo Colombo

Hi,
I try to explain me better:

What I want do,it is something like that.
 a.xml




...
 ... tag mapped in mylogic.xsp.xsl ... 
...
b.xsl:

  href="c.xsl"
type="text/xsl"
  href="../mylogic2.xsp.xsl"
  type="xsp"
  type="xslt"
...

...tag mapped in mylogic2.xsp.xsl...
...

In a.xml I use mylogic.xsp.xsl (my taglib), and with b.xsl I want add
mylogic2.xsp.xsl (another taglib).

c.xsl: trasforms the page xml in a html page.!

Is it possible?
Thanks for help

Ciao Matteo



-
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: form-validator?

2001-07-03 Thread Christian Haul

On 02.Jul.2001 -- 05:31 PM, java guru wrote:
> The problem with regular expression in that example is
> that:
> 
> for email address i just put anything and it
> works..shouldnt it be of format [EMAIL PROTECTED] ???

Yes, indeed. Unfortunately, I'm not able to reproduce your
observation. I remember that the first draft of examples had a couple
of syntax errors in them, maybe that's it. "Bug" 2415 contains up to
date examples.

Please try the following descriptor.xml file




   
   
   

   
   
   
   




I hope that the new versions will show up in CVS really soon.

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: redirect to port 80

2001-07-03 Thread Anders Conrad

I understand that you want your web-server that is serving Cocoon to listen
on port 80. I also assume that you are currently using Tomcat as a web
listener on its default port 8080.

Given that, you can either keep using Tomcat as a web listener and change
the port number in the configuration file tomcat/conf/server.xml where you
have some lines like





Change the value from 8080 to 80.

Or - as someone else suggested - use the Apache web server to serve Cocoon
on its default port 80. This is supposedly the better solution for a
production environment. In this case you will have to install and configure
mod_jk as a link between Apache and Tomcat. There are a number of files to
review to get this right, such as Apache's httpd.conf to include mod_jk, you
have to create a configuration file for mod_jk (such as the example
cocoon/conf/mod_jk_cocoon.conf or tomcat/conf/mod_jk.conf_auto) and include
it in httpd.conf, and you have to adjust things in
tomcat/conf/workers.properties.

I hope I got it right! I just managed to get it to work myself.

Anders
- Original Message -
From: "Pierre-Henry Perret" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 11:13 AM
Subject: redirect to port 80


> Bonjour,
>
> I have installed cocoon and made it serving corretly xml pages, well
> it's nice!
>
> I would like to register my site as a cocoon user but i can't serve on
> other
> port than 8080 (e.g i must give an address as
> 'http://localhost:8080/cocoon..') - all other network stuff working
> correctly
> , i mean DNS - i don't have to do this with tomcat jserv because i can
> directly see a working servlet as in
> 'http://localhost/servlets/examples...'
>
> i guess no idea to manage this,
>
> Pierre-Henry Perret
> Cocoon user
> StDenis, France
>
> -
> 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]>




Extending the standard Cocoon XSP logicsheets, namely ESQL

2001-07-03 Thread Adrian Geissel



Hi,
 
I'm using Cocoon 1.8.2 and it's great - 
dynamic content generation in an efficient and controlled manner - a real 
winner!
 
As with all technologies, there comes a point when 
you want it to do more - and my current aspiration is to improve the way that 
SQL is handled, specifically the ESQL.xsl logicsheet. What I am trrying to do is 
to structure the query statement that is passed as part of the esql:query tag, 
as follows:
 
...

 
      
   
        
   
  
 


...

...
 
I have a logic sheet that handles the zsql 
namespace and it works really well on its own - it even allows other logicsheets 
(taglibs) to be called from it using a 'get-nested-content' template (such as 
the  in the sample). However, the above code 
structure results in Cocoon generating a DOM sub-tree under the 
 tag, rather than calling the appropriate templates to format 
the query string.
 
I have tried a number of approaches, including 
adding the zsql namespace to the esql  tag, and I believe that 
my logicsheet is locatable, as I created a jar, included it in the CLASSPATH and 
also updated the cocoon.properties to point to it.
 
Is there something that I have missed, or am I 
trying the impossible? Any help is gladly appreciated.
 
On a slightly different note, if anyone is curious 
about the zsql stuff, please drop me a line as I am putting together an open 
project to structure and deploy sql script from single source to multiple 
destination (vendors) as well as documentation - a really nice showcase for 
Cocoon, if nothing else.
 
Many thanks,
Adrian


Logicsheet chaining

2001-07-03 Thread Matteo Colombo

Hi all,
I've this question for you:

XML A with   --> XSL A (transform XML A
in XML B adding
 and the instructions that are in new
logicsheet)-->XSL
B (format the page: output type HTML).
Does it work?
Is it possible to do this?
Better, my question is: Is it possible transform
an XML file in another XML that use a new logicsheet (that wasn't in the
original XML file)?

Ciao Matteo


-
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]>