Re: OJB Samples

2004-01-21 Thread Antonio Gallardo
leo leonid dijo: > > On Jan 20, 2004, at 6:32 PM, Antonio Gallardo wrote: > >> Can you post the error? >> >> I think it can be related to a non "enhanced" classes. >> >> Best Regards, >> >> Antonio Gallardo >> > > and here is the error for the second (woody) sample and > in the jetty output I found

Re: OJB Samples

2004-01-21 Thread Antonio Gallardo
leo leonid dijo: > > On Jan 20, 2004, at 6:32 PM, Antonio Gallardo wrote: > >> Can you post the error? >> >> I think it can be related to a non "enhanced" classes. >> >> Best Regards, >> >> Antonio Gallardo > > here it is: > > Original Exception: com.sun.jdori.model.ModelFatalException: Missing > J

Re: Looking for data persistance method recommendation

2004-01-21 Thread Antonio Gallardo
mirko dijo: > Antonio Gallardo wrote: > > > ... >> I think it is a good idea to have 2 classes from the SoC point of view. >> The employee.class are the data (a bean). The employeeImpl.class is the >> model in the MVC paradigm. > > ... > > Sorry but I thougt model=data in MVC. Then separating it

RE: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Antonio Gallardo
Hi Morley: Thanks for the suggestion, but this thread is not related to the bug. We are requesting just the firstnode in this case. Best Regards, Antonio Gallardo Morley Howell dijo: > > This may be related to something that I found in the > AbstractDOMTransformer > where it would only return a

I can't read tags from ErrorGenerator

2004-01-21 Thread Fraser, Diane
Hi, The tags from ErrorGenerator appear to be blank in my xslt/error/Authentication.xsl file. I want to display all of the error tags (error:type, error:title, error:source, error:message, error:description and error:extra). Can anybody help me? I pulled the top of the CVS tree last week. I de

how to pass parameters to logicsheet?

2004-01-21 Thread Geoffrey Jost
Hello all, I'm trying to use logicsheets to produce some useful tags for an application i'm developing, but i can't seem to find out how to pass in parameters. The "Logicsheet Concepts" page of the Cocoon User guide (http://cocoon.apache.org/2.1/userdocs/xsp/logicsheet-concepts.html) has an e

"multipart/form-data" and encoding problem !!

2004-01-21 Thread Marcin Okraszewski
Hi, I have a big problem!! I have changed "enctype" to "multipart/form-data" in form definition and this caused problems with encoding characters - instead of UTF-8 chars I receive "?"s. Of course I have the form-encoding init parameter set to UTF-8. I tried setting accept-charset="UTF-8", but

Re: XML / postgresql and blob

2004-01-21 Thread Miles Elam
steph wrote: I created a postgres database in which I store blob (Binary Large OBjet such as jpeg images). Though, I use to do all of my queries but I really don't know how to access to a blob. ... My main problem is the use of lo_open lo_read and others in XML/XSL. (I do not find any exampl

AW: use parameter from sitemap in java transformer

2004-01-21 Thread Marco Rolappe
from the facts given I suspect that you didn't correctly override the setup method. check carefully that the method signature is correct; check your imports (e.g. you might have imported excalibur's SourceResolver instead of cocoon's). > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] >

Re: Cocoon CLI & Request params

2004-01-21 Thread Upayavira
Stephanie Zohner wrote: Sorry Upayavira, I must have skipped your reply. I'm not sure I understood your explaination right. You say the CLI handles request params, in the way that you hardcode it in the URL src-Attribute. Is that right? But how can I set the request params dynamically? In case I

AW: AW: AW: use parameter from sitemap in java transformer

2004-01-21 Thread Stefan Pietschmann
Hi again, Below you can see what's in my sitemap an in the transformer currently. The transformer is still working fine, the parameter not. With some system.out's I've found out, that it doesn't seem to go into the if-loop in setup(). When I try a system.out.println(par.toString()) it doesn't give

Re: REPOST Re: XSP Action, Bug?

