Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Kjetil Kjernsmo
On Wednesday 26 March 2008 14:26:34 Patrick Heiden wrote: > Vadim Gritsenko wrote: > > And downside is polluted cache and proxies. Yeah, and the general evilness of URI Aliasing: http://www.w3.org/TR/webarch/#uri-aliases > > It's much better to just parameterize XSLT with absolute context path,

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Vadim Gritsenko
On Mar 26, 2008, at 9:26 AM, Patrick Heiden wrote: On Mar 26, 2008, at 7:28 AM, Luca Morandini wrote: Magnus Haraldsen Amundsen wrote: I’ve tried it, but hasn’t had any success in getting it working yet. It should be {2} (not {1}) since you want to match the name of the GIF image and not

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Patrick Heiden
> On Mar 26, 2008, at 7:28 AM, Luca Morandini wrote: > > Magnus Haraldsen Amundsen wrote: > >> > >> > >> > >> I’ve tried it, but hasn’t had any success in getting it working > yet. > > > > It should be {2} (not {1}) since you want to match the name of the > > GIF image and not its path. > >

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Vadim Gritsenko
On Mar 26, 2008, at 7:28 AM, Luca Morandini wrote: Magnus Haraldsen Amundsen wrote: I’ve tried it, but hasn’t had any success in getting it working yet. It should be {2} (not {1}) since you want to match the name of the GIF image and not its path. And downside is polluted cache and pro

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Kjetil Kjernsmo
On Wednesday 26 March 2008 12:11:15 [EMAIL PROTECTED] wrote: > The easy answer is always use absolute URLs (which start with a slash): > That won't work very well, since a development environment may not have the same root URL as a production environment. Kind regards Kjetil Kjernsmo -- Seni

RE: Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Magnus Haraldsen Amundsen
Thanks :) It works just fine now :) -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Luca Morandini Sent: 26. mars 2008 12:29 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2: Accessing resources (images, css) Magnus Haraldsen Amundsen wrote

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Luca Morandini
Magnus Haraldsen Amundsen wrote: I’ve tried it, but hasn’t had any success in getting it working yet. It should be {2} (not {1}) since you want to match the name of the GIF image and not its path. Regards, Luca Morandini www.lucamorandini.it --

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Luca Morandini
Magnus Haraldsen Amundsen wrote: And this works just fine when the url is like this: http://www.mysite.com/myapp However, when the url look like this: http://www.mysite.com/myapp/admin The images and stylesheets aren’t accessed. How can this be solved? The first "**" should match any U

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread solprovider
On 3/26/08, Magnus Haraldsen Amundsen <[EMAIL PROTECTED]> wrote: > We have a web app where the images and stylesheets are defined in the > pipeline as this: > > > > > In our XSLT we use the following syntax to display the images: > > > And this works just fine when the url is like this: > htt

RE: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Magnus Haraldsen Amundsen
CTED] Sent: 26. mars 2008 12:04 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2: Accessing resources (images, css) try to use following syntax incase of http://www.mysite.com/myapp/admin -- Forwarded message -- From: Magnus Haraldsen Amundsen <[EMAIL PROTECTED]> Da

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Bhavya Sharma
try to use following syntax incase of http://www.mysite.com/myapp/admin -- Forwarded message -- From: Magnus Haraldsen Amundsen <[EMAIL PROTECTED]> Date: Wed, Mar 26, 2008 at 4:29 PM Subject: Cocoon 2.2: Accessing resources (images, css) To: users@cocoon.apache.org Hi,

Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Magnus Haraldsen Amundsen
Hi, We have a web app where the images and stylesheets are defined in the pipeline as this: In our XSLT we use the following syntax to display the images: And this works just fine when the url is like this: http://www.mysite.com/myapp However, when the url look l

Re: Cocoon 2.2 & i18n

2008-03-25 Thread Vadim Gritsenko
On Mar 25, 2008, at 11:02 AM, Magnus Haraldsen Amundsen wrote: We have a pipeline that takes an XML (from a JX Template) and transforms it to HTML using an XSLT. Both the JX Template and the XSLT contains text (labels etc.) that we want to i18nize. Is this possible? Could we just add <18n:te

