Versions Compared

Key

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

...

Download and unzip the pentaho-iphone-techtip project, The following files should be there:

  • 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
     

...

  • 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
    

...

Modify your pentaho-solutions/system/pentaho.xml file.  This step prevents Components from overriding the iPhone Parameter Form.  -

  • remove the "<default-parameter-xsl>DefaultParameterForm.xsl</default-parameter-xsl>"
        line from the pentaho.xml.  Note, if you use custom parameters in any action
        sequences, you will need to specify the default parameter in subsequent components.

Step 8:

Start your Server!  If running the PCI in JBoss, make sure to specify the binding information, ie "-b 168.192.0.1", so your iPhone can access JBoss.  Modify the line "jboss/run.bat" or "jboss/run.sh" in start-pentaho.sh or start-pentaho.bat. Please see this article for more information on specifying an external hostname:

...