Re: XMLForm - xf:repeat tag on DOM Nodes?

2002-11-09 Thread Ivelin Ivanov
- Original Message - From: "Josema Alonso" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 09, 2002 6:32 PM Subject: Re: XMLForm - xf:repeat tag on DOM Nodes? > Stupid me, I sent the code snippet before fix it. That's what I meant > exactly, and it's working good. I

[OFF-TOPIC] WAP 2.0 and XHTMLMP vrs. WML

2002-11-09 Thread Antonio A. Gallardo Rivera
Hi, I am currently reading "the book" of Carsten and Matthew. I have interest in the support of the WAP technology and similars with Cocoon. Of course to use it we must to know this technologies too. Well, thanks to "the book", I am now buying new books about SVG and XSL-FO. To learn about this t

Re: URL Theory & Best Practices

2002-11-09 Thread Miles Elam
Nevermind. I take it all back (well...some of it). I admit that the trailing slash is an artifact of my experience and not of utility. Damned mailing lists...you can't remove things you wish you hadn't said. Accountability's overrated. ;-) - Miles Miles Elam wrote: Justin Fagnani-Bell wrot

Re: URL Theory & Best Practices

2002-11-09 Thread Miles Elam
Justin Fagnani-Bell wrote: This is where we differ slightly. In my mind /a/b/ is the intrinsic resource. /a/b/index.html is the explicit call for HTML represention of /a/b/. If you redirect a client to /a/b/index.html and the client bookmarks it, they are bookmarking the HTML representatio

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

2002-11-09 Thread Ivelin Ivanov
- Original Message - From: "Josema Alonso" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 09, 2002 5:35 PM Subject: Re: how to manage several XMLForms in a sitemap? (it was: dynamically choosing an action at runtime) > > I am not sure if I would do this like you did

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

2002-11-09 Thread Josema Alonso
> I am not sure if I would do this like you did. > There are is a certain lifecycle contract between every Cocoon component and > the container. > By invoking directly you may be violating this contract. > I would probably let the sitemap do the forwarding to actions. > In your case action sets mig

Re: XMLForm - xf:repeat tag on DOM Nodes?

2002-11-09 Thread Josema Alonso
Stupid me, I sent the code snippet before fix it. That's what I meant exactly, and it's working good. I just had some incorrect mappings in the model. You know? It took me a lot of time to understand this whole XMLForms thingie of you. Now that it seems I know what I'm doing I must say I really li

Re: URL Theory & Best Practices

2002-11-09 Thread Justin Fagnani-Bell
On Saturday, November 9, 2002, at 12:08 PM, Miles Elam wrote: Tony Collen wrote: Comments inline... Miles Elam wrote: But can't delivered types differ by the incoming client? Yes, but a problem then arises when someone is using IE and they want a PDF, when your user-agent rules will onl

Re: URL Theory & Best Practices

2002-11-09 Thread Antonio A. Gallardo Rivera
Erik Bruchez dijo: >> Uh-oh I'm catching some bad vibs... Can someone do me a favour of >> going to http://www.kjernsmo.net/ with IE6 and see what happens? >> > I don't think IE ignores the content-type header. It may be more lax > than NS when it sees a file extension, but the home page of y

Re: URL Theory & Best Practices

2002-11-09 Thread Antonio A. Gallardo Rivera
I dont know if MS IE 6.0 is standard compliant of not. I dont care. I think MS IE try to be compliant. I develop under Linux. But I know too that MS IE 6.0 is the most used browser in the world. Then? I also check the MS IE presentation. I dont want to continue this polemic about if this will work

Re: URL Theory & Best Practices

2002-11-09 Thread Kjetil Kjernsmo
On Saturday 09 November 2002 23:57, Barbara Post wrote: > Oh, I get 406 code, I didn't know this one !! > I have IE6 SP1 on Windows 2000 Pro. Hehe, oh well, that's another browser quirk, but a much less serious so. I use language negotation too, so what everybody _should_ do is go into their set

Re: URL Theory & Best Practices

2002-11-09 Thread Barbara Post
Oh, I get 406 code, I didn't know this one !! I have IE6 SP1 on Windows 2000 Pro. Babs -- website : www.babsfrance.fr.st ICQ : 135868405 - Original Message - From: "Kjetil Kjernsmo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 09, 2002 11:42 PM Subject: Re: URL Theo

Re: URL Theory & Best Practices

2002-11-09 Thread Erik Bruchez
Uh-oh I'm catching some bad vibs... Can someone do me a favour of going to http://www.kjernsmo.net/ with IE6 and see what happens? I don't think IE ignores the content-type header. It may be more lax than NS when it sees a file extension, but the home page of your site does not have any. Th

Re: URL Theory & Best Practices

2002-11-09 Thread Kjetil Kjernsmo
On Saturday 09 November 2002 23:41, Antonio A. Gallardo Rivera wrote: > The true is that I wrote. If you dont believe me, I recommend you to > check the archive of this mailing list. This was not my fault. Not > only I found this error many other people had the same problem with > IE 6.0 SP1. I fig

Re: Umlauts in cocoon 2.0.2

2002-11-09 Thread Antonio A. Gallardo Rivera
I recommmend you to check the mail archives fo this list with the keyword "Umlauts". There is a summary about this problem. Antonio Gallardo Braun dijo: > I have the problem with german Umlauts in request parameters. > When I transfer german Umlauts by request paramaters cocoon doesn't > decode t

Re: URL Theory & Best Practices

2002-11-09 Thread Antonio A. Gallardo Rivera
The true is that I wrote. If you dont believe me, I recommend you to check the archive of this mailing list. This was not my fault. Not only I found this error many other people had the same problem with IE 6.0 SP1. I fighted with generation of PDF the content for a day after I realize that the ext

