Antwort: Serving wbmp images in cocoon

2002-02-08 Thread Richard Gfrerer



If you use apache, check mime-types, too.

image/vnd.wap.wbmp  wbmp

Richard





[EMAIL PROTECTED] (Sean Malone) am 07.02.2002 21:37:54

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie: (Blindkopie: Richard Gfrerer/DEBIS/EDVG/AT)

Thema:Serving wbmp images in cocoon



Hi, I am using cocoon to deliver wml, in one of my stylesheets i have img
src=images/imagename.wbmp alt=alt text/
this does not seem to work from cocoon, I always get the alt text. Any ideas
?

Thanking you in anticipation


-
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]




Antwort: Problem with my XSP page interact with WML

2002-01-10 Thread Richard Gfrerer



Hi,

I had some posting-troubles in wml, too. So i decided to URLencode it.
Something like that worked.

p
  yourName:
  input maxlength=10 title=yourName: name=yourName type=text/
 a href=result?yourName=$(yourName:escape)
  [send]/a
/p



  xsl:template match=input
p
  yourName:
  input type=text name=yourName title=yourName: maxlength=10/
  a
xsl:attribute name=hrefxsl:value-of
select=$result_page/?yourName=$(yourName:escape)/xsl:attribute
  [senden]/a
/p
  /xsl:template

Richard




[EMAIL PROTECTED] (Stanley Ho) am 10.01.2002 02:28:22

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie: (Blindkopie: Richard Gfrerer/DEBIS/EDVG/AT)

Thema:Problem with my XSP page interact with WML



I have a problem to get the request-parameter
postfield in my WML code for my XSP page. I use
cocoon 1.8.2. But i can able to get the parameter in
my stylesheet as a xsl:param name=username/
WHY? I test under HTML, it's OK. I hope u can help
me..

This is the code:
?xml version=1.0?
!DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN
http://www.wapforum.org/DTD/wml_1.1.xml;

wml
card
 do type=accept
  go
href=http://localhost:8080/cocoon/TGV/test.xml?search=1;
method=post
   postfield name=username value=$(var)/
  /go
 /do
 p
  Enter CustID
  input name=var /
 /p

/card
/wml

In my xsp page i write:
?xml version=1.0?


?cocoon-process type=xslt?
?xml-stylesheet href=stylesheet/wap/test-wml.xsl
type=text/xsl media=wap?

xsp:page
  language=java
  xmlns:xsp=http://www.apache.org/1999/XSP/Core;
  xmlns:esql=http://apache.org/cocoon/SQL/v2;

xmlns:request=http://www.apache.org/1999/XSP/Request;


...

page

 prequest:get-parameter-values
name=username//p

/page


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-
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]