How do I use sendmail from jxt?

2004-05-09 Thread beyaNet Consultancy
Hi, I have some xsp code which sends mail to a specified user, and I now want to convert the code to jxt, how do I do it. My code is: sendmail:send-mail> /sendmail:charset> /sendmail:smtphost> sendmail:from>[EMAIL PROTECTED]/sendmail:from> sendmail:to>[EMAIL PROTECTED]/sendmail:to>

Re: JXT or XSP?

2004-05-01 Thread beyaNet Consultancy
a BetwixtGenerator. This performs very well and keeps the control in the sitemap. Ralph -Original Message- From: beyaNet Consultancy [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 4:43 AM To: [EMAIL PROTECTED] Subject: JXT or XSP? Hi, why use(promote) XSP, when JXT and flowscript is a far

Re: JXT or XSP?

2004-05-01 Thread beyaNet Consultancy
Ralph, is there any particular reason why you don't instantiate business objects from within flowscript, or is purely preference that you don't? Peter On 1 May 2004, at 15:09, Ralph Goers wrote: I didn't mean to imply that there is no place for flowscript. There certainly is. As I said, we are

JXT or XSP?

2004-04-30 Thread beyaNet Consultancy
Hi, why use(promote) XSP, when JXT and flowscript is a far more powerful environment to develop in? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JXT or XSP?

2004-04-30 Thread beyaNet Consultancy
Derek, I initially, like i'm sure everyone else, started using XSP as that seemed to be all there was. Then I discovered JXT and flowscript! What can I say... I changed all of my XSP over to JXT, which made the code a lot easier and lighter. XSP seems to be very convoluted for example in the

Re: JXT or XSP?

2004-04-30 Thread beyaNet Consultancy
a BetwixtGenerator. This performs very well and keeps the control in the sitemap. Ralph -Original Message- From: beyaNet Consultancy [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 4:43 AM To: [EMAIL PROTECTED] Subject: JXT or XSP? Hi, why use(promote) XSP, when JXT and flowscript

flowscript iterator JXT

2004-04-29 Thread beyaNet Consultancy
Hi, I have some java iteration code which I wish to convert into flowscript. I have imported the Iterator: importClass(Packages.java.util.Iterator); and the java code I want to convert is: Iterator i = OrderItems.iterator(); while (i.hasNext()) { OrderItem item = (OrderItem) i.next(); } Any

Re: Hibernate logging in cocoon?

2004-04-29 Thread beyaNet Consultancy
Yep, i have log4j-1.2.7.jar in both web-inf/lib and web-inf/classes Peter On 29 Apr 2004, at 23:53, Joel McConaughy wrote: Is there a way to enable hibernate logging within cocoon? I've tried putting log4j.properties in the classpath but get nothing. THanks. joel

Re: Sorry, Cocoon couldn't find the resource you requested.

2004-04-28 Thread beyaNet Consultancy
Ugo, all has been sorted now... I made an alteration to the site pipe, in terms of to what depth files could access parts of the sitemap, and all is fine now. Peter On 27 Apr 2004, at 21:21, Ugo Cei wrote: Il giorno 27/apr/04, alle 16:02, beyaNet Consultancy ha scritto: form method=post

asynchronous flowscript calls??

2004-04-28 Thread beyaNet Consultancy
Hi, is it possible to make asynchronous flowscript function calls?? For example users can make purchase orders on my site, and at the moment my script adds an order item(shopping cart), via my hibernate persistence layer, and then redirects the user back to the page they made the order from.

Sorry, Cocoon couldn't find the resource you requested.

2004-04-27 Thread beyaNet Consultancy
Hi, I am having an issue concerning calling a flowscript continuation from a form within an iframe. The form is being generated from the following sequence: 1. function artistDetails() { var artistID = cocoon.parameters.artistID; var artist = Artist.getArtist(artistID); var artistStk =

Re: Sorry, Cocoon couldn't find the resource you requested.

2004-04-27 Thread beyaNet Consultancy
further to my earlier post, even if I comment out the sitemap pipe for the continuation, instead of getting an error saying that there was no pipe match, I still get the above message when trying to post the form from within the iframe. Peter On 27 Apr 2004, at 15:02, beyaNet Consultancy wrote

Problem passing parameter values from sitemap into flowscript..

2004-04-25 Thread beyaNet Consultancy
Hi, I have a sitemap pipe: map:match pattern=**artistImage/*/*/*/*.jpg> map:call function=svg> map:parameter name=imageNum value=1/> map:parameter name=artistID value=45/> map:parameter name=svgWidth value=100/> map:parameter name=svgHeight value=100/> /map:call> /map:match> which, as can be

Re: Problem passing parameter values from sitemap into flowscript..

2004-04-25 Thread beyaNet Consultancy
not 100% on the flow API, but you are passing sitemap parameters and retrieving request parameters. I don't see how the request parameters would be set. I would think there is another way of getting those. -Alex --- beyaNet Consultancy [EMAIL PROTECTED]> wrote: Hi, I have a sitemap p

Re: Problem passing parameter values from sitemap into flowscript..

2004-04-25 Thread beyaNet Consultancy
, Johannes Textor wrote: true, the docs seem incorrect (or misleading at least). does it work out when using the parameter object ? if so, can you report the bug in bugzilla ? I can also do it if you don't have a bugzilla account. beyaNet Consultancy wrote: Thanks guys, but the source of my initial

Re: Problem passing parameter values from sitemap into flowscript..

2004-04-25 Thread beyaNet Consultancy
Johannes, I have it. The correct syntax is: cocoon.parameters.svgWidth; Peter On 25 Apr 2004, at 13:53, beyaNet Consultancy wrote: Johannes, I do not have a bugzilla account, so feel free to log it. Also, I am now getting an error which says

Re: Problem passing parameter values from sitemap into flowscript..

2004-04-25 Thread beyaNet Consultancy
Ok, I agree as well. The example you have given is very clear. It may also help if you gave an example of how you would read in parameters from a query string (request) as well. Peter On 25 Apr 2004, at 14:53, Johannes Textor wrote: OK, thats clear enough to be understood by flow-newbies.

Re: Flowscript problems with cocoon version 2.1.4

2004-04-24 Thread beyaNet Consultancy
Hi, this issue has now been resolved. I had to rebuild cocoon! Peter On 20 Apr 2004, at 20:01, beyaNet Consultancy wrote: is anybody having problems with flowscript on version 2.1.4 of cocoon? If not, could you send me a copy of your js.jar and rhino1.5r4-continuations-20030906.jar as I continue

Read values from sitemap into flowscript

2004-04-24 Thread beyaNet Consultancy
Hi, how do I read values from a sitemap into a flowscript? For example what i want to do is the following: 1. An image request is made: image src=artistImage/${id}/128/102/1.jpg/> which calls the following site map pipe: map:match pattern=**artistImage/*/*/*/*.jpg> map:call function=svg/>

Re: Read values from sitemap into flowscript

2004-04-24 Thread beyaNet Consultancy
Hi, problem solved. Peter On 24 Apr 2004, at 13:32, beyaNet Consultancy wrote: Hi, how do I read values from a sitemap into a flowscript? For example what i want to do is the following: 1. An image request is made: image src=artistImage/${id}/128/102/1.jpg/> which calls the following site

Failed to execute pipeline.

2004-04-24 Thread beyaNet Consultancy
Hi, I am getting the following error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.w3c.dom.DOMException: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg, name: html). My pipe is: map:match

Re: Failed to execute pipeline.

2004-04-24 Thread beyaNet Consultancy
the jx namespace at all. Chris beyaNet Consultancy wrote: Hi, further to my earlier post. I have attached the output I am getting. Could someone please test this file to see whether an image is being generated? thanks Peter On 24 Apr 2004, at 15:40, beyaNet Consultancy wrote: Hi

Re: jpath transformer

2004-04-23 Thread beyaNet Consultancy
Jan, the transformer I mentioned is: map:transformer logger=sitemap.transformer.jpath name=jpath src=org.apache.cocoon.transformation.JPathTransformer/> Peter On 23 Apr 2004, at 07:14, Jan Hoskens wrote: I've not yet heard of a jpath transformer, where did you find it? I do know that there's an

Problems retrieving object elements using jpath (flowscript)

2004-04-23 Thread beyaNet Consultancy
Hi, I have a flowscript which does the following: cocoon.sendPage(registered_section1, {userGlobal:userGlobal}); where userGlobal is a user object. I try to retrieve elements within the java object inside my xsp page by saying: jpath:value-of select=userGlobal.getUserName()/> but am getting

Re: Problems retrieving object elements using jpath (flowscript)

2004-04-23 Thread beyaNet Consultancy
ome-page.xsp/> map:transform type=cinclude/> map:transform type=jpath/> map:transform type=xslt src=style/home-page.xsl/> map:call resource=serialize/> /map:match> Peter On 23 Apr 2004, at 13:20, Ugo Cei wrote: beyaNet Consultancy wrote: jpath:value-of select=u

Re: Problems retrieving object elements using jpath (flowscript)

2004-04-23 Thread beyaNet Consultancy
Ugo, your eralier suggestion, jpath:value-of select=userGlobal/userName/>, worked fine. My only reason for using an xsp page is because I can transform it with an xsl stylesheet. Can I do the same with an JXTG file? On 23 Apr 2004, at 14:55, Ugo Cei wrote: beyaNet Consultancy wrote:

Re: Problems retrieving object elements using jpath (flowscript)

2004-04-23 Thread beyaNet Consultancy
Ugo, thanks for your help. All is working now ;-) Peter On 23 Apr 2004, at 15:42, Ugo Cei wrote: beyaNet Consultancy wrote: Ugo, your eralier suggestion, jpath:value-of select=userGlobal/userName/, worked fine. My only reason for using an xsp page is because I can transform it with an xsl

Re: Generating XML - Design decisions

2004-04-23 Thread beyaNet Consultancy
On 23 Apr 2004, at 19:58, Alex Romayev wrote: JXTemplateGenerator is not Cacheable. Is any work being done on this??? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Flowscript - removeSession() is not a function

2004-04-22 Thread beyaNet Consultancy
Hi, I am getting the following error message in my flowscript: org.apache.avalon.framework.CascadingRuntimeException: removeSession is not a function, with the following line of code: cocoon.removeSession(); I know that to create a session in flowscript I do cocoon.createSession(). Could

jpath transformer

2004-04-22 Thread beyaNet Consultancy
Hi, could someone please inform me as to the correct usage of the jpath transformer. Can I use it as I would an xslt transformer and and declare a *.jpath file, which like its xsl counterpart, would handle styling issues? For example, could I do the following: map:match pattern=frame/*/*/*>

jpath transformer

2004-04-22 Thread beyaNet Consultancy
Hi, could someone please inform me as to the correct usage of the jpath transformer. Can I use it as I would an xslt transformer and and declare a *.jpath file, which like its xsl counterpart, would handle styling issues? For example, could I do the following: map:match pattern=frame/*/*/*>

Re: Flowscript and XSLT

2004-04-21 Thread beyaNet Consultancy
coon.redirectTo(registerd_user_area); - HERE THE CALL IS MADE } the parts of the aggregation which process serverpages are not rendered to the screen, i.e. they appear blank. Why? Peter On 21 Apr 2004, at 11:10, Reinhard Poetz wrote: beyaNet Consultancy wrote: Hi, 1. is it possible to apply a

Flowscript, Actions!?

2004-04-20 Thread beyaNet Consultancy
Hi, ok, so I have been using actions thus far to perform things like login, and now discover the beauty and simplicity of flowscript. So why actions? Anyway, I want to convert an action I currently have to check a users login details to flowscript. So my question is, what do I need to do? My user

org.apache.avalon.framework.configuration.ConfigurationException: No languages defined!

2004-04-20 Thread beyaNet Consultancy
eption> map:when test=invalid-continuation> map:generate src=exceptions/invalidContinuation.html/> map:serialize type=xhtml/> /map:when> /map:select> /map:handle-errors> What am I missing? Peter On 20 Apr 2004, at 10:45, beyaNet Consultancy wrote: Hi, ok, so I have been

Re: org.apache.avalon.framework.configuration.ConfigurationException: No languages defined!

2004-04-20 Thread beyaNet Consultancy
Ok, i have discovered that the following line caused my sitemap to bomb out: map:flow-interpreters default=JavaScript/> What does this line do, is it required, will commenting it out prevent flowscript from working properly Peter On 20 Apr 2004, at 11:37, beyaNet Consultancy wrote:

org.apache.avalon.framework.CascadingRuntimeException: Continuation is not defined

2004-04-20 Thread beyaNet Consultancy
apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:552) What am I missing here? Peter On

Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread beyaNet Consultancy
Hi, I getting an error while trying to setup my first flowscript code. The error I am getting is: org.apache.avalon.framework.CascadingRuntimeException: Continuation is not defined Could anyone out there please send me a copy of their sitemap, so as I can see how to properly setup up flowscript

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread beyaNet Consultancy
you have another version of Rhino in your classpath. beyaNet Consultancy wrote: Hi, I getting an error while trying to setup my first flowscript code. The error I am getting is: *org.apache.avalon.framework.CascadingRuntimeException: Continuation is not defined *Could anyone out there please

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread beyaNet Consultancy
, beyaNet Consultancy wrote: Christopher, the version of Rhino I have installed in my web-inf/lib folder is : rhino1.5r4-continuations-20030906.jar. Is this the correct version for cocoon version 2.1.4? If not, where can I get the correct .jar from? Peter On 20 Apr 2004, at 18:08, Christopher Oliver wrote

redirect problem with flowscript : No pipeline matched request: safe_user_area

2004-04-20 Thread beyaNet Consultancy
Hi, i have a flowscript funtion which does the following: var user = null; importClass(Packages.test.User); var newUser = new User(); var msg = ; function login() { while (user == null) { cocoon.sendPageAndWait(login.jx, {msg:msg}); try { user = newUser.getUser(cocoon.request.get(username),

How to determine if a session object has already been created

2004-04-14 Thread beyaNet Consultancy
Hi, How do I determine, in XSP:LOGIC, whether a session object has already been created? Basically I am trying to persist an object, in this case an Order object, in a session: //1.Determine if an order has been created Order newOrder = (Order)session.getAttribute(ORDER); if (newOrder ==

How to determine if a session object has already been created

2004-04-14 Thread beyaNet Consultancy
Hi, How do I determine, in XSP:LOGIC, whether a session object has already been created? Basically I am trying to persist an object, in this case an Order object, in a session: //1.Determine if an order has been created Order newOrder = (Order)session.getAttribute(ORDER); if (newOrder ==

Re: How to determine if a session object has already been created

2004-04-14 Thread beyaNet Consultancy
here, but isn't a session variable created on the server??? Why are the browsers coolie settings affecting this??? Peter On 14 Apr 2004, at 22:36, beyaNet Consultancy wrote: Hi, How do I determine, in XSP:LOGIC, whether a session object has already been created? Basically I am trying to persist

XHTML/XSLT issue

2004-04-02 Thread beyaNet Consultancy
Hi, In my site pages I am having an issue whereby when you view source on a page you can still see some of the xslt tags embedded in some of the html tags, for instance: form xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0;

Re: XHTML/XSLT issue

2004-04-02 Thread beyaNet Consultancy
Ugo, thanks for that ;-) Peter On 2 Apr 2004, at 15:54, Ugo Cei wrote: beyaNet Consultancy wrote: Hi, In my site pages I am having an issue whereby when you view source on a page you can still see some of the xslt tags embedded in some of the html tags, for instance: form xmlns:xsp=http

Re: XHTML/XSLT issue

2004-04-02 Thread beyaNet Consultancy
Ugo, the code you sent even strips out all of the html and leaves only the values passed into the xslt page! All I want is to be able to strip out the xml code that appears within the html tags ;-) what do I need to do? Peter On 2 Apr 2004, at 15:54, Ugo Cei wrote: xsl:element

Re: XHTML/XSLT issue

2004-04-02 Thread beyaNet Consultancy
|-+ | | beyaNet | | | Consultancy | | | [EMAIL PROTECTED]| | | .com| | || | | 04/02/2004 11:08 | | | AM

Re: XHTML/XSLT issue

2004-04-02 Thread beyaNet Consultancy
Chris, you the man! ;-) Peter On 2 Apr 2004, at 17:23, Christopher Painter-Wakefield wrote: xsl:template match=* xsl:element name={local-name()} xsl:apply-templates select=@*|node()/ /xsl:element /xsl:template xsl:template match=@*|text() xsl:copy/ /xsl:template

Re: (* - BIG - *) problem with Postgresql JDBC (related to Cocoon) - WAS Encoding problem on OSX

2004-04-01 Thread beyaNet Consultancy
Hi, for what it's worth, while using the following: OS X 10.3.3 postgreSQL 7.4.1 pg74.1jdbc3.jar (postgreSQL JDBC driver) Cocoon 2.1.4 Hibernate 2.1.1 I have had absolutely no encoding problems with postgreSQL. Maybe this can be attributed to using Hibernate as my persistence layer, and not

Re: [genuine] Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread beyaNet Consultancy
Hi, glad to see that there are other cocoon OS X users here! I wonder whether you OS X users could check something for me. On the main 'Welcome to Apache Cocoon!' page if you click the samples link, Hello World link (under The Power of XML), JPEG link (under Blocks Hello World!), could you

Re: Character encoding...

2004-03-27 Thread beyaNet Consultancy
map:resource> ... map:match pattern=unsupport/menu> map:generate type=serverpages src=xsp/menu2.xsp/> map:call resource=serialize/> /map:match> On 27 Mar 2004, at 07:30, Marc Portier wrote: Peter, sorry for the bad advice then, but you lost me, pls elaborate on where you

Character encoding...

2004-03-26 Thread beyaNet Consultancy
Hi, I am trying to obtain the encoding type as specified in at the top of my site page when you view source the page. At the moment the encoding type is specified as: ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1 //EN http://www.w3.org/TR/xhtml1/DTD/xhtml1.dtd;

Re: Character encoding...

2004-03-26 Thread beyaNet Consultancy
cified in the web.xml document and not in the web-page. Any ideas? Peter On 26 Mar 2004, at 23:08, Marc Portier wrote: beyaNet Consultancy wrote: Hi, I am trying to obtain the encoding type as specified in at the top of my site page when you view source the page. At the moment the encoding type is spe

XHTML 1.1 Declaration

2004-03-25 Thread beyaNet Consultancy
Hi, I have specified the following XHTML declaration in my sitemap: map:serializer name=xhtml src=org.apache.cocoon.serialization.XMLSerializer mime-type=text/html logger=sitemap.serializer.xhtml pool-grow=2 pool-max=64 pool-min=2> doctype-public>-//W3C//DTD XHTML 1.1 //EN/doctype-public>

Re: XHTML 1.1 Declaration

2004-03-25 Thread beyaNet Consultancy
XHTML 1.1 //EN/doctype-public> /doctype-system> /encoding> /indent> html>xmlns=http://www.w3.org/1999/xhtml/html> /map:serializer> make sense? Peter On 25 Mar 2004, at 11:37, beyaNet Consultancy wrote: Hi, I have specified the following XHTML declaration in my sitemap:

Re: Serving XHTML with Cocoon (was: Empty elements and the XML Serializer)

2004-03-23 Thread beyaNet Consultancy
Hi, would i be right in thinking that the following sitemap snippet does not actually turn my document into an xhtml document!?: map:serializer logger=sitemap.serializer.html mime-type=text/html name=html pool-grow=4 pool-max=32 pool-min=4 src=org.apache.cocoon.serialization.HTMLSerializer>

Re: Serving XHTML with Cocoon (was: Empty elements and the XML Serializer)

2004-03-23 Thread beyaNet Consultancy
he site displays fine in both Netscape 7.1 and Mozilla 1.7a. I am running on OS X 10.3.3, Apache tomcat 5, cocoon 2.1.4 Peter On 23 Mar 2004, at 08:59, Jean Pierre LeJacq wrote: On Tue, 23 Mar 2004, beyaNet Consultancy wrote: would i be right in thinking that the following sitemap snippet does

XML Parsing Error: no element found

2004-03-22 Thread beyaNet Consultancy
hi, I am getting the above error message when I try and run the following xsp page. Can I do this? If not how do I?? ?xml version=1.0 encoding=ISO-8859-1?> xsp:page language=java xmlns:xsp=http://apache.org/xsp xmlns:util=http://apache.org/xsp/util/2.0 xmlns:xlink=http://www.w3.org/1999/xlink

Re: XML Parsing Error: no element found

2004-03-22 Thread beyaNet Consultancy
ems not! very nice.... Peter On 22 Mar 2004, at 10:46, beyaNet Consultancy wrote: hi, I am getting the above error message when I try and run the following xsp page. Can I do this? If not how do I?? ?xml version=1.0 encoding=ISO-8859-1?> xsp:page language=java xmlns:xsp=http://apache.org/xsp xm

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be = 0 Batik SVG cocoon bug???

2004-03-21 Thread beyaNet Consultancy
Hi, I think that i may have stumbled on a bug with usage of SVG in cocoon. I have a pipeline which takes in a jpg: map:match pattern=**artistImage/*/*.jpg> map:generate type=serverpages src=xsp/svg.xsp> map:parameter name=imageNum value={3}/> map:parameter name=artistID value={2}/>

Re: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be = 0 Batik SVG cocoon bug???

2004-03-21 Thread beyaNet Consultancy
Hi, I should have added that my version of cocoon is 2.1.4 running on OS X 10.3.3 with postgresql 7.4.1 many thanks in advance On 21 Mar 2004, at 12:11, beyaNet Consultancy wrote: Hi, I think that i may have stumbled on a bug with usage of SVG in cocoon. I have a pipeline which takes in a jpg

Dynamic SVG tag...

2004-03-21 Thread beyaNet Consultancy
Hi, I have been trying to resolve an issue with how to make an opening svg tag dynamic, in terms of the width and height, and wondered if you have an suggestions. I have an xsp page which spits out an svg as so: xsp:structure> /xsp:include> /xsp:structure> svg width=x height=x x=0 y=0>

Entity declaration

2004-03-08 Thread beyaNet Consultancy
Hi, I have an entity in my page, nbsp;, which when passed through cocoon throws an error. How do you handle entities in cocoon? many thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Entity declaration

2004-03-08 Thread beyaNet Consultancy
Hi, could you show me an example of how to do this please. many thanks in advance On 8 Mar 2004, at 12:14, David Leangen wrote: Hi! One way, and perhaps the easiest, is to declare your entities somewhere in your DTD. Hope this helps. Dave -Original Message- From: beyaNet

Re: Entity declaration

2004-03-08 Thread beyaNet Consultancy
: beyaNet Consultancy [mailto:[EMAIL PROTECTED] Sent: 08mm2004 14:41 To: [EMAIL PROTECTED] Subject: Re: Entity declaration Hi, could you show me an example of how to do this please. many thanks in advance On 8 Mar 2004, at 12:14, David Leangen wrote: Hi! One way, and perhaps the easiest

Re: Entity declaration

2004-03-08 Thread beyaNet Consultancy
All is fine now. I am using the Catalog DTD. many thanks in advance On 8 Mar 2004, at 13:52, beyaNet Consultancy wrote: Robert, for the short term your last reply is sufficient, but for the long term it would be best if i declare it in an entity tag within my dtd. many thanks Andrew On 8

DTD declaration in html page...

2004-03-08 Thread beyaNet Consultancy
Hi, when viewing the source of my html pages they have an HTML 4 DTD: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//ENhttp://www.w3.org/TR/html4/loose.dtd> I want my page to render with an XHTML DTD being specified at the top of the page when I view the source: !DOCTYPE html PUBLIC

Re: DTD declaration in html page...

2004-03-08 Thread beyaNet Consultancy
W3C//DTD XHTML 1.0 Transitional/EN/doctype-public> /doctype-system> /map:serializer> If this is incorrect please advise. many thanks in return On 8 Mar 2004, at 16:54, beyaNet Consultancy wrote: Hi, when viewing the source of my html pages they have an HTML 4 DTD: !DOCTYPE HTML P

xsp:attribute declaration problem.....

2004-03-07 Thread beyaNet Consultancy
Hi, I am having a strange problem defining the declare attribute of the OBJECT tag. My code is so: xsl:template match=artistDetails:currentTrack> xsp:element name=object> xsp:attribute name=data>music/Borderline.mp3/xsp:attribute> xsp:attribute name=type>audio/mpeg/xsp:attribute> xsp:attribute

Re: attribute declaration problem.....

2004-03-07 Thread beyaNet Consultancy
ore than anything else - why not use the xsl element and attribute? Is there a specific reason not to?  Does this behaviour still happen when using xsl:element?   Corin -Original Message- From: beyaNet Consultancy [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 2:12 p.m. To: [EMA

Re: attribute declaration problem.....

2004-03-07 Thread beyaNet Consultancy
that I can run from command line Xalan I can have a quick look at it for you.   Cool, Corin -Original Message- From: beyaNet Consultancy [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 2:29 p.m. To: [EMAIL PROTECTED] Subject: Re: attribute declaration problem. Hi Corin, I changed

Re: attribute declaration problem.....

2004-03-07 Thread beyaNet Consultancy
Hi, I have attached my XSP page. many thanks Andrew artist-details.xsp Description: Binary data On 8 Mar 2004, at 01:47, Corin Moss wrote: Hi,   I was referring to an example of the input xml you're giving your XSL -Original Message- From: beyaNet Consultancy [mailto:[EMAIL

Re: attribute declaration problem.....

2004-03-07 Thread beyaNet Consultancy
thanks for your help/x-tad-bigger. many thanks Andrew On 8 Mar 2004, at 01:55, beyaNet Consultancy wrote: Hi, I have attached my XSP page. many thanks Andrew artist-details.xsp> On 8 Mar 2004, at 01:47, Corin Moss wrote: Hi,   I was referring to an example of the input xml you're giving your

Re: Passing values into an XSP logic sheet

2004-03-04 Thread beyaNet Consultancy
ArtistPhoto2()); /xsp:logic> xsl:apply-templates/> /xsp:page> /xsl:template> many thanks in advance On 3 Mar 2004, at 21:07, beyaNet Consultancy wrote: Christopher, thanks for your reply. I have implemented your solution but am getting an error. I have attached both my XSP page and the X

Re: Passing values into an XSP logic sheet

2004-03-03 Thread beyaNet Consultancy
Christopher, thanks for your reply. I have implemented your solution but am getting an error. I have attached both my XSP page and the XSP Logic sheet. Please let me know what i am doing here... many thanks in advance Andrew artist-details.xsp Description: Binary data artistDetails.xsl

Re: Site with dynamic header, columns and footer

2004-02-26 Thread beyaNet Consultancy
Lamy, use aggregation and xsp for dynamic content. On 26 Feb 2004, at 15:48, franck LAMY wrote:   I want to develop a site with severals sections : a header, columns(menus, body) and a footer. Sections like menus, body and header have dynamic content.   What is the best way to do it with cocoon

Batik problem (Bug) on OS X

2004-02-26 Thread beyaNet Consultancy
Ok chaps, there is definitely a problem with batik(svg) on OS X. I am running OS X 10.3.2, Java 1.4.2, Cocoon 2.1.4, Tomcat 5, postgreSQL 7.4.1. If I use batik to produce fancy text or graphic (non jpg, png etc) then everything is fine. As soon as I try and svg a jpg or png I get the following

Re: iframes and cocoon

2004-02-25 Thread beyaNet Consultancy
Beate, I am using an iframe in my application with no problems. what would you like to know? Andrew On 25 Feb 2004, at 15:43, [EMAIL PROTECTED]> wrote: Hi all, we are using cocoon 2.1.1 and are thinking of changing our application in a way to use iframes in cocoon. Does anybody have

SVG Bug.....

2004-02-24 Thread beyaNet Consultancy
Hi, having worked with SVG generation solidly for over one week now, I am convinced that there is a bug with the process. If your browser makes a request for one image which is svg'd then a java alert is thrown, before the first image is displayed, which says

SVG and OS x 10.3

2004-02-24 Thread beyaNet Consultancy
Hi, are there any OS X/Cocoon/Tomcat 5 uses out there experiencing problems with SVG? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

java.awt.color.CMMException: Invalid profile data

2004-02-22 Thread beyaNet Consultancy
Hi, I am getting the above error in my logs when I try and render an svg/jpeg image. Any ideas what is happening here? at sun.awt.color.CMM.checkStatus(CMM.java:127) at sun.awt.color.ICC_Transform.init>(ICC_Transform.java:89) at

Incomplete image requests

2004-02-21 Thread beyaNet Consultancy
rtists-photo2/>/td> /tr> /table> /body> /html> /xsl:template> xsl:template match=artists-photo1> xsl:apply-templates/> /xsl:template> xsl:template match=artists-photo2> xsl:apply-templates/> /xsl:template> many thanks in advance On 19 Feb 2004, at 12:31,

Re: Incomplete image requests

2004-02-21 Thread beyaNet Consultancy
forgot to attach the the svg file, here it is svg.xsp Description: Binary data many thanks in advance On 21 Feb 2004, at 18:36, beyaNet Consultancy wrote: Hi, I have constructed a pipe which handles image requests and spits out an svg. On the page in question there are 3 images. The pipe

Re: Incomplete image requests

2004-02-21 Thread beyaNet Consultancy
> /map:match> many thanks in advance On 21 Feb 2004, at 18:56, Geoff Howard wrote: beyaNet Consultancy wrote: Hi, I have constructed a pipe which handles image requests and spits out an svg. On the page in question there are 3 images. The pipe is: map:match pattern=unframe/*/*.j

Re: Incomplete image requests

2004-02-21 Thread beyaNet Consultancy
is returned to the browser, if I try and make multiple image requests then only one image is returned successfully and then the browser sits there waiting for the next one. many thanks in advance... On 21 Feb 2004, at 22:32, Geoff Howard wrote: beyaNet Consultancy wrote: forgot to attach the the svg

Initialization Problem

2004-02-20 Thread beyaNet Consultancy
Hi, went to fire up my app this morning and was greeted with the following message: Message: null Description: No details available. Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet cause: Cannot load properties file resource://org/apache/cocoon/cocoon.properties

Build 2.1.4

2004-02-20 Thread beyaNet Consultancy
hi guys, I have a build related question if I may. Just installed 2.1.4 of cocoon and tried to run my app as per usual and nothing happens, no links work nothing the site just seems dead. Also, I ran the hello world example in the main cocoon home page area (http://www.mysite.com/cocoon), and from

An if statement breaks my SVG!!!!

2004-02-19 Thread beyaNet Consultancy
Hi, I have a simple xsp:logic section which performs a simple instantiation. I then decided to add some conditional code and wham!, my code breaks. What am I doing wrong here!!! xsp:logic> int imageNum = 1; byte[] photo; Artist artist = Artist.getArtist(46); if (imageNum == 1) { String

SVG bug!!!

2004-02-19 Thread beyaNet Consultancy
Hi, I have, for the last few days now, tried unsuccessfully to change the canvas size of generated svg images. Is there a bug in SVG or is there something very simple I am failing to grasp here? svg:svg width=300 height=300 y=0 x=0 viewBox=0 35 200 200> xsp:element name=image> xsp:attribute

Logic sheet capture

2004-02-19 Thread beyaNet Consultancy
Hi, I have a map definition which captures svg images on image requests: map:match pattern=**artistImage/*/*.jpg> map:generate type=serverpages src=xsp/svg{2}.xsp> map:parameter name=artistID value={3}/> /map:generate> map:serialize type=svg2jpeg/> /map:match> On each artist page there

Re: SVG bug!!!

2004-02-19 Thread beyaNet Consultancy
Linc, I think I am coming closer to the answer. If I make a request for the image outside of the iframe it is loaded into, (http://www.mysite.com/cocoon/beyarecords/artistImage/1/46.jpg), then the image changes according to the sizes I give it. If i try and call the image so that the document

org.apache.catalina.startup.Bootstrap

2004-02-19 Thread beyaNet Consultancy
Hi, when make a call to generate an svg i get the following error and then the server (Tomcat 5) dies completely. Has anybody else experienced this kind of error and the best way to resolve it? I have attached the problem file. many thanks in advance svg.xsp Description: Binary data

IFRAME behaviour

2004-02-18 Thread beyaNet Consultancy
Hi, I have a page structure that works on the following principal: tr> !-- Menu Bar --> td>menu items go here/td> !-- Iframe - dynamic content --> td>iframe>/td> /tr> In the iframe a document is loaded which makes image calls like so: image src=frame/myname.jpg /> which should match a map in

Re: IFRAME behavior

2004-02-18 Thread beyaNet Consultancy
! David Day beyaNet Consultancy [EMAIL PROTECTED] 02/18/2004 04:24 AM Please respond to users T To: [EMAIL PROTECTED] cc: bcc: Subject:IFRAME behaviour Hi, I have a page structure that works on the following principal: tr !-- Menu Bar -- tdmenu items go

Re: Referencing inline images - How to?

2004-02-17 Thread beyaNet Consultancy
:attribute> xsp:attribute name=height>/xsp:attribute> but I am now getting an xml error on xlink many thanks in advance On 17 Feb 2004, at 09:38, Simon Mieth wrote: On Mon, 16 Feb 2004 22:54:09 + beyaNet Consultancy [EMAIL PROTECTED]> wrote: Simon, could you just confirm to me t

SVG broken images.....HELP!!

2004-02-17 Thread beyaNet Consultancy
Hi, I have been having a problem serialized svg embedded images which are broken when displayed to the screen. Can anybody tell me what I am doing wrong? 1. Sitemap def: map:serializers default=html> map:serializer name=svg2jpeg src=org.apache.cocoon.serialization.SVGSerializer

Re: SVG broken images.....HELP!!

2004-02-17 Thread beyaNet Consultancy
Steve, not having used svg technology before today, could you elaborate further on what you mean? I searched the net for an svg viewPort attribute but only managed to come up with viewBox. Is that what you were making reference to: svg width=300 height=300 viewBox=0 0 300 310> ? If so, the

Re: SVG broken images.....HELP!!

2004-02-17 Thread beyaNet Consultancy
Hi Linc, On 17 Feb 2004, at 16:27, Linc wrote: output method to xml. How and where do I set this attribute, is it an svg attribute?? many thanks in advance

Re: SVG broken images.....HELP!!

2004-02-17 Thread beyaNet Consultancy
viewer, squiggle or something. If they aren't rendering there then chances are slim cocoon will render them (because it uses those libraries). There can be a million other things otherwise, check error.log or core.log for more specific svg rendering error messages. hth Jorg beyaNet Consulta

Re: SVG broken images.....HELP!!

2004-02-17 Thread beyaNet Consultancy
Ok guys, my brains have nearly turned to tapioca over this svg issue!! ;-). I have attached the generated xml document, if you could have a look at the doc and see what is going on it will be a great help to me. many thanks in advance myPage.xml Description: Binary data On 17 Feb 2004, at

  1   2   >