RE: JXTemplate and session beans

2003-06-13 Thread Hugo Burm
ns I am trying the same thing, but can't seem to figure it out Anyone tell me what would be the equivlent of : ?? - Original Message - From: "Hugo Burm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:07 AM Subject: RE: JXTempla

Authentication framework and databases

2003-06-13 Thread Hugo Burm
About using a database instead of a flat XML file for user authentication by the Cocoon authorization framework: http://wiki.cocoondev.org/Wiki.jsp?page=HibernateAndTheAuthenticationFramewo rk The combination Hibernate plus Flowscript rocks. Hugo

RE: JXTemplate and session beans

2003-06-13 Thread Hugo Burm
${} Hugo -Original Message----- From: Hugo Burm [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 6:44 PM To: [EMAIL PROTECTED] Subject: JXTemplate and session beans How can I access the members of a bean that is stored in the session? In an action I did something like: session.setAttr

JXTemplate and session beans

2003-06-12 Thread Hugo Burm
ame}. All documentation I found is the Petstore example and the java source of the generator. Did I miss something? Thanks. Hugo Burm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

authentication fw: flowscript in authentication resource

2003-05-31 Thread Hugo Burm
Hello I am trying to use flowscript in the authentication resource of the authentication framework. authuser is my authentication resource. Part of sitemap: This is the flowscript function: function auth() { sendPage("userID", {"user" : "test

JXForm (XMLForm), Hibernate, Flowscript and the prefs example

2003-05-29 Thread Hugo Burm
is implemented in an Avalon component and created from flowscript by the Cocoon componentmanager. Hugo Burm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

XMLForms and Hibernate

2003-04-06 Thread Hugo Burm
sistent. Hugo Burm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: highlighting with Lucene

2003-02-10 Thread Hugo Burm
Hi, The steps you describe below are correct. But it may not be as easy as you may wish. Some points: - The Cocooncenter article was written before Lucene support was integrated in Cocoon. Because of this: - I did not use the indexer integrated in Cocoon, but used my own classes to index xml file

RE: How to build custom search engine in cocoon?

2002-12-10 Thread Hugo Burm
I don't know your reasons for using Xindice, but using Lucene as your search engine may be a better approach: - The Lucene 1.2 jar is integrated into the Cocoon war. - With Lucene you divide your XML document into fields. For each field you can decide whether to store it into the Lucene index or r

RE: Problem compiling Cocoon

2002-11-27 Thread Hugo Burm
I have the same problem on Win2000/JDK 1.4/Tomcat 4.12 I updated from the latest version yesterday evening, did a make clean and built twice. The previous time I upgraded (two weeks ago) it worked ok. Hugo Burm [EMAIL PROTECTED] > -Original Message- > From: Anna Afonchenko [mailto:

Accessing the output of a modular input module in xsp

2002-10-30 Thread Hugo Burm
n for this problem, but I did not found it yet. Anybody else knows how to tackle this? Thanks. Hugo Burm [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting.

RE: XML to Excel file

2002-10-28 Thread Hugo Burm
Try Perl. I have some good experiences with CPAN modules that parse XML streams and write to Excel. You ony need a few lines of Perl code, it is fast, but it does exactly that (and only that) what you are asking for: convert an XML stream into an Excel file. Cocoon is a different kind of animal. H

Problem with modular database actions from CVS

2002-10-06 Thread Hugo Burm
to be the problem. Is this broken or do I now have to specify an output module myself? Thanks Hugo Burm [EMAIL PROTECTED] sitemap.log === Thread-9/AbstractComplementaryConfigurableAction: (Re)Loading db_consult_descriptor.xml Thread-9/DatabaseAction: modeTypes : {2=attribute, 1=others,

RE: Authentication framework (sunshine in 2.0.3) and modular database actions

2002-09-21 Thread Hugo Burm
ugh it myself right now - good old modems... ;) ralph - Original Message - From: "Hugo Burm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 8:36 PM Subject: Authentication framework (sunshine in 2.0.3) and modular database actions >

Authentication framework (sunshine in 2.0.3) and modular database actions

2002-09-17 Thread Hugo Burm
Hi, I am running 2.1 dev. I want to feed the result ID of an authentication by the authentication framework, into a database query. I made my own subclass of the non-modular DataseSelectAction and by using org.apache.cocoon.webapps.session.components.SessionManager, I could find the authenticati

RE: general use FragmentExtractor transformer?

2002-09-11 Thread Hugo Burm
, but make sure it is consistent in all your documents Hugo Burm [EMAIL PROTECTED] = Main xml http://datagram.nl/survey> ... ... Sitemap === 1) Define a Tranformer with a unique name and define its uri and element

Using the extractor transformer with more than one type on the same page

2002-08-25 Thread Hugo Burm
o I indeed have to modify the java class as desscribed above? Or use a quick hack: compile my own version of the extractor class and use fj.fragment instead of fe.fragment? Thanks Hugo Burm [EMAIL PROTECTED] - Please check th

Accessing SunShine context from Java Action

2002-07-04 Thread Hugo Burm
be, I lost my Java session. But I have no idea how the SunShine context is propagated between different pages. Can someone comment on how the SunShine context is stored and can be accessed? And what is needed to access it 10 pages later in my (browser) session? Hugo Burm [EMAIL

Accessing SunRise context after authorization

2002-07-02 Thread Hugo Burm
Hello, I am running Cocoon 2.0.2 on Tomcat 4.0.1 on W2000. I have build an authorization system based on the Sunshine/Sunrise components. The authorization works OK. After successfull authorization, the user is redirected to a status page. This status page can access all the SessionContexts supp

Lucene hit highlighting

2002-06-01 Thread Hugo Burm
Hello, I submitted an xdoc to "www.cocooncenter.de" that explains how I created a Cocoon Transformer that adds "hit highlighting" to Lucene queries. Comments about how to make this more generic are welcome. hugo [EMAIL PROTECTED]

RE: DatabaseAddAction

2002-05-21 Thread Hugo Burm
place where I installed the Cocoon sources. If you don't have the Cocoon sources (thus, binaries only), you must rely on the documentation of these Actions (...). Hugo Burm [EMAIL PROTECTED] -Original Message- From: Kenny Chow [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 9

How to insert an xml node in a transformer

2002-04-13 Thread Hugo Burm
startElement("", mytag, mytag, null); super.contentHandler.endElement("", mytag, mytag); Need a piece of code that illustrates how to do this... Thanks Hugo Burm [EMAIL PROTECTED] - Please check that your question has not

RE: C2 too slow

2002-02-14 Thread hugo burm
Do you have an OS that supports native threads and a Java JIT (just in time compiler e.g. Sun's hotspot)? I had serious perfomance problems (about the same as you have) using "green threads" without JIT on a BSD OS. Switching to an OS with native threads and a JIT (e.g. W2000 or Linux) solved my

Setting attributes of the esql tags dynamically

2002-02-13 Thread hugo burm
eed). I experimented with this but that didn't work either. How can I use this? Thanks Hugo Burm [EMAIL PROTECTED] code for (ic=1; ic <= c