Cocoon 2.2 & i18n

2008-03-25 Thread Magnus Haraldsen Amundsen
Hi, We have a pipeline that takes an XML (from a JX Template) and transforms it to HTML using an XSLT. Both the JX Template and the XSLT contains text (labels etc.) that we want to i18nize. Is this possible? Could we just add <18n:text> around all labels, text etc. in both the JX Template and

Re: Accesing url params in flow using servlet: protocol Cocoon 2.2

2008-03-18 Thread dkropotova
d > characters (e.g. ) this way. > > regards > Rainer > -- View this message in context: http://www.nabble.com/Accesing-url-params-in-flow-using-servlet%3A-protocol-Cocoon-2.2-tp16092939p16126591.html Sent from the Cocoon - Users mailing list archive at Nabble.com. -

Re: Accesing url params in flow using servlet: protocol Cocoon 2.2

2008-03-17 Thread Rainer Pruy
case However, you might have a look at thread "C2.2: undecoded URI params", as I'm experiencing problems passing URI reserved or disallowed characters (e.g. ) this way. regards Rainer dkropotova schrieb: > Dear all, > > I'm a bit confused what's the differenc

Accesing url params in flow using servlet: protocol Cocoon 2.2

2008-03-17 Thread dkropotova
Dear all, I'm a bit confused what's the difference between servlet and cocoon protocols in Cocoon 2.2. I have a pipeline that takes a request - the first step in that pipeline is an aggregated generator, where one of the map:part calls internal pipeline () >From that internal pi

RE: [Exist-open] Startup problem with cocoon 2.2 and embedded Exist1.1.1

2008-03-14 Thread Gary Larsen
nks, gary _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Salvetti Sent: Friday, March 14, 2008 8:02 AM To: [EMAIL PROTECTED] Subject: [Exist-open] Startup problem with cocoon 2.2 and embedded Exist1.1.1 Hello, I have a strange problem on a test server that was ru

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
o fix your app just follow Forms migration guide[1] and adapt all resources mentioned there of your application. [1] http://cocoon.apache.org/2.2/blocks/forms/1.0/1351_1_1.html I tried to follow the "A Simple Example" sample in the Cocoon 2.2 site, but there are some differences with th

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Grzegorz Kossakowski
Luca Morandini pisze: > > It seems to be in the forms-sample-styling.xsl I used: deleting the > include of "forms-advanced-field-styling.xsl" solved the problem... > though I still saw it when I tried to include the Ajax block (which > should have made the Ajax resources available). Luca, deleti

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
Grzegorz Kossakowski wrote: Luca Morandini pisze: Grzegorz Kossakowski wrote: What kind of page includes reference to dojo.js? It looks like a broken link. The only reference to 2dojo.js" I've found within the forms-impl block source it's in forms-field-styling.xsl, but I cannot understand why

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Grzegorz Kossakowski
Luca Morandini pisze: > Grzegorz Kossakowski wrote: >> >> What kind of page includes reference to dojo.js? It looks like a >> broken link. > > The only reference to 2dojo.js" I've found within the forms-impl block > source it's in forms-field-styling.xsl, but I cannot understand why the > error po

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
Luca Morandini wrote: Grzegorz Kossakowski wrote: What kind of page includes reference to dojo.js? It looks like a broken link. BTW, I'm using forms 1.0.0-RC1, shall I use 1.0.0-SNAPSHOT instead ? Regards, Luca Morandini www.lucamorandini.it -

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
Grzegorz Kossakowski wrote: What kind of page includes reference to dojo.js? It looks like a broken link. The only reference to 2dojo.js" I've found within the forms-impl block source it's in forms-field-styling.xsl, but I cannot understand why the error pop-up in the server part. BTW, Coc

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
Grzegorz Kossakowski wrote: What kind of page includes reference to dojo.js? It looks like a broken link. The only reference to 2dojo.js" I've found within the forms-impl block source it's in forms-field-styling.xsl, but I cannot understand why the error pop-up in the server part. BTW, Coc

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
Grzegorz Kossakowski wrote: What kind of page includes reference to dojo.js? It looks like a broken link. The only reference to 2dojo.js" I've found within the forms-impl block source it's in forms-field-styling.xsl, but I cannot understand why the error pop-up in the server part. BTW, Coc

