Re: same name attributes in one tag

2001-07-17 Thread Sylvain Wallez



Tetsu Ito a écrit :
> 
>  Hi everyone.
> 
>  I am stuck on XML -> HTML transforming. I want to transform this
> 
>   jsky1.png
>   jsky2.png
>   jsky3.png
> 
> 
> to
> 
> 
> The FAQ reads "disable-output-escaping is not implemented. but ther is
> other ways".
> 
> Is there any ways to transform above without "disable-output-escaping" ?
> If so please tell me. If not so...
> 
It's not a problem about output escaping, but about XML syntax : the
names of the attributes on an element must be unique !
-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.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]>




Posting a seperate DOM from XSP

2001-07-17 Thread Truhann van der Poel

I have the following problem.

I create a xml fragment in a taglib:






In my XSP page I have a HTTPConnection Post function that posts a given xml
dom to a given url.

How do I convert the above xml fragment to a DOM to post ?

I would like to do this: 
Post(myUrl,);

?

Truhann

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

2001-07-17 Thread Peter Jacobs

At the moment I am not using cocoon anymore, only Fop and Xalan, so the
following may not apply to cocoon 2.
Here is an explanation how I got Xerces to work in JRun without changing the
application (\JRun\lib\ext etc.)
At the moment I think it is easier and better for production environments
then the instructions on the cocoon 1 install pages.

sorry if not relevant,
Peter Jacobs


Peter Jacobs
De Budetstraat 8
B-3201 Aarschot
[EMAIL PROTECTED]



> -Original Message-
> From: Peter Jacobs [mailto:[EMAIL PROTECTED]]
> Sent: vrijdag 13 juli 2001 15:59
> To: [EMAIL PROTECTED]
> Subject: RE: JRun exited abnormally...
>
>
> I'll try to help , but I am no expert...
>
> The problem is that JRun and Fop both need an XML parser. In "F:\Program
> Files\Allaire\JRun\lib\ext" is a XML parser, but it's an old one
> (Dom level
> 1). To use Fop and Cocoon, you need an xml parser with Dom level 2 (e.g.
> Xerces). If the old one is in the classpath before Xerces, it will load
> first and Fop will not work.
> Normally people suggest to put Xerces in this folder and rename it to
> aaXerces.jar. That way, it will load first. JRun will then also use Xerces
> for its own XML-parsing. But this solution is messy, and no system
> administrator will allow it on a production server, because it
> may interfere
> with other projects on that server.
>
> After some searching on the archives of fop-dev and cocoon-users
> and Allaire
> JRUN web support (very interesting!) I found the following
> solution which is
> much clearer (I think :-)
>
> The idea is that every server in JRun has its own java virtual
> machine. You
> change the classpath for that particular server so it loads first the
> classes in a local directory of that server, and then the classes in
> "\JRun\lib\ext". That way you don't have to put anything in the
> "JRun\lib\ext" folder and the JRun application and the other
> servers (Admin,
> Default) are not affected by your experiments.
>
> Step 1: restore JRun to the original configuration or reinstall JRun so it
> works again.
>
> Step 2: create a new server (e.g. "Fopserver" )  (see setup
> guide). Now you
> have 3 servers in "F:\Program Files\Allaire\JRun\servers" : "admin",
> "default" and "Fopserver" .
> This step is not really necessary, you can also use the existing default
> server if you want. In that case replace in the following steps
> "Fopserver"
> with "default".
>
> Step 3: edit the file
> "F:\Program Files\Allaire\JRun\servers\Fopserver\local.properties" :
> Change (or add if it doesn't exist) the line that starts with
> "java.classpath=" to:
>
> java.classpath={user.classpath};{jrun.classpath};{ejb.classpath};{
> servlet.cl
> asspath}
>
> For a definition of all these {...} see "F:\Program
> Files\Allaire\JRun\lib\global.properties".
> Items in local.properties of a server override for that server the ones in
> global.properties.
>
> Step 4: put all the apache jars(Xerces,Xalan,Fop,...) and other jars you
> need in the folder "F:\Program Files\Allaire\JRun\servers\Fopserver\lib".
> They will be available to all apps in that server.
>
>
> works for me on Win2000/JRun3.0 and Solaris/JRun3.1
>
>
> regards,
> Peter Jacobs
>
>
> > Hi all!
> >
> >  I have installed JRun 3.0 on Win 2000 machine. I installed it as
> > application not as windows services. It was working quite fine
> but then i
> > added a couple of jar files in JRUN\servers\lib\ext and some jsps and
> > classes in my web application while the server was running. Then i
> > restarted the server. The server did not start and gave the error
> > "JRun exited abnormally Check evenet log". I checked the log file
> > and found
> > out that it gave error on loading default-app.
> > The error is
> > "error (JRun) JRun Aborting!
> [javax.xml.parsers.FactoryConfigurationError:
> > java.lang.classNotFoundException:
> > org.apache.Crimson.jaxp.SAXParserFactoryImpl]"
> >
> > Now no server is running even the admin server. Can anybody
> help me out of
> > this.???
> > Thanx
> > Wajid
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [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]>




same name attributes in one tag

2001-07-17 Thread Tetsu Ito

 Hi everyone.

 I am stuck on XML -> HTML transforming. I want to transform this 

  jsky1.png
  jsky2.png
  jsky3.png


to


The FAQ reads "disable-output-escaping is not implemented. but ther is
other ways".

Is there any ways to transform above without "disable-output-escaping" ?
If so please tell me. If not so...



-
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: C1 to C2

2001-07-17 Thread Sergio Carvalho


Can anyone inform me of the advantages of mod_jk over mod_proxy + URL rewriting 
engine? 
I had all kinds of problems with mod_jk, and am now a happy user of mod_proxy, but I 
never see this approach suggested.


On Tue, 17 Jul 2001 00:38:16 +0300, Andre Juffer <[EMAIL PROTECTED]> wrote:
--
> Luca, Anders, Lajos,
> 
> I keep on having the same problem. While localhost:8080/cocoon correctly 
> displays the welcome page of cocoon2, it seems to be impossible for me 
> to get apache + tomcat 3.2.2 + cocoon2 working together, such also the 
> request localhost/cocoon displays the welcome page.
> 
> The following is what being including into httpd.conf (in addition to 
> what is already given in tomcat-3.2.2/conf/tomcat-apache.conf):
> 
> 
> AddType text/xml .xml
> AddHandler jserv-servlet .xml
> 
> Alias /cocoon "/usr/local/jakarta-tomcat-3.2.2/webapps/cocoon"
> 
>  Options Indexes FollowSymLinks
> 
> ApJServMount /cocoon/servlet /cocoon
> 
>  AllowOverride None
>  deny from all
> 
> 
>  AllowOverride None
>  deny from all
> 
> 
> RewriteEngine On
> RewriteLog "/var/log/rewrite.log"
> RewriteLogLevel 3
> RewriteRule Biocomputing/(.*) /cocoon/Biocomputing/$1 [PT]
> 
> 
> The rewriting is actually working in the way it should (Thanks Luca). 
> Also, localhost/cocoon in fact displays the CONTENT of the 
> webapps/cocoon directory and the same for localhost/Biocomputing/ (with 
> the trailing /), which gives me correctly the /cocoon/Biocomputing 
> directory.
> 
> The key problem are these lines (I think)
> 
> AddType text/xml .xml
> AddHandler jserv-servlet .xml
> 
> In fact, if I request localhost/cocoon/welcome.xml, the cocoon2 servlet 
> is responding (in the way it should):
> 
> ---
> Cocoon 2 - Resource not found
> type resource-not-found
> message Resource not found
> description The requested URI "/cocoon/welcome.xml" was not found.
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> request-uri
> /cocoon/welcome.xml
> path-info
> welcome.xml
> ---
> 
> The sitemap is not compiled, though. If I add to the sitemap the following
> 
> ---
> 
>  
> 
> ---
> 
> localhost/cocoon/welcome.xml will not display the welcome. It is shown, 
> of course, upon the request localhost:8080/cocoon/welcome.xml.
> 
> In fact, the request localhost/cocoon/welcome results in
> 
> 
> Not Found
> The requested URL /cocoon/welcome was not found on this server.
> Apache/1.3.12 Server at ajuffer-dsl.oulu.fi Port 80
> -
> 
> So, in the latter case, Apache is handling the request instead of 
> cocoon2. Obviously, this is because there is no .xml extension.
> 
> If you are using Tomcat 3.2.2, Apache 1.3.* and cocoon2, what exactly 
> have you for AddType and AddHandler directives in your configuration?
> 
> Of course, I can always write all my files ending with e.g. xml, xsp and 
> adapt the sitemap accordingly (and use 8080). No objections there, but 
> it is ugly. Currently, I think, requests like /Foo/foo 
> without having some extension at the foo, cannot be resolved correctly 
> in a simple way such that cocoon2 takes over the request.
> 
> Or do I still miss something totally . what, on earth?
> 
> Cheers,
> Andre.
> 
> 
> 
> 
> 
> -- 
> Andre H. Juffer  | Phone: +358-8-553 1683
> The Biocenter and| Fax: +358-8-553-1141
>  the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
> University of Oulu, Finland  | WWW: http://www.biochem.oulu.fi/research.html
> 
> 
> -
> 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]>
> 



--
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: C1 to C2

2001-07-17 Thread Lajos Moczar

I always point directly to mod_jk.conf-auto in httpd.conf because it 
will always be up to date. It is created each time Tomcat starts to 
reflect that latest context information for each webapp. If I have 
things that I want to add, I just put them in httpd.conf after the 
include for mod_jk. Thus:

