"Previous" button suggestion.

(Yes, I will post this in the 'official' suggestions form... just thought that I would mention it here also.)
Since we often work in studio, the photos tend to develop similarly, but not exactly the same. The photos tend to 'trend' in one direction, and then start changing in a different direction, with small changes of develop settings taking place from one photo to the next.
We could use the "Copy" and "paste" function from one photo to the next, but when working through photos, the "Previous" button is much more convenient. What "Previous" does is copy ALL of the develop settings from the previously selected photo to the currently selected photo... but it is an "all or nothing" situation.
The problem is that "Previous" copies thing like "Spot Removal", "Brush Tool", "Cropping", etc that are not necessarily items that you would want to carry over from one photo to the next, since they don't really match up between images.
It would be great if there was a way to setup the "Previous" button just like the "Copy" button, where only specific items are transferred from one photo to the next when pressing "Previous". Maybe pressing "CTRL-Previous" could bring up a setup menu?
It is a minor thing , but it would greatly simplify the workflow.

GAP -
Using SYNC is waaay to much work when going from photo to photo. SYNC is good for base adjustments, like color balance, base sharpening, etc.
IMHO, SYNC is only really useful if you have to make a similar adjustment to many photos, based on a specific parameter. For example, if you want to apply additional noise reduction to all the photos shot at ISO 1600 with a specific camera, SYNC is the correct tool.
But when you have to fine tune many photos in a series, going to the next photo and pressing "Previous" to get you in the general ballpark is often the best choice, since if the photos are similar the adjustments will probably be similar, except for special stuff like brushes, spotting and cropping.
Adding a 'carry over' menu to "Previous" shouldn't be that hard, and it would certainly increase the usefulness of that function.

