re: SourceWritingTransformer to save jpeg/png to filesystem

2003-11-28 Thread jim basilakis
Hi, 

Does anyone know how to save a png/jpg generated by .svg file onto the
file system. I have been hinted before to use SourceWritingTransformer
but does this apply to images as well as simple files?

If so, what would I need to do?

Would something like this work...



   


Thanks in advance,
Jim




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



RE: SourceWritingTransformer to save jpeg/png to filesystem

2003-12-01 Thread jim basilakis
Thanks for your reply.

I have tried replacing the serializer value from 'xml' to 'svg2png' and it
gave an error saying it not able to do this. I will try and look at the
source code and see what I can do save an image on the filesystem. If I get
the answer I will let you know.

Thanks again,
Jim


-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: Saturday, 29 November 2003 6:46 PM
To: [EMAIL PROTECTED]
Subject: Re: SourceWritingTransformer to save jpeg/png to filesystem


jim basilakis wrote:

>Hi,
>
>Does anyone know how to save a png/jpg generated by .svg file onto the
>file system. I have been hinted before to use SourceWritingTransformer
>but does this apply to images as well as simple files?
>
>If so, what would I need to do?
>
>Would something like this work...
>
>
>
>   
>
>
>
You can certainly set the serializer. The javadocs say:

Definition:

 
   
   
 


Invocation:

 
  
 

And you replace the xml with svg2png.

[Never tried it though...]

Regards, Upayavira



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





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



RE: .

2004-02-26 Thread jim basilakis



Nice 
to know there are other Cocooners out there and there is a CocoonUserGroupAustralia mail list set up!
 
I am 
based in Sydney at the University of NSW and I am using Cocoon for research and 
development of medical software.
 
It 
would be great to exchange ideas on Cocoon usage.
 