Re: [COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Grzegorz Kossakowski
Luca Morandini pisze: > Just started doing a form with 2.2: ajax='false', no inclusion of > ajax-impl in pom.xml, but: > > javax.servlet.ServletException: No block for /dojo.js > at > org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:84) > > ... > > Same e

[COCOON 2.2]: No block for /dojo.js

2008-03-12 Thread Luca Morandini
Just started doing a form with 2.2: ajax='false', no inclusion of ajax-impl in pom.xml, but: javax.servlet.ServletException: No block for /dojo.js at org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:84) ... Same error when I include ajax-impl block in

Re: [Cocoon 2.2] upload binary files

2008-03-10 Thread Joerg Heinicke
this way uses the apache avalon framework, which as far as I know, should be removed in cocoon 2.2. I guess even flowscript is still based on the Avalon framework. And that probably won't change in 2.2, i.e. Avalon won't be removed in 2.2. The advantage with flowscript would be that

Re: [Cocoon 2.2] upload binary files

2008-03-10 Thread Tobias Rübner
I know, should be removed in cocoon 2.2. Is there an other way to get a Part object in a servlet request? I tried it with the non-cocoon-style servlet aproach, definied the servlet as bean definition in the block definition file (META-INF/ cocoon/spring). public class UploadServlet extends

Re: [Cocoon 2.2] upload binary files

2008-03-10 Thread Joerg Heinicke
On 08.03.2008 13:14, Tobias Rübner wrote: >> You must save them yourself during the request processing. Here is a snippet of my servlet: The problem is I don't know how you integrated it into Cocoon. There is an API to access the files on a MultipartHttpServletRequest. In flowscript it sho

Re: [Cocoon 2.2] upload binary files

2008-03-10 Thread Joerg Heinicke
On 10.03.2008 02:54, Andy Stevens wrote: I might be wrong, but my guess is you are falling into the trap that uploaded files are deleted at the end of a request. Does this apply to 2.1.x as well? Yes, see CocoonServlet, RequestFactory, MultipartHttpServletRequest.cleanup() and Part.dispose

Re: [Cocoon 2.2] upload binary files

2008-03-09 Thread Andy Stevens
Joerg Heinicke wrote: I might be wrong, but my guess is you are falling into the trap that uploaded files are deleted at the end of a request. They are? I hadn't realised that; I was going to use Commons file upload (or some other similar library) in our app because Cocoon's switch was glob

Re: servlet-mapping in Cocoon 2.2 bean?

2008-03-08 Thread Josh2007
Yes, after all the help I got I was thinking of writing a short tutorial about integrating eXist in Cocoon 2.2 as a block and how to make use of XQueryServlet with servletService to query the database. eXist requires some files conf.xml (specific to eXist and not part of web.xml),... and an

Re: [Cocoon 2.2] upload binary files

2008-03-08 Thread Tobias Rübner
et it up. You may also show us your current set up so that we can tell you were it might go wrong. Joerg On 07.03.2008 12:32, Tobias Rübner wrote: I am building a webapp with cocoon 2.2. Currently I got stuck with the file upload. First I tried to work with a HTTP Servlet and

Re: servlet-mapping in Cocoon 2.2 bean?

2008-03-08 Thread Grzegorz Kossakowski
with others? I think more people would be interested in integration eXist and Cocoon 2.2. > Thanks for your help. No problem. -- Grzegorz Kossakowski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: servlet-mapping in Cocoon 2.2 bean?

2008-03-08 Thread Josh2007
ossakowski > Committer and PMC Member of Apache Cocoon > http://reflectingonthevicissitudes.wordpress.com/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in co

Re: deploying cocoon 2.2 problem

2008-03-08 Thread anil
. -- View this message in context: http://www.nabble.com/deploying-cocoon-2.2-problem-tp15900785p15912868.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [Cocoon 2.2] upload binary files

2008-03-08 Thread Joerg Heinicke
is easier for us to give suggestions how to set it up. You may also show us your current set up so that we can tell you were it might go wrong. Joerg On 07.03.2008 12:32, Tobias Rübner wrote: I am building a webapp with cocoon 2.2. Currently I got stuck with the file upload. First I tried

