Re: Cocoon 2.2 template-samples , ajax-samples blocks

2006-10-26 Thread Felix Knecht
Hi Patrick

The easiest way (at last for the moment) is to have a look at the source
code. e.g. for cocoon-forms there exists 2 folders
- blocks/cocoon-forms/cocoon-forms-impl (/pom.xml)
- blocks/cocoon-forms/cocoon-forms-sample (/pom.xml)

To get the correct version for the dependency have a look at the
corresponding pom.xml.

In cocoon-forms-impl/pom.xml version says:

cocoon-forms-impl
1.0.0-M2-SNAPSHOT

, so this dependency is ok:


  org.apache.cocoon
  cocoon-forms-impl
  1.0.0-M2-SNAPSHOT


In cocoon-forms-sample/pom.xml version says:

cocoon-forms-sample
1.0.0-SNAPSHOT


, so this dependency should look like:


  org.apache.cocoon
  cocoon-forms-sample
  1.0.0-SNAPSHOT



The documentation for cocoon-2.2 is still in development, but it can be
rechead at http://cocoon.zones.apache.org/daisy/.

Felix

> Hi,
> 
> I am doing my first steps in a Cocoon 2.2 block using:
> 
> 
>   org.apache.cocoon
>   cocoon-core
>   2.2.0-M2-SNAPSHOT
> 
> 
>   org.apache.cocoon
>   cocoon-forms-impl
>   1.0.0-M2-SNAPSHOT
> 
> 
>   org.apache.cocoon
>   cocoon-template-impl
>   1.0.0-M2-SNAPSHOT
> 
> 
>   org.apache.cocoon
>   cocoon-ajax-impl
>   1.0.0-M2-SNAPSHOT
> 
> 
> I am now looking for corresponding:
> 
> cocoon-template-samples
> cocoon-ajax-sample
> 
> I naively try the following without success:
> 
> 
> Any hints how I might discover this information ?
> 
> Thanks,
> 
> Patrick
> 
> 
> -
> 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]



Cocoon 2.2 template-samples , ajax-samples blocks

2006-10-26 Thread Patrick Refondini

Hi,

I am doing my first steps in a Cocoon 2.2 block using:


  org.apache.cocoon
  cocoon-core
  2.2.0-M2-SNAPSHOT


  org.apache.cocoon
  cocoon-forms-impl
  1.0.0-M2-SNAPSHOT


  org.apache.cocoon
  cocoon-template-impl
  1.0.0-M2-SNAPSHOT


  org.apache.cocoon
  cocoon-ajax-impl
  1.0.0-M2-SNAPSHOT


I am now looking for corresponding:

cocoon-template-samples
cocoon-ajax-sample

I naively try the following without success:


Any hints how I might discover this information ?

Thanks,

Patrick


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



RE: Cocoon blank welcome page

2006-10-26 Thread Dave Kroondyk








Nevermind,


I figured out it was not using the Default webapp folder (build\webapp) but was
using ..\webapp – a folder that previously existed before the
install.  I’m assuming it used this because it saw it there
somehow?  Oh well, I’ve got it working now.  

 

Dave

 









From: Dave Kroondyk
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 26, 2006
12:38 PM
To: users@cocoon.apache.org
Subject: Cocoon blank welcome page



 

Hi,


I’m new to cocoon and just tried to install 2.1.9.  I set my
JAVA_HOME env.  I unpacked it, I ran build.bat successfully.  I
started cocoon with cocoon.bat.  It looks like it starts, but when I go to
localhost:, I just get a blank page in Firefox.  I have jdk 1.5.0_07
installed.  What am I missing?

 

Dave Kroondyk

Software Engineer

IDEACore

 








problem with installing cocoon on Tomcat running on Ubuntu

2006-10-26 Thread Gol3m
Hi,

I'am almost done with the cocoon installing within Tomcat5.0 running on Ubuntu 
Dapper Drake.


I installed Tomcat5 following the instructions on 
http://wiki.ubuntuusers.de/Tomcat and it's running fine.

Afterwards I deployed cocoon as a war-file in Tomcat webapps, which worked well 
also.

Trying to access cocoons welcomepage on 
http://localhost:8180/cocoon/
throws the following error:


Initialization Problem

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

access denied (java.util.PropertyPermission org.apache.cocoon.settings read)

request-uri

/cocoon/


I found a solution for very similar problem on
http://mail-archives.apache.org/mod_mbox/cocoon-users/200606.mbox/[EMAIL 
PROTECTED]

with the following hint:
Try this.
1. From the command line type
export JAVA_OPTS="-Dorg.apache.cocoon.settings=cocoon.properties"
2. Copy the cocoon.properties file from cocoon's root directory (the 
same directory where cocoon.sh is) to tomcat's bin directory.

Unfortunately the mentioned solutions does not work for me, because as Tomcat5 
is running as a service there is no bin directory.


My Tomcat directories:
file:///var/lib/tomcat5/conf
file:///var/lib/tomcat5/logs
file:///var/lib/tomcat5/shared
file:///var/lib/tomcat5/temp
file:///var/lib/tomcat5/webapps
file:///var/lib/tomcat5/work

Do you have any idea where to copy cocoon.properties respective how to solve 
this problem?

Thanks fo your help,
Moritz


Catalina stack trace:
25 Oct 2006 17:56:24 - org.apache.slide.common.Domain - INFO - Initializing 
Domain
java.lang.ExceptionInInitializerError
at org.apache.slide.common.Domain.init(Domain.java:413)
at org.apache.slide.common.Domain.init(Domain.java:366)
at org.apache.slide.common.Domain.init(Domain.java:329)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1038)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:480)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Cata

HTML Generator/proxy using POST method

2006-10-26 Thread Tal Shalif

How do I generate (in a sitemap.xmap pipeline) HTML from a remote
HTTP server passing through the client browser's form parameters using
the POST method?


What I would like to achieve is embed a foreign site (e.g. a PHP based
trouble ticket system running on Apache server) inside a Forrest/cocoon
site (please see diagram below). I provide the generator with the
client form data via the query string:

http://localhost/tr/{1}{2}?{request:queryString}";>

But what do I do if the client is sending form data using the POST
method?



+---+
| remote:80 |   (remote http)
+---+
  ||
  ||
  \/
+---+
| site skinning with forrest/cocoon |  (cocoon/forrest)
+---+
  ||
  ||
  \/
+--+
| User view HTML page and/or submits back  |  (client browser)
| its form data using the POST method  |
+--+
  ||/\
  || ||
  \/ ||
+--+
| Cocoon passes the request   ||
| to remote server also using | Site skinning with | (cocoon/forrest)
| the POST method | Cocoon/forres  |
+--+

  ||   /\
   ||   ||
   \/   ||

+-+
 | remote HTTP server:80   |   (remote http)
 +-+



--
Tal Shalif

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



Cocoon blank welcome page

2006-10-26 Thread Dave Kroondyk








Hi,


I’m new to cocoon and just tried to install 2.1.9.  I set my JAVA_HOME
env.  I unpacked it, I ran build.bat successfully.  I started cocoon with
cocoon.bat.  It looks like it starts, but when I go to localhost:, I just
get a blank page in Firefox.  I have jdk 1.5.0_07 installed.  What am I
missing?

 

Dave Kroondyk

Software Engineer

IDEACore

 








RE: Is it possible to change the layout of Widgets with AJAX=true

2006-10-26 Thread Martijn C. Vos
Robby Pelssers, AGP  schreef:
> 
> Suppose I have a set of objects whose properties I either want to
> show in Mode 'edit' or  'output'.  Depending on some event (user
> changes Mode of one object by  
> clicking on button in repeaterrow),  I want to change the state of
> the property-i widgets from 'output' to 'active'.

This sounds like something you should do in the validation of the
widget the user clicked on. I'd have to look up the details, but
you can do that too.

> Also I would like
> myl layout to change like example below.  In non-ajax mode this is no
> problem, since the jx-template is processed again.  How could I
> accomplish this behaviour with AJAX=true ??
> 
> In my jx-template looks like this:

[edited a bit for brevity]
> 
> 
>   
> 
>   
>   
> 
>   
>   
>  
>
>  
>   
> 

This won't work, because cforms-ajax only updates individual widgets
that have changed. It won't remove a widget for you.