Include /usr/local/jakarta-tomcat/conf/mod_jk.conf-auto
JkMount /*.xml ajp13


Lajos


Uli Mayring wrote:

> On Wed, 18 Jul 2001, Luca Morandini wrote:
> 
> 
>> Andre,
>> 
>> this is snippet from my mod_jk.conf (get rid of mod_jk.conf-auto, or it
>> will be overwritten every time you start Tomcat):
> 
> 
> Is that a problem that mod_jk.conf-auto gets overwritten every time? If I
> get rid of it, isn't it always newly created?
> 
> Ulrich
> 
> 
> -
> 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: C1 to C2

2001-07-17 Thread Uli Mayring

On Wed, 18 Jul 2001, Luca Morandini wrote:

> Andre,
> 
> this is snippet from my mod_jk.conf (get rid of mod_jk.conf-auto, or it
> will be overwritten every time you start Tomcat):

Is that a problem that mod_jk.conf-auto gets overwritten every time? If I
get rid of it, isn't it always newly created?

Ulrich


-
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: C1 to C2

2001-07-17 Thread Luca Morandini

Andre,

this is snippet from my mod_jk.conf (get rid of mod_jk.conf-auto, or it
will be overwritten every time you start Tomcat):



JkWorkersFile "C:/Apps/Tomcat/conf/workers.properties"
JkLogFile "C:/Apps/Tomcat/logs/mod_jk.log"
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /*.xml ajp12

JkMount /cocoon/* ajp12



I presume this will do the trick of redirecting.

Moreover, somewhere down mod_jk.conf, there is this cocoon-related stuff:

#
# The following line makes apache aware of the location of the /cocoon
context
#
Alias /cocoon "C:/Apps/Tomcat/webapps/cocoon"

Options Indexes FollowSymLinks


#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /cocoon/servlet/* ajp12
JkMount /cocoon/*.jsp ajp12

#
# The following line prohibits users from directly accessing WEB-INF
#

AllowOverride None
deny from all


#
# Use Directory too. On Windows, Location doesn't work unless case matches
#

AllowOverride None
deny from all


#
# The following line prohibits users from directly accessing META-INF
#

AllowOverride None
deny from all


#
# Use Directory too. On Windows, Location doesn't work unless case matches
#

AllowOverride None
deny from all


By the way, I'm not using Linux, but Windows NT 4.0 (as you may guess from
the paths...).

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: Andre Juffer [mailto:[EMAIL PROTECTED]]
> Sent: martedì 17 luglio 2001 23.13
> To: [EMAIL PROTECTED]
> Subject: Re: C1 to C2
>
>
>
>
> Luca Morandini wrote:
>
> > Andre,
> >
> > I used mod_jk instead of jserv, hence, I can't be of much
> assistance.
> >
> > I would suggest you to switch to mod_jk, which is
> (reportedly) better, then
> > we may work out the problem...
>
> Hi Luca,
>
> All right, I switched to mod_jk. No change, however, everything I had
> with jserv also applies to jk. The directory /cocoon is displayed if I
> do the request localhost/cocoon in the same way as /localhost/examples
> would do. Is this in fact to be expected, since localhost:8080/cocoon
> results in the welcome page, so the latter request compiles the sitemap.
> If I do localhost:8080/examples I also get a listing of the directory
> examples, but now tomcat handled the request.
>
> Again, localhost:8080/cocoon works entirely correct.
>
> Maybe you could show me your server.xml and mod-jk.conf-auto files to
> see what you have in your case. Are you accidentally using a linux
> (Slackware) based system?
>
> Cheers,
> Andre
>
> >
> >
> > 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: Andre Juffer [mailto:[EMAIL PROTECTED]]
> >> Sent: lunedì 16 luglio 2001 23.38
> >> To: [EMAIL PROTECTED]
> >> Subject: C1 to C2
> >>
> >>
> >> Luca, Anders, Lajos,
> >>
> >> I keep on having the same problem. While localhost:8080/cocoon
> correctly
> >> displays the welcome page of cocoon2, it seems to be impossible for me
> >> to get apache + tomcat 3.2.2 + cocoon2 working together, such also the
> >> request localhost/cocoon displays the welcome page.
> >>
> >> The following is what being including into httpd.conf (in addition to
> >> what is already given in tomcat-3.2.2/conf/tomcat-apache.conf):
> >>
> >> 
> >> AddType text/xml .xml
> >> AddHandler jserv-servlet .xml
> >>
> >> Alias /cocoon "/usr/local/jakarta-tomcat-3.2.2/webapps/cocoon"
> >> 
> >>  Options Indexes FollowSymLinks
> >> 
> >> ApJServMount /cocoon/servlet /cocoon
> >> 
> >>  AllowOverride None
> >>  deny from all
> >> 
> >> 
> >>  AllowOverride None
> >>  deny from all
> >> 
> >>
> >> RewriteEngine On
> >> RewriteLog "/var/log/rewrite.log"
> >> RewriteLogLevel 3
> >> RewriteRule Biocomputing/(.*) /cocoon/Biocomputing/$1 [PT]
> >> 
> >>
> >> The rewriting is actually working in the way it should (Thanks Luca).
> >> Also, localhost/cocoon in fact displays the CONTENT of the
> >> webapps/cocoon directory and the same for localhost/Biocomputing/ (with
> >> the trailing /), which gives me correctly the /cocoon/Biocomputing
> >> directory.
> >>
> >> The key problem are these lines (I think)
> >>
> >> AddType text/xml .xml
> >> AddHandler jserv-servlet .xml
> >>
> >> In fact, if I request localhost/cocoon/welcome.xml, the cocoon2 servlet
> >> is responding (in the way it should):
> >>
> >> ---
> >> Cocoon 2 - Resource not fou

RE: C1 to C2

2001-07-17 Thread Luca Morandini

Lajos,

since this seems to be a popular topic: why don't we make a FAQ entry on
the topic and put it on the Cocoon site ?

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: Lajos Moczar [mailto:[EMAIL PROTECTED]]
> Sent: martedì 17 luglio 2001 20.11
> To: [EMAIL PROTECTED]
> Subject: Re: C1 to C2
>
>
> Andre:
>
> You might check out some guides I've written when I was struggling with
> this stuff. They're at my site, galatea.com (powered by Cocoon 1.8.2 but
> soon 2.1!). I explain how to get mod_jk working which, as Luca points
> out, it preferable. If these still can't help you, I'll play around some
> more with my own configurations and see what I can come up with.
>
> Regards,
>
> Lajos
>
>
> Andre Juffer wrote:
>
> > Luca, Anders, Lajos,
> >
> > I keep on having the same problem. While localhost:8080/cocoon
> correctly
> > displays the welcome page of cocoon2, it seems to be impossible for me
> > to get apache + tomcat 3.2.2 + cocoon2 working together, such also the
> > request localhost/cocoon displays the welcome page.
> >
> > The following is what being including into httpd.conf (in addition to
> > what is already given in tomcat-3.2.2/conf/tomcat-apache.conf):
> >
> > 
> > AddType text/xml .xml
> > AddHandler jserv-servlet .xml
> >
> > Alias /cocoon "/usr/local/jakarta-tomcat-3.2.2/webapps/cocoon"
> > 
> > Options Indexes FollowSymLinks
> > 
> > ApJServMount /cocoon/servlet /cocoon
> > 
> > AllowOverride None
> > deny from all
> > 
> > 
> > AllowOverride None
> > deny from all
> > 
> >
> > RewriteEngine On
> > RewriteLog "/var/log/rewrite.log"
> > RewriteLogLevel 3
> > RewriteRule Biocomputing/(.*) /cocoon/Biocomputing/$1 [PT]
> > 
> >
> > The rewriting is actually working in the way it should (Thanks Luca).
> > Also, localhost/cocoon in fact displays the CONTENT of the
> > webapps/cocoon directory and the same for localhost/Biocomputing/ (with
> > the trailing /), which gives me correctly the /cocoon/Biocomputing
> > directory.
> >
> > The key problem are these lines (I think)
> >
> > AddType text/xml .xml
> > AddHandler jserv-servlet .xml
> >
> > In fact, if I request localhost/cocoon/welcome.xml, the cocoon2 servlet
> > is responding (in the way it should):
> >
> > ---
> > Cocoon 2 - Resource not found
> > type resource-not-found
> > message Resource not found
> > description The requested URI "/cocoon/welcome.xml" was not found.
> > sender org.apache.cocoon.servlet.CocoonServlet
> > source Cocoon servlet
> > request-uri
> > /cocoon/welcome.xml
> > path-info
> > welcome.xml
> > ---
> >
> > The sitemap is not compiled, though. If I add to the sitemap
> the following
> >
> > ---
> >
> > 
> >
> > ---
> >
> > localhost/cocoon/welcome.xml will not display the welcome. It is shown,
> > of course, upon the request localhost:8080/cocoon/welcome.xml.
> >
> > In fact, the request localhost/cocoon/welcome results in
> >
> > 
> > Not Found
> > The requested URL /cocoon/welcome was not found on this server.
> > Apache/1.3.12 Server at ajuffer-dsl.oulu.fi Port 80
> > -
> >
> > So, in the latter case, Apache is handling the request instead of
> > cocoon2. Obviously, this is because there is no .xml extension.
> >
> > If you are using Tomcat 3.2.2, Apache 1.3.* and cocoon2, what exactly
> > have you for AddType and AddHandler directives in your configuration?
> >
> > Of course, I can always write all my files ending with e.g.
> xml, xsp and
> > adapt the sitemap accordingly (and use 8080). No objections there, but
> > it is ugly. Currently, I think, requests like /Foo/foo
> > without having some extension at the foo, cannot be resolved correctly
> > in a simple way such that cocoon2 takes over the request.
> >
> > Or do I still miss something totally . what, on earth?
> >
> > Cheers,
> > Andre.
>
>
> -
> 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] Docs, Docs, Docs....

2001-07-17 Thread Davanum Srinivas

Dev-Team, Users,

Can everyone please take some time to contribute to the docs? This will be really 
helpful for
C2-Beta2.

Thanks,
dims

PS: Sorry for the cross-post.

=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
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: C1 to C2

2001-07-17 Thread Lajos Moczar

Andre:

You might check out some guides I've written when I was struggling with 
this stuff. They're at my site, galatea.com (powered by Cocoon 1.8.2 but 
soon 2.1!). I explain how to get mod_jk working which, as Luca points 
out, it preferable. If these still can't help you, I'll play around some 
more with my own configurations and see what I can come up with.

Regards,

Lajos


Andre Juffer wrote:

> Luca, Anders, Lajos,
> 
> I keep on having the same problem. While localhost:8080/cocoon correctly 
> displays the welcome page of cocoon2, it seems to be impossible for me 
> to get apache + tomcat 3.2.2 + cocoon2 working together, such also the 
> request localhost/cocoon displays the welcome page.
> 
> The following is what being including into httpd.conf (in addition to 
> what is already given in tomcat-3.2.2/conf/tomcat-apache.conf):
> 
> 
> AddType text/xml .xml
> AddHandler jserv-servlet .xml
> 
> Alias /cocoon "/usr/local/jakarta-tomcat-3.2.2/webapps/cocoon"
> 
> Options Indexes FollowSymLinks
> 
> ApJServMount /cocoon/servlet /cocoon
> 
> AllowOverride None
> deny from all
> 
> 
> AllowOverride None
> deny from all
> 
> 
> RewriteEngine On
> RewriteLog "/var/log/rewrite.log"
> RewriteLogLevel 3
> RewriteRule Biocomputing/(.*) /cocoon/Biocomputing/$1 [PT]
> 
> 
> The rewriting is actually working in the way it should (Thanks Luca). 
> Also, localhost/cocoon in fact displays the CONTENT of the 
> webapps/cocoon directory and the same for localhost/Biocomputing/ (with 
> the trailing /), which gives me correctly the /cocoon/Biocomputing 
> directory.
> 
> The key problem are these lines (I think)
> 
> AddType text/xml .xml
> AddHandler jserv-servlet .xml
> 
> In fact, if I request localhost/cocoon/welcome.xml, the cocoon2 servlet 
> is responding (in the way it should):
> 
> ---
> Cocoon 2 - Resource not found
> type resource-not-found
> message Resource not found
> description The requested URI "/cocoon/welcome.xml" was not found.
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> request-uri
> /cocoon/welcome.xml
> path-info
> welcome.xml
> ---
> 
> The sitemap is not compiled, though. If I add to the sitemap the following
> 
> ---
>
> 
>
> ---
> 
> localhost/cocoon/welcome.xml will not display the welcome. It is shown, 
> of course, upon the request localhost:8080/cocoon/welcome.xml.
> 
> In fact, the request localhost/cocoon/welcome results in
> 
> 
> Not Found
> The requested URL /cocoon/welcome was not found on this server.
> Apache/1.3.12 Server at ajuffer-dsl.oulu.fi Port 80
> -
> 
> So, in the latter case, Apache is handling the request instead of 
> cocoon2. Obviously, this is because there is no .xml extension.
> 
> If you are using Tomcat 3.2.2, Apache 1.3.* and cocoon2, what exactly 
> have you for AddType and AddHandler directives in your configuration?
> 
> Of course, I can always write all my files ending with e.g. xml, xsp and 
> adapt the sitemap accordingly (and use 8080). No objections there, but 
> it is ugly. Currently, I think, requests like /Foo/foo 
> without having some extension at the foo, cannot be resolved correctly 
> in a simple way such that cocoon2 takes over the request.
> 
> Or do I still miss something totally . what, on earth?
> 
> Cheers,
> Andre.


-
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] serving via Apache

2001-07-17 Thread Andre Juffer

Mike,

I am currently experiencing exactly the same problem. I can only reach 
cocoon2 via port 8080, while /examples etc. are properly served via 
Apache. I am running on a Linux box (Slackware 7.1). Just wondering, 
what is your system: Win NT, Linux, ..?

I have installed mod_jk, but it did no remove the problem in my case.


Mike Haarman wrote:

> I am running Apache 1.3.#, Tomcat 3.2.1, Cocoon-2.0b1
> 
> I am having touble getting C2 to serve via Apache.  I have followed several threads 
>on the topic in the archives, but they appear to refer to C1.  I
> am using mod_jk and had it configured correctly for C1 to serve on port 80.  
>Currently I can only get C2 to serve from port 8080.  Does mod_jk.conf
> require modification to allow Apache to serve C2?
> 
> What am I missing?
> 
> 
> 
> 
> -
> 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]>


-- 
Andre H. Juffer  | Phone: +358-8-553 1683
The Biocenter and| Fax: +358-8-553-1141
 the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW: http://www.biochem.oulu.fi/research.html


-
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: C1 to C2

2001-07-17 Thread Andre Juffer



Luca Morandini wrote:

> Andre,
> 
>   I used mod_jk instead of jserv, hence, I can't be of much assistance.
> 
>   I would suggest you to switch to mod_jk, which is (reportedly) better, then
> we may work out the problem...

Hi Luca,

All right, I switched to mod_jk. No change, however, everything I had 
with jserv also applies to jk. The directory /cocoon is displayed if I 
do the request localhost/cocoon in the same way as /localhost/examples 
would do. Is this in fact to be expected, since localhost:8080/cocoon 
results in the welcome page, so the latter request compiles the sitemap. 
If I do localhost:8080/examples I also get a listing of the directory 
examples, but now tomcat handled the request.

Again, localhost:8080/cocoon works entirely correct.

Maybe you could show me your server.xml and mod-jk.conf-auto files to 
see what you have in your case. Are you accidentally using a linux 
(Slackware) based system?

Cheers,
Andre

> 
> 
> 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: Andre Juffer [mailto:[EMAIL PROTECTED]]
>> Sent: lunedì 16 luglio 2001 23.38
>> To: [EMAIL PROTECTED]
>> Subject: C1 to C2
>> 
>> 
>> Luca, Anders, Lajos,
>> 
>> I keep on having the same problem. While localhost:8080/cocoon correctly
>> displays the welcome page of cocoon2, it seems to be impossible for me
>> to get apache + tomcat 3.2.2 + cocoon2 working together, such also the
>> request localhost/cocoon displays the welcome page.
>> 
>> The following is what being including into httpd.conf (in addition to
>> what is already given in tomcat-3.2.2/conf/tomcat-apache.conf):
>> 
>> 
>> AddType text/xml .xml
>> AddHandler jserv-servlet .xml
>> 
>> Alias /cocoon "/usr/local/jakarta-tomcat-3.2.2/webapps/cocoon"
>> 
>>  Options Indexes FollowSymLinks
>> 
>> ApJServMount /cocoon/servlet /cocoon
>> 
>>  AllowOverride None
>>  deny from all
>> 
>> 
>>  AllowOverride None
>>  deny from all
>> 
>> 
>> RewriteEngine On
>> RewriteLog "/var/log/rewrite.log"
>> RewriteLogLevel 3
>> RewriteRule Biocomputing/(.*) /cocoon/Biocomputing/$1 [PT]
>> 
>> 
>> The rewriting is actually working in the way it should (Thanks Luca).
>> Also, localhost/cocoon in fact displays the CONTENT of the
>> webapps/cocoon directory and the same for localhost/Biocomputing/ (with
>> the trailing /), which gives me correctly the /cocoon/Biocomputing
>> directory.
>> 
>> The key problem are these lines (I think)
>> 
>> AddType text/xml .xml
>> AddHandler jserv-servlet .xml
>> 
>> In fact, if I request localhost/cocoon/welcome.xml, the cocoon2 servlet
>> is responding (in the way it should):
>> 
>> ---
>> Cocoon 2 - Resource not found
>> type resource-not-found
>> message Resource not found
>> description The requested URI "/cocoon/welcome.xml" was not found.
>> sender org.apache.cocoon.servlet.CocoonServlet
>> source Cocoon servlet
>> request-uri
>> /cocoon/welcome.xml
>> path-info
>> welcome.xml
>> ---
>> 
>> The sitemap is not compiled, though. If I add to the sitemap the following
>> 
>> ---
>> 
>>  
>> 
>> ---
>> 
>> localhost/cocoon/welcome.xml will not display the welcome. It is shown,
>> of course, upon the request localhost:8080/cocoon/welcome.xml.
>> 
>> In fact, the request localhost/cocoon/welcome results in
>> 
>> 
>> Not Found
>> The requested URL /cocoon/welcome was not found on this server.
>> Apache/1.3.12 Server at ajuffer-dsl.oulu.fi Port 80
>> -
>> 
>> So, in the latter case, Apache is handling the request instead of
>> cocoon2. Obviously, this is because there is no .xml extension.
>> 
>> If you are using Tomcat 3.2.2, Apache 1.3.* and cocoon2, what exactly
>> have you for AddType and AddHandler directives in your configuration?
>> 
>> Of course, I can always write all my files ending with e.g. xml, xsp and
>> adapt the sitemap accordingly (and use 8080). No objections there, but
>> it is ugly. Currently, I think, requests like /Foo/foo
>> without having some extension at the foo, cannot be resolved correctly
>> in a simple way such that cocoon2 takes over the request.
>> 
>> Or do I still miss something totally . what, on earth?
>> 
>> Cheers,
>> Andre.
>> 
>> 
>> 
>> 
>> 
>> --
>> Andre H. Juffer  | Phone: +358-8-553 1683
>> The Biocenter and| Fax: +358-8-553-1141
>>  the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
>> University of Oulu, Finland  | WWW:
>> http://www.biochem.oulu.fi/research.html
>> 
>> 
>> -
>> Please check that your question has not already been answered in the
>> FAQ before posting. 
>> 
>> To 

server is not starting up

2001-07-17 Thread Santosh K

Hi,
  I'm using jdk1.3.1 and jasdk2.0 and apache version 1.3.12 and apache
jserv1.0 ,when i add this line "LoadModule action_module
/path/to/mod_actions.so
" as shown in the configuration of cocoon for apache jserv to the httpd.conf
file of the apache1.3.12,the webserver doesnt get started at all, it doesn't
give me any errors also.

 Could u please advice me on this regard.

Thanks and Regards,
 -San


-
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: url and caching - Problem with MRUMemoryStore

2001-07-17 Thread C. Gaffga

Hi !

I have same problems with the latest version of coocon2.
(But I need that version because of cocoon: url)

When I load my page one, two or three times, there ar no problems.
But if I load the page some more times, press the browsers refresh
butten, say, every 10 sec., after two or three minutes I get an
error that the requested recource could not be found.
(processing time is about 600ms/per page)

After the error (requested page could not be found), no other page could
be found, not the cocoon welcome page or any samples, or the error page.
And the coponent selectors for the hints xsp an so on couldn't be found
either.

What's going wrong with cocoon2 and caching of cocoon: url?

Do you have any ideas, or how can I disable caching for that?

Christoph Gaffga



P.S.: My exception
DEBUG   99540   [cocoon  ] (HttpProcessor[8080][4]): Making URL from
file:///opt/tomcat4-b5/webapps/cocoon/url
DEBUG   99540   [cocoon  ] (HttpProcessor[8080][4]): MRUMemoryStore holding
object in memory. Key: file:/opt/t
WARN99540   [cocoon  ] (HttpProcessor[8080][4]): Configuration Error:
null
java.lang.NullPointerException
at
org.apache.cocoon.components.store.MRUMemoryStore.checkSeriazable(MRUMemoryS
tore.java:351)
at
org.apache.cocoon.components.store.MRUMemoryStore.free(MRUMemoryStore.java:3
40)
at
org.apache.cocoon.components.store.MRUMemoryStore.hold(MRUMemoryStore.java:2
44)
at
org.apache.cocoon.components.store.MRUMemoryStore.store(MRUMemoryStore.java:
229)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguag
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.j
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultCom
ponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java
at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator
.java:153)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.jav
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:246)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:10
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:279)
at
org.apache.cocoon.www.urlaubstage.sitemap_xmap.wildcardMatchN3E(sitemap_xmap
.java:546)
at
org.apache.cocoon.www.urlaubstage.sitemap_xmap.process(sitemap_xmap.java:301
)
at
org.apache.cocoon.www.urlaubstage.sitemap_xmap.process(sitemap_xmap.java:252
)



-
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] serving via Apache

2001-07-17 Thread Mike Haarman

I am running Apache 1.3.#, Tomcat 3.2.1, Cocoon-2.0b1

I am having touble getting C2 to serve via Apache.  I have followed several threads on 
the topic in the archives, but they appear to refer to C1.  I
am using mod_jk and had it configured correctly for C1 to serve on port 80.  Currently 
I can only get C2 to serve from port 8080.  Does mod_jk.conf
require modification to allow Apache to serve C2?

What am I missing?




-
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: Does Cocoon return the Request Object as XML?

2001-07-17 Thread D. Musicant

Thanks! I'll take a look. Any idea what package the RequestGenerator is in?
_
Get your FREE download of MSN Explorer at http://explorer.msn.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: Q on session validation example

2001-07-17 Thread Christian Haul

On 17.Jul.2001 -- 03:10 PM, HALLOWELL,KARL (HP-Cupertino,ex1) wrote:
> I have a question about Martin Man's session validation example (e.g.,
> http://localhost/cocoon/protected/login). Namely, the session validator is
> called every time that a match (map:match that is) is done in the sitemap.
> I.e., if I surf to "protected/protected" it first checks with the session
> validator action to see if I've logged in. I continue only if my request has
> the appropriate session parameter/cookie. At the time, the author, Martin
> noted that he didn't like having to put the action in every match entry in
> the sitemap that he wanted to protect against unauthorized logins. My
> question is whether this can be done. I.e., can I route everything though
> say URL match "protected/**", do the session check in that map:match, set
> some sitemap parameter, and then redirect to another URL (say
> "rootname/{1}").
> 
> The idea is that the session validation appears only once in the sitemap,
> but is checked for a variety of URLs. Is there anything wrong with my idea?
> Are there simple ways this session validation can be bypassed?

There're several solutions to this:

a) mount a sub-sitemap and do the validation in the mount (probably
not nice, since this belongs to the application in the sub sitemap)

b) nest your pipelines. There's no reason why you shouldn't specify
matchers nested inside an action

c) use redirects to internal URIs or ressources. But then you'd need
matchers for those

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




Q on session validation example

2001-07-17 Thread HALLOWELL,KARL (HP-Cupertino,ex1)

I have a question about Martin Man's session validation example (e.g.,
http://localhost/cocoon/protected/login). Namely, the session validator is
called every time that a match (map:match that is) is done in the sitemap.
I.e., if I surf to "protected/protected" it first checks with the session
validator action to see if I've logged in. I continue only if my request has
the appropriate session parameter/cookie. At the time, the author, Martin
noted that he didn't like having to put the action in every match entry in
the sitemap that he wanted to protect against unauthorized logins. My
question is whether this can be done. I.e., can I route everything though
say URL match "protected/**", do the session check in that map:match, set
some sitemap parameter, and then redirect to another URL (say
"rootname/{1}").

The idea is that the session validation appears only once in the sitemap,
but is checked for a variety of URLs. Is there anything wrong with my idea?
Are there simple ways this session validation can be bypassed?


Karl Hallowell [EMAIL PROTECTED]

PS, this probably is directly relevant to the huge discussion on URL
redirection since session checking (and redirecting to login windows) is
probably the most important function that requires redirection.

-
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: Classpath Problems With Actions

2001-07-17 Thread Berin Loritsch

Marks local account wrote:

>Christian Haul wrote:
>
>>On 17.Jul.2001 -- 04:08 PM, Marks local account wrote:
>>
>>>So I have three questions:
>>>
>>>1. What am I doing wrong?
>>>
>>The web.xml looks good. Package problems? (You know, package
>>foo.bar.xyz lives in foo/bar/xyz)
>>
>
>Its not in a package. Does it have to be?
>

No.  You just have to obey the package rules that SUN has specified

>
>
>Mark Miller
>Web Architect
>Logica
>
>
>-
>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: Classpath Problems With Actions

2001-07-17 Thread Marks local account

Christian Haul wrote:

> On 17.Jul.2001 -- 04:08 PM, Marks local account wrote:
> > So I have three questions:
> >
> > 1. What am I doing wrong?
>
> The web.xml looks good. Package problems? (You know, package
> foo.bar.xyz lives in foo/bar/xyz)
>

Its not in a package. Does it have to be?

Mark Miller
Web Architect
Logica


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




SOCKET taglib for Cocoon1 available

2001-07-17 Thread Uli Mayring

Hi folks,

I've written a taglib that makes a socket connection to a host and port
you specify, send some data you specify and receive an answer in XML. This
XML is parsed and appended to the current node (which is why it won't work
with Cocoon2).

It's not really a big thing, I wrote it in an hour today, but since it's
so simple, it can be a good example for people learning how to write XSP
taglibs. My other taglibs (auth and soap) are fairly large, but this one
should be easy enough to understand for a beginner. You can read
the docs and/or download it under http://ulim.cocoonhost.com

have fun,

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


-
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: XSL:FO help

2001-07-17 Thread Uli Mayring

On Tue, 17 Jul 2001, Darrel Riekhof wrote:

> I want to mark up the text in the resulting PDF file according to the tags
> (strong=bold, em=italics, etc.)  I'm a newbie with XSL, and I can't figure
> out how to write the XSL so it transforms this XML into the correct FO.  Can
> anyone recommend a good XSL book or reference that would help me with this,
> or better yet, give me some XSL:FO that does this?

Here are some useful general formatting templates, as you can see it's
real easy:
































Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


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




XSL:FO help

2001-07-17 Thread Darrel Riekhof

Say you have an XML file that looks like this:



  
blah blah blah
blah blah blah

blah blah blah
blah blah blah


  blah
  blah
  blah


blah blah blah blah blah
   


I want to mark up the text in the resulting PDF file according to the tags
(strong=bold, em=italics, etc.)  I'm a newbie with XSL, and I can't figure
out how to write the XSL so it transforms this XML into the correct FO.  Can
anyone recommend a good XSL book or reference that would help me with this,
or better yet, give me some XSL:FO that does this?

Darrel

-
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: Classpath Problems With Actions

2001-07-17 Thread Christian Haul

On 17.Jul.2001 -- 04:08 PM, Marks local account wrote:
> So I have three questions:
> 
> 1. What am I doing wrong?

The web.xml looks good. Package problems? (You know, package
foo.bar.xyz lives in foo/bar/xyz)

> 2. Is there a prescribed way for me to let cocoon compile the
> LoginAction.java file on the fly like it does with everything else? I
> currently just compile the file from the command line.

No, unfortunately not.

> 3. Can actions be written using xsp?

No, but AFAIK there's a new action checked in today that allows
arbitrary scripting languages like javascript.

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: include xsp:expr inside attributes?

2001-07-17 Thread Berin Loritsch

Anthony Diodato wrote:

> I'm not sure how to accomplish the following.  I was hoping someone would
> point me in the right direction?
> 
> I would like to do the following:
> 
> 
> 
> But, of course, that is not wellformed XML.  Is there a way to accomplish
> that is XSP?


  foo.getBar()



Also note that this markup will work in Cocoon 2 as well.
 S/MIME Cryptographic Signature


Re: Classpath Problems With Actions

2001-07-17 Thread Berin Loritsch

Marks local account wrote:
> 
> Cocoon 2.0b1 in tomcat 3.2.2 on Linux 7.1
> 
> I am trying to write an action for use in my site map. When c2 executes
> the sitemap java file I notice it is throwing the following exception
> (from cooocon.log):

If it is a pre-written action, simply include the jar in WEB-INF/libs.

> So I have three questions:
> 
> 2. Is there a prescribed way for me to let cocoon compile the
> LoginAction.java file on the fly like it does with everything else? I
> currently just compile the file from the command line.

If it is done on the fly--use the repository.

> 3. Can actions be written using xsp?

Not at this time.
 S/MIME Cryptographic Signature


Re: AW: forms in coocon2, is SchemoX dead ?

2001-07-17 Thread Christian Haul

On 17.Jul.2001 -- 10:07 AM, Berin Loritsch wrote:
> > a) XForms expects XML encoded parameters. I'm not 100% sure on
>
> Which means that for the two standard submission types (url encoded
> and multipart), the XPath expression is used to reconstruct the XML
> document.

So, do you think this is advisable, to reconstruct the XML?

> > c) XForms declare forms within the  section of a
> >document. XSP don't have such a concept.
> 
> This is a markup issue.  Basically, the instance/schema/binding info
> is stored at the top of the document in an  tag.

As there's no part of an XSP that is an equivalent of the 
part, the question arises where to put it instead. Just anywhere at
the top? Anywhere before the first form element? Or, what the hell,
like before with HTML forms, all form elements nested?

> > d) XForms' forms can be mixed and nested. This is not possible
> >with current XHTML forms.
> 
> This is true.  There are two potential solutions:
> 
> 1) only have one form for the whole document and separate the
>markup and validation at server side.

This is probably the way to go. Although different target URIs for
different forms would be cleaner, this could be achieved by action +
matchers on parameter values instead of URIs. Such matchers already
exist in C2.

> 2) force the user to use XHTML form constraints.

> 
> > e) XForms specify validation as XPath expressions. Makes only
> >sense if form data is accessible through XPath.
> 
> In an XForms implementation this is a requirement.  Validation is
> done via Schema (current spec), as well as Dynamic Constraint Language
> (based in part on ECMAscript).
> 
> References are by XPath.

I think this could be postponed to a later evolution of such a
package, can it? 

> > f) XForms specify active behaviour: triggers, conditionals
> >... This is probably out of scope.
> 
> This can only be in scope if you have a transformer that creates
> Javascript on the fly.  As different browsers have different methods
> of referencing form parts, this is where the BrowserSelector can
> come in handy.
> 
> Again, this is not easy.

So, again, this shouldn't be part of an initial offering.

> > h) XForms specify subpages. Whiles this could be done it's also
> >probably too complex for short term availability.
> 
> I would implement it as another "page" in the form.  In other words, we
> do validation on the information we have, and go to the subpage, etc.

This is a (minor?) breach from C2 philosophy, to split different views
into separate XSPs. OK, this is not really relevant here and therefore
more or less OK. Again, an issue for later revisions.

> > i) XForms don't specify error messages.
> 
> This is my biggest beef with it.  They have heard this complaint before.

Well, we could extent and embrace ;-) A similar functionality could be
done with the  contructs in XForms and those triggers. For
usability error messages would be quite important to be available in a
clean and simple way. And as you said, XForms is a moving target, so
perhaps, this is going to happen anyway :-)

> > To do would be (not necessarily in order of importance)
> > 
> >1) enhance form validator action to validate more XForms basic
> >   types.
> 
> XForms is now completely Schema based.  Throw the generated XML through
> Xerces and see what gets kicked out.  I would implement the ErrorHandler
> so that all errors can be cached.

Mmmh, another source of errors in C2. Not valid Schema
definitions. And a reason to really reconstruct the XML. Think I'll
need to look a bit closer at XForms :-|

> >3) provide stylesheets that render HTML-4.0 forms (probably
> >   separate ones for IE, NS &c), XSL-FO &c.
> 
> I started on this a while ago.  The overall style really depends on
> the site.  Bottom line is that XForms is a moving target.

Granted. But there need to be an example so that a form package is
usable and as a starting point for every one else to customize. Of
course there're a number of design alternatives in the XForms
spec. e.g.  -> radio buttons, check boxes (?!), drop down
boxes (), select boxes (), ... and such a
stylesheet would probably provide only one or two of these i.e. based
on the number of s.

> >4) provide javascript routines that do client side checking (as
> >   well for major platforms)
> 
> This really would have to be both platform and XForm specific.  The
> Javascript would need to be auto-generated.

I think some basic checking could be done independantly, check that a
field only contains numbers and display a pop-up if there's a
violation should be manageable.

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. 

RE: C2 and JRun

2001-07-17 Thread Torsten Curdt

First try to deploy the war. If does not work
try the C1 instructions...
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 6:37 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: C2 and JRun
> 
> 
> Do you have a link where I can find these instructions. I didn't see them on
> the install page.
> http://xml.apache.org/cocoon2/install.html
> 
> Thanks
> 
> -Original Message-
> From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 12:33 PM
> To: [EMAIL PROTECTED]
> Subject: RE: C2 and JRun
> 
> 
> some jar collisions... now you may have a look
> into the installation instruction to prevent
> the hassle...
> --
> Torsten
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 17, 2001 5:55 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: C2 and JRun
> > 
> > 
> > What kind of troubles did you run into. 
> > 
> > -Original Message-
> > From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 17, 2001 11:53 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: C2 and JRun
> > 
> > 
> > We were running C2 on JRun for a while.
> > After some installation troubles it worked just fine
> > --
> > Torsten
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, July 17, 2001 5:40 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: C2 and JRun
> > > 
> > > 
> > > Im wondering if Cocoon 2 has been tested with JRun, and if there is any
> > docs
> > > on this.
> > > 
> > > If not, does anyone know if JRun will be a supported Servlet Engine??
> > > 
> > > Anthony Diodato
> > > Webmaster - Educational Services
> > > Prophet 21, Inc.
> > > 19 West College Avenue
> > > Yardley, PA 19067
> > > 1-800-776-7438, ext. 4600
> > > Fax: 215-321-8014 
> > > [EMAIL PROTECTED]
> > > http://www.p21.com/
> > > Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> > > 
> > > For the latest press releases from Prophet 21 --
> > > http://www.p21.com/press/press.html 
> > > * 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
> > > (E2E) Commerce 
> > > * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> > > * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> > > For the latest articles on Prophet 21
> > >
> >
> http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
> > > htm 
> > > http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> > > http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Visit our website at http://www.p21.com/visit 
> > > The information in this e-mail is confidential and may contain legally
> > > privileged information.  It is intended solely for the person or entity
> to
> > > which it is addressed.  Access to this e-mail by anyone else is
> > > unauthorized. If you are not the intended recipient, any disclosure,
> > > copying, distribution, action taken, or action omitted to be taken in
> > > reliance on it, is prohibited and may be unlawful.  If you received this
> > > e-mail in error, please contact the sender and delete the material from
> > any
> > > computer. 
> > > 
> > > 
> > > 
> > > -
> > > 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]>
> > 
> > 
> > Visit our website at http://www.p21.com/visit 
> > The information in this e-mail is confidential and may contain legally
> > privileged information.  It is intended solely for the person or entity to
> > which it is addressed.  Access to this e-mail by anyone else is
> > unauthorized. If you are not the intended recipient, any disclosure,
> > copying, distribution, action taken, or action omitted to be taken in
> > reliance on it, is prohibited and may be unlawful.  If you received this
> > e-mail in error, please contact the sender and delete the material from
> any
> > computer. 
> > 
> > 
> > 
> > -
> > 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 and JRun

2001-07-17 Thread Anthony Diodato

Do you have a link where I can find these instructions. I didn't see them on
the install page.
http://xml.apache.org/cocoon2/install.html

Thanks

-Original Message-
From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 12:33 PM
To: [EMAIL PROTECTED]
Subject: RE: C2 and JRun


some jar collisions... now you may have a look
into the installation instruction to prevent
the hassle...
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:55 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: C2 and JRun
> 
> 
> What kind of troubles did you run into. 
> 
> -Original Message-
> From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: C2 and JRun
> 
> 
> We were running C2 on JRun for a while.
> After some installation troubles it worked just fine
> --
> Torsten
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 17, 2001 5:40 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: C2 and JRun
> > 
> > 
> > Im wondering if Cocoon 2 has been tested with JRun, and if there is any
> docs
> > on this.
> > 
> > If not, does anyone know if JRun will be a supported Servlet Engine??
> > 
> > Anthony Diodato
> > Webmaster - Educational Services
> > Prophet 21, Inc.
> > 19 West College Avenue
> > Yardley, PA 19067
> > 1-800-776-7438, ext. 4600
> > Fax: 215-321-8014 
> > [EMAIL PROTECTED]
> > http://www.p21.com/
> > Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> > 
> > For the latest press releases from Prophet 21 --
> > http://www.p21.com/press/press.html 
> > *   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
> > (E2E) Commerce 
> > *   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> > *   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> > For the latest articles on Prophet 21
> >
>
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
> > htm 
> > http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> > http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
> > 
> > 
> > 
> > 
> > 
> > Visit our website at http://www.p21.com/visit 
> > The information in this e-mail is confidential and may contain legally
> > privileged information.  It is intended solely for the person or entity
to
> > which it is addressed.  Access to this e-mail by anyone else is
> > unauthorized. If you are not the intended recipient, any disclosure,
> > copying, distribution, action taken, or action omitted to be taken in
> > reliance on it, is prohibited and may be unlawful.  If you received this
> > e-mail in error, please contact the sender and delete the material from
> any
> > computer. 
> > 
> > 
> > 
> > -
> > 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]>
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from
any
> computer. 
> 
> 
> 
> -
> 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]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the 

RE: C2 and JRun

2001-07-17 Thread Torsten Curdt

some jar collisions... now you may have a look
into the installation instruction to prevent
the hassle...
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:55 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: C2 and JRun
> 
> 
> What kind of troubles did you run into. 
> 
> -Original Message-
> From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: C2 and JRun
> 
> 
> We were running C2 on JRun for a while.
> After some installation troubles it worked just fine
> --
> Torsten
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 17, 2001 5:40 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: C2 and JRun
> > 
> > 
> > Im wondering if Cocoon 2 has been tested with JRun, and if there is any
> docs
> > on this.
> > 
> > If not, does anyone know if JRun will be a supported Servlet Engine??
> > 
> > Anthony Diodato
> > Webmaster - Educational Services
> > Prophet 21, Inc.
> > 19 West College Avenue
> > Yardley, PA 19067
> > 1-800-776-7438, ext. 4600
> > Fax: 215-321-8014 
> > [EMAIL PROTECTED]
> > http://www.p21.com/
> > Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> > 
> > For the latest press releases from Prophet 21 --
> > http://www.p21.com/press/press.html 
> > *   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
> > (E2E) Commerce 
> > *   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> > *   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> > For the latest articles on Prophet 21
> >
> http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
> > htm 
> > http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> > http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
> > 
> > 
> > 
> > 
> > 
> > Visit our website at http://www.p21.com/visit 
> > The information in this e-mail is confidential and may contain legally
> > privileged information.  It is intended solely for the person or entity to
> > which it is addressed.  Access to this e-mail by anyone else is
> > unauthorized. If you are not the intended recipient, any disclosure,
> > copying, distribution, action taken, or action omitted to be taken in
> > reliance on it, is prohibited and may be unlawful.  If you received this
> > e-mail in error, please contact the sender and delete the material from
> any
> > computer. 
> > 
> > 
> > 
> > -
> > 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]>
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from any
> computer. 
> 
> 
> 
> -
> 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: Sitemaps not recompiling

2001-07-17 Thread Felix Knecht

Did you changed the attribute "reload-method" from "asynchron" to "synchron"
in the sitemap-tag in the cocoon.conf as well?

For me this helped.

Felix

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 17. Juli 2001 17:14
> An: [EMAIL PROTECTED]
> Betreff: AW: Sitemaps not recompiling
>
>
> I always recommend using official releases, so the beta 1 is
> the one to use right now.
> Only if you experience any severe problems with the beta 1
> I would suggest using the cvs versions.
>
> We also plan the beta 2 release for the early future.
>
> Carsten
>
> > -Ursprungliche Nachricht-
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> > Auftrag von Marks local account
> > Gesendet: Dienstag, 17. Juli 2001 16:12
> > An: [EMAIL PROTECTED]
> > Betreff: Re: AW: Sitemaps not recompiling
> >
> >
> > Carsten Ziegeler wrote:
> > > > -Ursprungliche Nachricht-
> > > > Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im
> > > > Auftrag von Marks local account
> > > > Gesendet: Dienstag, 17. Juli 2001 15:25
> > > > An: [EMAIL PROTECTED]
> > > > Betreff: Sitemaps not recompiling
> > > >
> > > >
> > > >
> > > > Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1
> > > >
> > > What exact version of Cocoon 2 do you use? The beta 1 or some
> > > version from the cvs?
> >
> > The beta 1. What is the recomendation here. I am evaluating
> > cocoon for use,
> > and I quite like it, will I be happier if I get the nightly
> > builds from CVS
> > or should I just test the beta and complain?
> >
> > Thanks
> >
> > Mark Miller
> > Web Architect
> > Logica
> >
> >
> > >
> > >
> > > > When I make changes to the sitemap (sub map) for my
> application I have
> > > > to stop tomcat, delete the java files in the work directory
> > and restart.
> > > >
> > > > I am using the following in the main cocoon sitemap.xmap:
> > > >
> > > >   
> > > >
> > > >  > > > check-reload="yes"/>
> > > >
> > > >   
> > > >
> > > > but I also tried :
> > > >
> > > >   
> > > >
> > > >  check-reload="yes"/>
> > > >
> > > >   
> > > >
> > > This is equivalent with the first statement as cocoon
> automatically
> > > adds "sitemap.xmap" if src specifies a directory.
> > >
> > > The compilation of the sitemap and the subsitemaps take some time
> > > depending on the server hardware. So you could also specify
> > > the "reload-method" attribute with the value "synchron"
> on the map:mount
> > > element:
> > >
> > >> >   check-reload="yes" reload-method="synchron"/>
> > >
> > > This forces cocoon to wait for the compilation and then
> serves your
> > > request. The default reload method is asynchron. So when a new
> > > request after a sitemap change arrives at cocoon the sitemap is
> > > compiled in the background and the requests are served
> with the old
> > > sitemap until the compilation is finished.
> > >
> > > HTH
> > >
> > > Carsten
> > >
> > > Open Source GroupsunShine - b:Integrated
> > > 
> > > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > > www.sundn.de  mailto: [EMAIL PROTECTED]
> > > 
> > >
> > > > Changes to the main cocoon sitemap.xmap also require
> deletion of the
> > > > java files in work, and a restart of tomcat.
> > > > Changes to .xsl or .xsp files are spotted and the files are
> > regenerated
> > > > as required.
> > > > Why don't the sitemaps recompile?
> > > >
> > > > Mark Miller
> > > > Web Architect
> > > > Logica
> > > >
> > > >
> > > >
> -
> > > > 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 comma

RE: include xsp:expr inside attributes?

2001-07-17 Thread Seth Ladd


>   
>  name="myattr">foo.getBar()
>   


That worked great!  Thanks to everyone for their incredible (and speedy) help!

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




Classpath Problems With Actions

2001-07-17 Thread Marks local account

Cocoon 2.0b1 in tomcat 3.2.2 on Linux 7.1

I am trying to write an action for use in my site map. When c2 executes
the sitemap java file I notice it is throwing the following exception
(from cooocon.log):

When C2 tries to do its thing with sitemap_xml.java

WARN27991   [cocoon  ] (Thread-39): LoginAction
java.lang.ClassNotFoundException: LoginAction
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
 at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
 at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:136)

 at
org.apache.cocoon.www.mmsc.sitemap_xmap$Configurer.configActions(sitemap_xmap.java:211)



The class file (I also tried a jar file) is in a jar file in a folder
inside cocoon:

...tomcat/cocoon/out/mmsc.class (contains LoginAction.java)

I added the following to web.xml:


  extra-classpath

/usr/local/tomcat/webapps/cocoon/mmsc/out/mmsc.jar

In the cocoon.log (Using the ParanoidServlet) I found the Classpath:

DEBUG   609 [cocoon  ] (Thread-10): Classpath =
/usr/local/tomcat/webapps/cocoon/WEB-INF/classes:(bits removed)
:/usr/local/tomcat/webapps/cocoon/mmsc/out/mmsc.jar


Which is the correct path. If I try to access the Action from the
command line with 'java' it executes. But once it is running Cocoon
can't seem to find it. is it because they are in different threads?

I noticed somewhere in the docs that I can include my actions in the
cocoon.war by adding them to the build, but I would rather not.

So I have three questions:

1. What am I doing wrong?
2. Is there a prescribed way for me to let cocoon compile the
LoginAction.java file on the fly like it does with everything else? I
currently just compile the file from the command line.
3. Can actions be written using xsp?

Thanks,

Mark Miller
Web Architect
Logica


-
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: include xsp:expr inside attributes?

2001-07-17 Thread Anthony Diodato

I was stuck in Java mode. Sorry about that.

Your right, much easier!!

-Original Message-
From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:51 AM
To: [EMAIL PROTECTED]
Subject: RE: include xsp:expr inside attributes?


...much easier

  
foo.getBar()
  
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:44 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: include xsp:expr inside attributes?
> 
> 
> 
>  Element mynode = document.createElement("mynode");
>  mynode.setAttribute("myattr", foo.getBar());
>  xspCurrentNode.appendChild(mynode);
> 
> 
> -Original Message-
> From: Seth Ladd [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: include xsp:expr inside attributes?
> 
> 
> Hello,
> 
> I'm not sure how to accomplish the following.  I was hoping someone would 
> point me in the right direction?
> 
> I would like to do the following:
> 
> 
> 
> But, of course, that is not wellformed XML.  Is there a way to accomplish 
> that is XSP?
> 
> Thanks very much,
> 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]>
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from
any
> computer. 
> 
> 
> 
> -
> 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]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

2001-07-17 Thread Anthony Diodato

Also, did it seem to be better then 1.8.2 with the memory leak problem.

I just upgraded to 1.8.2 recently and it was a major improvement from 1.7.2,
but after a while was still a memory hog.
Im hoping C2 will completely fix this problem, if not I may have to switch
to something more sufficient.

-Original Message-
From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: RE: C2 and JRun


We were running C2 on JRun for a while.
After some installation troubles it worked just fine
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: C2 and JRun
> 
> 
> Im wondering if Cocoon 2 has been tested with JRun, and if there is any
docs
> on this.
> 
> If not, does anyone know if JRun will be a supported Servlet Engine??
> 
> Anthony Diodato
> Webmaster - Educational Services
> Prophet 21, Inc.
> 19 West College Avenue
> Yardley, PA 19067
> 1-800-776-7438, ext. 4600
> Fax: 215-321-8014 
> [EMAIL PROTECTED]
> http://www.p21.com/
> Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> 
> For the latest press releases from Prophet 21 --
> http://www.p21.com/press/press.html 
> * 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
> (E2E) Commerce 
> * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> For the latest articles on Prophet 21
>
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
> htm 
> http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
> 
> 
> 
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from
any
> computer. 
> 
> 
> 
> -
> 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]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

2001-07-17 Thread Anthony Diodato

What kind of troubles did you run into. 

-Original Message-
From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: RE: C2 and JRun


We were running C2 on JRun for a while.
After some installation troubles it worked just fine
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: C2 and JRun
> 
> 
> Im wondering if Cocoon 2 has been tested with JRun, and if there is any
docs
> on this.
> 
> If not, does anyone know if JRun will be a supported Servlet Engine??
> 
> Anthony Diodato
> Webmaster - Educational Services
> Prophet 21, Inc.
> 19 West College Avenue
> Yardley, PA 19067
> 1-800-776-7438, ext. 4600
> Fax: 215-321-8014 
> [EMAIL PROTECTED]
> http://www.p21.com/
> Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> 
> For the latest press releases from Prophet 21 --
> http://www.p21.com/press/press.html 
> * 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
> (E2E) Commerce 
> * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> For the latest articles on Prophet 21
>
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
> htm 
> http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
> 
> 
> 
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from
any
> computer. 
> 
> 
> 
> -
> 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]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

2001-07-17 Thread Torsten Curdt

We were running C2 on JRun for a while.
After some installation troubles it worked just fine
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: C2 and JRun
> 
> 
> Im wondering if Cocoon 2 has been tested with JRun, and if there is any docs
> on this.
> 
> If not, does anyone know if JRun will be a supported Servlet Engine??
> 
> Anthony Diodato
> Webmaster - Educational Services
> Prophet 21, Inc.
> 19 West College Avenue
> Yardley, PA 19067
> 1-800-776-7438, ext. 4600
> Fax: 215-321-8014 
> [EMAIL PROTECTED]
> http://www.p21.com/
> Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> 
> For the latest press releases from Prophet 21 --
> http://www.p21.com/press/press.html 
> * 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
> (E2E) Commerce 
> * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> For the latest articles on Prophet 21
> http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
> htm 
> http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
> 
> 
> 
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from any
> computer. 
> 
> 
> 
> -
> 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: include xsp:expr inside attributes?

2001-07-17 Thread Torsten Curdt

...much easier

  
foo.getBar()
  
--
Torsten

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 5:44 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: include xsp:expr inside attributes?
> 
> 
> 
>  Element mynode = document.createElement("mynode");
>  mynode.setAttribute("myattr", foo.getBar());
>  xspCurrentNode.appendChild(mynode);
> 
> 
> -Original Message-
> From: Seth Ladd [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: include xsp:expr inside attributes?
> 
> 
> Hello,
> 
> I'm not sure how to accomplish the following.  I was hoping someone would 
> point me in the right direction?
> 
> I would like to do the following:
> 
> 
> 
> But, of course, that is not wellformed XML.  Is there a way to accomplish 
> that is XSP?
> 
> Thanks very much,
> 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]>
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you received this
> e-mail in error, please contact the sender and delete the material from any
> computer. 
> 
> 
> 
> -
> 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: include xsp:expr inside attributes?

2001-07-17 Thread JEULIN Olivier

Or:

   
foo.getBar()"/>
   


> -Message d'origine-
> De : Anthony Diodato [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 17 juillet 2001 17:44
> À : '[EMAIL PROTECTED]'
> Objet : RE: include xsp:expr inside attributes?
> 
> 
> 
>  Element mynode = document.createElement("mynode");
>  mynode.setAttribute("myattr", foo.getBar());
>  xspCurrentNode.appendChild(mynode);
> 
> 
> -Original Message-
> From: Seth Ladd [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: include xsp:expr inside attributes?
> 
> 
> Hello,
> 
> I'm not sure how to accomplish the following.  I was hoping 
> someone would 
> point me in the right direction?
> 
> I would like to do the following:
> 
> 
> 
> But, of course, that is not wellformed XML.  Is there a way 
> to accomplish 
> that is XSP?
> 
> Thanks very much,
> 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: include xsp:expr inside attributes?

2001-07-17 Thread Anthony Diodato


 Element mynode = document.createElement("mynode");
 mynode.setAttribute("myattr", foo.getBar());
 xspCurrentNode.appendChild(mynode);


-Original Message-
From: Seth Ladd [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:39 AM
To: [EMAIL PROTECTED]
Subject: include xsp:expr inside attributes?


Hello,

I'm not sure how to accomplish the following.  I was hoping someone would 
point me in the right direction?

I would like to do the following:



But, of course, that is not wellformed XML.  Is there a way to accomplish 
that is XSP?

Thanks very much,
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]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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




include xsp:expr inside attributes?

2001-07-17 Thread Seth Ladd

Hello,

I'm not sure how to accomplish the following.  I was hoping someone would 
point me in the right direction?

I would like to do the following:



But, of course, that is not wellformed XML.  Is there a way to accomplish 
that is XSP?

Thanks very much,
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]>




C2 and JRun

2001-07-17 Thread Anthony Diodato

Im wondering if Cocoon 2 has been tested with JRun, and if there is any docs
on this.

If not, does anyone know if JRun will be a supported Servlet Engine??

Anthony Diodato
Webmaster - Educational Services
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm





Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



-
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-users@xml.apache.org

2001-07-17 Thread Anthony Diodato

It Cocoon 1.8.2 you can use this is your code.



or declare this 

]>

in your xml file, I havent began using Cocoon 2 yet.

-Original Message-
From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 11:34 AM
To: [EMAIL PROTECTED]
Subject: Re: the problem of  


Hello again,

could anybody provide some code how to overcome this
problem?!

How should the nbsp be defined in XSL so that after
serialisation it only produces " "?

TIA
Drasko

--- Frans Thamura <[EMAIL PROTECTED]> wrote:
> Try used XSL syntax, nbsp is HTML syntax..
> 
> I forgot the value, but it is look like #Ax0 or
> something.. that works in my
> script
> 
> Frans
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 05, 2001 12:12 AM
> Subject: the problem of  
> 
> 
> > hi,
> >
> > I use the   to define a empty roll or column,
> but it result a
> error(The entity "nbsp" was
> > referenced, but not declared) when the xsl is
> parsed. May I know how to
> solve this problem ?
> >
> > Thank you.
> >
> > Kok Choon
> >
> >
>

> > E-mail: [EMAIL PROTECTED]
> > Date: 06/05/01
> > Time: 01:12:52
> >
> > 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]>
> 
> 
>
_
> 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]>
> 


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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



-
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-users@xml.apache.org

2001-07-17 Thread Drasko Kokic

Hello again,

could anybody provide some code how to overcome this
problem?!

How should the nbsp be defined in XSL so that after
serialisation it only produces " "?

TIA
Drasko

--- Frans Thamura <[EMAIL PROTECTED]> wrote:
> Try used XSL syntax, nbsp is HTML syntax..
> 
> I forgot the value, but it is look like #Ax0 or
> something.. that works in my
> script
> 
> Frans
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 05, 2001 12:12 AM
> Subject: the problem of  
> 
> 
> > hi,
> >
> > I use the   to define a empty roll or column,
> but it result a
> error(The entity "nbsp" was
> > referenced, but not declared) when the xsl is
> parsed. May I know how to
> solve this problem ?
> >
> > Thank you.
> >
> > Kok Choon
> >
> >
>

> > E-mail: [EMAIL PROTECTED]
> > Date: 06/05/01
> > Time: 01:12:52
> >
> > 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]>
> 
> 
>
_
> 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]>
> 


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




XSP - different compile-time/run-time classpaths?

2001-07-17 Thread Greg Merrill

Does XSP use a different classpaths at compile-time
and run-time? The reason I ask is because I'm seeing
the following strange behavior:

I have an XSP which imports/uses some utility classes
which live in a jar file within my war's WEB-INF/lib. 
When I access this XSP, it compiles just fine.  I can
go to the repository & see both the .java and .class
file.  

However, when the XSP processor attempts to *run* the
compiled XSP, I get a NoClassDefFoundError; the
message cites my utility class (remember, this lives
in a jar in WEB-INF/lib) as the class which can't be
located.

Has anyone seen behavior like this before?  I'm
running JBoss w/embedded Tomcat.


__
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: how to create dynamic graphique with XML

2001-07-17 Thread Joost Fleuren

Hi Philippe,

XML to SVG using XSLT is simple.
>From SVG markup you can go to jpeg using the SVG serializer in Cocoon 2, or
the Apache Batik project (http://xml.apache.org/batik/)

Regards,
Joost.

> -Original Message-
> From: phil [mailto:phil]On Behalf Of LEBRETON Philippe
> Sent: Tuesday, July 17, 2001 5:05 PM
> To: Cocoon User
> Subject: how to create dynamic graphique with XML
>
>
> I have an XML file with many data. And i want transform this data in
> graphic representation (like gif, jpeg, etc, not svg).
> Does some body know a tools that create a gif in dynamic with an
> XML file?
>
> Thanks
>
> Philippe LEBRETON
>
>
> -
> 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: Sitemaps not recompiling

2001-07-17 Thread Carsten Ziegeler

I always recommend using official releases, so the beta 1 is
the one to use right now.
Only if you experience any severe problems with the beta 1
I would suggest using the cvs versions.

We also plan the beta 2 release for the early future.

Carsten

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Marks local account
> Gesendet: Dienstag, 17. Juli 2001 16:12
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Sitemaps not recompiling
>
>
> Carsten Ziegeler wrote:
> > > -Ursprungliche Nachricht-
> > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> > > Auftrag von Marks local account
> > > Gesendet: Dienstag, 17. Juli 2001 15:25
> > > An: [EMAIL PROTECTED]
> > > Betreff: Sitemaps not recompiling
> > >
> > >
> > >
> > > Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1
> > >
> > What exact version of Cocoon 2 do you use? The beta 1 or some
> > version from the cvs?
>
> The beta 1. What is the recomendation here. I am evaluating
> cocoon for use,
> and I quite like it, will I be happier if I get the nightly
> builds from CVS
> or should I just test the beta and complain?
>
> Thanks
>
> Mark Miller
> Web Architect
> Logica
>
>
> >
> >
> > > When I make changes to the sitemap (sub map) for my application I have
> > > to stop tomcat, delete the java files in the work directory
> and restart.
> > >
> > > I am using the following in the main cocoon sitemap.xmap:
> > >
> > >   
> > >
> > >  > > check-reload="yes"/>
> > >
> > >   
> > >
> > > but I also tried :
> > >
> > >   
> > >
> > > 
> > >
> > >   
> > >
> > This is equivalent with the first statement as cocoon automatically
> > adds "sitemap.xmap" if src specifies a directory.
> >
> > The compilation of the sitemap and the subsitemaps take some time
> > depending on the server hardware. So you could also specify
> > the "reload-method" attribute with the value "synchron" on the map:mount
> > element:
> >
> >>   check-reload="yes" reload-method="synchron"/>
> >
> > This forces cocoon to wait for the compilation and then serves your
> > request. The default reload method is asynchron. So when a new
> > request after a sitemap change arrives at cocoon the sitemap is
> > compiled in the background and the requests are served with the old
> > sitemap until the compilation is finished.
> >
> > HTH
> >
> > Carsten
> >
> > Open Source GroupsunShine - b:Integrated
> > 
> > Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> > www.sundn.de  mailto: [EMAIL PROTECTED]
> > 
> >
> > > Changes to the main cocoon sitemap.xmap also require deletion of the
> > > java files in work, and a restart of tomcat.
> > > Changes to .xsl or .xsp files are spotted and the files are
> regenerated
> > > as required.
> > > Why don't the sitemaps recompile?
> > >
> > > Mark Miller
> > > Web Architect
> > > Logica
> > >
> > >
> > > -
> > > 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: AW: Sitemaps not recompiling

2001-07-17 Thread Marks local account

Carsten Ziegeler wrote:

> > -Ursprungliche Nachricht-
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> > Auftrag von Marks local account
> > Gesendet: Dienstag, 17. Juli 2001 15:25
> > An: [EMAIL PROTECTED]
> > Betreff: Sitemaps not recompiling
> >
> >
> >
> > Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1
> >
> What exact version of Cocoon 2 do you use? The beta 1 or some
> version from the cvs?

The beta 1. What is the recomendation here. I am evaluating cocoon for use,
and I quite like it, will I be happier if I get the nightly builds from CVS
or should I just test the beta and complain?

Thanks

Mark Miller
Web Architect
Logica


>
>
> > When I make changes to the sitemap (sub map) for my application I have
> > to stop tomcat, delete the java files in the work directory and restart.
> >
> > I am using the following in the main cocoon sitemap.xmap:
> >
> >   
> >
> >  > check-reload="yes"/>
> >
> >   
> >
> > but I also tried :
> >
> >   
> >
> > 
> >
> >   
> >
> This is equivalent with the first statement as cocoon automatically
> adds "sitemap.xmap" if src specifies a directory.
>
> The compilation of the sitemap and the subsitemaps take some time
> depending on the server hardware. So you could also specify
> the "reload-method" attribute with the value "synchron" on the map:mount
> element:
>
>  check-reload="yes" reload-method="synchron"/>
>
> This forces cocoon to wait for the compilation and then serves your
> request. The default reload method is asynchron. So when a new
> request after a sitemap change arrives at cocoon the sitemap is
> compiled in the background and the requests are served with the old
> sitemap until the compilation is finished.
>
> HTH
>
> Carsten
>
> Open Source GroupsunShine - b:Integrated
> 
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de  mailto: [EMAIL PROTECTED]
> 
>
> > Changes to the main cocoon sitemap.xmap also require deletion of the
> > java files in work, and a restart of tomcat.
> > Changes to .xsl or .xsp files are spotted and the files are regenerated
> > as required.
> > Why don't the sitemaps recompile?
> >
> > Mark Miller
> > Web Architect
> > Logica
> >
> >
> > -
> > 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: Antwort: Sitemaps not recompiling

2001-07-17 Thread Marks local account

That seemed to work.

Thanks.

I am new to this list, and currently evaluating cocoon for use. I am really
impressed with what I have seen so far. But expect some newbie questions!

Mark Miller
Web Architect
Logica


[EMAIL PROTECTED] wrote:

> Change the sitemap entry in cocoon.xconf to
>
>  
>
> That should help.
>
> Udo
>
> Marks local account <[EMAIL PROTECTED]> am 17.07.2001 14:25:08
>
> Bitte antworten an [EMAIL PROTECTED]
>
>
>
>  An:[EMAIL PROTECTED]
>
>  Kopie: (Blindkopie: Udo Kretschmer/ORGIV/Alunorf)
>
>
>
>  Thema: Sitemaps not recompiling
>
>
> Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1
>
> When I make changes to the sitemap (sub map) for my application I have
> to stop tomcat, delete the java files in the work directory and restart.
>
> I am using the following in the main cocoon sitemap.xmap:
>
>   
>
>  check-reload="yes"/>
>
>   
>
> but I also tried :
>
>   
>
> 
>
>   
>
> Changes to the main cocoon sitemap.xmap also require deletion of the
> java files in work, and a restart of tomcat.
> Changes to .xsl or .xsp files are spotted and the files are regenerated
> as required.
> Why don't the sitemaps recompile?
>
> Mark Miller
> Web Architect
> Logica
>
> -
> 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]>




how to create dynamic graphique with XML

2001-07-17 Thread LEBRETON Philippe

I have an XML file with many data. And i want transform this data in
graphic representation (like gif, jpeg, etc, not svg).
Does some body know a tools that create a gif in dynamic with an
XML file?

Thanks

Philippe LEBRETON


-
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: forms in coocon2, is SchemoX dead ?

2001-07-17 Thread Ulrich Mayring

Christian Haul wrote:
> 
> To me, XForms looks like the most importand standard on this but I
> think it is not advisable to aim for a fully compliant implementation
> for C2 because (please correct any errors)

What I don't like about XForms is mainly that it needs a so-called
XFormsProcessor, i.e. yet another special server application. The other
thing is that it only applies to forms, I'd like a more general tool for
modelling workflows. The fancy UI Widgets that XForms calls for (e.g.
sliders), are unsupported by any Browser I know of.

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




AW: Sitemaps not recompiling

2001-07-17 Thread Carsten Ziegeler

> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Marks local account
> Gesendet: Dienstag, 17. Juli 2001 15:25
> An: [EMAIL PROTECTED]
> Betreff: Sitemaps not recompiling
>
>
>
> Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1
>
What exact version of Cocoon 2 do you use? The beta 1 or some
version from the cvs?

> When I make changes to the sitemap (sub map) for my application I have
> to stop tomcat, delete the java files in the work directory and restart.
>
> I am using the following in the main cocoon sitemap.xmap:
>
>   
>
>  check-reload="yes"/>
>
>   
>
> but I also tried :
>
>   
>
> 
>
>   
>
This is equivalent with the first statement as cocoon automatically
adds "sitemap.xmap" if src specifies a directory.

The compilation of the sitemap and the subsitemaps take some time
depending on the server hardware. So you could also specify
the "reload-method" attribute with the value "synchron" on the map:mount
element:

  

This forces cocoon to wait for the compilation and then serves your
request. The default reload method is asynchron. So when a new
request after a sitemap change arrives at cocoon the sitemap is
compiled in the background and the requests are served with the old
sitemap until the compilation is finished.

HTH


Carsten

Open Source GroupsunShine - b:Integrated

Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de  mailto: [EMAIL PROTECTED]


> Changes to the main cocoon sitemap.xmap also require deletion of the
> java files in work, and a restart of tomcat.
> Changes to .xsl or .xsp files are spotted and the files are regenerated
> as required.
> Why don't the sitemaps recompile?
>
> Mark Miller
> Web Architect
> Logica
>
>
> -
> 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]>




Antwort: Sitemaps not recompiling

2001-07-17 Thread Udo . Kretschmer



Change the sitemap entry in cocoon.xconf to

 

That should help.

Udo






Marks local account <[EMAIL PROTECTED]> am 17.07.2001 14:25:08

Bitte antworten an [EMAIL PROTECTED]



 An:[EMAIL PROTECTED] 

 Kopie: (Blindkopie: Udo Kretschmer/ORGIV/Alunorf)  



 Thema: Sitemaps not recompiling










Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1

When I make changes to the sitemap (sub map) for my application I have
to stop tomcat, delete the java files in the work directory and restart.

I am using the following in the main cocoon sitemap.xmap:

  
   

   
  

but I also tried :

  
   

   
  

Changes to the main cocoon sitemap.xmap also require deletion of the
java files in work, and a restart of tomcat.
Changes to .xsl or .xsp files are spotted and the files are regenerated
as required.
Why don't the sitemaps recompile?

Mark Miller
Web Architect
Logica


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




Sitemaps not recompiling

2001-07-17 Thread Marks local account


Using Cocoon 2.0 in Tomcat 3.2.2 without apache on Linux 7.1

When I make changes to the sitemap (sub map) for my application I have
to stop tomcat, delete the java files in the work directory and restart.

I am using the following in the main cocoon sitemap.xmap:

  
   

   
  

but I also tried :

  
   

   
  

Changes to the main cocoon sitemap.xmap also require deletion of the
java files in work, and a restart of tomcat.
Changes to .xsl or .xsp files are spotted and the files are regenerated
as required.
Why don't the sitemaps recompile?

Mark Miller
Web Architect
Logica


-
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: forms in coocon2, is SchemoX dead ?

2001-07-17 Thread Berin Loritsch

Christian Haul wrote:

> To me, XForms looks like the most importand standard on this but I
> think it is not advisable to aim for a fully compliant implementation
> for C2 because (please correct any errors)
> 
> a) XForms expects XML encoded parameters. I'm not 100% sure on
>this, but I think few to none of the available browsers
>support this. I don't think it would make sense to convert
>request parameters to a XML representation before processing
>them since this would probably be too costly. A Javascript
>solution to post parameters as XML is propably out of the
>question.

There are three information types:

application/x-www-form-urlencoded
multipart/form-data
text/xml

If the submission type is not "text/xml" (like from a SOAP request),
then the submission form parameters match the simplified XPath to
their position in the document:

XML-Instance we want:


  Berin Loritsch
  bloritschATapacheDOTorf


Our Form:




Which means that for the two standard submission types (url encoded
and multipart), the XPath expression is used to reconstruct the XML
document.

> b) XForms allow besides the basic types arbitrary types definable
>in XML Schema. While this might be possible for validation, it
>is expensive but seems only necessary if parameters are XML
>encoded.

Once you have your XML recreated (from an XML reconstructor Action),
you should be able to apply them any way.  It is expensive, so the
benefits have to be weighed carefully.

> c) XForms declare forms within the  section of a
>document. XSP don't have such a concept.

This is a markup issue.  Basically, the instance/schema/binding info
is stored at the top of the document in an  tag.

> d) XForms' forms can be mixed and nested. This is not possible
>with current XHTML forms.

This is true.  There are two potential solutions:

1) only have one form for the whole document and separate the
   markup and validation at server side.
2) force the user to use XHTML form constraints.

> e) XForms specify validation as XPath expressions. Makes only
>sense if form data is accessible through XPath.

In an XForms implementation this is a requirement.  Validation is
done via Schema (current spec), as well as Dynamic Constraint Language
(based in part on ECMAscript).

References are by XPath.

> f) XForms specify active behaviour: triggers, conditionals
>... This is probably out of scope.

This can only be in scope if you have a transformer that creates
Javascript on the fly.  As different browsers have different methods
of referencing form parts, this is where the BrowserSelector can
come in handy.

Again, this is not easy.

> g) XForms provide sliders, subpages, lists &c. This is too complex
>for short term availability.

True.

> h) XForms specify subpages. Whiles this could be done it's also
>probably too complex for short term availability.

I would implement it as another "page" in the form.  In other words, we
do validation on the information we have, and go to the subpage, etc.

> i) XForms don't specify error messages.

This is my biggest beef with it.  They have heard this complaint before.

> j) Since validation is (at least additionally) server based, this
>should keep the already filled in elements.

XForms is largely a Client specification--which I also have issues with.
Some of it can be done server side, but things like DCL make it difficult.

> >From this follows, that a fully compliant implementation should not be
> the goal.

Agreed.

> To do would be (not necessarily in order of importance)
> 
>1) enhance form validator action to validate more XForms basic
>   types.

XForms is now completely Schema based.  Throw the generated XML through
Xerces and see what gets kicked out.  I would implement the ErrorHandler
so that all errors can be cached.

>2) provide a taglib that combines necessary features from
>   formval.xsl and request.xsl plus some form specification that
>   produces valid XForms

Your biggest issue is referencing existing information from the XML
instance and the XPath expression to get the information you need.

>3) provide stylesheets that render HTML-4.0 forms (probably
>   separate ones for IE, NS &c), XSL-FO &c.

I started on this a while ago.  The overall style really depends on
the site.  Bottom line is that XForms is a moving target.

>4) provide javascript routines that do client side checking (as
>   well for major platforms)

This really would have to be both platform and XForm specific.  The
Javascript would need to be auto-generated.
 S/MIME Cryptographic Signature


Re: AW: forms in coocon2, is SchemoX dead ?

2001-07-17 Thread Christian Haul

On 16.Jul.2001 -- 09:28 PM, java guru wrote:
> I agree about the xform and xfdl..In future, i guess,
> these concepts would go beyond just form validation
> and handling..

To me it looks like xfdl is not actively maintained by W3C, since the
document is rather old.

> For now, from this discussion, I understand that we
> are all looking for some form of automated/simplified
> form generation/validation and handling..am i right?..

Right.

> And also, there are efforts on going with current
> cocoon reg form validation and other stuff...they seem
> to follow the xform approach from nanotech..but not
> sure if the original author has intent of extending it
> to be full blown form generator/validator/handler or
> not...

Well, I'm not the original author but have supplied some of the
validations. Indeed, I would like to extend this to a more complete
form generator/validator. But I haven't made up my mind, which way to
follow.

To me, XForms looks like the most importand standard on this but I
think it is not advisable to aim for a fully compliant implementation
for C2 because (please correct any errors)

a) XForms expects XML encoded parameters. I'm not 100% sure on
   this, but I think few to none of the available browsers
   support this. I don't think it would make sense to convert
   request parameters to a XML representation before processing
   them since this would probably be too costly. A Javascript
   solution to post parameters as XML is propably out of the
   question.

b) XForms allow besides the basic types arbitrary types definable
   in XML Schema. While this might be possible for validation, it
   is expensive but seems only necessary if parameters are XML
   encoded. 

c) XForms declare forms within the  section of a
   document. XSP don't have such a concept.

d) XForms' forms can be mixed and nested. This is not possible
   with current XHTML forms.

e) XForms specify validation as XPath expressions. Makes only
   sense if form data is accessible through XPath.

f) XForms specify active behaviour: triggers, conditionals
   ... This is probably out of scope.

g) XForms provide sliders, subpages, lists &c. This is too complex
   for short term availability.

h) XForms specify subpages. Whiles this could be done it's also
   probably too complex for short term availability.

i) XForms don't specify error messages.

j) Since validation is (at least additionally) server based, this
   should keep the already filled in elements.

>From this follows, that a fully compliant implementation should not be
the goal.

To do would be (not necessarily in order of importance)

   1) enhance form validator action to validate more XForms basic
  types. 

   2) provide a taglib that combines necessary features from
  formval.xsl and request.xsl plus some form specification that
  produces valid XForms

   3) provide stylesheets that render HTML-4.0 forms (probably
  separate ones for IE, NS &c), XSL-FO &c.
 
   4) provide javascript routines that do client side checking (as
  well for major platforms)

Suggestions, ideas and helping hands welcome :-)

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




open-source packaging software

2001-07-17 Thread java guru

I am sorry for posting this here..
  But i needed a opensource/free software
packager/installer for my cocoon2 application...

Any input is hightly appreciated...

Thanks in advance



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: AW: forms in coocon2, is SchemoX dead ?

2001-07-17 Thread Steffen Stundzig

Hi,

I'm one of the maintainers of SchemoX at the infozone group.

SchemoX isn't dead. I would say, it sleeps. It's maintainers hasn't
that time to develop it as desired, because of economical reasons.

For now, I could say that SchemoX will go the way of extending the full blown
form generator/validator/handler stuff in the future.

For german readers, in the next Java Spektrum, there is a article about the
SchemoX framework. This articles contains also the information about the next
SchemoX versions. Sorry for this advertising, but this article is, as I know,
the newest information about the framework.

If somebody would willing to help on developing SchemoX, I would wake it up
ASAP.

Regards
Steffen...

On Mon, 16 Jul 2001 you wrote:
> I agree about the xform and xfdl..In future, i guess,
> these concepts would go beyond just form validation
> and handling..
> 
> For now, from this discussion, I understand that we
> are all looking for some form of automated/simplified
> form generation/validation and handling..am i right?..
> 
> There is a design proposal on SchemoX website to make
> it run with cocoon2..anyone had look at it?
> 
> And also, there are efforts on going with current
> cocoon reg form validation and other stuff...they seem
> to follow the xform approach from nanotech..but not
> sure if the original author has intent of extending it
> to be full blown form generator/validator/handler or
> not...



-
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: Coocon with Silver stream server

2001-07-17 Thread tom . klaasen

I've heard of this problem before. It had something to do with
Silverstream's getContextHandler() (or something similar) implementation.
Silverstream has no context (it stores everything in a DB, remember?), and
thus this method always returns null.

Moreover, this method appears to be heavily used by C2 (so I've heard).

The man who reported this to me, has given up trying to run C2 on
Silverstream. Maybe you can do a better job?

hth,
tomK

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: maandag 16 juli 2001 20:29
To: [EMAIL PROTECTED]
Subject: Coocon with Silver stream server


I am trying make cocoon work with silver strream server. I am using coccon
2.0, Silver stream 3.71 on Windows 2000 server.
After deploying cocoon.war file, if I try to access coccon, it gives me
following error message. I am able to open hello.jsp, under sample
directory. If I try to open cml file, it displays as an xml file and not as
html file. Any help will be highly appriciated.


ooo No Context Loader oo:
javax.servlet.ServletC
onfig
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:112)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.
java:754)
at
com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer
vletRequestDispatcher.java:50)
at
com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp
atcher.java:88)
at
com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso
urce.java:1130)
at
com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523)
at
com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java
:114)
at com.sssw.srv.http.httpd.perform(httpd.java:4418)
at com.sssw.srv.http.Client.processRequest(Client.java:881)
at com.sssw.srv.http.Client.loop(Client.java:1215)
at com.sssw.srv.http.Client.runConnection(Client.java:1419)
at com.sssw.srv.http.Client.run(Client.java:1379)
at java.lang.Thread.run(Thread.java:484)
ooo No Context Loader oo:
org.apache.cocoon.envi
ronment.http.HttpContext
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:116)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.
java:754)
at
com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer
vletRequestDispatcher.java:50)
at
com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp
atcher.java:88)
at
com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso
urce.java:1130)
at
com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523)
at
com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java
:114)
at com.sssw.srv.http.httpd.perform(httpd.java:4418)
at com.sssw.srv.http.Client.processRequest(Client.java:881)
at com.sssw.srv.http.Client.loop(Client.java:1215)
at com.sssw.srv.http.Client.runConnection(Client.java:1419)
at com.sssw.srv.http.Client.run(Client.java:1379)
at java.lang.Thread.run(Thread.java:484)
ooo No Context Loader oo:
org.apache.cocoon.envi
ronment.Context
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
at
com.sssw.srv.cl.AgoJarClassLoader.findClass(AgoJarClassLoader.java:95
)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
106)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:116)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.
java:754)
at