[Cocoon 2.2] upload binary files

2008-03-07 Thread Tobias Rübner
Hello, I am building a webapp with cocoon 2.2. Currently I got stuck with the file upload. First I tried to work with a HTTP Servlet and apache.commons.FileUpload. But the MultipartHttpServletRequest changed the request and so there is no filedata to handle. The parameter named like the file

deploying cocoon 2.2 problem

2008-03-07 Thread anil
the web.xml altogether and I still don't seem to be able to access the js file with the appropriate correct url. Can anyone give me any hints on what I should do to try and resolve this problem. Many thanks in advance, Anil. -- View this message in context: http://www.nabble.com/deploying-c

Re: NTLM with the authentication framework cocoon 2.2

2008-03-04 Thread Reinhard Poetz
rossputin wrote: Hi, has anyone done any work on integrating NTLM support with cocoon-auth in cocoon 2.2. Or does anyone know of any documentation on it? Everything is working great with auth from a DB, but now I need to play with windows integration. IIUC you have to implement your own

NTLM with the authentication framework cocoon 2.2

2008-03-03 Thread rossputin
Hi, has anyone done any work on integrating NTLM support with cocoon-auth in cocoon 2.2. Or does anyone know of any documentation on it? Everything is working great with auth from a DB, but now I need to play with windows integration. Thanks for your help in advance. Regards Ross -- View

Re: Cocoon 2.2 - Webapp?

2008-02-27 Thread Luca Morandini
Edward S wrote: yes...there is a META-INF as welland inside its subdirectories thrs a pom.xml and pom.properties yes, it runs via jetty:run So it should run when deployed under Tomcat as well. quick question: where does the sitemaps reside...when we build the war? Under COB-INF, but i

Re: Cocoon 2.2 - Webapp?

2008-02-27 Thread Edward S
yes...there is a META-INF as welland inside its subdirectories thrs a pom.xml and pom.properties yes, it runs via jetty:run quick question: where does the sitemaps reside...when we build the war? -S2. On 2/26/08, Luca Morandini <[EMAIL PROTECTED]> wrote: > > Edward S wrote: > > > > Now if

Re: Cocoon 2.2 - Webapp?

2008-02-26 Thread Luca Morandini
Edward S wrote: Now if i check the war file, there are 2 jars out there corresponding to myBlock1 and myBlock2, which contain the sitemaps and everything else. however, there is nothing except for the lib/jars, applicationContext.xml, web.xml and log4j.xml in the war WEB-INF folder. Hmmm...

Re: Cocoon 2.2 - Webapp?

2008-02-26 Thread Edward S
that did not work maybe i am doing something wrong here. when I added these: *com.mycompany myBlock1 1.0-SNAPSHOT* *com.mycompany myBlock2 1.0-SNAPSHOT* and did the mvn package..it failed. so i had to do a mvn ins

Re: Cocoon 2.2 - Webapp?

2008-02-26 Thread Luca Morandini
Edward S wrote: here are my questions: * The demo page says, if I need to access myBlock1 i should go to: http://localhost:/myBlock1/ . If my webapp is named, 'myWebApp' why isnt that a part of the Url? Because it is, by default, the root application of that servlet conta

Cocoon 2.2 - Webapp?

2008-02-26 Thread Edward S
hey guys, first of all let me thank every1 for all the help/replies that i am getting for all the stupid doubts that i put in this forum :) Now, here is another one: http://cocoon.apache.org/2.2/1362_1_1.html i was following this tutorial...to make a webapp. everything works when i run it in Jet

Re: Cocoon 2.2 - CocoonServlet?

2008-02-25 Thread Carsten Ziegeler
Alexander Daniel wrote: On 25.02.2008, at 16:58, Edward S wrote: is there any documentation for this request / servlet filter? e.g. http://java.sun.com/products/servlet/Filters.html I have not understood the difference between request and servlet filter though. Or are these the same thing?

Re: Cocoon 2.2 - CocoonServlet?