Re: Serializer for d-o-e?

2002-11-09 Thread Sylvain Wallez
J.Pietschmann wrote: > Lenz, Evan wrote: > >> I understand why Cocoon disables the use of disable-output-escaping >> in XSLT. >> However, in my current project, which involves parsing XML results from >> Google containing escaped (and non-well-formed) HTML, I need to find >> a way >> to disable ou

Re: Testing for the *presence* of a particular request parameter

2002-11-09 Thread Antonio A. Gallardo Rivera
Lenz, Evan dijo: > I need to test for the presence of a particular request parameter. In > particular, I want to write my sitemap such that the following URLs will > behave as described: > > /search -> loads the search page > /search?q=blah -> displays search results > /search?q= ->

Re: Accessing the output of a modular db action in xsl

2002-11-09 Thread Phil Craven
I tried that as well, and only row-count would come through, I was unable to get the selected parameters even though I used so what would the correct map:parameter look like to get at the output of a mod-db select. Just to reiterate I appologize for being dense and greatly appreciate th

Re: URL Theory & Best Practices

2002-11-09 Thread Kjetil Kjernsmo
On Saturday 09 November 2002 21:33, Miles Elam wrote: > Antonio A. Gallardo Rivera wrote: > >Kjetil Kjernsmo dijo: > >>On Thursday 07 November 2002 23:57, Tony Collen wrote: > >>>However, later I realize that using file extensions is "bad". > >>> Read http://www.alistapart.com/stories/slashforward

Re: URL Theory & Best Practices

2002-11-09 Thread Miles Elam
Antonio A. Gallardo Rivera wrote: Kjetil Kjernsmo dijo: On Thursday 07 November 2002 23:57, Tony Collen wrote: However, later I realize that using file extensions is "bad". Read http://www.alistapart.com/stories/slashforward/ for more info on this idea. I know about that. The the

Umlauts in cocoon 2.0.2

2002-11-09 Thread Braun
I have the problem with german Umlauts in request parameters. When I transfer german Umlauts by request paramaters cocoon doesn't decode the Umlauts encoding when I use these Umlauts in my xml-documents or stylesheets. I set already all my encodings to ISO-8859-1.

Testing for the *presence* of a particular request parameter

2002-11-09 Thread Lenz, Evan
I need to test for the presence of a particular request parameter. In particular, I want to write my sitemap such that the following URLs will behave as described: /search -> loads the search page /search?q=blah -> displays search results /search?q= -> empty results, or the search pa

Re: URL Theory & Best Practices

2002-11-09 Thread Antonio A. Gallardo Rivera
Kjetil Kjernsmo dijo: > Hi! > > Interesting thread! Most things has been said allready, but I'll just > add a little .02 (whatever currency) :-) > > On Thursday 07 November 2002 23:57, Tony Collen wrote: > >> However, later I realize that using file extensions is "bad". Read >> http://www.alistapa

Re: URL Theory & Best Practices

2002-11-09 Thread Miles Elam
Tony Collen wrote: Comments inline... Miles Elam wrote: But can't delivered types differ by the incoming client? Yes, but a problem then arises when someone is using IE and they want a PDF, when your user-agent rules will only serve a PDF for FooCo PDF Browser 1.0. IMO browsers should res

Re: XMLForm - xf:repeat tag on DOM Nodes?

2002-11-09 Thread Ivelin Ivanov
You probably meant to use: Language (code): Description: I would also recommend that you use the standard xml:lang attribute instead of a non-qualified one. Ivelin - Original Message - From: "Josema Alonso" <[EMAIL PROTECTED]> To: "Cocoon-Users" <[EM

XMLForm - xf:repeat tag on DOM Nodes?

2002-11-09 Thread Josema Alonso
Dear all, I see in thw wizrd demo how the repeat tag is used like this: URL: In the model bean the favorite is implemented as an array list, so you can iterate through it using the position function and specifying how many items to display. Well, now I got a part of my model implmented

Cocoon XSL performance in Tomcat vs Weblogic

2002-11-09 Thread Ulf Åkerberg
    In our development environment with Cocoon in Tomcat XSL processing is  fast, the same application deployed in Weblogic 6.1 SP3 takes about 5 times more time to do the XSL part.   In Tomcat it takes about 1 second , in Weblogic 5 seconds on a much faster machine. Other operations r

Resin (parser?) problem

2002-11-09 Thread Danny Ayers
Hi, I've got a problem getting Cocoon 2 (from the bin download) running on Resin (2.1 I think). A Tomcat install of the same download works (mostly) ok. I followed the appropriate instructions on a local install and got the error below when I pointed a browser at ../cocoon. I'm guessing this is re

Re: Redirect in XSP

2002-11-09 Thread Ludovic de Beaurepaire
Hi Neil, It is not very clean, but if you don't find another solution, you can read in you Action the file content/table_names.xml to find your URL (if it is a static file, you do it once). You can so add it in a sitemap parameter. Ludovic - Original Message - From: "Neil A" <[EMAIL PROT

Re: Redirect in XSP

2002-11-09 Thread Neil A
Thanks Joerg and Artur, but in my case I'm building for WAP. Unfortunately the WML equivalent of your client side redirect crashes early Nokia 7110 phones. I really want to use but my URL is in the XML of the pipeline and I can't get it into a sitemap parameter: Actions c

Re: URL Theory & Best Practices

2002-11-09 Thread Kjetil Kjernsmo
Hi! Interesting thread! Most things has been said allready, but I'll just add a little .02 (whatever currency) :-) On Thursday 07 November 2002 23:57, Tony Collen wrote: > However, later I realize that using file extensions is "bad". Read > http://www.alistapart.com/stories/slashforward/ for m