Similar Messages

  • How to make next and previous button function

    Hello
    Can anybody help me with how to achieve next and previous button function such as the one at www.bestbuy.com?
    I would appreciate any help or suggestion.
    Thank you!

    if you're not familiar with flash it might be easiest to place your initial "page" in frame 1, the 2nd (or next) page in frame 2, the 3rd/next page in frame 3 etc.
    place your previous and next buttons in their own layer that spans the main timeline (which will have as many frames as you have "pages").  give them instance names (say prevBtn and nextBtn).
    you can then use the following code placed in frame 1:
    var tl:MovieClip=this
    prevBtn.onRelease=function(){
    tl.prevFrame();
    nextBtn.onRelease=function(){
    tl.nextFrame();

  • Next and Previous Button Question

    First my code :)
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.GridLayout;
    import java.lang.Object;
    import java.awt.Image;
    public class Inventory // Main class
    //main method begins execution of java application
    public static void main(String args[])
         int i;
         double totalInventory = 0.0;
         final int dispProd = 0; // variable for actionEvents
         final part[] myPart = new part[4];
         for (i=0; i<4; i++)
                   myPart[0] = new part("Glass Break", 730, 12, 32.19);
                  myPart[1] = new part("Motion", 995, 14, 37.69);
                  myPart[2] = new part("Keypad", 220, 12, 50.69);
                  myPart[3] = new part("Contact", 944, 44, 1.19);
         final JButton firstBtn = new JButton("First");
         final JButton prevBtn = new JButton("Previous");
         final JButton nextBtn = new JButton("Next");
         final JButton lastBtn = new JButton("Last");
         final JLabel label;
         final JTextArea textArea;
         final JPanel buttonJPanel;
         //Add Logo          
         ImageIcon icon = new ImageIcon("javashield.JPG");
                   label = new JLabel("Some Company Inc.", icon, JLabel.RIGHT);
         //Set the position of the text, relative to the icon:
         label.setVerticalTextPosition(JLabel.BOTTOM);
         label.setHorizontalTextPosition(JLabel.CENTER);
         buttonJPanel = new JPanel(); // set up panel
         buttonJPanel.setLayout( new GridLayout(1, 4)); //set layout
              // add buttons to buttonPanel
         buttonJPanel.add(firstBtn);
         buttonJPanel.add(prevBtn);
         buttonJPanel.add(nextBtn);
         buttonJPanel.add(lastBtn);
    textArea = new JTextArea(myPart[3]+" "); // create textArea for product display
         // add total inventory value to GUI
    textArea.append("\nTotal value of Inventory "+new java.text.DecimalFormat("$0.00").format(totalInventory)+"\n\n");
    textArea.setEditable(false);
    JFrame invFrame = new JFrame();
    invFrame.setLayout(new BorderLayout());
    invFrame.getContentPane().add(new JScrollPane(textArea), BorderLayout.CENTER);
    invFrame.getContentPane().add(buttonJPanel, BorderLayout.SOUTH);
    invFrame.getContentPane().add(label, BorderLayout.NORTH);
    invFrame.setTitle("INVENTORY:");
    invFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    invFrame.setSize(350, 350);
    invFrame.setLocationRelativeTo(null);
    invFrame.setVisible(true);
    // assign actionListener and actionEvent for each button
    firstBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[0]+"\n");
    }); // end firstBtn
    prevBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[1]+"\n");
    }); // end prevBtn
    nextBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[2]+"\n");
    }); // end nextBtn
    lastBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[3]+"\n");
    }); // end lastBtn
    } // end main
    } // end class Inventory6
    class part
       public String partName;
       public int itemNum;
       public double units;
       public double price;
       //default constructor
    public part()
            partName = "";
            itemNum = 0;
            units = 0.0;
             price = 0.00;
        }//end default constructor
         //Parameterized Constructor
    public part( String partName, int itemNum, double units, double price)
            this.partName = partName;
             this.itemNum = itemNum;
             this.units = units;
             this.price = price;
        }//end constructor
         public void setpartName(String partName) {
             this.partName = partName;
            public String getpartName()
                return partName;
        public void setitemNum ( int itemNum )
           this.itemNum = itemNum;
        public int getitemNum()
         return itemNum;
        public void setunits ( double units )
             this.units = units;
         public double getunits()
              return units;
         public void setprice ( double price )
             this.price = price;
         public double getprice()
         return price;
      //calculates product total     
         public double invTotal()
         return (units * price);
    public String toString()
              return "Part:  "+partName+
                        "\nPart Number:  "+itemNum+
                        "\nUnits on hand: "+(int)units+
                        "\nPrice per unit:  $"+price+
                        "\nPart Total:  $"+invTotal();
    //end Class Part
    // Class Part holds Part information
    class Wireless extends part
    private String wlPart; // variable for added feature
    public Wireless(String partName, int itemNum, double units, double price, String addWL)
    // call to superclass  constructor
    super(partName, itemNum, units, price);
    wlPart = addWL;
    }// end constructor
    public void setwlPart(String addWL) // method to set added feature
    wlPart = addWL;
    public String getwlPart() // method to get added feature
    return wlPart;
    public double totalRestock() // method to set value and add restock fee
    return units * price * 0.05;
    public String toString()
    return "Part:  "+partName+
                        "\nPart Number:  "+itemNum+
                        "\nUnits on hand: "+(int)units+
                        "\nPrice per unit:  $"+price+
                        "\nRestock Fee:  $"+totalRestock()+     
                        "\nPart Total:  $"+invTotal();
    } I need to make my next and previous button keep going through the array. They go next or previous one time and stop. I know it is because of the way I wrote the statement
    textArea.setText(myPart[2]+"\n");What I can't figure out is how to make that statement be the current myPart and add 1 to it. I tried textArea.setText(myPart[i]+1+"\n");and it did not work either, I got these errors:
    C:\Inventory\Inventory.java:92: local variable i is accessed from within inner class; needs to be declared final
    textArea.setText(myPart[i]+1+"\n");
    ^
    C:\Inventory\Inventory.java:92: operator + cannot be applied to part,int
    textArea.setText(myPart[i]+1+"\n");
    ^
    2 errors
    So I tried to write {nextItem()}
    and writing a method for next item,
    nextBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    nextItem();
    }); // end nextBtn
    lastBtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    textArea.setText(myPart[3]+"n");
    } // end lastBtn actionEvent
    }); // end lastBtn actionListener
    } // end main
    private static void nextItem();
    if (myPart < myPart[]-1)
         myPart++;
         textArea.setText(myPart[0]);
    }and I get this error
    C:\Inventory\Inventory.java:109: '.class' expected
    if (myPart < myPart[]-1){
    ^
    1 error
    I thought '.class' expected meant I was missing a bracket, but I can't see where I am missing a bracket.
    I feel dumber by the minute.
    Am I not seeing something?

    Another suggestion. First create a non-GUI Inventory class, something like this:
    public class Inventory
        private part[] myPart;
        private int index = 0;
        public Inventory()
            myPart = new part[4];
            myPart[0] = new part("Glass Break", 730, 12, 32.19);
            myPart[1] = new part("Motion", 995, 14, 37.69);
            myPart[2] = new part("Keypad", 220, 12, 50.69);
            myPart[3] = new part("Contact", 944, 44, 1.19);
        public part getPart(int i)
            //TODO fill this in
        public part getFirst()
            //TODO fill this in
        public part getLast()
            //TODO fill this in
        public part getNext()
            //TODO fill this in
        public part getPrev()
            //TODO fill this in
        public double getTotalInventory()
            //TODO fill this in
        // this main is here only to test out the class
        public static void main(String[] args)
            Inventory inv = new Inventory();
            for (int i = 0; i < 4; i++)
                System.out.println(inv.getPart(i));  
                System.out.println();
            System.out.println("getFirst: " + inv.getFirst());
            System.out.println();
            for (int j = 0; j < 6; j++) // deliberately set to be > 4
                System.out.println("getNext: " + inv.getNext());
                System.out.println();
            for (int j = 0; j < 6; j++)
                System.out.println("getPrev: " + inv.getPrev());
                System.out.println();
            System.out.println("getLast: " + inv.getLast());
    }Then use this class as a variable within another class, say InventoryGUI. In this second class, the "next" button would call the Inventory object's getNext() method.

  • GUI: Implementing Previous-Button

    Hello!
    I have several SubVI's which all take effect on the
    content of one cluster. Now I want to build a GUI
    which calls all the SubVI's in an determined order.
    Implementing the 'Next'-Button was no problem, but
    I had some troubles with the 'Previous'-Button.
    In Labview-Language the Previous-Button from one
    SubVI calls this SubVI's caller. Does everyone
    understand what I want to do with the Previous-Button?
    The solution I found goes like this:
    Open, call and close the SubVI's via VI-References
    in a while loop. Test in each SubVI if 'Previous'- or
    'Next'-Button was pressed and decrement (previous) or
    increment (next) a counter. Return this counter to
    the while loop. Call previous or next VI depending
    on the actual coun
    ter value (and forward the actual
    counter to this VI). Exit the loop when the counter
    reaches the upper limit. There is no lower limit for
    the counter, because the first VI has got no
    'Previous'-Button.
    (Puuh, I am not used to write in english.)
    It works - as far as I see. My question is: is there
    a more intelligent/effective or better implementation
    for such a 'Previous'-Button?
    Any hints? Suggestions?
    Uwe Stange

    I think you have made a description of what a state machine
    is, a while loop with a shift register wired to a case
    structure, where you put the different conditions. I also
    think this is intelligent enough and very powerful too.
    Best regards
    Gorka
    * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful

  • Can't get Next/Previous Buttons to work

    Hi,
    I am trying to get the next/previous buttons to work on my jsp page. I have collected data from a resultset and stored it in an arrayList. My problem is that I am getting a null pointer exception when I try to display the jsp. I have a one to many relationship 1 company to many contracts and want to be able to go backwards and forwards through the contracts using the previous/next buttons. Any suggestions would be greatly appreciated. Below is my code:
    <%
    // Connection
    String pid = request.getParameter("partID");
    if (pid == null) {
    pid = "1034";
    String pname = null;
    String ref4 = null;
    String url = null;
    String program = null;
    String tier = null;
    String numcon = null;
    String active = null;
    String publish = null;
    String agreeid = null;
    String type = null;
    String recdate = null;
    String status = null;
    String rendate = null;
    String termdate = null;
    String descrip = null;
    ArrayList agreements = new ArrayList();
    try {
    ResultSet rs = statement.executeQuery("Select p.*, a.agreeid, a.type, a.status, a.recdate, "
    + "a.descrip, a.termdate, a.rendate "
    + "from partDB.partner p, partDB.agreement as a "
    + "where p.partid = '" + pid + "'"
    + "and p.partid=a.partid ");
    while (rs.next()) {
    Agreement agreement = new Agreement();
    agreement.setAgreeID(rs.getString("agreeid"));
    agreement.setPname(rs.getString("pname"));
    agreement.setRef4(rs.getString("ref4"));
    agreement.setUrl(rs.getString("url"));
    agreement.setProgram(rs.getString("program"));
    agreement.setTier(rs.getString("tier"));
    agreement.setNumcon(rs.getString("numcon"));
    agreement.setActive(rs.getString("active"));
    agreement.setPublish(rs.getString("publish"));
    agreement.setType(rs.getString("type"));
    agreement.setRecdate(rs.getString("recdate"));
    agreement.setStatus(rs.getString("status"));
    agreement.setDescrip(rs.getString("descrip"));
    agreement.setRendate(rs.getString("rendate"));
    agreement.setTermdate(rs.getString("termdate"));
    agreements.add(agreement);
    session.setAttribute("agreements", agreements);
    catch (Exception e){
    out.println("<pre>");
    PrintWriter errorOut = new PrintWriter(out);
    e.printStackTrace(errorOut);
    out.println("<br></pre>" + e);
    %>
    <!-- InstanceBeginEditable name="main" -->
    <%
    int agreementIndex = 0;
    agreements = (ArrayList) request.getAttribute("agreements");
    if (agreements == null) {
    request.setAttribute("agreements", agreements);
    if (request.getParameter("agreementIndex") != null) {
    agreementIndex = Integer.parseInt(request.getParameter("agreementIndex"));
    Agreement agreement = (Agreement)agreements.get(agreementIndex);
    int nextIndex = 0;
    int previousIndex = 0;
    if ((agreementIndex+1) >= agreements.size()) {
    nextIndex = -1;
    } else {
    nextIndex = agreementIndex++;
    if ((agreementIndex-1) < 0) {
    previousIndex = -1;
    } else {
    previousIndex = agreementIndex--;
    %>
    <div id="mainentity"><!-- #BeginLibraryItem "/library/oppEntityHeader.lbi" -->
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     General Information<img src="../images/collapsesection.gif" id="general_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> General Information
    </div>
    <div class="sectionbody" id="general">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Partner Name:</td><td class="formfieldvalue"><%=agreement.getPname() %></td></tr>
    <tr><td class="formfieldlabel">Contract:</td><td class="formfieldvalue"><%= agreement.getRef4() %></td></tr>
    <tr><td class="formfieldlabel">URL:</td><td class="formfieldvalue"><%= agreement.getUrl() %></td></tr>
    <tr><td class="formfieldlabel">Program:</td><td class="formfieldvalue"><%= agreement.getProgram() %></td></tr>
    <tr><td class="formfieldlabel">Tier:</td><td class="formfieldvalue"><%= agreement.getTier() %></td></tr>
    <tr><td class="formfieldlabel"># of Consultants:</td><td class="formfieldvalue"><%= agreement.getNumcon() %></td></tr>
    <tr><td class="formfieldlabel">Active:</td><td class="formfieldvalue"><%= agreement.getActive() %></td></tr>
    <tr><td class="formfieldlabel">Publish to Web:</td><td class="formfieldvalue"><%= agreement.getPublish() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <input type="button" value=" Edit " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='#'" />
    </div>
    </div>
    <br>
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     Agreement(s)<img src="../images/collapsesection.gif" id="codes_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> Agreement(s)
    </div>
    <div class="sectionbody" id="codes">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Agreement:</td><td class="formfieldvalue"><%= agreement.getType() %></td></tr>
    <tr><td class="formfieldlabel">Received Date:</td><td class="formfieldvalue"><%= agreement.getRecdate() %></td></tr>
    <tr><td class="formfieldlabel">Status:</td><td class="formfieldvalue"><%= agreement.getStatus() %></td></tr>
    <tr><td class="formfieldlabel">Description:</td><td class="formfieldvalue"><%= agreement.getDescrip() %></td></tr>
    <tr><td class="formfieldlabel">Renewal Date:</td><td class="formfieldvalue"><%= agreement.getRendate() %></td></tr>
    <tr><td class="formfieldlabel">Termination Date:</td><td class="formfieldvalue"><%= agreement.getTermdate() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <tr><td id="dialogbuttons" colspan="3">
    <!-- InstanceBeginEditable name="wizardbuttons" -->
    <%
    if (previousIndex != -1) {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=previousIndex%>" />
    <%
    } else {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="" disabled="disabled" />
    <%
    %>
    <%
    if (nextIndex != -1) {
    %>
    <input type="button" value=" Next " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=nextIndex%>" />
    <%
    } else {
    %>

    Hi Annie,
    Below is the code as I have it now and am still getting the null pointer exception. Thanks for looking at this for me, I have been struggling with it since before Christmas!
    <%
    // Connection
    String pid = request.getParameter("partID");
    if (pid == null) {
    pid = "1034";
    String pname = null;
    String ref4 = null;
    String url = null;
    String program = null;
    String tier = null;
    String numcon = null;
    String active = null;
    String publish = null;
    String agreeid = null;
    String type = null;
    String recdate = null;
    String status = null;
    String rendate = null;
    String termdate = null;
    String descrip = null;
    ArrayList agreements = new ArrayList();
    %>
    <!-- InstanceBeginEditable name="main" -->
    <%
    int agreementIndex = 0;
    agreements = (ArrayList) request.getAttribute("agreements");
    if (agreements == null) {
    try {
    ResultSet rs = statement.executeQuery("Select p.*, a.agreeid, a.type, a.status, a.recdate, "
    + "a.descrip, a.termdate, a.rendate "
    + "from partDB.partner p, partDB.agreement as a "
    + "where p.partid = '" + pid + "'"
    + "and p.partid=a.partid ");
    while (rs.next()) {
    Agreement agreement = new Agreement();
    agreement.setAgreeID(rs.getString("agreeid"));
    agreement.setPname(rs.getString("pname"));
    agreement.setRef4(rs.getString("ref4"));
    agreement.setUrl(rs.getString("url"));
    agreement.setProgram(rs.getString("program"));
    agreement.setTier(rs.getString("tier"));
    agreement.setNumcon(rs.getString("numcon"));
    agreement.setActive(rs.getString("active"));
    agreement.setPublish(rs.getString("publish"));
    agreement.setType(rs.getString("type"));
    agreement.setRecdate(rs.getString("recdate"));
    agreement.setStatus(rs.getString("status"));
    agreement.setDescrip(rs.getString("descrip"));
    agreement.setRendate(rs.getString("rendate"));
    agreement.setTermdate(rs.getString("termdate"));
    agreements.add(agreement);
    session.setAttribute("agreements", agreements);
    catch (Exception e){
    out.println("<pre>");
    PrintWriter errorOut = new PrintWriter(out);
    e.printStackTrace(errorOut);
    out.println("<br></pre>" + e);
    request.setAttribute("agreements", agreements);
    if (request.getParameter("agreementIndex") != null) {
    agreementIndex = Integer.parseInt(request.getParameter("agreementIndex"));
    Agreement agreement = (Agreement)agreements.get(agreementIndex);
    int nextIndex = 0;
    int previousIndex = 0;
    if ((agreementIndex+1) >= agreements.size()) {
    nextIndex = -1;
    } else {
    nextIndex = agreementIndex++;
    if ((agreementIndex-1) < 0) {
    previousIndex = -1;
    } else {
    previousIndex = agreementIndex--;
    %>
    <div id="mainentity"><!-- #BeginLibraryItem "/library/oppEntityHeader.lbi" -->
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     General Information<img src="../images/collapsesection.gif" id="general_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> General Information
    </div>
    <div class="sectionbody" id="general">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Partner Name:</td><td class="formfieldvalue"><%=agreement.getPname() %></td></tr>
    <tr><td class="formfieldlabel">Contract:</td><td class="formfieldvalue"><%= agreement.getRef4() %></td></tr>
    <tr><td class="formfieldlabel">URL:</td><td class="formfieldvalue"><%= agreement.getUrl() %></td></tr>
    <tr><td class="formfieldlabel">Program:</td><td class="formfieldvalue"><%= agreement.getProgram() %></td></tr>
    <tr><td class="formfieldlabel">Tier:</td><td class="formfieldvalue"><%= agreement.getTier() %></td></tr>
    <tr><td class="formfieldlabel"># of Consultants:</td><td class="formfieldvalue"><%= agreement.getNumcon() %></td></tr>
    <tr><td class="formfieldlabel">Active:</td><td class="formfieldvalue"><%= agreement.getActive() %></td></tr>
    <tr><td class="formfieldlabel">Publish to Web:</td><td class="formfieldvalue"><%= agreement.getPublish() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <input type="button" value=" Edit " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='#'" />
    </div>
    </div>
    <br>
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     Agreement(s)<img src="../images/collapsesection.gif" id="codes_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> Agreement(s)
    </div>
    <div class="sectionbody" id="codes">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Agreement:</td><td class="formfieldvalue"><%= agreement.getType() %></td></tr>
    <tr><td class="formfieldlabel">Received Date:</td><td class="formfieldvalue"><%= agreement.getRecdate() %></td></tr>
    <tr><td class="formfieldlabel">Status:</td><td class="formfieldvalue"><%= agreement.getStatus() %></td></tr>
    <tr><td class="formfieldlabel">Description:</td><td class="formfieldvalue"><%= agreement.getDescrip() %></td></tr>
    <tr><td class="formfieldlabel">Renewal Date:</td><td class="formfieldvalue"><%= agreement.getRendate() %></td></tr>
    <tr><td class="formfieldlabel">Termination Date:</td><td class="formfieldvalue"><%= agreement.getTermdate() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <tr><td id="dialogbuttons" colspan="3">
    <!-- InstanceBeginEditable name="wizardbuttons" -->
    <%
    if (previousIndex != -1) {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=previousIndex%>" />
    <%
    } else {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="" disabled="disabled" />
    <%
    %>
    <%
    if (nextIndex != -1) {
    %>
    <input type="button" value=" Next " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=nextIndex%>" />
    <%
    } else {
    %>
    <input type="button" value=" Next " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="" disabled="disabled" />
    <%
    %>

  • Slideshow w/next previous buttons and linkable images

    I am attempting to create a slideshow that incorporates next and previous buttons and will allow the viewer to click on the slideshow images to be taken to a different URL for each image.  I can do the slide show.  I can do the linked images. However, when I try to add the buttons I am at a loss.  I have created N/P buttons, but I cannot get them to work with linked images. Any suggestions?

    Can you elaborate on how much, and what, you've created? When you say you can do the slide show and you can do the linked images, what exactly did you do?
    How do you envision the slideshow actually visually working? Will multiple images be visible at once? What visual transition? These things matter when coding the button functionality.
    Of course you can always google for a premade slideshow, plenty free out there and unless you're doing it to learn, no real reason to reinvent the wheel.

  • "previous" button to the last frame of a MC

    I have a question that I hope will be super easy - I just
    can't see to find it. Also, flash is not my main app but I'm trying
    to pick up on some work that someone else had started. Here is the
    breakdown - in the main timeline there are a series of projects
    (frames labeled "projA, projB, etc). If you open up each project
    movie clip (say projB) it opens up a slide carousel-like interface
    (frame1=image1, frame2=image2, etc). The next button says
    "onRelease go to frame 2" and so on. When we get to the last frame
    in projB, the NEXT button says go to the root and play projC. This
    allows the end users to just hit NEXT the whole time and work their
    way through the presentation.
    Where I'm a bit stuck is on the PREVIOS button frame of
    projB. I would like it to go to the LAST frame of ProjA but the
    best I can do is to make it go back to the begining of Proj A
    on(release){
    _root.gotoAndPlay("projA");
    Is there a way to make it go to say, frame 4 of projA? Or
    better yet, just the "last" frame of projA? I know this is probably
    not the ideal way to set up the file, but i inherited the
    presentation from my co-worker. Any suggestions on how to make the
    PREV button work a bit better?

    you might be able to accomplish this through the use of a
    variable, although it will be tricky in the scenario you describe.
    declare a new variable on frame one main timeline, let's say
    'back':
    var back:Boolean;
    then on the frame label for each project you will use a
    condition to see if 'back' is true - if so, then use the condition
    to nav to the last frame of the project clip - something like:
    if(back) {
    back = false;
    projA.gotoAndStop(projA._totalFrames);
    this would belong on the main timeline, so in your previous
    button's 'on' handler add a statement to set 'back' to true so that
    the condition fires. and navigates to the last frame of the proj
    clip, as in:
    on(release){
    _root.back = true;
    _root.gotoAndPlay("projA");
    repeat this procedure for all project frames and buttons
    replacing the MC instances with the corresponding names.

  • How can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can i create an album with chose category list and next/previous button

    hello guys im working on a project for my uni i finished the whole website but one thing is missing
    i need to create a photo album with next and previous button, with choosing a category and inside each category i have like 5 pictures and i can change with the next/previous buttons to see another picture of the  same category.
    Please see the picture below to see what i mean.
    some told me it needs flash but i dont know how to work on it :S so plz if anyone can help me
    thank you

    Dear Mr. Murphy,
    thank you for your help.
    Actually i have tried to search for a tutorial and i found that one that was very helpful and gave me the half solution. the part i found and it worked with me is the part of the next and previous buttons and moving from an image to another.
    SO the part i still need is the list so when i click on a category i get the pictures of the chosen category, I had the idea of create a flash for each category alone and maybe i will be able to add them all together.
    But i guess it's too much work and there must be a way where i can make it all in one flash file.
    If you have any idea let me know please, thank you again for your help and i'm trying to search for the AS3 image gallery as you told me.
    Regards

  • How do I change the lable of next and previous button in GAF of FPM

    Hi Experts,
    How do I change the label of next and previous button in GAF application using FPM in each individual step?
    Thanks!

    Hello Anthony,
    as far as I am aware only the final step before the confirmation screen can be changed. Which you can do by clicking on it in the configuration view - click on the last but one step - and click on the next button - at the bottom of the screen you'll get a view where you can change the label of the step.
    There is some logic in this - in that it does make for a more consistent user experience across various apps.
    It's different to how we could do things in Java - but it's nice that there is a certain level of conformity across FPM apps.
    hope this helps,
    Cheers,
    Chris

  • Photo Gallery - Next or Previous Button

    Hi,
    I am new to Action Script and I have a small issue that I
    can't seem to figure out...
    Probably very easy for you guys... ;)
    (1)
    I have a Photo Gallery here, kinda like a Photo show and
    under the picture is a 'Next' and 'Previous' button.
    Now when the user will click on e.g. the 'Next' button I want
    the pic shown to change into the next picture.
    I have all my pics in a movieclip all with labels s1, s2, s3
    etc. ....
    I already have the code setup to go to the appropriate
    movieclip but I don't know how to tell Flash via Action Script to
    go to label "s" + 1.... meaning:
    if the picture with the label "s2" is shown right now and the
    user clicks on the 'Next' button Flash need to go to the mc with my
    pics in it and then to the label "s3" --> "s2" + 1
    How do I do that ?
    (2)
    Another thing I was thinking about:
    Let's say I have 7 pics in the photo gallery and user is
    seeing pic # 7 right now (label "s7") and he clicks the 'Next'
    button I need to tell Flash to jump to label "s1" (to the first
    pic) because there is no eigth picture...
    How is that done ?
    Note: I am using Flash 9 CS3 so either AS2 or AS3 is
    welcome...
    Any help is appreciated and I thank you in advance for that
    Mike

    quote:
    Originally posted by:
    CanonBoy
    if you go to here:
    http://www.sapphiremonkey.com/picDemo.zip
    you can download a simple Flash 8 document I made to show you
    the code.
    Kelly
    Kelly,
    thanx for your reply....
    I think we're very close but here's some more info - I
    probably should have stated that earlier... sorry ! ;)
    the thing is a little more complicated and I just wanna make
    sure I use ur code at the right spots:
    So here are the three main objects we're dealing with:
    (1) movieclip next_btn --> contains rollover and rollout
    effects for the Next button as well as an invisible button holding
    the action script for that button
    (2) movieclip 'rollover_mc' --> which will bring a nice
    rollover effect between the pics
    (3) movieclip 'pics_mc' --> contains my pictures in a
    simple timeline with labels s1, s2, s3 etc. and stop actions at
    each frame for each pic
    --> (1) and (2) are on the same level, (3) is nested
    inside of (2)
    when the user clicks (1) the 'Next' button (label: next_btn)
    the cursor in the timeline of (2) the 'rollover_mc' movieclip will
    proceed and produce nice rollover animation from one pic to the
    next pic, having (3) in the midst of the animation go from one pic
    to the next.... at least that's the idea.... ;)
    so the action script for the 'Next' button (label: next_btn)
    right now is:
    on(rollOver){
    gotoAndPlay("m1"); --> rollover effect for the next
    button
    on(releaseOutside, rollOut){ --> rollout effect of the
    next button
    gotoAndPlay("m2");
    on(release){
    this.pics_rollover_mc.gotoAndPlay("p1");
    --> p1 is the label of the frame where the cursor will
    jump to and start the rollover animation --> that works ;) haha
    while the animation is rolling over to the next pic and it is
    just covering the actual picture that was just shown, the cursor
    (runnning through the timeline in the (2) 'rollover_mc' movieclip)
    will hit a key frame with an action script in it...
    and in that action script I need to tell Flash to go to (3)
    the movieclip with my pics in it (label: pics_mc which is nested in
    that timeline) and go from let's say "s2" PLUS ONE to label "s3"
    (the next pic in the series)...
    right now the code in that keyframe is:
    this.pics_mc.gotoAndPlay("s2")
    which means it only shows (after the animation) Pic2 (label:
    s2)
    now the code that you gave does make sense to me but where do
    I need to put which parts ?
    here's your code again:
    stop();
    _global.n = 1;
    _root.next_mc.onRelease = function() {
    n = n+1;
    if (n == 5) {
    n = 1;
    _root.pics_mc.gotoAndStop("s"+n);
    For example, the establishing code for the variable n....
    where do I need to put this code so it is globally valid ?
    I pasted it into the action keyframe of my next_btn, so the
    code looked like this:
    on(rollOver){
    gotoAndPlay("m1");
    on(releaseOutside, rollOut){
    gotoAndPlay("m2");
    _global.n = 1;
    _root.next_btn.onRelease = function() {
    n = n+1;
    if (n == 5) {
    n = 1;
    _root.pics_mc.gotoAndStop("s"+n);
    and it gave me the following error message:
    **Error** Symbol=1.2 next_btn, layer=invisible_btn,
    frame=1:Line 7: Statement must appear within on handler
    _global.n = 1;
    **Error** Symbol=1.2 next_btn, layer=invisible_btn,
    frame=1:Line 8: Statement must appear within on handler
    _root.next_btn.onRelease = function()
    my (amateurish) opinion is that the part
    _root.pics_mc.gotoAndStop("s"+n); has to go into the action
    script keyframe that the cursor will hit when running through the
    timeline in the (2) rollover_mc movieclip
    therefore if u wanna start the animation when u click the
    button u would have to change your code that u paste into the
    next_btn keyframe:
    on(rollOver){
    gotoAndPlay("m1");
    on(releaseOutside, rollOut){
    gotoAndPlay("m2");
    _global.n = 1;
    _root.next_btn.onRelease = function() {
    n = n+1;
    if (n == 5) {
    n = 1;
    _root.pics_rollover_mc.gotoAndPlay("p1");
    I did that but it still gives me the above error message....
    Thanx for your help in advance ! ;)

  • Photo Gallery ....disable a previous button once it reaches img zero

    I have made a simple photo gallery that reads from external XML file. The gallery allows the user to see the next image by clicking the next button as well as the previous image by clicking the previous button.
    I need a bit of code that would disable the previous button when its at the first image, and disable the next image once the user is on the last image.
    This is what I have thus far:
    var xmlRequest:URLRequest = new URLRequest("wImgData.xml");
    var xmlLoader:URLLoader = new URLLoader(xmlRequest);
    var imgData:XML;
    var imageLoader:Loader;
    var rawImage:String;
    var rawH:String;
    var rawW:String;
    var imgNum:Number = 0;
    var checkSec:Timer = new Timer(1);
    var numberOfChildren:Number;
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoadedF);
    next_btn.addEventListener(MouseEvent.CLICK, nextImgF);
    prev_btn.addEventListener(MouseEvent.CLICK, prevImgF);
    master_mc.buttonMode = true;
    function xmlLoadedF(event:Event):void{
        checkSec.start();
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgData = new XML(event.target.data);   
    function packagedF():void{
        checkSec.start();
        checkSec.removeEventListener(TimerEvent.TIMER, checkerF);
        rawImage = imgData.image[imgNum].imgURL;
        numberOfChildren = imgData.*.length();
        rawW = imgData.image[imgNum].imgW;
        rawH = imgData.image[imgNum].imgH;
        imageLoader = new Loader;
        imageLoader.load(new URLRequest(rawImage));
        master_mc.addChild(imageLoader);
        imageLoader.x = (stage.stageWidth - Number(rawW)) /2;
        imageLoader.y = (stage.stageHeight - Number(rawH)) /2;
    function checkerF(event:TimerEvent):void{
        if(imgNum == 0){
            packagedF();
        }else if(imgNum < numberOfChildren){
            imageLoader.unload();
            packagedF();
        }else{
            imageLoader.unload();
            imgNum = 0;
            packagedF();
    function nextImgF(event:MouseEvent):void{
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgNum++;
    function prevImgF (event:MouseEvent):void{
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgNum--;

    All you need to do is remove the listeners in the event handlers for the buttons. I'll use previous as an example.
    function prevImgF (event:MouseEvent):void{
        checkSec.addEventListener(TimerEvent.TIMER, checkerF);
        imgNum--;
         if(imgNum == 0){
              //at first
              prev_btn.removeEventListener(MouseEvent.CLICK, prevImgF);
    You'd do the same to the next button's listener when the imgNum == the number of images. You'll also need to add the previous listener back to the button when they press next.

  • Previous button of af:singleStepButtonBar in wizard yields validation error

    Dear All,
    In one of the JHeadstart generated wizard pages, we have included a af:selectOneChoice with required=true. When we navigate back to the previous wizard page (by clicking on the Previous button generated by the
    af:singleStepButtonBar, the application correctly displays the previous page, but with an error message in the messages facet: "<fieldname> - Selection required".
    This is clearly not the intended behaviour.
    When we navigate back to a previous wizard page, no input or model validations should be executed and no messages should be displayed, only when navigating to the next page.
    Any ideas on how we can achieve this, would be highly appreciated.
    Regards,
    Ibrahim

    Hi Ibrahim,
    This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. Can you please ask this question at the JDeveloper forum at JDeveloper and ADF ? Thanks!
    Regards,
    Evert-Jan de Bruin
    Jheadstart Team

  • Previous Button applying previous adjustments to multiple photos for some reason

    So yesterday I was editing tons of photos, using the Previous Button once at a time to add the previous photo's adjustments to the next selected photo and everything was a great.
    Today I hit Previous and the selected photo AND every photo after it gets adjusted.
    What could I have possibly hit to change the behavior of the button?
    Thanks!

    No, to the left of the Sync button is a button that says Previous. It's a pretty popular feature. If you only have one image selected it becomes an active clickable button and applies any adjustments from the last photo you messed with to the currently viewed photo. Sort of like a single one at a time sync. It randomly stopped behaving the way it's supposed to (after 48 hours or so of working the right way) and started working more like the Sync button and I'm trying to find out what could have changed and get it back to working right.

  • "Previous" Button has disappeared

    I'm on Windows XP Pro, 2 Gig RAM, Raid 1 (2 36GB Raptors), 500 GB in HD on two drives, Externals total 1 Tb. My Lightroom is the trial version downloaded last week (May 18th or thereabouts). I am a professional photographer. www.twmeyer.com.
    Here's my problem:
    the "previous" button is not showing up in the "Develop" module, and even though the help files say
    "In the Develop module, click the Previous button to the right of the toolbar, or choose Develop > Paste Settings From Previous.
    there is no "Previous" button, and the Help menu further states
    "When multiple photos are selected in the Filmstrip, the Previous button in the Develop module turns into the Sync button."
    But I can't tell how to select (aside from just clicking on an image), if multiples are selected, or how to de-select (aside from clicking on a different image). Just above the Filmstrip, in the area where the filter settings are, it is indicated that I am in a particular collection, that there are 709 photos in that collection and they are all selected: "709 photos / 709 selected".
    I suspect this "selection" is what's causing the problem, as in "When multiple photos are selected in the Filmstrip, the Previous button in the Develop module turns into the Sync button"... which is exactly what I'm looking at... The coveted "Previous" button is now the unattractive "Sync" button.
    Any other ideas?.
    I don't want to have to Cnrtl>Alt>V my way through hundreds... thousands of images. The advantage of the previous button is that each image is not exactly like the next, but the next is frequently very similar to the previous one (within a relatively contiguous set of moments), so I can correct the first in a series of images in a complex manner, move to the next image and click "Previous" and then apply the minor tweak necessary. This, rather than go through all the different settings on every image.
    Since it is, from one photo to the next, an incremental and shifting change (like getting closer to a window, or perhaps a cloud goes by that window, or moving deeper into a tungsten lit room) it doesn't make sense to apply any one set of corrections to all the photos in these "real world" images (not studio lit). I want to fluidly move through the collection bumping exposure on this one, apply those changes to the next image and maybe bump the WB on it, and so on.
    I want the "darned" :^) "Previous" button!... Help!... t

    and solved. It was some sort of locked on selection. I'm not sure the problem started, but it may be connected to the library being reconfigured. It (the Library) was on the C drive but the images were on an external that is turned on and off as needed. This may have caused some conflict that I haven't the tech-head to noodle out.
    I just got another 500G External drive that I plan to dedicate to the Lightroom Library and all new images for editing. Does this mean I have to delete and re-import again? or can I move it from my C drive otherwise, somehow? I plan to generate sidecars with all new imports, hoping that I will then be able to move the images to other externals (and optical disks) for archiving, and carry them to my studio computer with LR data intact. This archiving and pass through will be of both original NEF files and derivative PSDs and JPGs. Workable?
    I will be getting (and reading) Martin Evening's Lightroom Book before taking any more significant actions. It was in his PDF download (and from Ellis V) that I discovered the idea of locating the Library in an external or secondary HD, rather than in the default location on my precious C drive.
    Thanks again for all who tipped in on this issue and who might address these secondary issues (or should they be another thread?)... t

Maybe you are looking for

  • How do you delete play lists from an iPod that is sharing the same itunes account as your iphone?

    Hi, I've just purchased my daughter an iPod Touch, I've registed the iPod on my iTunes account, but now it has all the same play lists that I have on my iPhone - some of the music isn't suitable but I can't delete any of it.  Does anybody know how I

  • Regardig error while updating the database table

    hi experts,    i m trying to update the database table from the values containig in my internal table  ,,,but the system is giving this error plz help me:::: The type of the database table and work area (or internal table) "ITAB_UPDATE" are not Unico

  • My new iPod touch 5G's speaker isn't working correctly...

    I got my iPod touch 2 days ago and I woke up today and played some music and all of a sudden, the speaker is buzzing while playing music, a game, or even when notifications come up. Is there anything that caused it?  Is there anything that can fix it

  • How to set oracle archive parameter to off

    Hi All,             can anyone let me know how to set oracle parameter off.And are thier any prerequisites that needs to be taken care. Thanks in advance for the help, Regards, Raj

  • Presenter 7 Question Description for SCORM Interactions

    I am trying to support a client using our LMS. He is creating SCORM 2004 content with quizzes using Adobe Presenter 7. He has chosen to report question-level details for the quiz interactions. All data comes through in the LMS just fine, except for t