2008-02-25 Thread Alexander Daniel
On 25.02.2008, at 16:58, Edward S wrote: is there any documentation for this request / servlet filter? e.g. http://java.sun.com/products/servlet/Filters.html I have not understood the difference between request and servlet filter though. Or are these the same thing? Alex -

Re: Cocoon 2.2 - CocoonServlet?

2008-02-25 Thread Edward S
is there any documentation for this request / servlet filter? also, whats the best way to download cocoon 2.2 ... i am using the snapshots from this page: http://svn.apache.org/snapshots/cocoon/ thanks -Ed. On 2/22/08, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Edward S wrote

Re: Cocoon 2.2 - CocoonServlet?

2008-02-22 Thread Carsten Ziegeler
Edward S wrote: i dont need to use any functionality of the CocoonServlet per say... however, here's wht i need to do. we have documentum components...and we need to make a connection to a docbase whenever those are called. I was doing that in the servlet. so, any thots on how to do that now?

Re: Cocoon 2.2 - CocoonServlet?

2008-02-21 Thread Grzegorz Kossakowski
Edward S pisze: > i dont need to use any functionality of the CocoonServlet per say... > however, here's wht i need to do. we have documentum components...and we > need to make a connection to a docbase whenever those are called. I was > doing that in the servlet. > > so, any thots on how to do t

Re: Cocoon 2.2 - CocoonServlet?

2008-02-21 Thread Edward S
On 2/21/08, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > > Edward S pisze: > > Guys, > > > > I am trying to migrate my app from Cocoon 2.1.9 to Cocoon 2.2 > > we had a servlet Called ImServlet that extended the CocoonServlet and > > did some

Re: Cocoon 2.2 - CocoonServlet?

2008-02-21 Thread Grzegorz Kossakowski
Edward S pisze: > Guys, > > I am trying to migrate my app from Cocoon 2.1.9 to Cocoon 2.2 > we had a servlet Called ImServlet that extended the CocoonServlet and > did some stuff that was needed for each of the requests. > > I created a block in 2.2 > took all my jav

Cocoon 2.2 - CocoonServlet?

2008-02-21 Thread Edward S
Guys, I am trying to migrate my app from Cocoon 2.1.9 to Cocoon 2.2 we had a servlet Called ImServlet that extended the CocoonServlet and did some stuff that was needed for each of the requests. I created a block in 2.2 took all my java files and placed it in the src/main/java folder and tried

Re: cocoon 2.2 release?

2008-02-16 Thread Reinhard Poetz
Edward S wrote: Hey guys, when is the official release planned for cocoon 2.2?? I expect it for March. I see on the site, tht 2.2 RC2 was released a few months ago. Where can i download it from? For RC2 we have only put the release artifacts into the public Maven 2 repository (http

how to deploy cocoon 2.2 in weblogic 8.1

2008-02-08 Thread bharathiyar
hi, i am new to cocoon framework. i have downloaded cocoon 2.2. now i want to deploy it in web logic 8.1. i have tried some steps which is for weblogic 6.2 sp. but its not working. i may went wrong some where. so, need help in this. thanks in advance :) -- View this message in context: http

Re: cocoon 2.2 & jsp... again)

2008-02-07 Thread nanomonk
n 'maven' repository...so btw, what have I do to use jsp with cocoon 2.2? any idea? I can't find any exact solution... --- I have added to cocoon.roles now within cocoon-jsp-2.1.x I have these errors: javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Exception

cocoon 2.2 release?

2008-02-07 Thread Edward S
Hey guys, when is the official release planned for cocoon 2.2?? I see on the site, tht 2.2 RC2 was released a few months ago. Where can i download it from? thanks Ed.

Re: cocoon 2.2 & jsp... again)

2008-02-06 Thread Andy Stevens
nanomonk wrote: i have an error: javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Exception JSPGenerator.generate() Caused by: org.apache.avalon.framework.service.ServiceException: Component with 'org.apache.cocoon.components.jsp.JSPEngine' is not defined in this servi

Performance of Cocoon 2.2 compared to the latest 2.1.x

2008-02-06 Thread rossputin
have something easily available on cocoon.apache.org, has anyone done anything like this? Can anyone point me to some documentation on it? Thanks in advance for your help, regards Ross -- View this message in context: http://www.nabble.com/Performance-of-Cocoon-2.2-compared-to-the-latest-2.1

