Prinatble page button help ??

On my oaf view page I have Printable button but I get this error :
## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1
there are 2 View objects that get refreshed on view page and both require parameters in their query.
Construction of printable page button :
<oa:button id="printablePage" text="Printable Page" targetFrame="" use="/oracle/apps/fnd/attributesets/Buttons/PrintablePage" destination="OA.jsp?OAFunc=MASETUPSHEETVIEW&amp;retainAM=Y&amp;OARF=printable"/>
here is the code in controller tio invoke 2 diff methods :
ProcessRequest ----
String OrgId = "102";
String paramActionType = pageContext.getParameter("paramActionType");
String vpInvItemId = pageContext.getParameter("viewInvItemId");
String vpMachine = pageContext.getParameter("viewMachine");
String vpSetNumber = pageContext.getParameter("viewSetNumber");
String vpRevision = pageContext.getParameter("viewRevision");
String vpCategory = pageContext.getParameter("viewCategory");
renderFieldsInUI(vpMachine,vpCategory,webBean) ;
Serializable paramList1[]= {vpInvItemId,vpMachine,vpSetNumber,vpRevision,paramActionType};
am.invokeMethod("updateWS", paramList1);
Serializable paramList2[]= {vpInvItemId,vpMachine,vpSetNumber,paramActionType,vpRevision};
am.invokeMethod("initToolsData", paramList2);
page displays correct data, and I want this data to be visible on printable page.
please help.
thanks

ok here is an example :
on my custom page, there are few fields based on which user can search model info . search displays all the documents(or should say the data available on that model) from custom table - ex-
1. document name = Proc2009 , revision =1 , model = A1 , viewicon
2. document name = Proc2009 , revision =2 , model = A1 , viewicon
3. document name = Proc2009 , revision =1 , model = A2 , viewicon
if user picked viewicon for either row1 or row2 (that is data for model A1) : fields to be rendered on the oaf page are say:
width , make, engine, setup_info.
But if user picks row 3 - Model A2, fields to be displayed on the webpage are -
width,make, X-axis,Y-Axis, Provision_info, setup_info
I did not use PPR to hide the fields based on the model but set the property of the attribute setRendered(true or false) in process request. reason being its a very complex matrix, and there are many variants. All this works fine. When I add printable page button, it shows up correctly, but hides some fields that should be there for Model A1 and shows some field for Model A2.
I need get the printable page only for this set(Proc2009, rev=1, model=A1).
did i explain it better this time ?
How can I do it ?
thanks

