<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://mooncatventures.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Iphone Developers Blog</title><subtitle type="html" /><id>http://mooncatventures.com/blogs/iphone/atom.aspx</id><link rel="alternate" type="text/html" href="http://mooncatventures.com/blogs/iphone/default.aspx" /><link rel="self" type="application/atom+xml" href="http://mooncatventures.com/blogs/iphone/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20423.869">Community Server</generator><updated>2008-05-25T11:15:00Z</updated><entry><title>Tagalong new Ui prototype</title><link rel="alternate" type="text/html" href="http://mooncatventures.com/blogs/iphone/archive/2008/12/10/tagalong-new-ui-prototype.aspx" /><id>http://mooncatventures.com/blogs/iphone/archive/2008/12/10/tagalong-new-ui-prototype.aspx</id><published>2008-12-11T05:45:00Z</published><updated>2008-12-11T05:45:00Z</updated><content type="html">&lt;p&gt;Here&amp;#39;s the new prototype.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is a static prototype showing what the interface will look like.&lt;/p&gt;
&lt;p&gt;The UI was constructed using dashcode , the code was then exported and compressed using the compressor classes provided in the icefaces bundle. The java script is loaded via custom icefaces component. A lot more functionality needs to be added to the component, so far only the loading of the supporting javascript is coded.&lt;/p&gt;
&lt;p&gt;Here&amp;#39; some photos of the prototype. And if you have an Iphone you can give it a try yourself. &lt;a class="" href="http://web.me.com/cannonwc/Site_2/Photos.html"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; IphoneHelper &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;extends&lt;/font&gt;&lt;font size="2"&gt; UIInput {&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;final&lt;/font&gt;&lt;font size="2"&gt; String &lt;/font&gt;&lt;font color="#0000c0" size="2"&gt;COMPONENET_TYPE&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#2a00ff" size="2"&gt;&amp;quot;com.icesoft.faces.IphoneHelper&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;final&lt;/font&gt;&lt;font size="2"&gt; String &lt;/font&gt;&lt;font color="#0000c0" size="2"&gt;DEFAULT_RENDERER_TYPE&lt;/font&gt;&lt;font size="2"&gt; =&lt;/p&gt;&lt;/font&gt;&lt;font color="#2a00ff" size="2"&gt;&amp;quot;com.icesoft.faces.IphoneHelper&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;final&lt;/font&gt;&lt;font size="2"&gt; String &lt;/font&gt;&lt;font color="#0000c0" size="2"&gt;COMPONENT_FAMILY&lt;/font&gt;&lt;font size="2"&gt; =&lt;/p&gt;&lt;/font&gt;&lt;font color="#2a00ff" size="2"&gt;&amp;quot;javax.faces.IphoneHelper&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; IphoneHelper() {&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;super&lt;/font&gt;&lt;font size="2"&gt;();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;McvJavascriptContext.includeLib(McvJavascriptContext.PARTS_EXTRAS,&lt;/p&gt;
&lt;p align="left"&gt;FacesContext.getCurrentInstance());&lt;/p&gt;System.&lt;/font&gt;&lt;font color="#0000c0" size="2"&gt;out&lt;/font&gt;&lt;font size="2"&gt;.println(&lt;/font&gt;&lt;font color="#2a00ff" size="2"&gt;&amp;quot;mcv context loaded&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;}&lt;/p&gt;
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; String getFamily() {&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;return&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000c0" size="2"&gt;COMPONENT_FAMILY&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;}&lt;/p&gt;
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; String getRendererType() {&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#7f0055" size="2"&gt;return&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000c0" size="2"&gt;DEFAULT_RENDERER_TYPE&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p align="left"&gt;}&lt;/p&gt;
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;img src="http://mooncatventures.com/aggbug.aspx?PostID=26" width="1" height="1"&gt;</content><author><name>michelle</name><uri>http://mooncatventures.com/members/michelle.aspx</uri></author></entry><entry><title>Apple lifts the nda</title><link rel="alternate" type="text/html" href="http://mooncatventures.com/blogs/iphone/archive/2008/10/08/apple-lifts-the-nda.aspx" /><id>http://mooncatventures.com/blogs/iphone/archive/2008/10/08/apple-lifts-the-nda.aspx</id><published>2008-10-08T22:57:00Z</published><updated>2008-10-08T22:57:00Z</updated><content type="html">&lt;p&gt;Apple has lifted the non disclosure agreement on us developers, so we can actually start talking about developing on the iphone. DashCode is a module of the xcode development ide. Dashcode is used to create web applications. DashCode uses an extensive helper library of js functions, exposing the most of the iphone UI . But parts is comprised of many small js files in a &amp;quot;parts&amp;quot; directory, this makes it difficult to use it in a custom icefaces control. But there is a way to easily add parts or other libraries like yahoo to an icefaces components project. Combine and compress it like icefaces does with the bridge. &lt;/p&gt;
&lt;p&gt;if you look in the bridge directory you will see a compressor.jar file and build.xml &lt;/p&gt;
&lt;p&gt;Whats not apparent is that you can substitute your own javascript files and create your own parts-extra file. &lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;target name=&amp;quot;build.bridge&amp;quot; depends=&amp;quot;copy, compress&amp;quot; description=&amp;quot;Collate bridge code&amp;quot;&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;delete file=&amp;quot;${script}&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;concat destfile=&amp;quot;${script}&amp;quot; append=&amp;quot;yes&amp;quot; fixlastline=&amp;quot;yes&amp;quot; force=&amp;quot;no&amp;quot;&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;filelist dir=&amp;quot;${build.dir}/lib/extras&amp;quot;&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;List.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;setup.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;Text.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;ActivityIndicator.js&amp;quot; /&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;Transitions.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;ButtonHandler.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;StackLayout.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;Transitions.css&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;utilities.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;/filelist&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;filelist dir=&amp;quot;${build.dir}/component&amp;quot;&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;file name=&amp;quot;menu.js&amp;quot;/&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;/filelist&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;/concat&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;/target&amp;gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now from a teminal window in os X or the command prompt in windows. Execute : ant in the directory with the build.xml file. If you did this correctly you now have all the helper js fiiles in one compressed files. parts-extras you can add this to the javascriptContext located in your componets jar file. Like described here. &lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://web.mac.com/cannonwc/component_writing/Blog/Entries/2008/6/2_Loading_background_javascript.html"&gt;http://web.mac.com/cannonwc/component_writing/Blog/Entries/2008/6/2_Loading_background_javascript.html &lt;/a&gt;&lt;/p&gt;&lt;img src="http://mooncatventures.com/aggbug.aspx?PostID=18" width="1" height="1"&gt;</content><author><name>michelle</name><uri>http://mooncatventures.com/members/michelle.aspx</uri></author></entry><entry><title>tutorial followup</title><link rel="alternate" type="text/html" href="http://mooncatventures.com/blogs/iphone/archive/2008/06/05/tutorial-followup.aspx" /><id>http://mooncatventures.com/blogs/iphone/archive/2008/06/05/tutorial-followup.aspx</id><published>2008-06-06T04:19:00Z</published><updated>2008-06-06T04:19:00Z</updated><content type="html">&lt;p&gt;In reviewing our plans to do a tutorial on building the listviewTab control we realized that that particular component may be to complex for a beginning tutorial. There will be a tutorial on the listviewTab , just not yet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The developement team just uploaded to our svn repository the latest source for listviewTab but in additon they uploaded the first source files for iphonehelper.&lt;/p&gt;
&lt;p&gt;Let me explain.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The common way to build an iphone application is to use a really nice javascript template built on prototype, called IUI by Joe Hewit . However you still need to handcode all the ajax, ie. the xmlhttrequest, at least the prototype versions of those.&lt;/p&gt;
&lt;p&gt;The team wanted to create a direct to dom icefaces component that encapsulates that interface. For this we are building our own version of the datatable called appropriately listviewData. But we realized that we would need an additonal component that acted as container component for multiple listviewData components and that&amp;#39;s what iphonehelper does. eventually it will encapsulate everything IUI does and more. &lt;/p&gt;
&lt;p&gt;IphoneHelper is a fairly simple component, and a nice starting point for a tutorial on writing components.&lt;/p&gt;
&lt;p&gt;The lastest source for iphoneHelper&amp;nbsp;have been uploaded to the mooncatventures svn. Incomplete or test versions will always flow from the mooncatventures svn repository to the sourceforge repository, once the source has completed its initial phase. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now on to the tutorial, Keep in mind that the tutorial is a living document and will evolve over time, the initial tutorial should be completed the week of June 9, 2008&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;.............&lt;a class="" href="http://web.mac.com/cannonwc/component_writing/Blog/Entries/2008/6/7_Icefaces_component_tutorial.html"&gt;click here to go to the tutorial page.&lt;/a&gt;&lt;/p&gt;&lt;img src="http://mooncatventures.com/aggbug.aspx?PostID=16" width="1" height="1"&gt;</content><author><name>michelle</name><uri>http://mooncatventures.com/members/michelle.aspx</uri></author><category term="icefaces" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/icefaces/default.aspx" /><category term="custom jsf" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/custom+jsf/default.aspx" /><category term="jsf components" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/jsf+components/default.aspx" /><category term="tutorials" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/tutorials/default.aspx" /></entry><entry><title>Icefaces components and the iphone.</title><link rel="alternate" type="text/html" href="http://mooncatventures.com/blogs/iphone/archive/2008/05/26/icefaces-components-and-the-iphone.aspx" /><link rel="enclosure" type="image/jpg" length="45004" href="http://mooncatventures.com/blogs/iphone/attachment/9.ashx" /><id>http://mooncatventures.com/blogs/iphone/archive/2008/05/26/icefaces-components-and-the-iphone.aspx</id><published>2008-05-26T18:48:00Z</published><updated>2008-05-26T18:48:00Z</updated><content type="html">&lt;p&gt;Icefaces (&lt;a href="http://www.icefaces.org/"&gt;www.icefaces.org&lt;/a&gt;) is a Canadian company that offers a set of jsf components which encapsulate most of the backend that is needed to do proper ajax applications. Including server Push .&lt;/p&gt;
&lt;p&gt;It seems natual to use this very rich library to develop custom applications for the apple iphone. The icefaces components are open source under an lgpl license. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;In this series of articles the mooncatventures development team will show you how to leverage two powerful icefaces components the panelTabSet and the DataTable tags to build a web enabled uI for our streaming server. The final application will execute under an objective C written webkit browser. To keep our version of the component distinct from the panelTabSet and the DataTable we will superclass these as new components that extend the former. This is so PanelTabSet , DataTables can be used in the same application as the extended iphone version. This article will focus on the custom tab control&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the prototype so &lt;a class="" title="iphone mmc prototyple alpha-1b" href="http://99.139.107.197:8080/selection-tutorial-icetab1" target="_blank"&gt;far.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;of course&amp;nbsp; it looks far different on the iphone. If you own an iphone try the above link on it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://mooncatventures.com/photos/iphone/images/15/original.aspx" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:720px;HEIGHT:471px;" height="471" src="http://mooncatventures.com/sitefiles/1000/iphoneicefaces.JPG" width="720" align="top" alt="" /&gt;&lt;/p&gt;&lt;img src="http://mooncatventures.com/aggbug.aspx?PostID=9" width="1" height="1"&gt;</content><author><name>michelle</name><uri>http://mooncatventures.com/members/michelle.aspx</uri></author><category term="mooncatventures" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/mooncatventures/default.aspx" /><category term="cats" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/cats/default.aspx" /><category term="icefaces" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/icefaces/default.aspx" /><category term="iphone" scheme="http://mooncatventures.com/blogs/iphone/archive/tags/iphone/default.aspx" /></entry><entry><title>Welcome</title><link rel="alternate" type="text/html" href="http://mooncatventures.com/blogs/iphone/archive/2008/05/25/welcome.aspx" /><id>http://mooncatventures.com/blogs/iphone/archive/2008/05/25/welcome.aspx</id><published>2008-05-25T18:15:00Z</published><updated>2008-05-25T18:15:00Z</updated><content type="html">Welcome to the developers Journal&lt;img src="http://mooncatventures.com/aggbug.aspx?PostID=5" width="1" height="1"&gt;</content><author><name>michelle</name><uri>http://mooncatventures.com/members/michelle.aspx</uri></author></entry></feed>