Barbara Slupik | 1 Jul 09:21 2009
Picon

Resource outside jar

Hello

I am using cocoon-2.2.0. I want to define an xml file with printers  
configuration. This file should be outside application jar because my  
client will configure his own printers there. Printers defined in the  
xml file will be displayed on one of the application screens so that  
user can select a printer from the list. Is it possible to do? How?

Barbara
Bart Remmerie | 1 Jul 09:26 2009
Picon

Re: Resource outside jar

Where is the server running ?
Are there multiple clients running on one server ?  Or is the server
running  <at>  the client ?

Bart

On Wed, Jul 1, 2009 at 9:21 AM, Barbara
Slupik<barbara_slupik <at> wro.vectranet.pl> wrote:
> Hello
>
> I am using cocoon-2.2.0. I want to define an xml file with printers
> configuration. This file should be outside application jar because my client
> will configure his own printers there. Printers defined in the xml file will
> be displayed on one of the application screens so that user can select a
> printer from the list. Is it possible to do? How?
>
> Barbara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
> For additional commands, e-mail: users-help <at> cocoon.apache.org
>
>

--

-- 
Bart Remmerie
+32 (0477) 78.88.76
remmerie <at> gmail.com
Barbara Slupik | 1 Jul 11:14 2009
Picon

Re: Resource outside jar

Production environment runs on my client's server. Development  
environment runs on my computer.

My client has multiple users. He wants to change and add new printers  
but he does not want to rebuild the application every time printer  
details change.

What I am trying to do is to apply the same pattern which has been  
applied in an older application running in cocoon-2.0. In that  
application there is one Printers.xml file for all users and it  
contains information about printers (for example which render to use:  
pcl or postscript). User selects some processing parameters and a  
printer and submits a batch job as a jms request. The request goes to  
jms server which does the processing and prints the results on user's  
printer.

The new cocoon-2.2.0 application is sending jms requests - this works  
ok. Now I need to add printers. Of course I could put the printers  
into the database but I prefer to stay with xml file.

Barbara

On 1 Jul, 2009, at 9:26 am, Bart Remmerie wrote:

> Where is the server running ?
> Are there multiple clients running on one server ?  Or is the server
> running  <at>  the client ?
>
> Bart
>
(Continue reading)

Andreas Hartmann | 1 Jul 15:50 2009
Picon

Re: problem to display pdf throw the browser

Hi Luc,

Luc NADDEO schrieb:
> Hello,
> 
> We've got problem when we try to display relatively big file in pdf (for 
> instance 1,7Mo)
> 
> The browser/pdf displayer (acrobat) halt to load after annoncing 1/3 loaded
> 
> If we use the simple "right-click option/dowload this file", it works 
> fine anf fast.
> 
> Why ?

that could be related to the byte-ranges issue (incremental loading).
Maybe this helps:

http://redarrow.textdrive.com/article/34/troubles-with-serving-pdfs

-- Andreas

--

-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
Tomek Piechowicz | 1 Jul 18:40 2009
Picon

Cocoon 2.2 : Maven vs. customized web.xml

Hello.
I want to use XQueryServlet in my application so I added servlet 
configuration to my web.xml but after I started jetty server maven 
overwrited my web.xml :(.

Is it possible to prevent maven from changing web.xml every time it 
starts jetty server ?

Regards,
Tomasz.
Barbara Slupik | 1 Jul 21:41 2009
Picon

Re: Cocoon 2.2 : Maven vs. customized web.xml

I use jetty for development. I have my web.xml in my block directory,  
where pom.xml file is. In my pom.xml file I define:

<plugin>
	<groupId>org.mortbay.jetty</groupId>
	<artifactId>maven-jetty-plugin</artifactId>
	<version>6.1.7</version>
	<configuration>
		...
		<webXml>web.xml</webXml>
	</configuration>
</plugin>

Jetty uses my web.xml file and does not overwrite it.

Barbara

On 1 Jul, 2009, at 6:40 pm, Tomek Piechowicz wrote:

> Hello.
> I want to use XQueryServlet in my application so I added servlet  
> configuration to my web.xml but after I started jetty server maven  
> overwrited my web.xml :(.
>
> Is it possible to prevent maven from changing web.xml every time it  
> starts jetty server ?
>
> Regards,
> Tomasz.
>
(Continue reading)

Rosiu1125 | 2 Jul 08:44 2009
Picon

Re: Cocoon 2.2 : Maven vs. customized web.xml


You should use xpatch to do this: 
http://cocoon.apache.org/2.2/maven-plugins/maven-plugin/1.0/1360_1_1.html

Maciej Rosiek

Tomek Piechowicz wrote:
> 
> I want to use XQueryServlet in my application so I added servlet 
> configuration to my web.xml but after I started jetty server maven 
> overwrited my web.xml :(.
> 
> Is it possible to prevent maven from changing web.xml every time it 
> starts jetty server ?
> 

--

-- 
View this message in context: http://www.nabble.com/Cocoon-2.2-%3A-Maven-vs.-customized-web.xml-tp24293128p24302003.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
Javier Rodriguez (genaker | 3 Jul 12:27 2009
Picon

XHTML2FO

Hi,

Does anybody know an XHTML to FO transformer available that can be used
with cocoon/FOP?

Thanks,
Javier
Jasha Joachimsthal | 3 Jul 12:37 2009

Re: XHTML2FO

http://lmgtfy.com/?q=xhtml+to+xsl-fo --> http://www.ibm.com/developerworks/library/x-xslfo2app/

Jasha Joachimsthal

j.joachimsthal <at> onehippo.com - jasha <at> apache.org

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA 94952 +1 (707) 7734646



2009/7/3 Javier Rodriguez (genaker) <javier.rodriguez <at> genaker.net>
Hi,

Does anybody know an XHTML to FO transformer available that can be used
with cocoon/FOP?

Thanks,
Javier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
For additional commands, e-mail: users-help <at> cocoon.apache.org


Jasha Joachimsthal | 3 Jul 12:46 2009

Re: XHTML2FO

Which elements are supported depends on the fop serializer. The classic one supports 0.20, the fop-new 0.9x. 


Jasha


2009/7/3 Jasha Joachimsthal <j.joachimsthal <at> onehippo.com>
http://lmgtfy.com/?q=xhtml+to+xsl-fo --> http://www.ibm.com/developerworks/library/x-xslfo2app/

Jasha Joachimsthal

j.joachimsthal <at> onehippo.com - jasha <at> apache.org

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA 94952 +1 (707) 7734646



2009/7/3 Javier Rodriguez (genaker) <javier.rodriguez <at> genaker.net>

Hi,

Does anybody know an XHTML to FO transformer available that can be used
with cocoon/FOP?

Thanks,
Javier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
For additional commands, e-mail: users-help <at> cocoon.apache.org




Gmane