2004-01-21 Thread Joerg Heinicke
Can you please post it on the dev list? Antonio started a thread about broken XSP action today. http://marc.theaimsgroup.com/?t=10746829691&r=1&w=2 Joerg On 21.01.2004 16:05, Jan Hoskens wrote: I did another update (cocoon 2.1 cvs head) today, but still I get an error if I use an xsp action

Exception in Hibernate:problem parsing configuration/test/hibernate.cfg.xml

2004-01-21 Thread beyaNet Consultancy
Hi, I am getting the above message when I try and run hibernate from cocoon. Can anyone tell me what I am doing incorrectly? 1. class snippet: public void add(){ try { Configuration cfg = new Configuration() .configure ("/test/hibernate.cfg.xml"); SessionFactory sf = cfg.buildSessionFactory(); S

Re: sitemap compilation and entity catalog resolver in 2.0.4

2004-01-21 Thread Joerg Heinicke
AFAIK entity resolving using catalogues works already with 2.0.4. We had already two threads this week about it. What's the reason for your request? The SitemapManager is not the correct place for it as every XML parsing should use the resolver. Joerg On 21.01.2004 19:31, Jon Tonberg wrote: He

The requested URI "/cocoon/samples/welcome/" was not found ????

2004-01-21 Thread Brian Millett
Hello, I've checked out from CVS cocoon2 as of 1/20/04. Built the webapp & war just fine on my Fedora box with java version "1.4.2_02" to include the samples. Ran the "./cocoon.sh servlet" to test and got the welcome page. Checked out the samples and really like the direction "woody" is taking

Re: AW: AW: use parameter from sitemap in java transformer

2004-01-21 Thread Rui Alberto L.
You're right Marco. I got confused! My apologies! On Wed, 2004-01-21 at 17:10, Marco Rolappe wrote: > overriding the setup method (SiteMapModelComponent interface IIRC) is the > way to go, he must have made a mistake somewhere. > > and getting sitemap parameters won't work via the Parameterizable

Re: Cocoon CLI & Request params

2004-01-21 Thread Upayavira
Stephanie Zohner wrote: Hi Upayavira Thanks for your help, so far. My CLI command should call a pipeline which inserts an xml fragment in an existing xml file (using the source writing Transformer). So a very simple task (from the CLI point of view). Now to my second problem: WHat do you mean by

sitemap compilation and entity catalog resolver in 2.0.4

2004-01-21 Thread Jon Tonberg
Title: sitemap compilation and entity catalog resolver in 2.0.4 Hello Apologies in advance if this seems like a stupid question, but in 2.0.4 does the sitemap compiler make use of the entity catalog resolver? If not, could it be as simple as invoking a catalog resolver within SitemapManager

Re: How to make back button on woody form (flow)?

2004-01-21 Thread gounis
maybe a button tha call javascript history function? --stavros On Wed, 21 Jan 2004, Hubert Trzewik (Prosystel) wrote: > How to make back button on woody form (flow)? > Can I define any widget for that? > -- > Hubert Trzewik > Prosystel Sp. z o.o. > [EMAIL PROTECTED] > > ---

Re: Logicsheet not working, anyone help?

2004-01-21 Thread Christopher Painter-Wakefield
Nothing else catches my eye. Here's a couple of things to try: 1) Touch the source XSP (main.xsp) - sometimes logicsheet changes don't get picked up by Cocoon the way they are supposed to after just changing the logicsheet 2) Simplify the problem - strip the code down to the bare minimum to d

Link Livesites: Cocoon 2.0

2004-01-21 Thread Luca Morandini
Title: Monitoraggio dell'ambiente marino Cocoon version: 2.0.3 URI: http://www.sidimar.ipzs.it/sdm/index.html Summary: The application shows the health of Italian seas by means of maps, lab. analysis and charts. The website is under the aegis of the Italian Environment Ministry. Italian versio

AW: AW: use parameter from sitemap in java transformer

2004-01-21 Thread Marco Rolappe
overriding the setup method (SiteMapModelComponent interface IIRC) is the way to go, he must have made a mistake somewhere. and getting sitemap parameters won't work via the Parameterizable interface AFAIK; the parameterize() method will provide a component's configuration as Parameters converted

Re: Cocoon CLI & Request params

2004-01-21 Thread Stephanie Zohner
Hi Upayavira Thanks for your help, so far. My CLI command should call a pipeline which inserts an xml fragment in an existing xml file (using the source writing Transformer). So a very simple task (from the CLI point of view). Now to my second problem: WHat do you mean by "tack the request para

Re: Cocoon CLI & Request params

2004-01-21 Thread Stephanie Zohner
Hi Upayavira Thanks for your help, so far. My CLI command should call a pipeline which inserts an xml fragment in an existing xml file (using the source writing Transformer). So a very simple task (from the CLI point of view). Now to my second problem: WHat do you mean by "tack the request para

Re: Cooon vs JSP/Struts

2004-01-21 Thread Luca Morandini
Tommy Smith wrote: All, I have no practical experience with JSP/Struts. The little I have studied about Cocoon impresses me, however, I am a little biased as I am familar with Oracle's XSQL framework. Can anyone objectively compare/contrast Cocoon & JSP/Struts as a framework to deliver web con

Re: Looking for data persistance method recommendation

2004-01-21 Thread Brian McCallister
Could you show some example code of your services you are using from Cocoon? Oh, is this OJB or Cocoon question? :) Sure, part of it is a time tracking application where employees can clock in and clock out, here is the clock in and clock out flow: function pub_clockIn() { checkAccess()

Re: Looking for data persistance method recommendation

2004-01-21 Thread mirko
Antonio Gallardo wrote: > ... I think it is a good idea to have 2 classes from the SoC point of view. The employee.class are the data (a bean). The employeeImpl.class is the model in the MVC paradigm. > ... Sorry but I thougt model=data in MVC. Then separating it is just strange for me. You have

Re: Looking for data persistance method recommendation

2004-01-21 Thread mirko
Brian McCallister wrote: btw - it may be worth moving this discussion to [EMAIL PROTECTED] at this point =) OK. But at this moment I don't have more OJB specific questions. If I have I will ask there. On the Cocoon block and using OJB from flow, etc: As mentioned, I use OJB in two cocoon apps

