Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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>
    &nbsp; &nbsp;&nbsp;&nbsp; <filter-name>Pentaho iPhone Filter</filter-name>
    &nbsp; &nbsp;&nbsp;&nbsp; <filter-class>org.pentaho.iphone.PentahoiPhoneFilter</filter-class>
    &nbsp; </filter>
    

...

...

  • add the following filter mapping at the end of the filter mapping list, order of filter
        mappings matter:
     
    Code Block
    
    <filter-mapping>
    &nbsp;&nbsp;&nbsp; <filter-name>Pentaho iPhone Filter</filter-name>
    &nbsp;&nbsp;&nbsp; <url-pattern>/*</url-pattern>
    &nbsp; </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.

...