Re: [OT] developing for the iPhone
Re: [OT] developing for the iPhone
- Subject: Re: [OT] developing for the iPhone
- From: Miguel Arroz <email@hidden>
- Date: Tue, 3 Jul 2007 16:50:24 +0100
Hi!
1) I don't know, but it's quite probable. Buy an iPhone, and
analyse the request! :)
2) The only thing I know of is <http://www.freemacware.com/iphone-
simulator/>. I think it only simulates the window size, and nothing
else, but it might help.
3) Put this in your Application() method:
// This is necessary because the default request handler is "wo", not
"wa".
// This means that the defaulg handler will create the "main"
component, not
// call the "main" direct acion. That would create a session for
every hit
// in the index page, which is obviously not good. This line avoids
that.
setDefaultRequestHandler(requestHandlerForKey
(directActionRequestHandlerKey()));
This way, when you open the URL of your app, you will execute the
Main direct action.
Yours
Miguel Arroz
On 2007/07/03, at 16:28, Baiss Eric Magnusson wrote:
1) How do I decode the WORequest to know that it is an iPhone on
the client side?
2) Is there a "simple" way to use the iPhone against my development
environment so I can test before deploying? I could solve (1) if I
could do this.
3) Can I intercept the call to "Main", the stack crawl shows only
framework calls, I thought I got the call in
WODirectAction.defaultAction, but I don't, and I think I want a
Login WOComponent (i.e. Main) specific to the iPhone?
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com
This email sent to email@hidden
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
_______________________________________________
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