Re: Performance analysis/optimization?

2004-01-21 Thread tim
On Wed, Jan 21, 2004 at 11:02:51AM -0500, Andrzej Jan Taramina wrote: > How do I use profiling pipelines? Not familiar with that... http://wiki.cocoondev.org/Wiki.jsp?page=Profiling http://cocoon.apache.org/2.1/userdocs/concepts/profiler.html --Tim Larson ---

RE: esql: How to protect table/column name parameters from exploits?

2004-01-21 Thread Lars Huttar
On Cocoon Users list, Conal Tuohy wrote: > > Lars Huttar wrote: > > > HOWEVER... > > if the request parameter is not to be used as a literal value > > but as a table or column name, doesn't > > work. E.g. in > > SELECT count(*) TOTAL FROM name="table"/> > > where > is not null > >

Re: Performance analysis/optimization?

2004-01-21 Thread Andrzej Jan Taramina
Joerg: > Your request was somewhat unspecific. Is your application slow in a > specific part, is it just a feeling that the whole application is > somewhat slow or do you need just information in general? The client has just said "it's slow" without yet providing any more detail. I'm waiting

Re: Cocoon CLI & Request params

2004-01-21 Thread Upayavira
Stephanie Zohner wrote: Hi, I'm still fighting with request params in CLI xconf. For testing I added the request params to the URI src attribute (see below). The called pipeline inserts an xml element in an existing xml file. 1. problem: When I run cocoon cli with this xconf file, the generatio

Re: Logicsheet not working, anyone help?

2004-01-21 Thread Tommy Smith
Thanks for the reply. I tried as you suggested, but still don't see any output from logicsheet. From: Christopher Painter-Wakefield <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Logicsheet not working, anyone help? Date: Wed, 21 Jan 2004 09:57:20 -

Re: Cocoon CLI & Request params

2004-01-21 Thread Stephanie Zohner
Hi, I'm still fighting with request params in CLI xconf. For testing I added the request params to the URI src attribute (see below). The called pipeline inserts an xml element in an existing xml file. 1. problem: When I run cocoon cli with this xconf file, the generation is completed with no e

Re: AW: use parameter from sitemap in java transformer

