All
All
Projects
Snippets
Go
Explore
Home
About
Get Involved
IP
Legal
Interact With Us
Blog
Webinars
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Explore
Home
About
Get Involved
IP
Legal
Interact With Us
Blog
Webinars
Resources
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Resources
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Projects
Snippets
Collaboration Today
Sign In
Username
Password
Forgotten your login credentials?
Login
Register
All
All
Projects
Snippets
Go
Blackberry Support for XPages Mobile Controls
Posted by
Niklas Heidloff
on
July 22, 2010
My collegue Yoshiroh Kamiyama is the original author of the dojox/mobile code in
Dojo 1.5
. Kamiyama has now extended that code to also support Blackberry browsers before Blackberry will support webkit (see
here
).
In order to get this to work Kamiyama had to identify issues and missing functionality and figure out workarounds whenever possible. For example you cannot have spaces in the viewport tag (see
here
), dojo.require doesn't work since xhr is not supported which is why all JS code needs to be merged in one file, you cannot use CSS sprites, the fade animation doesn't work, dojo.hash doesn't seem to work, etc.
Finding out these things was not easy. Thanks a lot to Kamiyama.
Since Dojo 1.5 was just released that code won't make Dojo 1.5 but we need to look if and when this could be delivered to a future Dojo release. There is also a significant amount of testing required since only one simulator was tested so far.
I've extended slightly the
XPages Mobile Controls
so that the core controls like mView and mDocumentContainer work. Essentially I only had to change some code that manipulates the client side DOM.
Here is a quick demo. Don't get distracted by the iPhone style. The style can easily be changed with the dojox/mobile framework:
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus