Seting action on exit of page

Is there any way to set an action on exit of the page?
I mean, in one window i'm uploading files to temp directory and if user presses 'correct' button it targets custom tag which deletes these files.
My concern is that if user will leave page without either pressing that 'correct' button or 'upload' button (Both deletes files) these files will be left in the server.
So is there any way to target my custom tag on exit of the page?
cheers,
Simon

This sounds like something you'll want JavaScript for. Check out the window.onload() method. It fires whenever a user tries to 'leave' your page (i.e., when a 'page' is unloaded from the browser).
Sample:
<html>
     <head>
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          <title>Unloading a Page</title>
          <script type="text/javascript">
               function unloaded(){
                    alert( 'you are leaving my page...' );
          </script>
     </head>
     <body onunload="unloaded()">
          <p>Hello World</p>
     </body>
</html>
This is only meant as a skeleton to get you started!
Hope it helps,
Craig

Similar Messages

  • Exiting a page flow

    Hi guys, and thanks a lot for answering my previous questions.
    Now i am wondering; is there a way to explicitly exit a page flow?
    Regards,
    Håvard Nesvold

    Sathish-
    Through the use of custom and standard controls, I have incorporated authentication
    and user management in my jsps. There is a netui tag that you can utilize to
    reference a control. I have found the easiest way to add a control is to drag
    it from my tree onto the JSP.
    As for getting pageFlow into my header, I haven't tried yet.
    Eric
    "Sathish Venkatesan" <[email protected]> wrote:
    >
    Eric,
    I have checked with support. This functionality is not supported in the
    current
    release.
    I want to try a different approach.
    I want to use a custom java control in jsp ?
    Did you had a chance to try it out and had any luck ?
    thanks,
    sathish
    "Eric Ballou" <[email protected]> wrote:
    Sathish-
    Have you tried a global pageflow? Also, did you include the netui tags
    in the
    pageflow? I personally have thought about doing the same, but I was
    concerned
    about using the jsp:include as some session information doesn't always
    transfer
    or call properly in an include. One idea may be to use a reference/render
    to
    a portlet. Those are just approach ideas I haven't tried, but may soon.
    Hope
    that at least gives you a starting point.
    Eric
    "Sathish Venkatesan" <[email protected]> wrote:
    Hi all,
    I want to include a page flow in header section of a portal.
    I tried with JSP:include tag , but I'm getting message unable to find
    action .
    Is it possible ?
    thanks,
    sathish

  • Can I add Action button on each page of my pdf document

    I have created  many power point slides with an action button on each slide that allows the user to click to display a video clip.   I would like to create a pdf document of this and replace each of my action button in ppt with an action button that works in Acrobat.
    I noticed that action buttons can be added to forms, but I want to be able to add an Action Button on each of my ppt slides to start playing a video clip (each slide will have a different video).
    I would like to do this using any coding method (i.e. Javascript, VBA, C , etc).   I think acrobat uses Javascript.
    The reason, is that I want to display my power point slides on an IPad and they don't support hyperlink in power point.   I believe IPad does suppport the full acrobat capabilities.
    Can this be done ??  
    Any suggestions where to start ??
    Thank You,
    G

    NO problem creating the buttons and then playing this back in Acrobat. Works great.
    However, unfortunately, none of the PDF viewers for the iPad support playing movies.   So playing it there won't work :(.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Sat, 28 Jan 2012 11:00:47 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Can I add Action button on each page of my pdf document
    Can I add Action button on each page of my pdf document
    created by gw70115<http://forums.adobe.com/people/gw70115> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4171109#4171109

  • How to call a struts action from a JSF page

    I am working on a small POC that has to do with struts-faces. I need to know how to call a struts ".do" action from a JSF page..
    Sameer Jaffer

    is it not possible to call a action from the faces submit button and/or the navigation?
    This a simple POC using struts-faces exmaples.
    Here is my struts-config and faces-config file.
    <struts-config>
    <data-sources/>
    <form-beans>
      <form-bean name="GetNameForm" type="demo.GetNameForm"/>
    </form-beans>
    <global-exceptions/>
    <global-forwards>
      <forward name="getName" path="/pages/inputname.jsp"/>
    </global-forwards>
    <action-mappings>
      <action name="GetNameForm" path="/greeting" scope="request" type="demo.GreetingAction">
       <forward name="sayhello" path="/pages/greeting.jsp"/>
      </action>
    </action-mappings>
    <controller>
        <set-property property="inputForward" value="true"/>
        <set-property property="processorClass"
                value="org.apache.struts.faces.application.FacesRequestProcessor"/>
    </controller>
    </struts-config>faces-config
    <faces-config>
    <managed-bean>
      <managed-bean-name>calculate</managed-bean-name>
      <managed-bean-class>com.jsftest.Calculate</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>GetNameForm</managed-bean-name>
      <managed-bean-class>demo.GetNameForm</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
      <from-view-id>/calculate.jsp</from-view-id>
      <navigation-case>
       <from-outcome>success</from-outcome>
       <to-view-id>/success.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
       <from-outcome>failure</from-outcome>
       <to-view-id>/failure.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    <navigation-rule>
      <from-view-id>/inputNameJSF.jsp</from-view-id>
      <navigation-case>
       <to-view-id>/pages/greeting.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    </faces-config>in my inputNameJSF.jsp (faces page)
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Say Hello!!</title>
    </head>
    <body>
    Input Name
    <f:view>
         <h:form >
              <h:inputText value="#{GetNameForm.name}" id = "name" />
              <br>
              <h:commandButton id="submit"  action="/greeting.do" value="   Say Hello!   " />
         </h:form>
    </f:view>
    </body>
    </html>I want to be able to call the struts action invoking the Action method in the that returns the name
    package demo;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class GreetingAction extends org.apache.struts.action.Action {
        // Global Forwards
        public static final String GLOBAL_FORWARD_getName = "getName";
        // Local Forwards
        private static final String FORWARD_sayhello = "sayhello";
        public GreetingAction() {
        public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            String name = ((demo.GetNameForm)form).getName();
            String greeting = "Hello, "+name+"!";
            request.setAttribute("greeting", greeting);
            return mapping.findForward(FORWARD_sayhello);
    }Edited by: sijaffer on Aug 11, 2009 12:03 PM

  • Hyperlink with an action 'Go to a page in another document' in IE browser.

    When the PDF Document is opened in IE, Clicking on a Hyperlink with an action 'Go to a page in another document' is not navigating to the proper destination page.
    This happens when the destination document is already opened in IE once and cached.

    Hi Vinayaka,
    I am unable to replicate this at my end. I am using Acrobat 11.0.10 on Windows 7 and IE11
    Below are the steps I followed :
    Create a link and select the "Custom link" option, click "Next",  select the "Options" tab, select "Go to page view", click the "Add: button, open the file to the page you want to link to, click the "Set link" button.
    Regards,
    Rave

  • Determine the outcome of an action in the jsp page?

    can i determine the outcome of an action in the jsp page?
    for example:
    i create a jsp file that contains two links, that play the role of tabs....
    the action is different for the two links say "action1" and "action2" but the result page is the same original page...
    can i determine what whas the action the user clicked?( so that i can display different things, according to action )

    you can use the <f:param> component with your commandLink and set a different value for each of your link. Then, in your jsp, you should be able to retrieve the value of the parameter in the request.

  • Acrobat X Standard Bookmarks - How do I make the Zoom Level action default to "Fit Page" when combining to one pdf?

    Acrobat X Standard Bookmarks - How do I make the Zoom Level action default to "Fit Page"?
    When I combine multiple pdf files into a single binder, Acrobat creates a bookmark for each file.  In the properties for each bookmark, there is an action created to go to the page in the document and has the zoom level at "fit width".  Question is, how do I change this apparent default zoom level to "fit page" when Acrobat creates the bookmarks when combining the pdf files?

    Is there a way to do it in one step instead of individually on each bookmark?  This gets VERY cumbersome when I have upwards of a hundred bookmarks to change.

  • Slide Action on Exit Cancelled by Length of Audio File

    Captivate 8.0
    Responsive Project
    Status:  Solution to problem works but makes no sense
    Problem:  Slide actions on exit designated in the Properties Inspector do not function.  Although the "jump to slide" action was selected, the transition at the end of the slide moves to the next slide. I encountered this problem as I was developing a series of slides that would supplement a single beginning slide.  Using click boxes I wanted the learner to be able to click on an item, go to a slide with more detail, then return to the original list on the starting slide.  I set the supplemental slides up in the Property Inspector--Actions to "Jump to slide" and selected the beginning slide number.  When I ran the project, the click boxes moved to the correct slides but the supplemental slides did not return to the beginning slide.  They only transitioned to the next slide.   
    Solution:  This makes no sense to me and is the source of my question.  I'm using text-to-speech as a temporary method of making a rough cut at timing while I am waiting on narration files.  The audio files created by text-to-speech usually run to the end of the slide and are exactly the same length as the slide.  Grabbing at straws to fix the problem, I added 0.2 secs to the slide length so the slide timing was slightly more than the audio file.  Voila!  The selected action (jump to slide X) functions as expected.  I made the same change on the balance of seven slides and the entire routine works as designed.  I have not tested slides using imported narration or narration recorded within Captivate to see if the same problem presents. 
    Why would this be?  Why would the length of an audio file prevent an exit action from functioning? 

    Lilybiri answered this on another question discussion 
    "Slide on exit action conflicts with button action in Captivate 5.5"

  • In IOS 8, there is no X to exit amweb page! It stays there forever, even when you go to another page!

    HOw do I exit web pages in Safari in IOS8? There's no x anymore!

    Open the iGoogle page but press the escape key to stop the page loading. If you have the "My Scores" gadget delete it.

  • KNOWN BUG????  data action changing to data page when reload of JDev

    Hi All,
    i'm using jdev 10.1.2, adf bc's, struts, jsp's.
    I have a data action on my struts page which is bound to a method in the app module. I created a class for this data action which overrides the initialMethodParameters() method and gets the arguments for the method in the app module.
    it all works perfectly fine, until i shut down JDev and load it up again. The data action has now turned into a data page. if i dbl click on it i get the create page dialog, instead of the data action class. obviously when i try run this data action, i get cannot display this page error.
    I'm assuming/hoping that this is a bug. can anyone shed any light??
    Thanks in advance,
    Liz

    Hi,
    did you open this in the same version of JDeveloper 10.1.2? I remember that there was a change in Struts between JDeveloper versions
    Frank

  • Need help with an "exit door" page

    My office has a page on our webserver that serves as an "exit door". It basically tells you when you're leaving our site (they do this because it's a gov't site, and thus rquired) and you have to click on a link to confirm that you want to leave.
    The way it works is that when you code a page with a link that needs an exit door, you prepend the url with "exit.cfm?link=" and then the URL. It works adequately on simple URLS that pass no parameters. Where it has a problem is when a URL has GET arguments like ?page=23&item=43.
    The original coder used URL.link, which of course only captures the first GET argument. As a work-around, we're required to edit the target URLS being passed to the exit door and replace things like &amp; and # with [amp], [pound], etc. Needless to say, this gets rather tedious, so I decided to have a look at that old exit door page to see what I could do with it.
    After playing around a bit, I achieved  a reasonable level of success by using the following:
    #xmlformat(ListDeleteAt(CGI.QUERY_STRING,1,"="))#
    This gives me a properly encoded full URL to use as a link on the exit door page. But there's one problem. If there's a link that contains an anchor (like foo.com#section1) it doesn't capture the anchor. The # and what's after it isn't being passed.
    I'm trying to figure out how to make this work.  Has anyone else here had to make an exit door, and if so, how did you do yours?

    Thanks mack.  I'm starting to think the answer to this is "it can't be done".  Which is probably why my predecessor was replacing &amp;s with [amp]s.
    What led me to try to change this was that I was trying to build a regex for Dreamweaver that changed things like &amp; and # to [amp] and [pound], but only when the URL began with the exit door page URL.  I was only able to get my regex to replace one occurance of an item per pass, which sort of defeated its purpose.  So I decided to change the exit door page instead.
    Maybe I'll go back to trying to get the regex to work.
    Ian, thanks for your help as well.

  • Help! Using "Create" action in insert jsp page vs in submission page.

    This is regarding creating a new record using data TAGS:
    I'm in a dilemma as to whether I should use the data source tag <jbo:Row id="myrow" datasource="iss_vo1" action="Create">
    in my first jsp page ( which accepts input from a user) or in the 2nd jsp page (which does the actual commit).
    If I actually create the view record n the first page itself then I get into all kinds of problems if the user decides against saving the record and backs out.[because there is a null hanging record out there]
    But if I don't use it, then I am unable to use my LOVs in the html form.
    Can anyone help me resolve this issue?
    Currently I have used the data source tag
    <jbo:Row id="myrow" datasource="iss_vo1" action="Create">
    in my first JSP page.
    Below is my complete source code for both the JSP pages:
    Source Code for iss_add.jsp:
    ======================
    Please note that in this JSP , it creates a new record and then the user has to click on the "SAVE" button (which calls another jsp "iss_add_post.jsp") to save the changes. But what if the user does not click on the save BUTTON and instead click on the "back" tab. This is where all the problem occurs. How do I get rid of this problem?
    If I try to just use an HTML form without creating a record in this page then how will I use the LOVs?
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <base target="contentsframe">
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
    <jbo:DataSource id="pri_vo" appid="NewBC4J.NewBC4JModule" viewobject="PrioritiesView" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" />
    <jbo:DataSource id="per_vo" appid="NewBC4J.NewBC4JModule" viewobject="PersonView" >
    <jbo:DataSource id="iss_vo1" appid="NewBC4J.NewBC4JModule" viewobject="IssuesView5" /></jbo:DataSource>
    <jbo:Row id="myrow" datasource="iss_vo1" action="Create">
    </jbo:Row>
    <table width="100%" bgcolor="skyblue" border="0" align="center">
    <tr>
    <td>
    <table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
    <form NAME="iForm" action="iss_add_post.jsp">
    <tr>
    <th colspan="2">
    "Add New Issues"
    </th>
    </tr>
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include>
    <tr>
    <td align="Right"><b><font color="red">Priority:</font></b></td>
    <td> <jbo:InputSelect datasource="iss_vo1" dataitem="PriCd"
    displaydatasource="pri_vo" displaydataitem="Descr" displayvaluedataitem="Cd" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Description:</font></b></td>
    <td> <jbo:InputTextArea datasource="iss_vo1" dataitem="IssDesc" rows="3" cols="50" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Application:</font></b></td>
    <td> <jbo:InputSelect datasource="iss_vo1" dataitem="AppCode"
    displaydatasource="app_vo" displaydataitem="Name" displayvaluedataitem="Code" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Assigned To: </font></b></td>
    <td> <jbo:InputSelect datasource="iss_vo1" dataitem="AssignedToPerId"
    displaydatasource="per_vo" displaydataitem="FirstName" displayvaluedataitem="PerId" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Raised By: </font></b></td>
    <td> <jbo:InputSelect dataso urce="iss_vo1" dataitem="RaisedByPerId"
    displaydatasource="per_vo" displaydataitem="FirstName" displayvaluedataitem="PerId" />
    </td>
    </tr>
    <tr>
    <td align="Right"><b><font color="red"> Resolution: </font></b></td>
    <td> <jbo:InputTextArea datasource="iss_vo1" dataitem="Resolution" cols="50" rows="3" />
    </td>
    </tr>
    </table>
    <!-- Create a table for the save Button -->
    <table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
    <tr>
    <input name="RowKeyValue" type="hidden" value="<jbo:ShowValue datasource="iss_vo1" dataitem="RowKey"/>" />
    <td>
    <input type = "submit" name="submit" value="Save">
    </td>
    </form>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateful" />
    Source Code for iss_add_post.jsp:
    ============================
    This is where the actual commit occurs. But user may decide not to come here at all by not clicking the save button. What happens to the record created ? How Can I rollback that information?
    <%@ page language="java" contentType="text/html;charset=WINDOWS-1252" %>
    <html xmlns:jbo="foo">
    <body>
    <center>
    <br>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <br>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" username="issue" password="issue"/>
    <br>
    <jbo:DataSource id="iss_vo1" appid="NewBC4J.NewBC4JModule" viewobject="IssuesView5"/>
    <jbo:Row id="row3" datasource="iss_vo1" action="Current" >
    <jbo:SetAttribute dataitem="*" />
    </jbo:Row>
    <%
    try
    %>
    <jbo:Commit appid="NewBC4J.NewBC4JModule"/>
    <p><font face="Arial, Helvetica, sans-serif"><b><font color="006699">Issue Record Inserted Successfully! Issue# Assigned: <jbo:ShowValue datasource="iss_vo1" dataitem="Id" /></b></font></font> </p>
    <%
    catch(Exception exc)
    out.println("<pre>");
    exc.printStackTrace(new java.io.PrintWriter(out));
    out.println("</pre>");
    %>
    <br>
    <br>
    <form action="iss_ListIssues.jsp" method="post"><input type="submit" value="Click to Continue"></form>
    </center>
    </body>
    <jbo:ReleasePageResources releasemode="Stateful"/>
    </html>
    null

    [email protected]
    I can't actually see any LOV's on your first page so I am not completely sure that I understand your situation. However if you are talking about using the InputSelectLOV datatag, there is no reason why you cannot use that within a html form, without having to create a record in the RowSet.
    The Insert page is by default created without any datasources - just a standard HTML form. The form is submitted and the InsertSubmit page reads the values from the request object, matches the parameter names with your VO attribute names and does your create.
    Your LOV data will be coming from another table so doing a Row tag Create on your Insert page won't make any difference to it. Have I misunderstood something here? I have used LOV's on my Insert pages and I definitely have not created a row in the Rowset anywhere but the Submit pages.
    There is a problem on both Edit and Insert pages whereby if there are no rows in the table for which you have a datasource defined you can get problems, but it doesn't sound as though that is your problem. Maybe I need some more information from you?
    Simon

  • How to add custom actions to the Settings page for a Document Library?

    I want to add a custom action under General Settings on the Document Library Settings page (listedit.aspx). So I added a new SharePoint 2010 "Empty Element", and put this code in the Elements.xml file:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="MyClassName"
    Sequence="999"
    GroupId="GeneralSettings"
    Location="Microsoft.SharePoint.ListEdit.DocumentLibrary"
    Title="My Link"
    Description="My description here"
    Rights="ManageWeb">
    <UrlAction
    Url="~sitecollection/_layouts/MyProject/MyPage.aspx"/>
    </CustomAction>
    </Elements>
    I found the GroupId and Location here: http://msdn.microsoft.com/en-us/library/bb802730.aspx but I am starting to wonder if this documentation is for MOSS2007 rather that SP2010
    as it says.
    What am I missing?
    Any help or hint would be greatly appreciated!

    Hi Henrik,
    Can we add above custom action in our custom group like General Settings?
    I have tried for that but it is not working.
    I have tried as follows
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomActionGroup
    Id="LibrarySettings.MyGroup"
    Title ="My Group"
    Sequence="1000"
    Location="Microsoft.SharePoint.ListEdit">
    </CustomActionGroup>
    <CustomAction Id="Custom.Configuration.ListCustomSettings"
    GroupId="LibrarySettings.MyGroup"
    Location="Microsoft.SharePoint.ListEdit"
    RequireSiteAdministrator="FALSE"
    Sequence="100"
    Title="Library Admins">
    <UrlAction Url="_layouts/15/LibrarySettings.aspx?List={ListId}" />
    </CustomAction>
    </Elements>
    But custom group is not created in list settings
    Any idea what I am missing here?

  • Problem with seting action method to a Hyperlink object

    Hi there,
    as the subject says, I have a problem wih setting the action method of a Hyperlink object. Here is how the program is organized:
    I have an external bean which generates an ArrayList of Hyperlink objects. In the backing bean of my web page I call a method from the above mentioned external bean to generate the list of hyperlink objects. After that in the page bean I insert the hyperlink objects in GridPanel component. So far everything works fine, but the action method of the Hyperlink objects is not called and I can't understant why.
    Here is how I add the objects to the GridPanel component:
    private void populateGridPanel()
            Hyperlink hyper;
            for(int i=0; i< checkboxList.size(); i++)
                    hyper = (Hyperlink) hyperlinkList.get(i);
                    vehicleGridPanel.getChildren().add(hyper);
        }All properties of the Hyperlink objects are set in the external bean not in the page bean, here is how:
    //action method executed when the hyperlink is clicked
    MethodBinding mb = (MethodBinding) FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{Page1.hyperlink_action}", null);
    veHyperlink.setAction(mb);The populateGridPanel() method is called in the init() method of the page bean, after the initialization of all other components.
    An interesting fact is that if I manually drag-n-drop a hyperlink object to my page and programatically set its action method with the code above everything works fine. But using the same code for the dynamically generated hyperlink objects inserted in the grid panel doesn't work.
    Any kind of help is highly appreciated.
    Thanks!
    Message was edited by:
    panayot

    I got this use case to work as follows:
    1. Drag a Grid Panel and set its columns property to 1.
    2. Drag a Message Group.
    3. Use the following code in Page1:
    public void prerender() {
    populateGridPanel();
    private void populateGridPanel() {
    if (gridPanel1.getChildren().size() > 0) {return;}
    for (int i = 0; i < 3; i++) {
    Hyperlink veHyperlink = new Hyperlink();
    //action method executed when the hyperlink is clicked
    MethodBinding mb = (MethodBinding) FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{Page1.hyperlink_action}", null);
    veHyperlink.setAction(mb);
    veHyperlink.setText("dynamic hyperlink " + i);
    veHyperlink.setId("dynamicHyperlink" + i);
    gridPanel1.getChildren().add(veHyperlink);
    public void hyperlink_action() {
    info("Yup it worked at: " + new java.util.Date());
    4. Fix imports, Run, and then click on the hyperlinks.

  • Why did Adobe remove link action "Go to a page in another document"???

    When linking documents, you used to be able to link to another document and tell Adobe which page to open on.  Example: I want to link document A to document B but I want document B to open on Page 2 instead of 1.  That option does not exists anymore under Actions, execute menu option.  It was very helpful and I would like it back.

    Yes but when I click Set Link it's only for the opened document. Not the document I need.  And when I try to edit the link, i only get option for name destination which doesn't work.  Below is what I am used to seeing which is not available anymore it appears:

Maybe you are looking for