Re: [HELP] How Can I do ?

2002-07-09 Thread Matteo Di Giovinazzo

use the selector: org.apache.cocoon.selection.RequestParameterSelector

This should works:


   
 

 
   

   
 
   

   
 
   

 

 

   


CIAO!

-- 
Matteo Di Giovinazzo
[EMAIL PROTECTED]

illo ha scritto:
> Hello All,
> I hava a question for sitemap
> how can i write a sitmap:
> if i request http://site/test.xml
> it will transform by default.xsl
> if i request http://site/test.xml?sytle=test.xsl
> it will transform by test.xsl
> 
> Thanks 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 




-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Re: Embedded fonts on fop+cocoon2

2002-03-23 Thread Matteo Di Giovinazzo

See on FOP->FAQ for fonts inclusion in fop.

This userconfig.xml fragment works for me with Verdana font:
for Trebuchet font create your xml file from ttf.

(it's a strange misture of "file:" protocol and *empty* protocol!!!)





 
  
 
 
  
 
 
  
 
 
  
 






--
matteo
See www.unipdleague.da.ru = OUR FANTACALCIO LEAGUE!
--


- Original Message -
From: "Fastweb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 24, 2002 1:55 AM
Subject: Embedded fonts on fop+cocoon2


please replay to [EMAIL PROTECTED]

Help me, i use cocoon2 to make a PDF. I create a xml file with a servlet and
i use FOPSerializer to convert, using a xslt configuring a 
file, but i have on apache log this message:

[fop] HttpProcessor[8180][4]/MessageHandler: unknown font
Trebuchet,normal,normal so defaulted font to any.

I've already fixed the problem of user-config path files, i have put
absolute path or the relative path starting from $TOMCAT_HOME

How i can solve it?





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




GIFTranscoder w/o LZW licensing issues

2002-03-17 Thread Matteo Di Giovinazzo

Hello all!

I've found a GIFOutputStream (that can turned into a GIFTranscoder) that
does *not* implement the LZW compression.

www.shetline.com

>From the license:

| Copyright (c) 2000, 2001 by Kerry Shetline, [EMAIL PROTECTED]
|
| Note: This code does *NOT* implement LZW compression. While the output
| of the compression routine is compatible with LZW, only a simple run-
| length compression is performed. The degree of compression as compared
| to LZW is not as high, but execution time is faster, and LZW licensing
| issues are avoided. Depending on image size and image complexity, the
| differences in compression may or may not have practical significance
| for particular applications.

I've sent a mail to Kerry Shetline for asking him a donation to Apache
Foundation of his code.

Any update will be sent to this mailing list!

Ciao,
Matteo



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

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




Re: WAR file containing all that's needed for running Cocoon2

2001-11-10 Thread Matteo Di Giovinazzo

Thanks for the answer! Can you show me the basic content of cocoon.xconf?
I know that sitemap.xmap contains components and pipelines ecc...

TIA, matteodg


- Original Message -
From: "Ovidiu Predescu" <[EMAIL PROTECTED]>
To: "Matteo Di Giovinazzo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, November 11, 2001 12:20 AM
Subject: Re: WAR file containing all that's needed for running Cocoon2


> Yes, you can do that.
>
> Create the following directory structure:
>
> your-webapp/
>   cocoon.xconf
>   sitemap.xmap
>   your/own/custom/directories/
>   WEB-INF/
> logkit.xconf
> web.xml
> logs/
> lib/
>   avalon-excalibur-4.0.jar
>   avalon-framework-4.0.jar
>   batik-libs.jar
>   cocoon.jar
>   dom2.jar
>   hsqldb.jar
>   jakarta-regexp.jar
>   javac.jar
>   logkit.jar
>   maybeupload.jar
>   resolver.jar
>   xalan.jar
>   xerces.jar
>
> You can remove various jar files if you don't need them. For example
> you can remove batik libs if you don't use SVG, javac if you're using
> jikes (which BTW is a very fast compiler, and should give you a nice
> performance boost), hsqldb if you don't need HSQLDB database support
> etc.
>
> Regards,
> --
> Ovidiu Predescu <[EMAIL PROTECTED]>
> http://orion.nsr.hp.com/ (inside HP's firewall only)
> http://sourceforge.net/users/ovidiu/ (my SourceForge page)
> http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other
stuff)
>
>
> On Sat, 10 Nov 2001 14:21:39 +0100, "Matteo Di Giovinazzo"
<[EMAIL PROTECTED]> wrote:
>
> > I have used Jakarta Struts 1.0. When I create a new webapp that use
Struts,
> > I copy the struts.jar in the /lib directory of the webapp and setup the
> > configuration with /WEB-INF/web.xml and /WEB-INF/struts-config.xml. When
I
> > deploy the webapp (a .war file) in a web server all it's OK.
> >
> > For Cocoon2 is it possible to do the same thing?
> > Can I deploy a webapp that use Cocoon2 in a unique war file containing
all
> > that's needed for running?
> > What do I have to include in the war file?
> >
> > Does it exists a webapp blank for quick startup like the
struts-blank.war??
> >
> >
> > THANKS IN ADVANCE, Matteo
> >
> > Cocoon2 is great!
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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




WAR file containing all that's needed for running Cocoon2

2001-11-10 Thread Matteo Di Giovinazzo

I have used Jakarta Struts 1.0. When I create a new webapp that use Struts,
I copy the struts.jar in the /lib directory of the webapp and setup the
configuration with /WEB-INF/web.xml and /WEB-INF/struts-config.xml. When I
deploy the webapp (a .war file) in a web server all it's OK.

For Cocoon2 is it possible to do the same thing?
Can I deploy a webapp that use Cocoon2 in a unique war file containing all
that's needed for running?
What do I have to include in the war file?

Does it exists a webapp blank for quick startup like the struts-blank.war??


THANKS IN ADVANCE, Matteo

Cocoon2 is great!


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