RE: use-request-parameters with checkboxes

2006-10-03 Thread Varga, Zsombor
http://foo.bar/cgi-bin?field=valuestuff=abcstuff=defstuff=g himore=bar You can use org.apache.cocoon.environment.http.HttpRequest.getParameterValues(java.l ang.String name) in this case and y'll get your values in String array. For example: String[] sArray =

Indexing In Lucene

2006-10-03 Thread Ajani, Akil \(Cognizant\)
Hi, Canyou tell me how indexing takes place in lucene(Depth).if document has 1n indices then which algorithm it uses,which information retrival model it uses Thanks Regards, Akil Ajani Cognizant Technology Solutions India Pvt. Ltd. Plot # 26, Rajiv Gandhi Infotech Park,

Re: Indexing In Lucene

2006-10-03 Thread Gabriele Columbro
Hi Ajani, if your question is specific to Cocoon (don't quite sure about that) you may have a look at the: 1. /LuceneIndexTransformer/ [1] to index your content via cocoon pipelines (in the example HTML is indexed but you can index content at every pipeline step) 2. /SearchGenerator/ [2] to

Re: Indexing In Lucene

2006-10-03 Thread Gabriele Columbro
Whoops, I forgot the third reference, here it is: http://www.cocooncenter.org/articles/lucene.html and I realize it's based on the 2.0 release so it's more up to date. HTH, Gabriele Gabriele Columbro ha scritto: Hi Ajani, if your question is specific to Cocoon (don't quite sure about

Re: use-request-parameters with checkboxes

2006-10-03 Thread Peter Flynn
Fred Vos wrote: Hello Peter, On Mon, Oct 02, 2006 at 04:19:44PM +0100, Peter Flynn wrote: Jeroen Reijn wrote: Hi Peter, splitting values based on #'s isn't the best solution imho. I agree, but for a very simple application it's easy enough using contains($ref,@id) to identify the elements

Problem with custom StreamGenerator

2006-10-03 Thread Fawzib Rojas
I have a custom StreamGenerator and it is giving me some problems. I have used it with a custom application I've made and it works. I send a POST with my information and I can use the posted info in my custom generator. My problem is that when I use an actual FORM with a post message it fails.

Re: Problems using Saxon

2006-10-03 Thread Abbas Mousavi
Hi allrecently, there were some posts about integrating Saxon 8.8to cocoon 1.2.9. and there is no clear answer on the list. I have also this problem.Is there anyone on the list that used Saxon 8.8with cocoon 1.2.9 successfully? Is this a problem in saxon? or cocoon?Askild Aaberg Olsen [EMAIL

Re: use-request-parameters with checkboxes

2006-10-03 Thread Dan Hertz
Hi Peter, You can actually parse checkbox values using xslt2/xpath2 (I've only got it to work with get, not post): Based on: http://foo.bar/cgi-bin?field=valuestuff=abcstuff=defstuff=ghimore=bar 1. Add parameter to sitemap: map:parameter name=requestQueryString value={request:queryString}/

java.lang.NullPointerException

2006-10-03 Thread Bokluci
On a random basis (sometimes every day, sometimes very two weeks) I'm getting following error from cocoon: An error has occured java.lang.NullPointerException: Cocoon stacktrace[hide] Sitemap: error when calling sub-sitemap context://sitemap.xmap - 890:66 map:mount I found out that it happens

Dialog widget

2006-10-03 Thread James Holstead
Has anyone started/attempted something like a dialog widget which woulddisplay 'loading','please wait',errormessages?(specifically for ajax forms)? James HolsteadSoftware Engineer Tybrin Corporation tybrin.com850.337.2718 This e-mail and any files transmitted with it are the property of

changing xslt processor to saxon

2006-10-03 Thread Cindy Girard
Hi, I'm trying to use saxon as my XSLT processor instead of Xalan (for now, in the matching instead of as the default), and I'm getting the following error: Message: Lookup of transformer 'xslt-saxon' failed at map:transform type=xslt-saxon -

Cocoon, JSON, PHP

2006-10-03 Thread Maurizio P.
Hello ppl, kind regards to you all, beg ur pardon for my bad english.My goal: have Cocoon (in tomcat's webapps) talking with PHP (in apache2 httpd) both living on same machine or same subnet. The talking should also permit JSON syntax and mechanism from browser to PHP page, passing through Cocoon.

Cocoon, JSON, PHP

2006-10-03 Thread Maurizio P.
Hello ppl, kind regards to you all, beg ur pardon for my bad english.My goal: having Cocoon (in tomcat's webapps) talking with PHP (in apache2 httpd) both living on same machine or same subnet.The talking should also permit JSON syntax from browser to PHP page, passing through Cocoon. Let's say

Cocoon Auth - ApplicationUtil.isUserInRole

2006-10-03 Thread Saskia Heesen
Hello, I am using Cocoon 2.1.10 dev. In the class ApplicationUtil, there are static and non-static methods for each item, except isUserInRole. Is this correct? The type of isUserInRole(user, role, objectModel) was static boolean in cowarp-0.5, too. Application getApplication() static

Re: Problems using Saxon

2006-10-03 Thread Askild Aaberg Olsen
Abbas Mousavi wrote: Hi all recently, there were some posts about integrating Saxon 8.8 to cocoon 1.2.9. and there is no clear answer on the list. I have also this problem. Is there anyone on the list that used Saxon 8.8 with cocoon 1.2.9 successfully? Is this a problem in saxon? or cocoon?

[SOLVED] Re: Problems using Saxon

2006-10-03 Thread Askild Aaberg Olsen
Askild Aaberg Olsen wrote: Abbas Mousavi wrote: Hi all recently, there were some posts about integrating Saxon 8.8 to cocoon 1.2.9. and there is no clear answer on the list. I have also this problem. Is there anyone on the list that used Saxon 8.8 with cocoon 1.2.9 successfully? Is this a