2004-01-21 Thread Jorg Heymans
ztrange :) This has worked for me exactly like this a million times before. Are you seeing anything in error.log? Alternatively the parameterizable interface that Rui suggests should also work, although for me setup() is more clear. setup() is called on each pipeline component during pipeline se

Re: OJB Samples

2004-01-21 Thread leo leonid
On Jan 20, 2004, at 6:32 PM, Antonio Gallardo wrote: Can you post the error? I think it can be related to a non "enhanced" classes. Best Regards, Antonio Gallardo and here is the error for the second (woody) sample and in the jetty output I found the following line: [JDO] DEBUG: OjbStoreConnec

authentication only one login per account

2004-01-21 Thread Ulrich, Dominik
Hello everybody Can I somehow prevent someone to use an account, which is already logged in? I'd like to limit the access, so that only one person at a time can log into the same account. How can I get the info, if someone is already logged in with this account? Thanks Ciao Dominik ---

REPOST Re: XSP Action, Bug?

2004-01-21 Thread Jan Hoskens
I did another update (cocoon 2.1 cvs head) today, but still I get an error if I use an xsp action in the following setup:                                             ...   I did use the same setup under the Cocoon Release 2.1.3 version and there it did work fine!   I now get another

Re: OJB Samples

2004-01-21 Thread leo leonid
On Jan 20, 2004, at 6:32 PM, Antonio Gallardo wrote: Can you post the error? I think it can be related to a non "enhanced" classes. Best Regards, Antonio Gallardo here it is: Original Exception: com.sun.jdori.model.ModelFatalException: Missing JDO metadata for enhanced class 'org.apach

Re: Logicsheet not working, anyone help?

2004-01-21 Thread Christopher Painter-Wakefield
I believe the problem is in your "catch-all" template in your logicsheet: because this is AFTER your template matching abc:datetime, and not at a lower priority, it gets applied instead of your abc:datetime template. Change the above template to have priority="-2" and you'll get

Cooon vs JSP/Struts

2004-01-21 Thread Tommy Smith
All, I have no practical experience with JSP/Struts. The little I have studied about Cocoon impresses me, however, I am a little biased as I am familar with Oracle's XSQL framework. Can anyone objectively compare/contrast Cocoon & JSP/Struts as a framework to deliver web content?

Logicsheet not working, anyone help?

2004-01-21 Thread Tommy Smith
Hi, I am trying to get my first logic sheet up and running but with little success. I'm working through the Cocoon Developers Handbook. web page is rendered but not logicsheet output. Can anyone spot what is wrong? Sorry for the length of mail Logic sheet http://www.w3.org/1999/XSL

RE: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Morley Howell
This may be related to something that I found in the AbstractDOMTransformer where it would only return a portion of the data from a tag: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26219 Joerg Heinicke seemed to think the problem was not in the ADT but perhaps in some lower-level class. Ma

Re: Looking for data persistance method recommendation

2004-01-21 Thread Brian McCallister
On Jan 21, 2004, at 4:11 AM, mirko wrote: Hmm, in the OJB Faq there is: Q: How to page and sort? A: .. There is no paging support in OJB. OJB is concerned with Object/Relational mapping and not with application specific presentation details like presenting a scrollable page of items. .. Hmm, the

Re: use parameter from sitemap in java transformer