To change the apppearance of a widget, you'll have to override the
default form styling in a custom styling xsl. You can either use
that to turn your label invisible, or you can make the label part
of the widget itself.


mcv.

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



Re: fo2pdf Serialzer problem

2006-10-26 Thread Bertrand Delacretaz

On 10/26/06, Andrea König <[EMAIL PROTECTED]> wrote:


...Does anybody know somthing about cocoon-2.1.9 and fop-0.91?..


As Kai said, FOP 0.9x is available as a new block in Cocoon 2.2.

If Cocoon 2.2. is too much bleeding edge for you, adapting the new
block to 2.1.x shouldn't be hard. If you do this, please consider
contributing it to the project, as I suspect others are still using
2.1.x and might need it.

But the API has completely changed between FOP 0.2x and 0.9x, so it
requires a different serializer.

-Bertrand


RE: Intercepting exceptions in cocoon?

2006-10-26 Thread Antony Grinyer
Thanks everyone - that's exactly what I need :)

Ant

-Original Message-
From: Ralph Goers [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 15:07
To: users@cocoon.apache.org
Subject: Re: Intercepting exceptions in cocoon?

Have you looked at 
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html?

Antony Grinyer wrote:
>
> Hi all,
>
>  
>
> In version 1 of our application we returned exceptions wrapped in XML 
> so we could pass the XML down the pipeline and handle the messages 
> gracefully using XSLT. In version 2 of our application we do not 
> return our exceptions wrapped in XML (it is a requirement not to) 
> therefore when we throw an exception now, cocoon shows the horrible 
> stack trace. So may question is: is there a way to intercept the 
> exception before cocoon can report it? Can cocoon generators intercept

> exceptions so we could write our own generator? Maybe there is a 
> simple answer to this already (apologies if so)?
>
>  
>
> Thx in advance
>
> Ant
>

-
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: Intercepting exceptions in cocoon?

2006-10-26 Thread Ralph Goers
Have you looked at 
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html?


Antony Grinyer wrote:


Hi all,

 

In version 1 of our application we returned exceptions wrapped in XML 
so we could pass the XML down the pipeline and handle the messages 
gracefully using XSLT. In version 2 of our application we do not 
return our exceptions wrapped in XML (it is a requirement not to) 
therefore when we throw an exception now, cocoon shows the horrible 
stack trace. So may question is: is there a way to intercept the 
exception before cocoon can report it? Can cocoon generators intercept 
exceptions so we could write our own generator? Maybe there is a 
simple answer to this already (apologies if so)?


 


Thx in advance

Ant



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



RE: Dynamic HTML Values and AJAX

2006-10-26 Thread Stewart, Gary


> -Original Message-
> From: Jason Johnston [mailto:[EMAIL PROTECTED]
> Sent: 26 October 2006 01:34
> To: users@cocoon.apache.org
> Subject: Re: Dynamic HTML Values and AJAX
> 
> You should be able to get the AJAX framework to update that 
> snippet of 
> code by wrapping it in a bu:replace element when it needs to 
> be updated. 
>   Anything that is wrapped in a bu:replace will be sent to 
> the browser 


Thanks, that worked a treat. Now that I know how to make the AJAX system do 
updates like that I might well play around with other things I can do :D. I 
shall look at that helper class soon though to make sure I'm not making 
needless updates on that output.

Thanks again your help it's been marvellous.

Gary

*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only. If you 
have received this message in error or there are any problems 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*


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



RE: fo2pdf Serialzer problem

2006-10-26 Thread Kai Mütz
See https://issues.apache.org/jira/browse/COCOON-1924

You need the FOPNGSerializer delivered with current SVN Trunk (2.2-dev). It 
uses the new FOP API. You need at least fop-0.92 in order to work with this 
Serializer.

Regards, Kai

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Andrea König
> Sent: Thursday, October 26, 2006 3:22 PM
> To: users@cocoon.apache.org
> Subject: Re: fo2pdf Serialzer problem
> 
> 
> Hi All,
> many thanks for your help.
> I have installed cocoon-2.1.9 a second time. You are right, the 
> fop sample works. I found out what the difference between the 
> newly installed cocoon and my version is. It is the fop version. 
> Cocoon comes with fop-0.20.5, but I use at least fop version 
> fop-0.91. I copied the fop library of version fop-0.91 into the 
> lib directory of the newly installed cocoon and the fop sample 
> doesn't work.
> 
> Does anybody know somthing about cocoon-2.1.9 and fop-0.91?
> 
> Best regards
> 
> -- 
> Dr. Andrea König
> (Entwicklung)
> 
> G.punkt - medical services
> Halberstädter Str. 115A
> Eiskellerpassage
> 39112 Magdeburg
> 
> Tel: +49 391 280380
> Fax: +49 391 2803822
> Inet: www.gmatic.de
> mail: [EMAIL PROTECTED]
> 
> 
> 
> Bertrand Delacretaz wrote:
> 
> > On 10/26/06, Andrea König <[EMAIL PROTECTED]> wrote:
> >
> >> ...I have downloaded and installed the cocoon-2.1.9 release. I am 
> >> using jdk1.4.
> >> If I run the fop example it doesn't work. I get an error message..
> >
> >
> > To be sure, I just tried this scenario (same as suggested before) on
> > my macosx 10.4.8, JDK 1.4.2_09, and it works:
> >
> > -Get the Cocoon 2.1.9 release
> >  (cocoon-2.1.9-src.tar.gz, md5sum f69fb596d50f7942a22c81d9c6061b29 )
> >
> > -Unpack in an empty directory
> > -Run build.sh (or build.bat) using a (Sun) JDK 1.4 or 1.5
> > -Run cocoon.sh (or cocoon.bat)
> > -Open http://localhost:/samples/blocks/fop/hello.pdf
> >
> > Something must be wrong with your environment, or there is a weird
> > incompatibility with said environment.
> >
> > What platform are you on? What does "java -version" say?
> > Can you try on another platform to compare the results?
> >
> > -Bertrand
> 
> 
> 
> 
> -
> 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: fo2pdf Serialzer problem

2006-10-26 Thread Andrea König

Hi All,
many thanks for your help.
I have installed cocoon-2.1.9 a second time. You are right, the fop sample 
works. I found out what the difference between the newly installed cocoon and 
my version is. It is the fop version. Cocoon comes with fop-0.20.5, but I use 
at least fop version fop-0.91. I copied the fop library of version fop-0.91 
into the lib directory of the newly installed cocoon and the fop sample doesn't 
work.

Does anybody know somthing about cocoon-2.1.9 and fop-0.91?

Best regards

--
Dr. Andrea König
(Entwicklung)

G.punkt - medical services
Halberstädter Str. 115A
Eiskellerpassage
39112 Magdeburg

Tel: +49 391 280380
Fax: +49 391 2803822
Inet: www.gmatic.de
mail: [EMAIL PROTECTED]



Bertrand Delacretaz wrote:


On 10/26/06, Andrea König <[EMAIL PROTECTED]> wrote:

...I have downloaded and installed the cocoon-2.1.9 release. I am 
using jdk1.4.

If I run the fop example it doesn't work. I get an error message..



To be sure, I just tried this scenario (same as suggested before) on
my macosx 10.4.8, JDK 1.4.2_09, and it works:

-Get the Cocoon 2.1.9 release
 (cocoon-2.1.9-src.tar.gz, md5sum f69fb596d50f7942a22c81d9c6061b29 )

-Unpack in an empty directory
-Run build.sh (or build.bat) using a (Sun) JDK 1.4 or 1.5
-Run cocoon.sh (or cocoon.bat)
-Open http://localhost:/samples/blocks/fop/hello.pdf

Something must be wrong with your environment, or there is a weird
incompatibility with said environment.

What platform are you on? What does "java -version" say?
Can you try on another platform to compare the results?

-Bertrand





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



Re: jmeter testing continuations problem

2006-10-26 Thread Peter Kröpfl
Searching the devel mailinglist I found exactly what I needed:
http://wiki.apache.org/cocoon/LoadTestingFlowWithJMeter

For everyone else with a similar problem:

Use the Regular Expression Extractor to look for action="continuation.id".
Then use the Reference Name of this extractor for your next HTTP Request Path
like this: path/to/${referencename}

Thanks to CODonovan for creating this Wiki Entry

Regards,
Peter Kröpfl




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



Re: fo2pdf Serialzer problem

2006-10-26 Thread Bertrand Delacretaz

On 10/26/06, Andrea König <[EMAIL PROTECTED]> wrote:


...I have downloaded and installed the cocoon-2.1.9 release. I am using jdk1.4.
If I run the fop example it doesn't work. I get an error message..


To be sure, I just tried this scenario (same as suggested before) on
my macosx 10.4.8, JDK 1.4.2_09, and it works:

-Get the Cocoon 2.1.9 release
 (cocoon-2.1.9-src.tar.gz, md5sum f69fb596d50f7942a22c81d9c6061b29 )

-Unpack in an empty directory
-Run build.sh (or build.bat) using a (Sun) JDK 1.4 or 1.5
-Run cocoon.sh (or cocoon.bat)
-Open http://localhost:/samples/blocks/fop/hello.pdf

Something must be wrong with your environment, or there is a weird
incompatibility with said environment.

What platform are you on? What does "java -version" say?
Can you try on another platform to compare the results?

-Bertrand


Re: Intercepting exceptions in cocoon?

2006-10-26 Thread Bertrand Delacretaz

On 10/26/06, Antony Grinyer <[EMAIL PROTECTED]> wrote:


...is
there a way to intercept the exception before cocoon can report it?


Yes, using , have a look at the error handling samples at
http://cocoon.zones.apache.org/demos/release/samples/errorhandling/welcome

-Bertrand

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



jmeter testing continuations problem

2006-10-26 Thread Peter Kröpfl
Hi,

I wrote a cocoon application, that has a registration process, that is makes 
use of flow, forms and continuations. Writing jmeter tests for this part of the 
webapp I ran into the following problem:

For the formsubmit (POST) the URL needs to be like 
www.test.com/path/continuationid.continue. 
Is there a way to extract the continuation.id from the form 
action="continuationid.continue" using jmeter?

URL rewrite does not help, because it needs something like 
VARIABLE=continuationid.
HTML Link Parser cannot find the continuationid, because it is defined in 
form action="continuationid.continue".

Is there another way to create the URL for the next POST?
Has somebody done jmeter testing with continuations?


Best Regards,
Peter Kröpfl


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



Intercepting exceptions in cocoon?

2006-10-26 Thread Antony Grinyer










Hi all,

 

In version 1 of our
application we returned exceptions wrapped in XML so we could pass the XML down
the pipeline and handle the messages gracefully using XSLT. In version 2 of our
application we do not return our exceptions wrapped in XML (it is a requirement
not to) therefore when we throw an exception now, cocoon shows the horrible
stack trace. So may question is: is there a way to intercept the exception
before cocoon can report it? Can cocoon generators intercept exceptions so we
could write our own generator? Maybe there is a simple answer to this already
(apologies if so)?

 

Thx in advance

Ant










Is it possible to change the layout of Widgets with AJAX=true

2006-10-26 Thread Robby Pelssers, AGP



Hi all,
 
I have following 
problem: 
 
Suppose I have a set 
of objects whose properties I either want to show in Mode 'edit' or  
'output'.  Depending on some event (user changes Mode of one object by 

clicking on button 
in repeaterrow),  I want to change the state of the property-i widgets 
from 'output' to 'active'. Also I would like myl layout to change like example 
below.  In non-ajax mode this is no problem, since the jx-template is 
processed again.  How could I accomplish this behaviour with AJAX=true 
??
 
In my jx-template 
looks like this:
 

  


    

  
  

    

  

    

  
  

    


    

  
  

    

  

  

 

   

   

 

  

    

  

    

  


 
 
Cheers,
Robby
 


RE: fo2pdf Serialzer problem

2006-10-26 Thread Jeroen Reijn
Hi Andrea,

did you perhaps modify your blocks.properties?

Regards,

Reijn



-Original Message-
From: Andrea König [mailto:[EMAIL PROTECTED]
Posted At: Thursday, October 26, 2006 11:17 AM
Posted To: Cocoon User List
Conversation: fo2pdf Serialzer problem
Subject: Re: fo2pdf Serialzer problem


Dear Bertrand,
I have downloaded and installed the cocoon-2.1.9 release. I am using jdk1.4.
If I run the fop example it doesn't work. I get an error message
java.lang.NoClassDefFoundError

org.apache.cocoon.components.renderer.ExtendableRendererFactory.class$(ExtendableRendererFactory.java:42)
 


org.apache.cocoon.components.renderer.ExtendableRendererFactory.(ExtendableRendererFactory.java:44)
 


org.apache.cocoon.components.renderer.ExtendableRendererFactory.(ExtendableRendererFactory.java:38)
 


org.apache.cocoon.serialization.FOPSerializer.(FOPSerializer.java:61) 

sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
.

It seems that there a library  is missing but which one? The 
ExtendableRendererFactory.class is contained in the 
cocoon-fop-block.jar. I have validated this.

Best regards

-- 
Dr. Andrea König
(Entwicklung)

G.punkt - medical services
Halberstädter Str. 115A
Eiskellerpassage
39112 Magdeburg

Tel: +49 391 280380
Fax: +49 391 2803822
Inet: www.gmatic.de
mail: [EMAIL PROTECTED]


Bertrand Delacretaz wrote:

> On 10/25/06, Andrea König <[EMAIL PROTECTED]> wrote:
>
>> If I start cocoon standalone I get the following:
>> http errorr: 500 internal server error.
>> RequestURI=/samples/blocks/fop/hello.pdf
>
>
> The following should work, can you try that?
>
> -Get the Cocoon 2.1.9 release
> -Unpack in an empty directory
> -Run build.sh (or build.bat) using a (Sun) JDK 1.4 or 1.5
> -Run cocoon.sh (or cocoon.bat)
> -Open http://localhost:/samples/blocks/fop/hello.pdf
>
> Does this work for you?
>
> -Bertrand




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



Re: fo2pdf Serialzer problem

2006-10-26 Thread Andrea König

Dear Bertrand,
I have downloaded and installed the cocoon-2.1.9 release. I am using jdk1.4.
If I run the fop example it doesn't work. I get an error message
java.lang.NoClassDefFoundError
   org.apache.cocoon.components.renderer.ExtendableRendererFactory.class$(ExtendableRendererFactory.java:42) 

   org.apache.cocoon.components.renderer.ExtendableRendererFactory.(ExtendableRendererFactory.java:44) 

   org.apache.cocoon.components.renderer.ExtendableRendererFactory.(ExtendableRendererFactory.java:38) 

   org.apache.cocoon.serialization.FOPSerializer.(FOPSerializer.java:61) 


   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
.

It seems that there a library  is missing but which one? The 
ExtendableRendererFactory.class is contained in the 
cocoon-fop-block.jar. I have validated this.


Best regards

--
Dr. Andrea König
(Entwicklung)

G.punkt - medical services
Halberstädter Str. 115A
Eiskellerpassage
39112 Magdeburg

Tel: +49 391 280380
Fax: +49 391 2803822
Inet: www.gmatic.de
mail: [EMAIL PROTECTED]


Bertrand Delacretaz wrote:


On 10/25/06, Andrea König <[EMAIL PROTECTED]> wrote:


If I start cocoon standalone I get the following:
http errorr: 500 internal server error.
RequestURI=/samples/blocks/fop/hello.pdf



The following should work, can you try that?

-Get the Cocoon 2.1.9 release
-Unpack in an empty directory
-Run build.sh (or build.bat) using a (Sun) JDK 1.4 or 1.5
-Run cocoon.sh (or cocoon.bat)
-Open http://localhost:/samples/blocks/fop/hello.pdf

Does this work for you?

-Bertrand





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



Re: fo2pdf Serialzer problem

2006-10-26 Thread Bertrand Delacretaz

On 10/25/06, Andrea König <[EMAIL PROTECTED]> wrote:


If I start cocoon standalone I get the following:
http errorr: 500 internal server error.
RequestURI=/samples/blocks/fop/hello.pdf


The following should work, can you try that?

-Get the Cocoon 2.1.9 release
-Unpack in an empty directory
-Run build.sh (or build.bat) using a (Sun) JDK 1.4 or 1.5
-Run cocoon.sh (or cocoon.bat)
-Open http://localhost:/samples/blocks/fop/hello.pdf

Does this work for you?

-Bertrand