2 Replies Latest reply: Apr 19, 2013 3:55 PM by crimson.sails RSS

    ADF Mobile Browser - Taskflows not supported, include JSPX pages?

    crimson.sails
      I am building an ADF Mobile Browser application that renders a series of tabs. Each tab displays its own set of pages.
      I am trying with a dummy page, but it looks like actions dont work since its an included JSPX.
      Since its ADF Mobile Browser, taskflows are not supported, so I cannot use an af:region.

      What is the right way of implementing a Trinidad panelTabbed with multiple pages?

      <?xml version='1.0' encoding='windows-1252'?>
      <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:trh="http://myfaces.apache.org/trinidad/html"
      xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:dvtt="http://xmlns.oracle.com/dss/trinidad/faces">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
      <trh:html>
      <trh:head>
      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      </trh:head>
      <trh:body>
      <h:form>
      <af:messages id="m1"/>
      <tr:panelTabbed>
      <tr:showDetailItem text="Tab1" rendered="#{userBean.showTab1}">
      <jsp:include page="/report1.jspx"></jsp:include>
      </tr:showDetailItem>
      <tr:showDetailItem text="Tab2" rendered="#{userBean.showTab2}">
      <jsp:include page="/report2.jspx"></jsp:include>
      </tr:showDetailItem>
      </tr:panelTabbed>
      </h:form>
      </trh:body>
      </trh:html>
      </f:view>
      <!--oracle-jdev-comment:deviceCategory:pda-->
      </jsp:root>

      report1.jspx has a link redirecting to a different page.
      <tr:commandLink text="view chart" id="cl1" action="success" immediate="true"/>

      But when I click on the link, nothing happens.