cocoon 2.2 & jsp... again)

2008-02-05 Thread nanomonk
ager. (Key='AvalonServiceManager') what doing "avalon" here? this project closed as I know... btw...just tell me can I use cocoon-jsp-2.1.9 for .jsp with parameters and how? -- View this message in context: http://www.nabble.com/cocoon-2.2---jsp...-again%29-tp15289619p1528

Re: Attempting to Install Cocoon-2.2

2008-02-04 Thread Tobia Conforto
d XSL (=Cocoon) to people using Win98 PCs. If Maven2 will not run on Win98, neither will Cocoon-2.2. I'll use Cocoon-2.1 for the class. I'm sure I've seen people mention on this mailing list that Maven is by no means necessary to compi

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread solprovider
ers about Web development. Cocoon is my preferred platform. We can use Cocoon-2.1, but I hoped Cocoon-2.2 would work. I am very grateful for the assistance provided by this ML. I am not expecting open source developers to support Windows 98; I can work around or fix any issues. I was surpris

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread Ralph Goers
only test on the hardware and operating systems we have. Ralph Grzegorz Kossakowski wrote: [EMAIL PROTECTED] pisze: I am teaching HTML, CSS, and XSL (=Cocoon) to people using Win98 PCs. If Maven2 will not run on Win98, neither will Cocoon-2.2. I'll use Cocoon-2.1 for the class.

Re: Installing Cocoon-2.2 on Win2003

2008-02-03 Thread solprovider
On Sun, Feb 3, 2008 at 6:26 PM, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] pisze: > > The Cocoon 2.2 installation instructions ... > Good suggestion. I'll adjust docs as soon as I have some spare time. Happy to help. > > After changing

Re: Installing Cocoon-2.2 on Win2003

2008-02-03 Thread Grzegorz Kossakowski
[EMAIL PROTECTED] pisze: > The Cocoon 2.2 installation instructions assume changing directories > happens during the optional "Import the block in Eclipse" section. > This causes confusion when skipping to the "Run the block as Java web > application". Please

Installing Cocoon-2.2 on Win2003

2008-02-03 Thread solprovider
The Cocoon 2.2 installation instructions assume changing directories happens during the optional "Import the block in Eclipse" section. This causes confusion when skipping to the "Run the block as Java web application". Please change the order of sections to "Install"

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread Grzegorz Kossakowski
[EMAIL PROTECTED] pisze: > I am teaching HTML, CSS, and XSL (=Cocoon) to people using Win98 PCs. > If Maven2 will not run on Win98, neither will Cocoon-2.2. I'll use > Cocoon-2.1 for the class. Teaching Cocoon 2.2 is a much better idea since it's far more lightweight and has

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread solprovider
it's probably > better to ask on Maven > user's mailing list. However, I guess when they say Win98 is not supported > it simply means Maven > will break here on there and it's better to use other OS. > Grzegorz Kossakowski I am teaching HTML, CSS, and XSL (=Coco

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread Grzegorz Kossakowski
Jason Johnston pisze: >>> mvn --version >> >> Maven version: 2.0.8 >> Java version: 1.6.0_03 >> OS name: "windows 98" version: "4.10" arch: "x86" Family: "win9x" > > I see you're using Windows 98. From the maven download/installation > instructions page: > > "Operating System ... No minimum requ

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread Jason Johnston
mvn --version Maven version: 2.0.8 Java version: 1.6.0_03 OS name: "windows 98" version: "4.10" arch: "x86" Family: "win9x" I see you're using Windows 98. From the maven download/installation instructions page: "Operating System ... No minimum requirement. On Windows, Windows NT and above

Re: Attempting to Install Cocoon-2.2

2008-02-02 Thread solprovider
On 2/2/08, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] pisze: > > Three sources(two from web page and your post) -> same results. > > Should I assume Maven is broken? > > Yep, your installation of Maven must be broken. You mentioned that you needed > to fix some batch > f

Re: Attempting to Install Cocoon-2.2

