How to use the ServiceSelector?

2003-11-09 Thread Stephan Coboos
Hello, in the file cocoon.roles I can see that many components which needs a selector using the ExcaliburComponentSelector. But this selector is deprecated, isn't it? So I want to use the ServiceSelector for my components. Is there a default implementation of this selector avaiable or any examples

Re: RV: Woody custom validation

2003-11-09 Thread Jeremy Quinn
On 7 Nov 2003, at 13:26, Carmona Perez, David wrote: Thanks Bruno, We could have both of them, for greater flexibility. -1 FS It makes sense to have errors that apply to the full form, and don't need to be shown next to a field.. David -Mensaje original- De: Bruno Dumon [mail

RE: installing the WoodyHibernateandFlow example from Hugo Burm

2003-11-09 Thread Hugo Burm
There were some more problems. E.g. the key of Contacts was changed from string to long by the Woody team, and I was using the wrong DTD for Hibernate (1.0 instead of 2.0). This should be fixed now. I uploaded an updated zip file to the Wiki. At the moment the Deli block is generating lots of "..

simple esql-xsl problem

2003-11-09 Thread Ashish Kumar
hi all, i m generating pdf by querying database using esql. here for a particular value got from database table, i have to display some particular information. the xsp code contains: --- select * from person --- while the xsl-fo file contains: ---

Custom protocol for ResourceReader

2003-11-09 Thread Lutz . Wiggershaus
Return Receipt Your Custom protocol for ResourceReader document :

Re: SourceWritingTransformer results in NPE!

2003-11-09 Thread Joerg Heinicke
This is a NPE in Xalan and we can't do much on it. Can you test whether the expected Xalan version is in use and whether it's a recent one? http://xml.apache.org/xalan-j/faq.html#environmentcheck Joerg On 08.11.2003 12:52, David Geleyn wrote: --- Joerg Heinicke <[EMAIL PROTECTED]> wrote: I d

Re: Sitemap XSL

2003-11-09 Thread Joerg Heinicke
Hello Bruce, Jelle's sitemap viewer is integrated into Cocoon's CVS now and you can test it at the scratchpad samples: http://127.0.0.1:/samples/blocks/scratchpad/sitemap-viewer/ Regards, Joerg On 08.11.2003 23:04, Alten, Jelle Paul (sds-sp) wrote: Hi Bruce, I made a Sitemap Viewer that

Re: resin 3.0.3 and cocoon 2.1.2 problems

2003-11-09 Thread Joerg Heinicke
On 08.11.2003 10:20, Robert Andersson wrote: hi joerg & the rest of you! thanks for your input, though a new release of resin, version 3.0.4, fixed the problem. so in short -- resin 3.0.4 and cocoon 2.1.2 seems to work well together... so far anyway, i suppose the jsp block functionality within c

Re: multiple transform how?

2003-11-09 Thread Joerg Heinicke
That's correct in general. What does "didn't work" mean exactly? I don't know if you chose only names for the stylesheets without any meanings, but you have directory2html and page2html. Shouldn't it be something like directory2purehtml and purehtml2styledhtml? Joerg On 08.11.2003 19:54, Zamek

Re: How to use the ServiceSelector?

2003-11-09 Thread Joerg Heinicke
If you get the Selector from a ServiceManager you always get a ServiceSelector. If the real type of this Selector is a ComponentSelector as the ExcaliburCS, you get a WrappedServiceSelector. But this happens transparent to you, you simply do (ServiceSelector)this.manager.lookup(selectorKey) If

Re: simple esql-xsl problem

2003-11-09 Thread Joerg Heinicke
On 09.11.2003 21:50, Ashish Kumar wrote: hi all, i m generating pdf by querying database using esql. here for a particular value got from database table, i have to display some particular information. the xsp code contains: --- select * from person --- whil

Dynamic parameter for logicsheet

2003-11-09 Thread Otmar Vobejda
Hi people, I don't understand one thing: in XSP file I have this piece of code: String sectionId = 5; sectionId this "calls" template "section:edit" in logicsheet, which is defined: ... select * from section where id= ... It should send to SQL se

xreporter and JDO?

2003-11-09 Thread neil
Hi, What would be the options for getting xreporter to use JDO (or any plain java object) instead of JDBC? I understand that it has a HTTP datasource (gets XML from a URL) so that would be one possibility, but maybe there are better ways? Thanks, Neil. -

Re: xreporter and JDO?

2003-11-09 Thread Antonio Gallardo
neil dijo: > Hi, > What would be the options for getting xreporter to use JDO (or any plain > java object) instead of JDBC? I understand that it has a HTTP datasource > (gets XML from a URL) so that would be one possibility, but maybe there > are better ways? > Thanks, > Neil. Good question

Re: Saving pipeline output to a temp file...everything you wanted to know but were afraid to ask!

2003-11-09 Thread Andrzej Jan Taramina
> you save your tempfile, but when you delete it? Is it a temporary > file, no? Yes...I delete it. I have a special script (in VB) that prints my PDF and then deletes it. Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com --

Re: Saving pipeline output to a temp file...everything you wanted to know but were afraid to ask!

2003-11-09 Thread Andrzej Jan Taramina
> Mmmh... careful here : you're relying on a unspecified behaviour that > allows a flow script to not send a page. And we still have to decide if > this allowed or not. Let me also ask that you be careful too. It worksand my application depends on this behaviour. Allowed or not! As I said

Changing sitemap causes app to throw a null pointer exception...

2003-11-09 Thread Andrzej Jan Taramina
Hmmm...I'm running Cocoon 2.1.2 under Tomcat 4.1.27 (latest). When I change my sitemap (it's a sub-sitemap actually, that is mounted by the main sitemap), when next I access a page in the app, I get a null pointer error. Shutting down Tomcat and restarting fixes this. Any ideas what might caus

Best way to edit XML file using Cocoon?

2003-11-09 Thread Andrzej Jan Taramina
I'm writing an application that presents a high level UI to the users in a browser, but under the covers it is building/editing/modifying an XML document which keeps track of all the things the user wants to do. Any advice on the best way to implement this? I figured on storing a DOM instance