...
Modify your Pentaho WebApp WEB-INF/web.xml with the following changes. This step includes adding the new iPhone Filter and Overriding the ViewAction servlet. The final edit of the web.xml file is to make sure you modify the base-url context parameter to reference -
- 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" to:
Code Block org.pentaho.iphone.PentahoiPhoneViewAction
Step 7:
Modify your pentaho-solutions/system/pentaho.xml file. This step prevents Components from overriding the iPhone Parameter Form.
...