• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WML in place of html
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WML in place of html


  • Subject: Re: WML in place of html
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 3 Jul 2008 14:21:10 -0400

You can put anything in the .html files, it don't have to be (X)HTML. Put your WML in your component, and just make sure that your component will return the correct MIME Type:

public void appendToResponse(WOResponse response, WOContext context) {
response.setHeader("text/vnd.wap.wml", "Content-Type");
super.appendToResponse(response, context);
}


hallo,
I would like to get wml out of my WebObjects Application.

Can I just rename the .html Files into .wml and put in the right structure or
do I have to do something quite different? I'm still with WO 5.3.


Anyone done that before and can give me some idea?


Regards, Ute



-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >WML in place of html (From: ute Hoffmann <email@hidden>)

  • Prev by Date: WML in place of html
  • Next by Date: Re: DB uniqueness constraints and dealing with them
  • Previous by thread: WML in place of html
  • Next by thread: [ANN] WO 5.4.2 javadoc tarball
  • Index(es):
    • Date
    • Thread