...
- iphone/ <- iphone specific jsps
- iui/ <- iphone related images, js, and css files
- src/ <- source code
- xsls/ <- pentaho-solutions iphone xsl's
- readme.txt
- build.properties
- build.xml
- pentaho-iphone.jar
Step 2:
Copy pentaho-iphone.jar to the Pentaho WebApp WEB-INF/lib directory In Pentaho BI Server 3.0, this is located in biserver-ce/tomcat/webapps/pentaho/WEB-INF/lib. This jar contains two specific iPhone classes. First, a new servlet filter has been created to detect iPhone requests and re-route those requests to the correct iPhone view. Second, an extension to Pentaho's ViewAction servlet has been created to allow the parameter forms to render correctly on the iPhone.
...
Copy the iphone directory to the Pentaho WebApp root. This directory contains all the necessary Java Server Pages (JSPs) to render the iPhone view correctly. I used the iui project (http://code.google.com/p/iui/) to render the user interface, with only slight modifications. If you'd like to customize the Home Page or Login Page, this is the place to go.
UPDATE FOR BI SUITE 3.6 INSTALLATIONS OR HIGHER:
Replace the Login.jsp (Login.jsp) and Navigate.jsp (Navigate.jsp) with the ones that found under attachments in this page.
Step 4:
Copy the iui directory to the Pentaho Style WebApp root. In Pentaho BI Server 3.0, this is located in biserver-ce/tomcat/webapps/pentaho-style. This directory contains all the necessary javascript and css to render the iPhone view correctly.
...
- Add the following filter to the end of the filter list. Look for the term
"insert additional filters":
Code Block <filter> <filter-name>Pentaho iPhone Filter</filter-name> <filter-class>org.pentaho.iphone.PentahoiPhoneFilter</filter-class> </filter>
- Add the following filter mapping at the end of the filter mapping list, order of filter
mappings matter:
Code Block <filter-mapping> <filter-name>Pentaho iPhone Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
- Change the ViewAction "servlet-class". IMPORTANT! This step does not apply to BI Suite Installations 3.6 or higher:
Code Block org.pentaho.iphone.PentahoiPhoneViewAction
...
Other than the Login, Navigation, and Parameter Forms, no changes were necessary to the Pentaho Platform. This is due to the combination of Pentaho rendering in standard formats, and the iPhone being able to render standard HTML and PDF pages.
For more interesting iPhone apps visit http://www.intellectsoft.net