2004-01-21 Thread Rui Alberto L.
Hi Stefan, you need to implement Parameterizable interface in your transformer... Something like: public class LinkTransformer ... implements Parameterizable { ... public void parameterize(Parameters params) throws ParameterException { try { value = params.getParameter( "componentTag");

RE: How to build a flexible menu system - example anyone?

2004-01-21 Thread Laurent Trillaud
You can also use http://www.brainjar.com/dhtml/menubar/ No complex javascript, all can be generate server side by cocoon. Laurent Trillaud > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:pfennig63- > [EMAIL PROTECTED] > Envoyé : mardi 20 janvier 2004 17:13 > À : [EMAIL PROTECTED] >

Re: How to make back button on woody form (flow)?

2004-01-21 Thread Jan Hoskens
I don't think there's a woody widget for that purpose (submit button), but i use the following: Create as many input with type=submit buttons as you like, use the same name for each button and assign a different value for each. Then in your flow just check that requestobject(name)=value and choose

Re: Cocoon CLI & Request params

2004-01-21 Thread Stephanie Zohner
Sorry Upayavira, I must have skipped your reply. I'm not sure I understood your explaination right. You say the CLI handles request params, in the way that you hardcode it in the URL src-Attribute. Is that right? But how can I set the request params dynamically? In case I use the "command line pa

AW: use parameter from sitemap in java transformer

2004-01-21 Thread Stefan Pietschmann
Thanx for your quick answer. However It didn't work. I overwrote the setup method in my transformer like this had to catch the ParameterException public void setup(SourceResolver resolver,Map objectModel,String src, Parameters par) throws ProcessingException, SAXException,

RE: How to access http-request parameters in a coplet

2004-01-21 Thread Laurent Trillaud
Stefan Acces to any context is not different from a coplet or from the sitemap. Use inputmodule. You have one for http request an a lot of sample in your cocoon http://localhost:/samples/modules/request.xsp Laurent   De : Stefan Eichenhofer [mailto:[EMAIL PROTECTED] Env

Re: use parameter from sitemap in java transformer

2004-01-21 Thread Jorg Heymans
override the setup() method public void setup( SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException { if (par.isParameter("myparameter")) { this.parameter

use parameter from sitemap in java transformer

2004-01-21 Thread Stefan Pietschmann
Hi,   i’ve written a transformer in java,     which works well. Now I want to use a parameter in it, which I can set in the sitemap, like         

RE: [portal] Linking to portal pages

2004-01-21 Thread Laurent Trillaud
Alex I'm not sure to understand what your problem is. When you declare a coplet attribute in the copletinstancedata dir, it's like a local variable where the scope is the coplet itself. Laurent > -Message d'origine- > De : Alex Romayev [mailto:[EMAIL PROTECTED] > Envoyé : mardi 20 janvier

How to make back button on woody form (flow)?

2004-01-21 Thread Hubert Trzewik \(Prosystel\)
How to make back button on woody form (flow)? Can I define any widget for that? -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Stephanie Zohner
> > How we can separate every node in the returned string? Or we don't need a > separation char at all? > I don't think we need a separation because we have no influence on which part of the string is in which node. I can't think of any usage. I think it's rather irritating to get only a part of

Re: Authentication framework problem

2004-01-21 Thread Stefan Klein
Hi Nesto, not a complete answer, but some pointers that might help you: > 1) writing a simple action that checks the user parameters > (username/password) provided through a web form, with those stored in > the database. Here the problem, for me, is to write java code that > reuse the connection

Re: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Antonio Gallardo
Joerg Heinicke dijo: > On 21.01.2004 12:23, Stephanie Zohner wrote: > >> Hi, >> >> This is a bug, in my opinion. I already posted it in the dev mailing >> list >> (but haven't got an answer yet). > > Does an entry on bugzilla exist? Antonio, I don't want to point on you, > but wasn't that your exte

Re: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Antonio Gallardo
Joerg Heinicke dijo: > On 21.01.2004 12:23, Stephanie Zohner wrote: > >> Hi, >> >> This is a bug, in my opinion. I already posted it in the dev mailing >> list >> (but haven't got an answer yet). > > Does an entry on bugzilla exist? Antonio, I don't want to point on you, > but wasn't that your exte

Re: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Antonio Gallardo
Hi Stephanie: The code was not designed to retrieve all the nodes, just the first node while using as="string". But of course this can change. How we can separate every node in the returned string? Or we don't need a separation char at all? Please comments. Best Regards, Antonio Gallardo Ste

Re: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Joerg Heinicke
On 21.01.2004 12:23, Stephanie Zohner wrote: Hi, This is a bug, in my opinion. I already posted it in the dev mailing list (but haven't got an answer yet). Does an entry on bugzilla exist? Antonio, I don't want to point on you, but wasn't that your extension (getxml)?? Joerg Here's my work aro

Re: [xsp-session-fw][authentication] getting role

2004-01-21 Thread Stephanie Zohner
Hi, This is a bug, in my opinion. I already posted it in the dev mailing list (but haven't got an answer yet). Here's my work around: Think of "role", instead of "name" org.w3c.dom.DocumentFragment fragment = StringBuffer name = new StringBuffer(); for(int i = 0; i< fragment.getChildNodes().get

Re: Sitemap viewer, using the sitemap in a creative way - educational context

2004-01-21 Thread Joerg Heinicke
In recent Cocoon distributions there is a thing exactly called "sitemap viewer". The first version was delivered with Cocoon 2.1.3, but it might be better to use the version from CVS as some issues were added or fixed. You can find it in the scratchpad block samples: http://cvs.apache.org/viewc

Re: Sitemap viewer, using the sitemap in a creative way - educational context

2004-01-21 Thread Antonio Gallardo
Stephen Winnall dijo: > It would be nice to have a visual editor for the sitemap to edit, view > and debug > it. I've been looking for such a beast for over a year, but the best I > have found > is Pollo. Pollo is great in its own way, but is text-based. I like > pictures and > could imagine someth

Re: allowing non-dynamic downloads.

2004-01-21 Thread Andrew Savory
Greetings Doctor Cummings, On 20 Jan 2004, at 16:18, James Cummings wrote: Now from this page of downloads there will be links to some downloads in a variety of formats (zip/tgz/pdf). All of these are preprocessed and I don't want to use the zip serializer to assemble a zip file on the fly or an

Re: A bug in XPath Directory Generator?

2004-01-21 Thread Joerg Heinicke
On 21.01.2004 07:26, Markus Vaterlaus wrote: Hi Joerg, hi list, the output of the stylesheet lokks like that: Xerces-J 2.4.0 Xalan Java 2.5.0 1.4.1_02 Do you see any conflicts or potential problems? Unfortunately not :) The above is ok as with JDK 1.4.1 you would have Xal

Re: Sitemap viewer, using the sitemap in a creative way - educational context

2004-01-21 Thread Stephen Winnall
It would be nice to have a visual editor for the sitemap to edit, view and debug it. I've been looking for such a beast for over a year, but the best I have found is Pollo. Pollo is great in its own way, but is text-based. I like pictures and could imagine something like a UML editor for the sit

Re: [GT] Next week, GetTogether in Bern, Switzerland

2004-01-21 Thread Stephen Winnall
Hi Bertrand I'm interested in Cocoon and am in Switzerland, so I've invited myself to your meeting. I hope this is OK. I've put the dates I can manage onto the Wiki. Regards Steve On 21 Jan 2004, at 07:29, Bertrand Delacretaz wrote: This is just an informal dinner, no big event this time. Ple

Re: [map:aggregate] passing sitemap parameter

2004-01-21 Thread Jan Hoskens
An aggregation part calls another pipeline, this pipeline can also be accessed from an external client and these cannot pass sitemap parameters. If however you do need to pass (yess Jorg, it does work!) a parameter, u need to build the URI to call the pipeline with request-parameters as index.html?

Sitemap viewer, using the sitemap in a creative way - educational context

2004-01-21 Thread Sandor Spruit
[Context: I'm working on a university lab set-up for content management issues, using Cocoon to demonstrate stuff about topic maps, ontologies] Folks, Is there some way to directly access the sitemap from within the Java code I attach to Cocoon? I'd like to query the sitemap to find out how so

File downloading problem

2004-01-21 Thread tonyo
Hi,   I’d like to make some Word and PDF files downloadable from my application, based on Cocoon 2.1.2 / Tomcat 4.1.18. Here is the problem I meet: - The first click on the link gives the following message : Internet Explorer cannot download toto.doc from localhostInternet Explorer was

Re: [map:aggregate] passing sitemap parameter

2004-01-21 Thread Jorg Heymans
this probably does not this work either? or better you could do Jan Hoskens wrote: Hi, I tried to pass a parameter within my aggregation: ... ... When I show the parameter test, it always i

Re: [map:aggregate] passing sitemap parameter

2004-01-21 Thread Nicolas Toper
Well, why can't we pass parameter to a map:part. I think it should be possible. Is there a reason why it is not the case? (like break Soc,...) Le Mercredi 21 Janvier 2004 11:10, Jan Hoskens a écrit : > Hmm, that wasn't to smart of me, I was treating the more or less > like a generator/transforme

Re: [map:aggregate] passing sitemap parameter

2004-01-21 Thread Jan Hoskens
Hmm, that wasn't to smart of me, I was treating the more or less like a generator/transformer, but it only calls the pipeline. Thanks for reminding me, David!   Greetings,   Jan   - Original Message - From: Carmona Perez, David To: [EMAIL PROTECTED] Sent: Wednesday,

Re: Looking for data persistance method recommendation

2004-01-21 Thread Antonio Gallardo
mirko dijo: > Antonio Gallardo wrote: >>>Yes, I know I can pass collection of objects. But I'm afraid of memory >>>usage if the collections are huge. :) But I think I'll do as you said, >>>in the future maybe a iterator will be able to be passed :) >> >> >> This is a good question, but as usually w

Re: DateInputModule : formatting

2004-01-21 Thread julien bloit
Nevermind, I get the date directly from inside xsp : works fine Julien - Original Message - From: "julien bloit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 20, 2004 7:05 PM Subject: DateInputModule : formatting > Hi, > I'm confused because although I've read se

RE: [map:aggregate] passing sitemap parameter

2004-01-21 Thread Carmona Perez, David
You must set a parameter to a value, thorugh an action or a matcher. In this case, who sets the ‘test’ parameter?   David   -Mensaje original- De: Jan Hoskens [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 21 de enero de 2004 10:48 Para: [EMAIL PROTECTED] Asunto:

[map:aggregate] passing sitemap parameter

2004-01-21 Thread Jan Hoskens
Hi,   I tried to pass a parameter within my aggregation:   ...   ...       When I show the parameter test, it always is empty. I looked at the logs, but when the part is called, I don't see where the parameter gets passed:   sitemap.log: Current Sitemap Parameters:

XML / postgresql and blob

2004-01-21 Thread steph
Hello, first of all, I must say that I am an (happy) beginner with cocoon and postgresql. I created a postgres database in which I store blob (Binary Large OBjet such as jpeg images). Though, I use to do all of my queries but I really don't know how to access to a blob. in PHP the code will be

[xsp-session-fw][authentication] getting role

2004-01-21 Thread Jan Hoskens
Hi,   I'm using the Authentication framework and was trying to retreive the 'role' of a user by using the session. (just using the sitemap parameter {role} works fine) In an XSP I used the following line:   String role = ;   I expected to get the full value of 'role', but got only a part of i

Re: Looking for data persistance method recommendation

2004-01-21 Thread mirko
Brian McCallister wrote: I misread your statement - you are looking at collections coming back from the query, not object referenced collections. In this case the proxy-prefetch limit won't help you, however passing the lazy loading collection as the return value from whatever your query/reposi

Re: Looking for data persistance method recommendation

2004-01-21 Thread mirko
Antonio Gallardo wrote: Yes, I know I can pass collection of objects. But I'm afraid of memory usage if the collections are huge. :) But I think I'll do as you said, in the future maybe a iterator will be able to be passed :) This is a good question, but as usually we can "paginate" the output, t

Re: Best practice - use db xmldb of or file system for simple xml (xhtml) documents

2004-01-21 Thread Marcin Okraszewski
To be honest if I had free XML DB that had supported XQuery 3 months ago (eXist haven't even mentioned about it) I would definetely use XML DB - for simplicity reasons :-) Well I think you might have just missed this feature since it was added on *November 22, 2003 (almost exactly 3 Months ago

Cocoon Portal in the wild?

2004-01-21 Thread Matthew Langham
Hi, I want to gain an overview of how widespread the Cocoon portal is in use out there. If you are using the portal in some application then it would be great to hear about it. Either by a mail to the list or to me. If you can't disclose the exact project and/or company then perhaps send me an ano

Sitemap variables substitution limits

2004-01-21 Thread Carmona Perez, David
Hi all, Does anyone know why I can't use the following syntax: . What are the limits of variables substitution? I have used them successfully e.g. in the pattern and src attributes. Can they be used for every attribute? Thanks in advance for any hint.