NTLM with the authentication framework cocoon 2.2

2008-03-03 Thread rossputin
Hi, has anyone done any work on integrating NTLM support with cocoon-auth in cocoon 2.2. Or does anyone know of any documentation on it? Everything is working great with auth from a DB, but now I need to play with windows integration. Thanks for your help in advance. Regards Ross -- View

Re: Cocoon Sparql Transformer ?

2008-03-03 Thread Nico Verwer
Some time ago, I made a simple SPARQL transformer. The code should be out there, somewher on the web, and you can also download it from my 'cocooncomponents' project on Google code. I'll include the code below. If this is useful, we might want to set up a project for semantic web components on

Re: xpath condition on xml data in sitemap

2008-03-03 Thread dynnamitt
Yes you can BUT then the XML will be cached on startup... what if this is a RESTFUL GET query that has a variable URI? Kjetil Dynnamitt Ralph Goers wrote: Not quite true. You can accomplish this using XMLFileModule. Joerg Heinicke wrote: What you outline we used to call content-based

Re: xpath condition on xml data in sitemap

2008-03-03 Thread dynnamitt
sorry, javadoc states: Caching and reloading can be turned on / off The problem is that the source-xml-uri has to be injected during the request, right? - And that isn't something the org.apache.cocoon.components.modules.input.XPathXMLFileModule will NOT let us do I think.. Will someone wake

Passing flowscript data to a form

2008-03-03 Thread Derek Hohls
Working with Cocoon 2.1.8 I am trying to pass data from flowscript to a from, but with no success. The value of foo in the scenario below simply does not show up (although normal widgets, which I have stripped out in the sample below, show up fine). What do I need to change? Thanks Derek

Re: Passing flowscript data to a form

2008-03-03 Thread Johannes Textor
What do I need to change? [snip] The flowscript looks like: var tForm = new Form(cocoon:/db/update/form/test, {foo:foob}); var tmodel = tForm.getModel(); tForm.showForm(db/test.uforms); var tForm = new Form(cocoon:/db/update/form/test); var tmodel = tForm.getModel();

Re: Passing flowscript data to a form

2008-03-03 Thread Derek Hohls
Johannes I think your code updates the template display, and not the form definition... at any rate, it does not work. Thanks Derek On 2008/03/03 at 03:46, in message [EMAIL PROTECTED], Johannes Textor [EMAIL PROTECTED] wrote: What do I need to change? [snip] The flowscript looks

Re: Passing flowscript data to a form

2008-03-03 Thread Jason Johnston
Derek Hohls wrote: Working with Cocoon 2.1.8 I am trying to pass data from flowscript to a from, but with no success. The value of foo in the scenario below simply does not show up (although normal widgets, which I have stripped out in the sample below, show up fine). What do I need to

Re: Sitemap pipelines

2008-03-03 Thread Alec Bickerton
I take it nobody can help me with this... or am I just missing something really obvious. Alec. Alec Bickerton wrote: Hi, I'm looking to streamline the sitemap that is being used and am seeing a few problems. First, a little bit of background... The application has evolved over a time to

Re: Convert escaped xml back to xml or SAX events

2008-03-03 Thread warrell harries
You could use Saxon e.g. :- ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl= http://www.w3.org/1999/XSL/Transform; xmlns:saxon=http://saxon.sf.net/; xsl:template match=/ xsl:copy-of select=saxon:parse(XPathToYourXMLAsTextHere)/ /xsl:template /xsl:stylesheet On 29/02/2008,

Re: Convert escaped xml back to xml or SAX events

2008-03-03 Thread Thorsten Scherler
On Fri, 2008-02-29 at 07:53 -0800, dkropotova wrote: Dear all, I am using SOLR to store my xml files, that have been xml-escaped beforehand (so that now they are simply treated as text). Did you see http://wiki.apache.org/solr/SolrForrest? When a search is performed and results are

Re: Passing flowscript data to a form

2008-03-03 Thread Joerg Heinicke
What about http://cocoon.apache.org/2.1/userdocs/widgetconcepts/selectionlists.html Joerg On 04.03.2008 00:26, Derek Hohls wrote: Jason Thanks for pointing out that I was trying to make use of a missing feature! My example, because I simplified things, was a bit misleading. What I am

Re: Passing flowscript data to a form

2008-03-03 Thread Derek Hohls
Jason Thanks for pointing out that I was trying to make use of a missing feature! My example, because I simplified things, was a bit misleading. What I am trying to do in the form construction, is dynamically pass in an array of values to act as the fd:item elements in a multi-field array. If

Re: Passing flowscript data to a form

2008-03-03 Thread Derek Hohls
Joerg That's it exactly! It may not be elegant or intuitively obvious , but it works and that is what counts. Thanks Derek (Guess I need to go and reread the manual in my spare time :) On 2008/03/04 at 07:39, in message [EMAIL PROTECTED], Joerg Heinicke [EMAIL PROTECTED] wrote: What about

Re: Sitemap pipelines

2008-03-03 Thread solprovider
Cocoon has several methods to pass control between XMAPs. The best is map:mount because it allows non-standard protocols. (We use file-level fallback to discover the next XMAP so map:mount is useful because we can specify the fallback protocol. This is difficult with the cocoon: protocol