RE: Cocoon2: select with 'accepts()'

2002-02-19 Thread Sean Malone

There are only a limited number of wap browsers out there, most use the
phone.com, the default selector covers the majority.

-Original Message-
From: Johannes Koch [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2002 20:49
To: [EMAIL PROTECTED]
Subject: Re: Cocoon2: select with 'accepts()'


Sean Malone schrieb:
>
> You should use
>
>  
>
>  this will be true when you open the url using the Nokia emulator
>  look at the default selector in sitemap.xmap

Sure it is for Nokia emulator. But I _don't_ want to add each and every
wap browser's User-Agent to  (and forget one or another).
So: how can I make Stefano's example working?
--
Johannes Koch  . IT Developer
Pixelpark AG   . http://www.pixelpark.com
Rotherstraße 8 . 10245 Berlin  .  Germany
phone: +49 30 5058 - 1288  .  fax: - 1355

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon2: select with 'accepts()'

2002-02-18 Thread Johannes Koch

Sean Malone schrieb:
> 
> You should use
> 
>  
> 
>  this will be true when you open the url using the Nokia emulator
>  look at the default selector in sitemap.xmap

Sure it is for Nokia emulator. But I _don't_ want to add each and every
wap browser's User-Agent to  (and forget one or another).
So: how can I make Stefano's example working?
-- 
Johannes Koch  . IT Developer
Pixelpark AG   . http://www.pixelpark.com
Rotherstraße 8 . 10245 Berlin  .  Germany
phone: +49 30 5058 - 1288  .  fax: - 1355

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Cocoon2: select with 'accepts()'

2002-02-18 Thread Sean Malone

You should use

 

 this will be true when you open the url using the Nokia emulator
 look at the default selector in sitemap.xmap

-Original Message-
From: Johannes Koch [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2002 19:20
To: cocoon-users Mailingliste
Subject: Cocoon2: select with 'accepts()'


Hi there,

in [1] Stefano Mazzocchi gives the following example:


 
 
  
   
  
  
   
  
 


He uses 'accepts()' in the value for the test attribute.

I tried the following with no success (Cocoon 2.0 on Tomcat 4.0, Win NT
4.0 SP6):


  
  

  
  


  
  

  


I used the Nokia Mobile Toolkit. The string 'text/vnd.wap.wml' is part
of the Accept Header. But the HTML version was served. What is wrong
with my example?

[1] http://www.xml.com/lpt/a/2002/02/13/cocoon2.html
--
Johannes Koch  . IT Developer
Pixelpark AG   . http://www.pixelpark.com
Rotherstraße 8 . 10245 Berlin  .  Germany
phone: +49 30 5058 - 1288  .  fax: - 1355

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Cocoon2: select with 'accepts()'

2002-02-18 Thread Johannes Koch

Hi there,

in [1] Stefano Mazzocchi gives the following example:


 
 
  
   
  
  
   
  
 


He uses 'accepts()' in the value for the test attribute.

I tried the following with no success (Cocoon 2.0 on Tomcat 4.0, Win NT
4.0 SP6):


  
  

  
  


  
  

  


I used the Nokia Mobile Toolkit. The string 'text/vnd.wap.wml' is part
of the Accept Header. But the HTML version was served. What is wrong
with my example?

[1] http://www.xml.com/lpt/a/2002/02/13/cocoon2.html
-- 
Johannes Koch  . IT Developer
Pixelpark AG   . http://www.pixelpark.com
Rotherstraße 8 . 10245 Berlin  .  Germany
phone: +49 30 5058 - 1288  .  fax: - 1355

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>