Similar Messages

  • PLEASE HELP: Need some help with coding a next page button.

    so ok, in details, I'm trying to code a next page button and can't really figure out how and tried to look for them over the net but can't find the kind I am looking for. So ok, the kind of next page button I'm looking for is the kind where you have like << 1 2 3 4 5 ... (Next page button) >> not just a button where I need to hyperlink it to the next page url cuz I have like 35 pages to put... so I'm trying to figure it out yet no cigar so can someone please help me with this? Thanks!

    What I've seen done a lot (on forums with upwards of 1000 pages on some threads) is to add a "pagination" block of code that has:
    two or three pages before the current page
    two or three pages after the current page
    a drop down with ALL pages listed
    The "next" link or button is then just a copy  of the final link in the inline list.
    Something like this:
    <table>
    <tr>
    <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>Goto page <select name="generate_pagination" onchange="if(this.options[this.selectedIndex].value != -1){ window.location = this.options[this.selectedIndex].value; }"><option value="forum-page-26.html" selected="selected">1</option><option value="forum-page-26-45.html">2</option><option value="forum-page-26-90.html">3</option><option value="forum-page-26-135.html">4</option><option value="forum-page-26-180.html">5</option><option value="forum-page-26-225.html">6</option><option value="forum-page-26-270.html">7</option><option value="forum-page-26-315.html">8</option><option value="forum-page-26-360.html">9</option><option value="forum-page-26-405.html">10</option><option value="forum-page-26-450.html">11</option><option value="forum-page-26-495.html">12</option><option value="forum-page-26-540.html">13</option><option value="forum-page-26-585.html">14</option><option value="forum-page-26-630.html">15</option><option value="forum-page-26-675.html">16</option><option value="forum-page-26-720.html">17</option><option value="forum-page-26-765.html">18</option><option value="forum-page-26-810.html">19</option><option value="forum-page-26-855.html">20</option><option value="forum-page-26-900.html">21</option><option value="forum-page-26-945.html">22</option><option value="forum-page-26-990.html">23</option><option value="forum-page-26-1035.html">24</option><option value="forum-page-26-1080.html">25</option><option value="forum-page-26-1125.html">26</option><option value="forum-page-26-1170.html">27</option><option value="forum-page-26-1215.html">28</option><option value="forum-page-26-1260.html">29</option><option value="forum-page-26-1305.html">30</option><option value="forum-page-26-1350.html">31</option><option value="forum-page-26-1395.html">32</option><option value="forum-page-26-1440.html">33</option><option value="forum-page-26-1485.html">34</option><option value="forum-page-26-1530.html">35</option><option value="forum-page-26-1575.html">36</option><option value="forum-page-26-1620.html">37</option><option value="forum-page-26-1665.html">38</option><option value="forum-page-26-1710.html">39</option><option value="forum-page-26-1755.html">40</option><option value="forum-page-26-1800.html">41</option><option value="forum-page-26-1845.html">42</option><option value="forum-page-26-1890.html">43</option><option value="forum-page-26-1935.html">44</option><option value="forum-page-26-1980.html">45</option><option value="forum-page-26-2025.html">46</option><option value="forum-page-26-2070.html">47</option><option value="forum-page-26-2115.html">48</option><option value="forum-page-26-2160.html">49</option><option value="forum-page-26-2205.html">50</option></select>  <b>1</b>, <a href="forum-page-26-45.html">2</a>, <a href="forum-page-26-90.html">3</a> ... <a href="forum-page-26-2250.html">51</a>, <a href="forum-page-26-2295.html">52</a>, <a href="forum-page-26-2340.html">53</a>  <a href="forum-page-26-45.html">Next</a></b></span></td>
    </tr>
    </table>

  • How do I restore the "Pages" button on Adobe Acrobat Pro?

    I clicked the  Pages button, usually seen in the grey bar on the upper left side of the  screen, and accidentally pulled it out of the bar. Now it's gone. I suppose I don't know my own strength.
    Please help me get it back. I use it a lot. Thanks!
    (And is there a way to nail it down to keep this from happening again?

    There are two ways. The following is for Acrobat 9, but it's similar for Acrobat 10:
    1, View > Navigation Panels > Reset Panels
    2. View > Navigation Panels > Pages, and then click on the word "Pages" (as opposed to the top bar) in the floating window and drag back to the navigation pane.

  • Unable to process your request when clicking next page button in web app

    Hi,
    1) I'm using CR for VS v13 (13.0.2000.0)
    2) .Net 2.0 in IIS6 compiled with TFSBuild on TFS2008
    3) Issue ocurs when deployed on QA server
    4) Database is SQL server 2005
    5) Ado.Net passing data definition thru an xsd with a multiple tables dataset
    6) Reports using en embeded query are ok.  This happens only when we use data definition thru an xsd with a multiple tables dataset
    7) Don't know yet (I will have a hard time convincing my boss to stay with CR if I have to redo my reports anyway...)
    8) When using Fiddler, only "200" responses are returned.  Thats when producing the page and also when clicking on the next page button
    The detailed message also says: "The target '...' for the callback could not be found or did not implement ICallbackEventHandler. "
    Thanks
    - Stephane
    Edited by: jjslagace on Apr 1, 2011 12:25 AM

    Hi again Ludek,
    Sorry for this late reply.
    I followed you advice and installed the SP1 (CRforVS_13_0_1).  It did not solved the problem with the next page button but It did fixed some printing problem we also had.
    The page where the problem occured was loading the Crystal Reports Viewer dynamically after or durring the page load.
    After reading other posts loosely related to my problem, I changed my page to load the Crystal Reports Viewer statically in the .ascx.  It solved the problem and we can now navigate in the report normally like before the update.
    Thanks for you help.
    - Stephane

  • How do I add a "Print this page" button (not just a "Print" button) to a PDF?

    I am creating a multipage PDF in Acrobat Pro 8 for a client and it includes a linked table of contents with several sections and also several forms sprinkled throughout. I need to be able to add buttons that allow the user to print specific page numbers. Is it possible to add a "print this page" button to a page ... or even a "print this form" in case the form within the larger document is multiple pages? I would appreciate any help, thanks!

    I was just coming back to here to say I've figured it out and am using an invisible button (over text that was created to look like a link) on each page... tested and working (when combined with the code). Thank you for your replies!

  • Page buttons not working_code properly working

    Hi Guru's plse help me this issue.
    This is custom controller clas... The code is I think ri8.. it does not shows any error.
    But when click on (in the page) BUTTONS LIKE search claim and new claim, it does not show any details and not move to ClailPG.
    I send AMImpl class also, methods are called in this class.. plse reply me asap... plse help me..
    Thi is controller clas..
    package xx.oracle.apps.xx.med.claims.webui;
    import com.sun.java.util.collections.HashMap;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    import oracle.cabo.ui.data.DataObjectList;
    import oracle.cabo.ui.data.DictionaryData;
    import xx.oracle.apps.xx.util.conversion.Collection;
    import xx.oracle.apps.xx.util.dialogpage.OAConfirmationPage;
    import xx.oracle.apps.xx.util.dialogpage.OAWarningPage;
    public class xxMedClaimsQueryCO extends OAControllerImpl
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");
    String personId;
    String dateFrom;
    String dateTo;
    String claimId;
    String readOnlyFlag;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    this.personId = pageContext.getParameter("PersonId");
    this.dateFrom = pageContext.getParameter("DateFrom");
    this.dateTo = pageContext.getParameter("DateTo");
    if (this.personId != null) {
    initPage(pageContext, webBean);
    initTable(pageContext, webBean);
    void initPage(OAPageContext pageContext, OAWebBean webBean) {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { this.personId, this.dateFrom, this.dateTo };
    am.invokeMethod("initMedClaims", parameters);
    void initTable(OAPageContext pageContext, OAWebBean webBean) {
    formatImageColumn(pageContext, webBean, "UpdateSwitcher");
    formatImageColumn(pageContext, webBean, "DeleteSwitcher");
    formatImageColumn(pageContext, webBean, "ClaimDetails");
    formatImageColumn(pageContext, webBean, "ApproveSwitcher");
    void formatImageColumn(OAPageContext pageContext, OAWebBean webBean, String columnName)
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("ClaimsRN");
    table.prepareForRendering(pageContext);
    DataObjectList columnFormats = table.getColumnFormats();
    int columnIndex = pageContext.findChildIndex(table, columnName);
    DictionaryData columnFormat = (DictionaryData)columnFormats.getItem(columnIndex);
    columnFormat.put("columnDataFormat", "iconButtonFormat");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if ((pageContext.isLovEvent()) && ("EmployeeNumber".equals(pageContext.getLovInputSourceId())))
    processLovEmployeeNumber(pageContext, webBean);
    if (pageContext.getParameter("Search") != null) {
    processSearchClaims(pageContext, webBean);
    if (pageContext.getParameter("New") != null) {
    processNewClaim(pageContext, webBean);
    if (pageContext.getParameter("Clear") != null) {
    redirectToCurrentPage(pageContext, webBean);
    if ("clickClaimDetails".equals(pageContext.getParameter("event"))) {
    processClaimDetails(pageContext, webBean);
    if ("clickUpdateClaim".equals(pageContext.getParameter("event"))) {
    processUpdateClaim(pageContext, webBean);
    if ("clickDeleteClaim".equals(pageContext.getParameter("event"))) {
    processDeleteClaim(pageContext, webBean);
    if ("clickApproveClaim".equals(pageContext.getParameter("event"))) {
    processApproveClaim(pageContext, webBean);
    if (pageContext.getParameter("WarningYesButton") != null) {
    processWarningYes(pageContext, webBean);
    if (pageContext.getParameter("ConfirmationOkButton") != null)
    processConfirmationOk(pageContext, webBean);
    void processLovEmployeeNumber(OAPageContext pageContext, OAWebBean webBean)
    OAWebBean rootBean = pageContext.getRootWebBean();
    OAFormValueBean personId = (OAFormValueBean)rootBean.findIndexedChildRecursive("PersonId");
    this.personId = ((String)personId.getValue(pageContext));
    void processSearchClaims(OAPageContext pageContext, OAWebBean webBean) {
    setDateFields(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { this.personId, this.dateFrom, this.dateTo };
    am.invokeMethod("initMedClaims", parameters);
    void setDateFields(OAPageContext pageContext, OAWebBean webBean) {
    OAWebBean rootBean = pageContext.getRootWebBean();
    OAMessageDateFieldBean dateFrom = (OAMessageDateFieldBean)rootBean.findIndexedChildRecursive("ClaimDateFrom");
    if (dateFrom.getValue(pageContext) == null)
    this.dateFrom = null;
    else {
    this.dateFrom = String.valueOf(dateFrom.getValue(pageContext));
    OAMessageDateFieldBean dateTo = (OAMessageDateFieldBean)rootBean.findIndexedChildRecursive("ClaimDateTo");
    if (dateTo.getValue(pageContext) == null)
    this.dateTo = null;
    else
    this.dateTo = String.valueOf(dateTo.getValue(pageContext));
    void processNewClaim(OAPageContext pageContext, OAWebBean webBean)
    redirectToClaimPage(pageContext, webBean);
    void processClaimDetails(OAPageContext pageContext, OAWebBean webBean) {
    this.claimId = pageContext.getParameter("pClaimId");
    this.readOnlyFlag = "Y";
    redirectToClaimPage(pageContext, webBean);
    void processUpdateClaim(OAPageContext pageContext, OAWebBean webBean) {
    this.claimId = pageContext.getParameter("pClaimId");
    redirectToClaimPage(pageContext, webBean);
    void processDeleteClaim(OAPageContext pageContext, OAWebBean webBean) {
    this.claimId = pageContext.getParameter("pClaimId");
    Serializable[] parameters = { this.claimId };
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteClaim", parameters);
    am.getOADBTransaction().postChanges();
    redirectToWarningPage(pageContext, new OAException("DIV", "DIV_DELETE_WARNING"));
    void processWarningYes(OAPageContext pageContext, OAWebBean webBean)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.getOADBTransaction().commit();
    redirectToConfirmationPage(pageContext, new OAException("DIV", "DIV_DELETE_SUCCESS"));
    void processConfirmationOk(OAPageContext pageContext, OAWebBean webBean)
    processSearchClaims(pageContext, webBean);
    void processApproveClaim(OAPageContext pageContext, OAWebBean webBean) {
    this.claimId = pageContext.getParameter("pClaimId");
    Serializable[] parameters = { this.claimId };
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("approveClaim", parameters);
    am.getOADBTransaction().commit();
    processSearchClaims(pageContext, webBean);
    void redirectToClaimPage(OAPageContext pageContext, OAWebBean webBean) {
    HashMap pageParameters = new HashMap(5);
    pageParameters.put("PersonId", this.personId);
    pageParameters.put("DateFrom", this.dateFrom);
    pageParameters.put("DateTo", this.dateTo);
    pageParameters.put("ClaimId", this.claimId);
    pageParameters.put("ReadOnlyFlag", this.readOnlyFlag);
    pageContext.setForwardURL("OA.jsp?page=/div/oracle/apps/div/med/claims/webui/ClaimPG", null, 0, null, pageParameters, Boolean.FALSE.booleanValue(), "N", 99);
    void redirectToCurrentPage(OAPageContext pageContext, OAWebBean webBean)
    HashMap pageParameters = new HashMap(5);
    pageParameters.put("PersonId", null);
    pageParameters.put("DateFrom", null);
    pageParameters.put("DateTo", null);
    pageContext.setForwardURLToCurrentPage(pageParameters, Boolean.FALSE.booleanValue(), "N", 99);
    void redirectToWarningPage(OAPageContext pageContext, OAException exception)
    HashMap pageParameters = new HashMap(5);
    pageParameters.put("PersonId", this.personId);
    pageParameters.put("DateFrom", this.dateFrom);
    pageParameters.put("DateTo", this.dateTo);
    OAWarningPage warningPage = new OAWarningPage(exception);
    warningPage.setFormParameters(Collection.getUtilHashtable(pageParameters));
    pageContext.redirectToDialogPage(warningPage);
    void redirectToConfirmationPage(OAPageContext pageContext, OAException exception)
    HashMap pageParameters = new HashMap(5);
    pageParameters.put("PersonId", this.personId);
    pageParameters.put("DateFrom", this.dateFrom);
    pageParameters.put("DateTo", this.dateTo);
    OAConfirmationPage confirmationPage = new OAConfirmationPage(exception);
    confirmationPage.setFormParameters(Collection.getUtilHashtable(pageParameters));
    pageContext.redirectToDialogPage(confirmationPage);
    this is server AMIMPL Class file.
    package xx.oracle.apps.xx.med.claims.server;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAExceptionUtils;
    import oracle.jbo.Row;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.domain.Number;
    public class xxMedClaimsAMImpl extends OAApplicationModuleImpl {
    /**This is the default constructor (do not remove)
    public xxMedClaimsAMImpl() {
    /**Sample main for debugging Business Components code using the tester.
    public static void main(String[] args) { /* package name */
    /* Configuration Name */launchTester("xx.oracle.apps.xx.med.claims.server",
    "xxMedClaimsAMLocal");
    public void initMedClaims(String pPersonId, String pDateFrom,
    String pDateTo) {
    xxMedClaimsVOImpl vo = getxxMedClaimsVO1();
    if (vo == null) {
    MessageToken[] errTokens =
    { new MessageToken("OBJECT_NAME", "xxPfMemberContribVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    vo.initQuery(pPersonId, pDateFrom, pDateTo);
    public void initMedClaim(String pClaimId) {
    SinpMedClaimsVOImpl vo = getxxMedClaimsVO1();
    if (vo == null) {
    MessageToken[] errTokens =
    { new MessageToken("OBJECT_NAME", "SinpPfMemberContribVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    vo.initQuery(pClaimId);
    public void createClaim() {
    xxMedClaimsVOImpl vo = getxxMedClaimsVO1();
    if (!vo.isPreparedForExecution()) {
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    public String getClaimId() {
    OADBTransaction transaction = getOADBTransaction();
    Number claimId = transaction.getSequenceValue("xx_MED_CLAIMS_SEQ");
    return String.valueOf(claimId);
    public void deleteClaim(String pClaimId) {
    int claimToDelete = Integer.parseInt(pClaimId);
    OAViewObject vo = getxxMedClaimsVO1();
    xxMedClaimsVORowImpl row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator iterator = vo.createRowSetIterator("iterator");
    if (fetchedRowCount > 0) {
    iterator.setRangeStart(0);
    iterator.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++) {
    row = (xxMedClaimsVORowImpl)iterator.getRowAtRangeIndex(i);
    Number primaryKey = row.getClaimId();
    if (primaryKey.compareTo(claimToDelete) == 0) {
    row.setEnabledFlag("N");
    break;
    iterator.closeRowSetIterator();
    public void approveClaim(String pClaimId) {
    try {
    String pkgName = "xx_med_claims_wf_pkg";
    String procName = "init_approval";
    String parameters = "(p_claim_id => :1)";
    String stmt =
    "BEGIN " + pkgName + "." + procName + parameters + "; END;";
    OADBTransaction tr = getOADBTransaction();
    CallableStatement st = tr.createCallableStatement(stmt, 1);
    st.setInt(1, Integer.parseInt(pClaimId));
    st.execute();
    st.close();
    OAExceptionUtils.checkErrors(tr);
    } catch (SQLException e) {
    throw OAException.wrapperException(e);
    /**Container's getter for xxMedClaimsVO1
    public xxMedClaimsVOImpl getxxMedClaimsVO1() {
    return (xxMedClaimsVOImpl)findViewObject("xxMedClaimsVO1");
    public void validateClaim(String pClaimId) {
    try {
    String pkgName = "xx_med_oaf_val_pkg";
    String procName = "validate_claim";
    String parameters = "(p_claim_id => :1)";
    String stmt =
    "BEGIN " + pkgName + "." + procName + parameters + "; END;";
    OADBTransaction tr = getOADBTransaction();
    CallableStatement st = tr.createCallableStatement(stmt, 1);
    st.setInt(1, Integer.parseInt(pClaimId));
    st.execute();
    st.close();
    OAExceptionUtils.checkErrors(tr);
    } catch (SQLException e) {
    throw OAException.wrapperException(e);
    plse reply me some solution my frnds......

    Hi,
    Yes I can see that... Should we ask oracle for a patch for this? Thanks!
    OA Framework 12.0.4
    Oracle OA Extension 10.1.3 - build 1028
    Business Components 10.1.3.3
    UIX (Cabo) 2_3_6_2
    BiBeans Runtime 3.1.1.7 nondebug BI Beans 3.1.1.x
    MDS 9.0.6.0.0_26
    XML Oracle XML Developers Kit 10.1.3.0.0 - Production
    AOL/J Applications Object Library, Core Java Roll Up Patch J
    Servlet 2.4
    Java 1.5.0_11
    JDBC Driver 10.2.0.3.0
    Database Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    Operating System Linux 2.6.9-89.0.11.ELsmp
    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

  • Need HELP with BUTTONS (help! help!)

    I am trying to create a "return to previous page" button, one that acts like the "Back" arrow on your web browser.
    I want to add this on my Master page, so that every chapter will have the same button in the same place with the same result.
    My manual says that "Return to Previous View" is a button option. But I can't get it to work.
    Please help, I need to finish this thing TODAY (July 16)

    Hate to be the bearer of bad news, but I don't think what you want is going to be so easy. It isn't something you can set up in a snap. And buttons may not be what you want at all. Buttons serve rather simple functions. I think you are looking at Indexing, and some fairly complex indexing at that.
    Now having said that, Return to Previous View does work (You do realize that these buttons only work in a PDF exported with Include Interactive Elements checked, right?), but you need something to get you to that next view in the first place. And I'm not sure how you can define that without indexing. Perhaps you could use anchored objects and Go to Anchor button, but I think the anchor would have to have something placed in it because it's found via the link in the object. Then a button in the appendix could be defined as Return to Previous View to get you back to the page you came from.
    As you can see, this could get pretty messy. Indexing tends to move you around the book much more seamlessly. But it is also something that has to be meticulously set up after the book is completely laid out.
    The InDesigner Podcast has a lesson on indexing as a request from one of his viewers. But in order to explain it he started with a lesson on Book Basics, then one on Table of Contents, Advanced TOC, Indexing, and finally Generating an Index. You can download the five podcasts from the InDesigner.com and watch them to get an idea of what's involved and how it may help in your situation.
    Sorry, but even if someone here with more expertise than I in this matter comes to your aid, you still have quite a bit of learning ahead of you to pull this off.

  • Showing a top of page button when user scroll down

    Hi,
    I need some help please, to show a top of page button when the user scroll down either with the vertical scroll bar or the center mouse button.
    I could design and develop the actions for using the button.
    But I am unable to trigger the showing when the user scroll down.
    I have found an example about what I would like on the following website: http://www.commentcamarche.net/news/5854741-hp-presente-sa-nouvelle-gamme-de-pc-pour-le-pr emier-semestre-2011#top
    Thank you for your help.
    Regards

    I apparently misunderstood your first post. Sorry. If you look at the code for the example you cited in your OP, you'll find:
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script>
    <script src="http://static.ccm2.net/www.commentcamarche.net/_skin/_common/js/jsbottom.php?m=bottom%7Csimili&201103311506" type="text/javascript"></script>
    <div id="gotop"><a href="#top"></a></div>
    [To find the section yourself and view it in relation to the whole page, open the page, view the source code, and do a find on "#top."]
    I would take a look at those scripts and see how you might adapt them to your site.
    Good luck.
    Chris

  • Clear page button- yes and cancel?

    Hi all, I'm just learning javascript and could use some help.  I have an Acrobat PDF form with a clear page button on the top.  When the user clicks the button, I would like an alert to popup that says "Are you sure you wish to clear the page?".  If the user clicks "Yes", the page clears.  If the user clicks "No", the alert disappears and nothing else happens.  I don't know how to get the cancel button to work, but everything else works fine.  Here's my code:
    var clearbutton = app.alert({
    cMsg: "Are you sure you wish to clear the page?",
    cTitle: "Clear Page?",
    nIcon: 2, nType: 1
    var iPage = pageNum;
    var sFields = new Array();
    for(var x=0;x<numFields;x++)
    {var pg = getField(getNthFieldName(x)).page;
    if((typeof pg == 'number' && pg == iPage) || (typeof pg != 'number' && pg.indexOf(iPage) > -1))sFields[sFields.length] = getNthFieldName(x);}
    if(sFields.length > 0)resetForm(sFields);
    How do I associate the cancel button (return of 2) with not continuing with the rest of the script? Thanks to anyone who can help out!!

    Try;
    function ClearPage() {
    var clearbutton = app.alert({
    cMsg: "Are you sure you wish to clear the page?",
    cTitle: "Clear Page?",
    nIcon: 2, nType: 1});
    if (clearbutton == 1) {
       // "OK" selected
       var iPage = this.pageNum;
       var sFields = new Array();
       var pg;
       // loop through all fields and find fields on page
       for(var x=0; x < numFields; x++){
          pg = this.getField(getNthFieldName(x)).page;
          if((typeof pg == 'number' && pg == iPage) || (typeof pg != 'number' && pg.indexOf(iPage) > -1))
             sFields[sFields.length] = getNthFieldName(x); // fill array of field names
       } // end for loop numFields
       // clear the field names
       this.resetForm(sFields);
    } // end if 'OK"
    // if anything other than "OK" nothing done
    return;
    } // end ClearPage funciton
    // call the ClearPage function
    ClearPage();

  • Previous page button problem

    Hi,
    I have Safari in Windows and a major problem with the "back" button to return to the previous page.
    If I have several tabs open, if I click that button, it acts on all tabs, not only the active one.
    The tabs are open from a bookmark folder I have and I ask "open in tabs".
    Then, a back click and all tabs return to the welcome page (and all tabs close).
    Is this normal?
    Any way to stop this?
    Thanks for any help.

    For those with the problem,
    instead of clicking the previous page button, press the backspace key.

  • "Printable Page" button causes isBackNavigationFired(true)

    I ve got the following problem
    I have a train implemented with 3 pages. On every page we don't allow the users to use the BrowserBack button.
        if (pageContext.isBackNavigationFired(true))
          pageContext.redirectToDialogPage(new OADialogPage(NAVIGATION_ERROR));
        }     Page 3 (Review page) contains the "submit" and a "Printable Page" button.
    Properties for "Printable Page" button
    destination URI : OA.jsp?page=pagePG&retainAM=Y&OARF=printable
    target frame : _blank
    When we press the submit button, everything is saved correctly. but when we first use the "Printable Page" button (opens a new window) and then submit, the OA framework detects that we used the BroweserBack Button. Submitting the data becomes impossible.
    Does anyone knows what I'm doing wrong, or is this normal behaviour.

    Hi,
    You will not be able to get around this. When you navigate to your printable page, the framework increments the oapc parameter (it adds 1 to the original value). When you then go back and action something on the previous page, the framework compares the value in the URL with the value it stores in memory. If the values do not match it re-fires processRequest because the bean hierarchy could be invalid (it's probably not in your case).
    So you will have to think of a way around this.
    Why are you not letting users use the back button? You can write your application so that you code around any use of the back button. For example, if you are passing parameters on the request, put them on the transaction. When the user hits the back button, OA Framework will re-execute processRequest, if the parameters are null you can fetch them from the transaction (assuming it is retained).
    Hope this helps.
    Cheers,
    Dave

  • The 'go back one page' button does not work on all pages

    The 'go back one page' and 'go froward one page' buttons do not work (they're light gray as opposed to dark gray) and neither does the 'back' button after right clicking. They worked fine in Firefox 3 but do not in version 4

    Click '''Help '''| '''Restart with add-ons disabled '''and then in the menu which appears, checkmark ''Reset toolbars and Controls'', then ''Make changes and restart''.

  • What is the home page button?

    On safari i can't find the home page button. How can I get to appear?

    Hi drpepper100, Welcome to Apple's Users Help Users Forums.
    Safari / View Customize Address Bar. Drag Home to where you want it.

  • Hide link after printable page button in iExpense

    Hi all
    In iExpense after submiting the claim there is a printable page button appears by which user can get the print of the
    claim raised. But ont point is there ... in printout of the claim (hardcopy) .. in the footer area of the paper .. a
    link appears i.e. http://erpdev.mycompanyname.com:/OA_HTML/OA.jsp?OASF=OIE_EXPENSE_R..
    my client doesn't want that link in print out of the claim but I am unable to find that link in my OAF page...thant link
    only appears in printout.
    Is there any idea to hide that link in printout..
    Please help...
    thanks
    Amit Jaitly

    Hi Amit
    Have you got any solution to hide the link in printable page.We also have the same type of requirement where we have to remove TIP from printable page.
    Your help will be highly appreciated.
    Thanks
    Manju

  • In-page button that brings up the blue iOS subscription options...

    Hello. Does anyone know if its possible to create an on-page button that brings up the blue iOS subscription options for users to directly subscribe (ie: as in the library!)...
    I haven't seen it done anywhere else but it should be possible?
    Any help would be marvellous - thanks!
    Cheers
    David Hicks
    Email: [email protected]

    You can use a button to display subscription options using the Reading API. This article has an example:
    http://blogs.adobe.com/indesigndocs/2013/02/dps-subscription-options.html

Maybe you are looking for

  • After checkin the timestamp of dInDate is not correct

    Hi, I use UCM 10g and have a problem with the metadata field dInDate and other fields that contain the time. The scenario is like this 1. I click on 'New-Check In' in the UCM Administration gui 2. I enter type, security group, title and other values

  • SharePoint 2013 How to disable Drag and Drop Functionality

    Hi, In SharePoint 2013 in document library we have default behavior of drag and drop documents in document library. How to disable drag and drop documents in document library?

  • How to properly create path art object, please help

    Hello there, I have a vector of AIRealPoint , each point is actual X, Y coordinate of the stroke. I need to create path art object out of this vector. I'm  somehow confused how to correctly construct segments array form the given AIRealPoints, my goa

  • Adding another resource on process order level

    In certain cases our client has to stop it's production if a machine breaks down. The solution of this problem is to post confirmation of all operation teco the process order, create one time recipe one time bom and a production version to create ord

  • Fail to use Jeditorpane to display a text with big5 encoding

    Hi All, I fail to use Jeditorpane to display a text with big5 encoding correctly. It only show machine code. I am using jre1.6.0_17. Yet it works well with earlier version of jre like jre 1.6.0_15, and jre 1.6.0_16 bcpscsin