Alex
For me it's straight forward, unless I miss something. You haven't even need
of visibility feature, just page switching.
Your portal has 3 pages:
1. a page with 1 coplet with the list of all the stories
2. a page with 1 coplet with the story selected
3. a page with 2 coplets with the story sel
Alex.
Have you taken a look on processPipelineTo()?
The code become:
if (update = true) {
cocoon.processPipelineTo( "cocoon://load-feed", ...);
cocoon.sendPage( "cocoon://display-result", ...);
} else {
cocoon.sendPage( "cocoon://display-result", ...);
}
Laurent
> -Message d'origine-
Hi
I've been pouring through the mail archives and can't seem to find what I'm
doing wrong...
If I am not yet authenticated and I try to access a protected page, I am
(correctly) redirected to the login page with the uri containing the
(encoded) resource that I tried to access. How do I redirec
Hi Laurent,
There are two scenarios I can think of:
- I have a page with a "list of news stories" portlet
and when I click on the story, another portlet shows
up with the story itself on the same page. I think
you approach will work here.
- I have "news story" portlet and "related news"
portlet o
Hi,
I seem to have a mental block here, seems like this
should be straightforward, but I can't figure it out.
I have a page, which displays a table of data. If the
user clicks "update now" button, I need to run a feed
load and then redisplay the results, however if the
users arrives at the page
On 02.03.2004 15:57, Stefan Klein wrote:
Maybe that could be pointed out more clearly on the wiki page where it only says that the property
has to be of type Collection. Might save others some time.
IMO this should be fixed in Woody directly. Either by assuring that an
ordered collection is pro
Li, Wangqian dijo:
> Hi,
>
> I'm a beginner cocoon user.
> Can anybody shed light on what problem this is? I got the following log.
> Thanks a lot.
>
> Stylesheet URI can't be null
Looks like the pipeline has a transformer without a URI. Maybe you have
some typo on the sitemap or something like th
Hi Vlad:
Vlad Ali dijo:
> I need to set properties for database connection
> in java code i write:
>
>Properties connInfo = new Properties();
>connInfo.put("useUnicode","true");
>connInfo.put("characterEncoding","Cp1251");
>con = DriverManager.getConnection(url, connInfo);
>
> but
Shit, I missed that setCallDocumentEvents function. Great you fixed it!
Regards
Christoph
- Original Message -
From: "Oscar Picasso" <[EMAIL PROTECTED]>
Newsgroups: gmane.text.xml.cocoon.user
Sent: Friday, March 05, 2004 12:00 AM
Subject: [betwixt] Re: First impresion BetwixtTransformer
JD Daniels wrote:
How do I do it?
Say I have:
dbone
How do I get it here in my xsp:
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
On 05.03.2004 00:15, Tony Edwards wrote:
This morning I was reading the mailing list and I noticed that Brent
Johnson had noticed a change in the doctype output by 2.1.4.
Inspired, I commented out the
-//W3C//DTD HTML 4.01
Transitional//EN
http://www.w3.org/TR/html4/loose.dtd
li
Morning all,
I was fiddling with an application that I had ported form 2.1.3 to 2.1.4
and noticed a curious thing: the woody dropdown calendar widget was now
being displayed in the top left corner of the screen and not underneath
the text input as usual. This characteristic is only evident in Mo
I have submitted a patch to Bugzilla. Very simple. If you want to take a look.
Attachment 10669 to bug 27456.
Oscar
__
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com
-
Witajcie!
What I know now is:
org.apache.cocoon.components.cron.*
org.apache.cocoon.*
and:
JobScheduler scheduler =
(JobScheduler)Cocoon.getComponentManager().getComponentHandler(...).get();
And now I have some problems:
String role, /
>>Wow what timing - I'm glad I read this!!! I was having
>>this EXACT problem (related to the blank data returned
>>to the browser) and it was driving me crazy. Making
>>these heap size modifications seems to have fixed
>>the problem.
>>
>>Thanks!
>>
>>- Brent
Good to feel I've been useful! Th
> - install 2.1.4
> - copy xml-apis.jar and xerces-impljar to
> /common/endorsed
> - increase pool-max sizes to 1024
> - set maximum heap size to 512M using -Mx
>
> [without the last option, the StoreJanitor runs out of memory
> to store data, and starts returning BLANK data to the
> brows
Has anybody experience in building "chineese" web applications with
Cocoon? I want to process xml containing chineese encoded data (if
possible) in pipelines.
Do I have to expect special problems?
--
Regards,
Rolf Kulemann
-
hi John
The problem appears on Linux only, not Windows I edited the
files on a windows box and transferred them using SCP, so perhaps
there is a DOS line break issue.
Increasing the maximum heap size and making the pool max sizes all
1024 increased the speed several fold. I am still getting
On Thursday, March 4, 2004 at 2:32 PM -0500
Yury Mikhienko <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> >
> > >Hi all,
> > >
> > >I need to use LDAP via SSL, and I'm trying to accomplish this using
the
> > >LDAPTransformer. Environment:
> > >
> > >OS: Windows 2003 Adva
Ahhh.. changes in the new sitemap.xmap file. D'oh..
just slap me :)
- Brent
> -Original Message-
> From: Brent L Johnson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 04, 2004 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: 2.1.4 Upgrade and DOCTYPE
>
>
> I just upgraded my Sentinel We
I just upgraded my Sentinel Web Portal
(http://sentinel.bjohnson.net) to use Cocoon 2.1.4
and suddenly IE started displaying the pages
differently (strange padding around the table
cells). I checked the HTML source thats being
generated and I'm now getting the following
DOCTYPE:
http://www.w3.org
On Thu, 19 Feb 2004 21:10:04 +
Upayavira <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> >Hi all,
> >
> >I need to use LDAP via SSL, and I'm trying to accomplish this using the
> >LDAPTransformer. Environment:
> >
> >OS: Windows 2003 Advanced Server
> >Cocoon: 2.1.3
>
Thank you so much. That save me a whole lot of time.
Kirk
Markus Heussen wrote:
Ah now I understand your concern. Use or
.
Markus
-Original Message-
From: Kirk Storer [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 9:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Easy way to incl
Ah now I understand your concern. Use or
.
Markus
> -Original Message-
> From: Kirk Storer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 04, 2004 9:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Easy way to include xhtml when transforming xml to xhtml
>
>
> Ok, I will try to explain th
Ok, I will try to explain this better.
I am using two files as sources, combined via aggregate in the sitemap.
The content of one of the files will be contained in
The content of the other file will be contained in
Both of these are then inside of
I want to process the xml within into xhtml.
I
On Thu, Mar 04, 2004 at 01:37:43PM -0500, Anna Bikkina wrote:
> Hi,
>
> This must be a well known scenario.
>
> I have some data obtained from database which has to be displayed in a html. I
> used esql to get data. In the html page(with data as tables) I have to place
> a hyperlink which when
Title: [HELP]Failed to execute pipeline.
Hi,
I’m trying to have the “map:generate src” be a https url and getting the following errors. How do I set https in Cocoon?
Thanks.
Khanh
Failed to execute pipeline.
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.IO
Hi all!
Well, I know this posting does not exactly fit in this mailing list. But
during my development using the Apache Cocoon Framework every now and then I
needed to create my "own markup languages" for example as the initial point
of a pipeline.
Once I needed a markup language to describe busi
Well, I don't exactly understand what's your concern. But have a look at the
cinclude transformer:
http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html
Markus
> -Original Message-
> From: Kirk Storer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 04, 2004 8:25 P
Is there an easy way to include xhtml. For example, my xslt will process
the specified xml document. And some how include the the xhtml file to
set up the "framework" of the page with the content from the xml file in
the "main area".
Thanks,
Kirk
Colleagues:
How can I tell Cocoon which directory to use for XSP compilation ? I saw
something about it in cocoon.xconf but I can't find a parameter...
Kind regards,
Oleg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Hi all!
Well, I know this posting does not exactly fit in this mailing list. But
during my development using the Apache Cocoon Framework every now and then I
needed to create my "own markup languages" for example as the initial point
of a pipeline.
Once I needed a markup language to describe busi
Is it possible to use a compile XSP action class? I.e. I want to first
precompile my XSP actions and then use the as if they were normal
actions written in Java ?
Regards,
Oleg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
This error usually means you have not imported the class into the xsp
using
java.util.Vector
Or the imported class can't be found - make sure the jar is in your
WEB-INF/lib directory...
Hope this helps.
Rob
> -Original Message-
> From: Vlad Ali [mailto:[EMAIL PROTECTED]
How about
java.util.Properties connInfo = new java.util.Properties();
instead?
-Christopher
|-+>
| | Vlad Ali |
| | <[EMAIL PROTECTED]|
| | chtamt.ru> |
| |
Hi again!
I need to set properties for database connection
in java code i write:
Properties connInfo = new Properties();
connInfo.put("useUnicode","true");
connInfo.put("characterEncoding","Cp1251");
con = DriverManager.getConnection(url, connInfo);
but i don't know how to do same in
Hi!
there is some code in my XSP page :
...
java.util.Properties connInfo = new Properties();
..
and cocoon generate error: "Properties cannot be resolved or is not a type"
explain me pls, why?
thx
-
To unsubscribe, e-mail: [
Hi,
This must be a well known scenario.
I have some data obtained from database which has to be displayed in a html. I
used esql to get data. In the html page(with data as tables) I have to place
a hyperlink which when linked should generate a excel file using the same
data.
Is there a way I
I can't figure out how to call another component. In my case, I want to
call xmlhttp component, but It's the same for any transformer, I
guess
Here is my code.
package myGenerators;
import org.apache.avalon.excalibur.pool.Poolable;
import org.apache.cocoon.components.parser.Parser;
import
Not that you'll like this much, but we convert the objects into XML via a
generator and aggregate the data into the XML fed to the transform.
Another approach would be to have a static method that uses a lookup to find
the object.
Ralph
-Original Message-
From: [EMAIL PROTECTED] [mail
Christopher,
that works fine now ;-)
many thanks
Andrew
On 4 Mar 2004, at 16:00, Christopher Painter-Wakefield wrote:
int artistID = Integer.parseInt();
Artist artist = Artist.getArtist(artistID);
String artist_name = artist.getArtistName();
Hi all!
I was trying to integrate the SAXON processor into Cocoon because my
webapp needs it to carry out some transformations.
(I use Cocoon 2.1.3 under Tomcat 4.1.29 . I want to install Saxon 7.8)
My cocoon webapp runs directly under the Tomcat webapps directory.
I read some documentation and I
Is there an alternative for using the sitemap as a way to pass objects to
parameters defined in a xslt ?
In my old code I called something like
myTransformer.setParameter("mychecker", theChecker);
on my transformer. Don't know how to simulate this in Cocoon
Wouter
-Original Message--
thank you, help much appreciated!
-- Initial Header ---
>From : "Upayavira" [EMAIL PROTECTED]
To : [EMAIL PROTECTED]
Cc :
Date : Thu, 04 Mar 2004 15:50:50 +
Subject : Re: ...running JSPs on the Jetty server embedded in Cocoon 2.1.3?
> Francesco Ros
Andrew,
sorry I didn't reply to your previous mail - I got very busy yesterday. I
looked at the files you sent, and I saw some things, but it looks like
you've moved on.
In your current posting, I think the problem is the order of execution. In
your logicsheet, you are putting in code to lo
You can't pass objects in the sitemap, only strings. So the value
associated with mychecker is the result of the toString() method of
{session:mychecker}
Ralph
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 5:45 AM
To: [EMAIL
Francesco Rossi (Milano, Italy) wrote:
hi there,
does anybody know if it's possible to run JSPs on the Jetty server embedded in
Cocoon vers. 2.1.3?
if so: what directory should I deploy them in?
Otherwise, a solution might be reinstalling Cocoon and running it on Tomcat, am
I right?
The Jetty in
hi there,
does anybody know if it's possible to run JSPs on the Jetty server embedded in
Cocoon vers. 2.1.3?
if so: what directory should I deploy them in?
Otherwise, a solution might be reinstalling Cocoon and running it on Tomcat, am
I right?
thanks,
Francesco
Witaj!
I'm not sure how to code one of my ideas.
I'm using cron/jobscheduler and I want to call xsp-action form
there. Please tell if its is good solution for this to
import org.apache.cocoon.www.mypage;
and call
new my_xsp_action_xsp().generate();
I wan
Hi,
I'm a beginner cocoon user.
Can anybody shed light on what problem this is? I got the following log.
Thanks a lot.
org.apache.cocoon.ProcessingException: Stylesheet URI can't be null
at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:302)
at
or
OK That's it
to make cli work i have to
1. exclude portal block from build
2. copy servlet_2_2.jar form lib/optional to build/webapp/web-inf/lib
thnx all
On Thu, 4 Mar 2004, Upayavira wrote:
> [EMAIL PROTECTED] wrote:
>
> >sory but there is not portlet block in blocks.properties.
> >
>
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106918964613219&w=2
You should probably rewrite it to an XSPAction when you get this thing
working, or follow the examples in the wiki (flow or (java)-action).
That is much more in coherence with the Cocoon concept, but the linked xsp
is working i
take a look here
http://wiki.cocoondev.org/Wiki.jsp?page=RecipeUploadUsingAction
it working
On Thu, 4 Mar 2004, Zamek wrote:
> Hello All,
>
> I try to use upload with xsp.
> Sample is working well, and I try to move uploaded file to my path.
>
> here is my xsp (based upload.xsp):
>
>
>
[EMAIL PROTECTED] wrote:
sory but there is not portlet block in blocks.properties.
ro do you mean whole the portal block ?
Sorry, yes.
Upayavira
thnx
--stavros
On Thu, 4 Mar 2004, Upayavira wrote:
[EMAIL PROTECTED] wrote:
i a fresh 2.1.4 installation without to touch anything
Hello,
I try to call a Java method on an class (called producer.IPMChecker) from
within a xslt. The object on which the method is called is passed to the
xslt as a parameter in the sitemap like this:
And in the stylesheet itself I have:
http://www.w3.org/1999/XSL/Transform";
sory but there is not portlet block in blocks.properties.
ro do you mean whole the portal block ?
thnx
--stavros
On Thu, 4 Mar 2004, Upayavira wrote:
> [EMAIL PROTECTED] wrote:
>
> >i a fresh 2.1.4 installation without to touch anything
> >just try to run
> >
> >cocoon cli -x cli.xconf
Hello All,
I try to use upload with xsp.
Sample is working well, and I try to move uploaded file to my path.
here is my xsp (based upload.xsp):
http://apache.org/xsp";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
xmlns:xsp-response="http://apache.org/xsp/respons
> Is binding of multivalue fields already supported in Woody? I
> cannot find any information on this at the Wiki or anywhere
> else on the web.
I already found out myself that it was not supported in 2.1.4, but it is now in the
current CVS snapshot.
---
Hi,
I am trying to pull a value in from my XSP page into an XSP Logicsheet. At the moment no value is being pulled in. What am I doing incorrectly?
1. XSP Page (snippet)
xmlns:xsp="http://apache.org/xsp"
xmlns:artistDetails="http://www.beyarecords.com/artistDetails/1.0" -- LOGICSHEET REF:
xmlns
Hello,
as far as i know there is a bug with portlets and cli
build your cocoon whithout portlets.
For some reason you have to copy the file servlet_2_2.jar from cocoon-home/
lib/optional
to the folder cocoon-home/build/WEB-Inf/lib of your build.
I also used the xml config code from the docs of
[EMAIL PROTECTED] wrote:
i a fresh 2.1.4 installation without to touch anything
just try to run
cocoon cli -x cli.xconf
i get an error about [portlet]
Yup. Portlet block breaks CLI, which is bad. Exclude it from build and
you'll be fine.
Upayavira
i have try to test a cvs snapshot (yeste
i a fresh 2.1.4 installation without to touch anything
just try to run
cocoon cli -x cli.xconf
i get an error about [portlet]
i have try to test a cvs snapshot (yesterday night) with tha same result
-- stavros
- the stack trace -
..
..
Opening database:
C:\Server\2.1-production\
Title: Convert ComponentManager to ServiceManager
howdy
corin ;-)
yes,
it's possible. there's a WrapperServiceManager in excalibur-component, that
wraps a ComponentManager.
-Ursprüngliche Nachricht-Von:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]Im Auftrag
von Corin Moss
Hi all!
I'm trying to get result from databse over cocoon-xsp - esql:taglib.
strings in databse have cp1251 encoding but result have other encoding
What should i do to get result of SELECT request in cp1251 encoding?
thx.
Sorry my english
---
[EMAIL PROTECTED] wrote:
hi all
playing around with some cocoon installation in my computer
i have notice tha CLI dont work after 2.1.2 version
is this a known bug or something else is happend here ?
Doesn't work? What doesn't work. If I remember, there was a bug in a
version around then whic
hi all
playing around with some cocoon installation in my computer
i have notice tha CLI dont work after 2.1.2 version
is this a known bug or something else is happend here ?
--stavros
-
To unsubscribe, e-mail: [EMAIL PROTECTE
On Thu, 2004-03-04 at 05:02, Murthy wrote:
> Hi,
>
> I'm encountering the below error while trying to
> generate the '.rtf' file with images. Without images
> '.rtf' file is opening fine.
I'd guess this is more related to AWT than cocoon. This the source of
the method the exception is thrown in (
Hello all,
Most of my xsp data views relied on the esql:error-results for
displaying useful information for the user (error type, means to fix
it, etc.), But now, the XSP seems to handle the SQL Exception and
convert it to a "java.lang.RuntimeException: Error executing statement"
so th
Hi Natz,
This problem is due to an imcompatibility between the ComponentManager and the ServiceManager.
The change should be in the CVS very soon.
Or you can manually change the BlobSource.java and rebuild cocoon :
(Thats just a change from ComponentSelector to ServiceSelector)
import org.apache.
Murthy wrote:
Hi,
It is not abt using recent versions of Cocoon,
But i'm presently supporting a project which uses
Cocoon 1.8, on it i've no control to upgrade or
propose any other soln, but to solve the problem at
hand.
Hope you understand my problem :(, sorry to bother you
guys ...
Okay
This only works if I enter servername in the url
but if you enter servername/cocoon --> http://servername/cocoon
> Hello,
>
> In your httpd.conf
>
>
> RewriteEngine on
> RewriteCond %{SERVER_NAME} =your.server.domain
> RewriteRule ^(.*)$ https://your.server.domain/$1
>
Hello,
Is binding of multivalue fields already supported in Woody? I cannot find any
information on this at the Wiki or anywhere else on the web.
Thanks,
Niels van Kampenhout
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel +31 (0)20 6345173
Fax +31 (0)20 6345179
-
Hi,
Currently I am using an XSP generator,
followed by the cocoon XSLT Transformer, followed by the XML serializer.
I need to set a header in the response under certain conditions at
the transformer stage. I cannot do this from the generator since, first
I need to analyze the generated XML using
Hi all,
I am new to cocoon. I am still trying to run my cocoon, after running built.bat, I attempted to run cocoon servlet and keep getting the following error. Could anyone advise me how I could solve this problem?
Thank you.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset
Hi,
It is not abt using recent versions of Cocoon,
But i'm presently supporting a project which uses
Cocoon 1.8, on it i've no control to upgrade or
propose any other soln, but to solve the problem at
hand.
Hope you understand my problem :(, sorry to bother you
guys ...
Regards
Murthy
---
Hello Gordon,
There's an issue open on Bugzilla regarding the disposed ComponentLocator:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27249
John
Gordon Anderson wrote:
However when I change ANY of the max pool size for the xinclude,
cinclude and general xml parsing as in this section...
Why are you using Cocoon 1.8? It has reached 2.1.4 now, and the changes
between v1 and v2 were HUGE, so most people here won't know anything
about 1.8.
Regards, Upayavira
Murthy wrote:
Hi,
I'm encountering the below error while trying to
generate the '.rtf' file with images. Without images
'.
Hi,
I'm encountering the below error while trying to
generate the '.rtf' file with images. Without images
'.rtf' file is opening fine.
I'm quite new to cocoon world, any help would be
greatly appreciated.
Env details:
1. Cocoon version 1.8
2. Servlet Engine iAS/6.5 SP1
Error stack trace is
Gordon
I have resolved the
endorsed directories hells by switching the class loader with the paranoid.
http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem
And I have already seen
similar disposed ComponentLocator problem
http://marc.theaimsgroup.com/?t=10777945672&r=1&w=2
h
Hello,
In your httpd.conf
RewriteEngine on
RewriteCond %{SERVER_NAME} =your.server.domain
RewriteRule ^(.*)$ https://your.server.domain/$1
any help in: http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRule
On Thursday 04 March 2004 10.33, Tuan Luu wrote:
> Hel
Hello
I have cocoon 2.1.2 mod_jk2, apache httpd 2.0.48, tomcat 4.1.29.
Now I'd like to transfer all http to https:
http://servername/cocoon --> https://servername/cocoon
I can rewrite or redirect the server to https, but actually not the
directory.
can anyone help here?
--
+++ NEU bei GMX
hi Laurent
I've been over these things somewhat often before!!
The first problem was that I had not copied the xerces and xml-api jar
files to the /common/endorsed dirs. Due to
JDK1.4 having xml libraries in its distribution this has to be
done. Almost all of the very strange error messages in
Le Jeudi, 4 mars 2004, à 08:21 Europe/Zurich, Corin Moss a écrit :
...We're using Xalan (2.6.0) with heavy use of Java extensions
(especially the e-xslt extensions) and from time to time, we've been
noticing document being rendered with odd corruptions which render
them invalid XML fragments..
Hi,
I received some mails from people, which are interested in the Jeuclid
project. So I managed to update the package to the latest Cocoon
version.
The JEuclid project offers components for the MathML to SVG and GIF
image conversion. And allows to present mathematical content in
websites, witho
Vasyl Stashuk wrote:
I have large number of records, that should be shown to user. They can't
fit on one page.
What is best way to implement paging using woody?
Do you mean a paged Woody repeater? I'm afraid you'll have to code it
yourself, or otherwise revision your design. Having a form with a
85 matches
Mail list logo