2008-02-02 Thread Grzegorz Kossakowski
[EMAIL PROTECTED] pisze: > Three sources(two from web page and your post) -> same results. > Should I assume Maven is broken? Yep, your installation of Maven must be broken. You mentioned that you needed to fix some batch files which is something new to me. I successfully installed Maven on both

Re: Attempting to Install Cocoon-2.2

2008-02-02 Thread solprovider
On Sat, Feb 2, 2008 at 4:18 AM, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] pisze: > > I want to try Cocoon-2.2. The only install instructions I found are at: > > http://cocoon.apache.org/2.2/1159_1_1.html > > > > Installed Maven; works

Re: Attempting to Install Cocoon-2.2

2008-02-02 Thread Grzegorz Kossakowski
[EMAIL PROTECTED] pisze: > I want to try Cocoon-2.2. The only install instructions I found are at: > http://cocoon.apache.org/2.2/1159_1_1.html > > Installed Maven; works after some fixing the batch files The install > line from "Creating a block" in the above page err

Attempting to Install Cocoon-2.2

2008-02-01 Thread solprovider
I want to try Cocoon-2.2. The only install instructions I found are at: http://cocoon.apache.org/2.2/1159_1_1.html Installed Maven; works after some fixing the batch files The install line from "Creating a block" in the above page errors (with -e): [INFO] Searching repository for p

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-31 Thread Joerg Heinicke
null) { resolver.release(source); } cocoon.releaseComponent(resolver); } } Joerg [1] http://svn.apache.org/viewvc/cocoon/tags/cocoon-2.2/cocoon-forms-impl/cocoon-forms-impl-1.0.0-RC1/src/main/resources/org/apache/cocoon/forms/flow/javascript/Form.js?revision=580105&vi

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-28 Thread Grzegorz Kossakowski
Josh2007 pisze: > Hi Grzegorz, > > I ran my webapp, but the same error occured. > Before going further I need to clarify one point about ServletService. > > If I call my servlet this way: > type="file"/> > > it's the same as making an http request to xquery servlet, where > /exist-xquery-sample

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-28 Thread Josh2007
y to > investigate further. > > [1] > http://cocoon.apache.org/2.2/maven-plugins/maven-plugin/1.0/1295_1_1.html > [2] http://cocoon.apache.org/2.2/1362_1_1.html > > -- > Grzegorz Kossakowski > Committer and PMC Member of Apache Cocoon > http://reflectingonthevicissitudes.wordpress.com/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15145469.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-25 Thread Grzegorz Kossakowski
Josh2007 pisze: > Thanks Grzegorz, No problem. > Servlet implementation and Spring bean registration: > I've, then, been able to set my XQuery Servlet in a block registered as a > bean. > I patched the block web.xml to implement eXist database servlet, and add the > required dependencies in the p

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-25 Thread Josh2007
ocessingPipeline.java:542) It seems it cannot find the file, but if I execute only the XQuery Servlet, it works. Here's my XQuery Servlet bean: Any idea? Regards, Josh -- View this message in context: http://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-24 Thread Grzegorz Kossakowski
Josh2007 pisze: > Hi, > > I'm implementing an Xquery Servlet as a block in Cocoon 2.2 > Prior to Cocoon 2.2 I was able to define servlet-mapping in my web.xml. > Now, is there a way to get the same result when the Servlet is declared as a > Spring bean? You can still u

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-23 Thread anil
abble.com/cocoon.context.getRealPath---cocoon-2.2-tp14818755p15042291.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

servlet-mapping in Cocoon 2.2 bean?

2008-01-22 Thread Josh2007
Hi, I'm implementing an Xquery Servlet as a block in Cocoon 2.2 Prior to Cocoon 2.2 I was able to define servlet-mapping in my web.xml. Now, is there a way to get the same result when the Servlet is declared as a Spring bean? something

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-22 Thread anil
ystem would be served by a request for > “http://host/contextPath/index.html”, > where contextPath is the context path of this ServletContext." > > Now I guess that you want to get the resource so if you would use the > servlet context, the getResource() method would be the ri

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-22 Thread Carsten Ziegeler
Reinhard Poetz wrote: anil wrote: Hi - Just to update this posting with my investigations - I've managed to extract the file contents within my spring bean. The basic problem was the way I was creating the file object - the path returned by the cocoon.context.getRealPath() method was a URI &

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-22 Thread Reinhard Poetz
anil wrote: Hi - Just to update this posting with my investigations - I've managed to extract the file contents within my spring bean. The basic problem was the way I was creating the file object - the path returned by the cocoon.context.getRealPath() method was a URI & when instantiating my Fi

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-22 Thread anil
utput was not encoded in any way. We found that spaces were preserved as a colleague had a directroy path of c:\foo\bah\cocoon 2.2\ Anyway, I'll submit a bug with all of these details. Many thanks, Anil. Grzegorz Kossakowski-3 wrote: > > anil pisze: >> >> Hi - >>