Jim 
Basilakis
 
 
 

  -Original Message-From: Konstantinidis, Greg 
  [mailto:[EMAIL PROTECTED]Sent: Friday, 27 
  February 2004 9:43 AMTo: 
  '[EMAIL PROTECTED]'Subject: RE: .
  Yes, we are also using cocoon.
  We're based in 
  Sydney.
  
-Original Message-From: Richard Huegill 
[mailto:[EMAIL PROTECTED]Sent: Thursday, 
26 February 2004 16:24To: 
[EMAIL PROTECTED]Subject: .
Hi, 
 
We're using cocoon at the moment, and we're 
feeling a little isolated.
 
Is there anyone in Australia who's also using 
it ?
 
it might be nice to be able to bounce ideas and 
discuss issues with omeone who is local.
 
Thanks.
 
Richard


RE: .

2004-02-28 Thread jim basilakis
That's right!

..kalos tov Stavro kai geia sou apo tiv Australia.

jim


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, 28 February 2004 3:30 AM
To: '[EMAIL PROTECTED]'
Subject: RE: .


ohh an other one greek here ...


kalos tin tin patrida !!!

--stavros


On Fri, 27 Feb 2004, Konstantinidis, Greg wrote:

> Yes, we are also using cocoon.
> We're based in Sydney.
>
>
> -Original Message-
> From: Richard Huegill [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 26 February 2004 16:24
> To: [EMAIL PROTECTED]
> Subject: .
>
>
> Hi,
>
> We're using cocoon at the moment, and we're feeling a little isolated.
>
> Is there anyone in Australia who's also using it ?
>
> it might be nice to be able to bounce ideas and discuss issues with omeone
> who is local.
>
> Thanks.
>
> Richard
>
>


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




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



RE: Xindice in Cocoon

2004-04-15 Thread jim basilakis
Hi there,

I had the same problem when trying the example in the book by Moczar and
Aston...it doesn't seem to work. Cocoon does not seem to be able to resolve
the xmldb URI scheme (src="xmldb:xindice://localhost:4080/db/"/>) to access
the database and not sure why.

A good reference to work out how to use Xindice with LOTS of good java
examples is "Professional XML Development with Apache Tools" by Theodore W.
Leung and look at the chapter on Xindice. Armed with this you can look at
the source code or instead, like me, just attempt to write an action to make
Cocoon access Xindice.


Hope this helps,
Jim


-Original Message-
From: Nina Juliadotter [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 April 2004 10:44 AM
To: [EMAIL PROTECTED]
Subject: Xindice in Cocoon


Hi everyone,

I've been trying to get Xindice up and running under Cocoon for the last 3
days now
without success, is there ANYONE out there who have actually got it working?
I've
read all the documentation there is on the Wikis and so forth, but it really
only
has made me more confused, as they all seem to refer to different versions
of Cocoon
and Xindice and Tomcat, with different tweaks nessecary. I've got Tomcat 5.0
and
Cocoon 2.1.4 happily installed and running (in Tomcat). I managed to get the
1.0 of
Xindice up and running in command line mode, but not 1.1b4, and I cannot get
Cocoon
to connect to Xindice in any way.

Any suggestions as to whether to use the embedded or standalone mode? From
what I
understand from the Wikis (e.g.
http://wiki.cocoondev.org/Wiki.jsp?page=XMLIndiceCocoon2.1), the embedded
mode is
supposed to just work by itself without tweaks. I havn't got the samples
working:

org.apache.cocoon.ProcessingException: Failed to load sitemap from
xmldb:xindice-embed:///db/cocoon/sitemap:
org.apache.cocoon.CascadingIOException:
Exception during processing of xmldb:xindice-embed:///db/cocoon/sitemap:
org.apache.cocoon.ResourceNotFoundException: Document
xmldb:xindice-embed:///db/cocoon/sitemap not found

I've also tried to run Xindice in standalone mode, having the Xindice 1.0
running
and then adding to the sitemap as suggested in
http://www.cocooncenter.org/cc/documents/resources/xindice/index.html:



  
  



  

but that does not work at all, it just gives me a "Resource cannot be
found".

I've also played around with deploying Xindice 1.1b4 in Tomcat, but I can't
work out
how to get Cocoon to talk to Xindice.

PLEASE, is there anyone who can tell me how to get Cocoon 2.1.4 to work with
Xindice
(any version will do!), cocoon being deployed in Tomcat 5.0.


FYI, the other resources I looked at are:

http://xml.apache.org/xindice/faq.html#faq-N100AD
http://wiki.apache.org/xindice/XindiceFAQ/EnvironmentVariables?action=highli
ght&value=xindice.db.home
http://wiki.apache.org/xindice/XindiceFAQ/XindicePort?action=highlight&value
=port
http://wiki.apache.org/cocoon/XindiceLogicsheet
and the book by Moczar and Aston: Cocoon developers handbook

Thanks,
Nina



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



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



RE: Sendmail attachment

2003-10-07 Thread jim basilakis



Hi,
 
I have 
been using Cocoon 2.0.4 and I wanted to send e-mail attachments as well. Looking 
at the coccon.jar file 
specifically for the sendmail.xsl logic sheet...there was no 
 taglib specified therefore
only 
text could be sent and no attachments, so I modified this logicsheet to include 
this tag after reading
about 
the JavaMail API.
 
It is 
fairly easy to do and I can send this if you want.
 
Jim
 
 
 

  -Original Message-From: Josep Riudavets 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, 7 October 2003 11:20 
  PMTo: [EMAIL PROTECTED]Subject: Sendmail 
  attachment
  Hi...
   
  I'm using sendmail taglibs ... and I want to 
  attach a file placed into 
  "/usr/local/tomcat/webapps/cocoon/fitxers/CADi.pfd"
   
  What the correct syntax for the 
   taglib?
   
  Thanks


RE: svg2png dynamic static generation

2003-10-08 Thread jim basilakis
Hi,

I am a cocoon newbie and I am using cocoon 2.0.4.
I came across the same problem of trying to save a jpeg/png file
to the filesystem as part of the course of a pipeline.

Any hints as to how to save a generated file (eg. png) to the 
filesystem?

Thanks,
Jim
 

-Original Message-
From: Joose Vettenranta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 October 2003 7:19 PM
To: [EMAIL PROTECTED]
Subject: svg2png dynamic static generation


Hey,

because serializing svg to png is very slow, is it possible to do
somehow next:

-> if picture-{id} exists -> map:read src="picture-{id}"
-> if not -> generate png file from svg and then save it to filesystem
and then show it.

It would make things much faster.

- Joose

-- 
Joose Vettenranta <[EMAIL PROTECTED]>  GSM: 044 561 0270
* Always remember that you are unique.
  Just like everyone else.*

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




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



Re: svg2png dynamic static generation

2003-10-08 Thread jim basilakis
Thanks for that!!

SourceWritingTransformer certainly seems to be what I am looking for.

So if I wanted to save for example a png file to the filesystem in 
the pipeline I would state:


   


Has anyone tested this, because I noticed in some comments about the 
SourceWritingTransformer on the Internet that it does not handle
namespaces resulting in invalid XML?

Thanks,
Jim




On Thu, 2003-10-09 at 08:28, Upayavira wrote:
> Check out the SourceWritingTransformer.
> 
> Regards, Upayavira
> 
> jim basilakis wrote:
> 
> >Hi,
> >
> >I am a cocoon newbie and I am using cocoon 2.0.4.
> >I came across the same problem of trying to save a jpeg/png file
> >to the filesystem as part of the course of a pipeline.
> >
> >Any hints as to how to save a generated file (eg. png) to the 
> >filesystem?
> >
> >Thanks,
> >Jim
> > 
> >
> >-Original Message-
> >From: Joose Vettenranta [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, 8 October 2003 7:19 PM
> >To: [EMAIL PROTECTED]
> >Subject: svg2png dynamic static generation
> >
> >
> >Hey,
> >
> >because serializing svg to png is very slow, is it possible to do
> >somehow next:
> >
> >-> if picture-{id} exists -> map:read src="picture-{id}"
> >-> if not -> generate png file from svg and then save it to filesystem
> >and then show it.
> >
> >It would make things much faster.
> >
> >- Joose
> >
> >  
> >
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



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



re: problem with caching of jpegs by Internet Explorer

2003-11-04 Thread jim basilakis
Hi,

I have been creating a web site with Cocoon 2.1.2 that dynamically generates
jpeg/png images.

The problem is that when the site is viewed by Internet Explorer, old cached
images are view and the jpegs/png images do not refresh despite being
modified from the last access to the site. This can be fixed on the client
side by selecting on the browser 'Internet Options -> Settings -> Check for
newer version of stored pages' and changing the setting to 'Every visit to
the page' instead of 'Automatically' but this is not a good solution if
others wish to view the page.

Is there anything I can do in Cocoon to make sure that changes to the
jpegs/pngs are shown whenever the site is accessed?

Thanks in advance,
Jim



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