windows authentication in portal

2006-06-12 Thread dee
hi,  has anyone tried windows authentication or LDAP based authentication in cocoon portal?     thanks and regrds, Deeksha __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

End of Session in Sitemap

2006-06-12 Thread Yves Vindevogel
Hi, My session object contains the data of the database it has to connect to. When the session expires, I get an error when trying to connect. I could capture this in my code, but I would rather do it in my sitemap. Can I do this ? I would like to start a different generator based up the ses

RE: End of Session in Sitemap

2006-06-12 Thread Ard Schrijvers
Can't you use a map:selector to test wether the session is empty? Regards Ard > > Hi, > > My session object contains the data of the database it has to connect > to. When the session expires, I get an error when trying to connect. > I could capture this in my code, but I would rather do it i

Re: End of Session in Sitemap

2006-06-12 Thread Yves Vindevogel
Don't know, that's what I was asking (kind of) Ard Schrijvers wrote: Can't you use a map:selector to test wether the session is empty? Regards Ard Hi, My session object contains the data of the database it has to connect to. When the session expires, I get an error when trying to conne

RE: End of Session in Sitemap

2006-06-12 Thread Ard Schrijvers
in your map:components in map:selectors define: in your sitemap, do something like: etc etc Hope this helps... Regards Ard > > Don't know, that's what I was asking (kind of) >

Digital Rights Management component

2006-06-12 Thread Andrew Madu
Hi,can anyone tell me whether there are any plans for a DRM module for cocoon or whether there is a java/open source solution available? I am in the process of building a Record label website and will be selling artists material as downloadable AAF files and wish to employ a robust DRM on all track

Re: End of Session in Sitemap

2006-06-12 Thread Yves Vindevogel
Ok, tnx I'm gonna try to do this. Ard Schrijvers wrote: in your map:components in map:selectors define: src="org.apache.cocoon.selection.SimpleSelector"/> in your sitemap, do something like:

RE: source-writing - then redirect?

2006-06-12 Thread Seth Foss
What I have found works best for me is to use flowscript, and call the pipeline using the processPipelineTo() function instead of the sendPage or sendPageAndWait. processPipelineTo does not send it's output to the screen, but sends the output stream back to flowscript. This allows you to follow the

For-each in sitemap?

2006-06-12 Thread Sjur Moshagen
Hello, I would like to aggregate a dynamic list of documents following a certain pattern, but I can't find a way of doing it. I have been searching the user docs and the mailing lists, to no avail. Here's what I would like to do, in some rough pseudo-code: match on request parameter aggr

Re: For-each in sitemap?

2006-06-12 Thread Jeroen Reijn
Hi Sjur, I do not know of any solution in the sitemap, but you are able to do this: It should be something like this in pseudo-code: Step1. JX template generator The generator generates a JX-template. The JX-template has the cocoon.request object available to iterate through. You can creat

Re: lenya build problems:urgnt

2006-06-12 Thread Jeroen Reijn
Hi Bhavya, I'm afraid you've sent this email to the wrong mailinglist. More information about the lenya mailinglists can be found at this location: http://lenya.apache.org/community/mailing-lists.html Kind regards, Jeroen Reijn Hippo Oosteinde 11 1017WT Amsterdam The Netherlands Tel +31 (0)

RE: For-each in sitemap?

2006-06-12 Thread Martijn C. Vos
Sjur Moshagen [mailto:[EMAIL PROTECTED] wrote: > > I would like to aggregate a dynamic list of documents following a > certain pattern, but I can't find a way of doing it. I have been > searching the user docs and the mailing lists, to no avail. > > Here's what I would like to do, in some ro

parameters passing sitemap - > flow - > jx

2006-06-12 Thread christian bindeballe
Hi, I try to pass parameters from a sitemap to a flowscript, from where I want to pass them further to another page for extraction. The point is, that I need theses parameters (part of the URI) in the final document and I don't know how to do it otherwise. Unfortunately I'm not really sure as how

Re: source-writing - then redirect?

2006-06-12 Thread christian bindeballe
Hi Seth, this indeed is great! After looking through all the possible extensions of OutputStream, I actually found one that doesn't need a receiving end or file object, so I now call my desired pipeline with a ByteArrayOutputStream. Thanks a lot! regards, christian Seth Foss schrieb: > What I

form2bean.flow breaks

2006-06-12 Thread Giuseppe Di Pierri
Does any body knows why the form2bean.flow breaks sample breaks when the repeater field middle initial has some value? many thanks for your answer pino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: End of Session in Sitemap

2006-06-12 Thread Yves Vindevogel
This is my code, eventually, which is what you've written down basically. Thank you value="ended{session-attr:dbase}"/> typ

RE: parameters passing sitemap - > flow - > jx

2006-06-12 Thread Ard Schrijvers
> > Hi, > > I try to pass parameters from a sitemap to a flowscript, from where I > want to pass them further to another page for extraction. > The point is, that I need theses parameters (part of the URI) in the > final document and I don't know how to do it otherwise. Unfortunately > I'm not r

RE: Restricting cache messages

2006-06-12 Thread Ard Schrijvers
But if it is a jboss log file, then I suppose that is also the place to look for the log-level, right? Ard > > Thanks for your suggestion, I have tried it, but it still > doesnt work. > My default log-level policy is on WARN > server.log is a jboss log file, and should really not be > writte

RE: Encoding from flowscript to component

2006-06-12 Thread Ard Schrijvers
Think I am lost: I suppose cocoon.getComponent(myComponent.ROLE); gets a component you wrote yourself? I thought you might have made a mistake in there, but now you are saying it is not "my component" I am seriously confused Regards Ard It's not my component. If I do a myBean.getName() in t

Flowscript and Sitemap Logic

2006-06-12 Thread Pasha Minallah
Hi, I have a quick question. Once a Flowscript function is called from a matcher, is it then possible to resume sitemap processing and not to have the function return a page or redirect? -- Pasha Minallah Software Engineer Neptune and Company, Inc. http://www.neptuneandco.com/ --

Re: CForms on-value-changed for the CombotBox widget?

2006-06-12 Thread Jeremy Green
Hi Antonio, that looks like exactly the problem I'm having. I haven't tried applying that patch yet, but it sounds like the description of the symptoms I have here. Thanks, Jeremy Antonio Gallardo wrote: Hi Jeremy, Would you confirm this is the issue [1] you are hitting? Best Regards, A

Re: Flowscript and Sitemap Logic

2006-06-12 Thread Antonio Gallardo
Pasha Minallah escribió: Hi, I have a quick question. Once a Flowscript function is called from a matcher, is it then possible to resume sitemap processing and not to have the function return a page or redirect? Hi Pasha, The answer is no. Best Regards, Antonio Gallardo.

Re: For-each in sitemap?

2006-06-12 Thread Sjur Moshagen
Hello Jeroen, Thanks for your help. As I understand your suggestion, the idea is to generate a document with the (C)Include elements required, and then include the dynamically created list of documents with an include transformation. I assume I can replace the JX-template with something e