Re: [Cocoon 2.2] Cforms default styling for textareas

2008-01-22 Thread Joerg Heinicke
The mentioned stylesheet is really only for usage inside the petshop and you should not reuse this stylesheet inside your project. For a reasonable and well-tested default styling of Cocoon Forms have a look into the cocoon-forms-impl block, at src/main/resources/org/apache/cocoon/forms/resourc

Re: Cocoon 2.2.x upgrade related help

2008-01-17 Thread Rainer Pruy
Just to add to the observation... Such error always happens when a reactor build hits a "war" project in maven. An effective workaround is (as was mentioned) to run the build in the "war" project directly (thus avoiding the reactor related problem). Sorry, I do not know any further background or

Re: Cocoon 2.2.x upgrade related help

2008-01-16 Thread Grzegorz Kossakowski
i do appreciate your help..thank you! Thanks for quick response. That tutorial must be corrected because you are not the first one making exactly the same mistake. Happy hacking with Cocoon 2.2. :) -- Grzegorz Kossakowski Committer and PMC Member of Apache Cocoon http://reflectingonthevicis

Re: Cocoon 2.2.x upgrade related help

2008-01-16 Thread Gautam Ganguly
is just a casual > Spring bean. It means that it can benefit from all Spring features like > Dependency Injection, > support for transactions, scoped beans, etc. > now i am getting the view of the model :) > > > The reason behind all these? > > 1. We have 2 web-apps in o

Re: Cocoon 2.2.x upgrade related help

2008-01-16 Thread Grzegorz Kossakowski
ion, support for transactions, scoped beans, etc. > The reason behind all these? > 1. We have 2 web-apps in our organization: One uses Cocoon and the other > uses Spring. > 2. On finding out that Cocoon-2.2 uses Spring instead of Avalon, i > thought may be we can combine this too apps t

Re: Cocoon 2.2.x upgrade related help

2008-01-16 Thread Gautam Ganguly
hello Grzegorz, Thanks for helping me out. Gautam Ganguly pisze: > > dear Cocooners.. > > My configuration is: > > 1. JDK: 1.6.x > > 2. Tomcat: 6.x > > 3. Cocoon: 2.2.x > > 4. OS: Win 2K Advanced Server > > > > I have used Cocoo

Re: cocoon 2.2 & xmldb protocol

2008-01-16 Thread Grzegorz Kossakowski
anil pisze: > Hi - > > I'm trying to replicate a configuration I had with cocoon 2.1 within cocoon > 2.2 & I was wondering if anyone could help me. > > Basically in our 2.1 application, I can use a generator to read from the > eXist xml db using xmlrpc. > >

Re: cocoon.context.getRealPath & cocoon 2.2

2008-01-16 Thread Grzegorz Kossakowski
anil pisze: > > Hi - > > Just to update this posting with my investigations - I've managed to extract > the file contents within my spring bean. > > The basic problem was the way I was creating the file object - the path > returned by the cocoon.context.getRealPath() method was a URI & when > in

Re: Cocoon 2.2.x upgrade related help

2008-01-16 Thread Grzegorz Kossakowski
Gautam Ganguly pisze: > dear Cocooners.. > My configuration is: > 1. JDK: 1.6.x > 2. Tomcat: 6.x > 3. Cocoon: 2.2.x > 4. OS: Win 2K Advanced Server > > I have used Cocoon since early 2.0.4 up until 2.1.10.So > <http://2.1.10.So> to upgrade to 2.2.x

<    1   2   3   4   5   6   7   8   9   10   >