Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Markdelanoy
I'm aware of the license usage in terms of the copyright protection as well as the apache branding trademark. But the XSP trademark may fall under common law trademark, e.g. if you've been using it first for years (and XSP has been around and has been documented (news, articles, etc.)) then the

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Markdelanoy
copyright vs trademark. yes your right in that the branding concepts I was lumping under copyright. Really the apache license covers the copyright so that's golden. the branding (e.g. xsp) is under the trademark concept. As I said there's nothing on the website stating trademark infringement

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Markdelanoy
Forgetting the fact that this appears to be an obvious ripoff of cocoon... what legal recourse does apache (host of the cocoon project and implementor of the apache license) have over these guys. I mean is cocoon copyrighted and/or any of the proprietary concepts, e.g. XSP, etc. In looking at

Re: Displaying 'progress' screen for long running reports

2002-11-08 Thread Markdelanoy
Well one possible solution is for the report generator to write a file to the hard drive on the web server The browser would poll cocoon (action/xsp/..) to check if the file exists or not. if so then return the generated report file otherwise return the status page. As to the status page, it

Re: how to manage several XMLForms in a sitemap? (it was: dynamically choosing an action at runtime)

2002-11-05 Thread Markdelanoy
Well I can explain what I've done which matches your requirements but the implementation I suspect is quite different. First some issues I had. 1.) I like the XFORMS concept but... didn't like the fact that I couldn't represent non-forms widgets, e.g. page banners, table of contents, footers, bu

Re: Authentication Resource

2002-11-05 Thread Markdelanoy
You'll need to confirm this but look in cocoon's sitemap.log. You should see the pipeline parameters being passed around. in the sitemap your passing cocoon parameters but in the XSP your looking in the HTTP request. Try looking in the parameters, e.g. parameters.getParameter( name ); paramet

Re: Ldap authentication

2002-11-05 Thread Markdelanoy
Too be honest I started using cocoon three months ago and am following a very iterative process to eventually start talking to the db, e.g. do the look and feel, validation, security, etc. were done first. I had initially tried to get it running but even the sample authentication seemed busted.

Re: Pulling XML data out of database

2002-11-05 Thread Markdelanoy
Well you could probably write another transformer (to be placed after the SQLTransformer in the pipeline) that would change the escaped charactors into < > ... It could also look for the second and not pass it through. That's kind of brutal coding IMO. Another option may be XSP with the util

Re: Ldap authentication

2002-11-05 Thread Markdelanoy
Look @ the cocoon documentation, e.g. Developer Documentation/ Developing Webapps/Authentication e.g. cocoon's authentication framework. and then for doing customized authentication (using LDAP, SQL, etc.) look at the authentication resource for where you put your code. MD --

Re: Authentication Resource

2002-11-05 Thread Markdelanoy
You've got the XSP but what does the sitemap look like?? - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[

Re: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Markdelanoy
"Shall this information be in the authentication framework documentation." I'm not sure what you mean by that. If your referring to my saying you should use the release version versus the scratchpad version... I'd take release version as presumeably scratchpad development would stop. beyond t

Re: Retrieving user data from portal

2002-11-04 Thread Markdelanoy
I personally don't use it, but remember going through the authentication code and seeing it. I'm not certain how well documented this is but take a look in Developer Section/webapps/session. There's probably some mention there. If not or not sufficient to your liking there's always the code.

Re: Authentication: redirect

2002-11-04 Thread Markdelanoy
I did a hack because as you say currently the examples only work for a particular "url"/file/resource. I actually pass the resource given to me and store it within the login page as a hidden field. When the user submits username, password/etc this will come along too. Then if authenticated

Re: Retrieving user data from portal

2002-11-04 Thread Markdelanoy
Look at the SessionTransformer. It retrieves it. Really session, authentication and the portal all work together. MD - Please check that your question has not already been answered in the FAQ before posting.

Re: Ldap authentication

2002-11-04 Thread Markdelanoy
If you want to use the authentication framework look at the authenticate resource. You'll get passed in a password/username and really anything else you had in your login page. Then within the authenticate resource you can call LDAP. the resource can be a cocoon pipeline or some external reso

Re: Ldap authentication

2002-11-04 Thread Markdelanoy
If you want to use the authentication framework look at the authenticate resource. You'll get passed in a password/username and really anything else you had in your login page. Then within the authenticate resource you can call LDAP. the resource can be a cocoon pipeline or some external reso

Re: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Markdelanoy
sunrise I believe was the prototype, e.g. scratchpad, for the authentication framework. You should probably not use it. MD - Please check that your question has not already been answered in the FAQ before posting.

Re: [sitemap] Passing parameters to XML

2002-10-29 Thread Markdelanoy
I'm not sure why that's not working as I use that concept all the time. I typically create actions that pull from the request object ,e.g. getParameter but action vs XSP shouldn't matter. ??? MD - Please check that your quest

Re: Using SOAP Response in logic

2002-10-29 Thread Markdelanoy
You might want to post your sitemap as well as the code used. It's hard to picture your problem without more contextual info such as code. Are you using XSP?? That would be the generator creating dynamic XML. Unless I missed the point of your question. thanks, md ---

Re: XML to Excel file

2002-10-28 Thread Markdelanoy
Look at the POI project on jakarta.apache.org specifically HSSF. You'd need to parse the XML yourself but POI allows you to read/write Excel files. MD - Please check that your question has not already been answered in the FAQ b

Re: [C 2.1 CVS] - About roles in user Authentication

2002-10-17 Thread Markdelanoy
Looking in the authentication code, the role doesn't appear to be used other than it's placed in the session context for future use. So... 1.) you can make use of it somehow by accessing the session context (authorization I believe) 2.) use the portal (cocoon's) as i'm fairly certain it's used

Re: [Q] Pipeline best practices

2002-10-14 Thread Markdelanoy
To be honest, I circumvented this whole issue by having as few pipelines as possible. Basically I use action or event id's that point to metadata files. The metadata files have all the information how to build a portal page, I then use WSUI (wsui.org) files to describe each of the portlets.

Re: [Q] Pipeline best practices

2002-10-13 Thread Markdelanoy
Another issue of having too many pipelines. As i understand in the sitemap is generated into a java class. And the various matchers within a pipeline(s) are really a bunch of if-else if statements. So the more matchers you have (to match to a pipeline or various paths within a pipeline) you

Re: sunRise User Administration for Dummies

2002-10-12 Thread Markdelanoy
I've looked at the user admin and the authentication in general. (not the sunrise scratchpad but what's now in the main branch). As best as I can figure there's a generator that works with the AuthenticationManager to create an interactive page to get users, a user, roles, a role, create a use

Re: Convert XMLFragment to DOM node

2002-10-12 Thread Markdelanoy
I'm not sure if anyone answered this... But a couple of things 1.) what's a XMLFragment -> is this a cocoon class??? And what really is an XMLFragment, e.g. is it a org.w3c.dom.DocumentFragment. If so a DocumentFragment is already a node so no need for a conversion. DocumentFragments are use

Re: RE: Handler information not found

2002-09-27 Thread Markdelanoy
Last month this thread went on for a bit and then died out. I wondering if there was a fix to the solution, e.g. using the auth-protect action I've protected a set of pages. When the user is not logged in, the login page correctly shows up, and then the authentication resource is called. Aft