Problem in CO extension to return to main page from Dialog Page

Dear All,
I extended a CO and Over rode PFR.
My intention is to show a dialog page when "Submit" button is clicked. I am able to show a dialog page, but i am not able to return to the main page upon clicking "OK" in the dialog page.
Please find the code below in the PFR:
if (oapagecontext.getParameter("HrSubmit") != null)
          MessageToken[] tokens = { new MessageToken("MESSAGE", "Please add attachments")};
          OAException mainMessage = new OAException("AK","XX_CUST_MSG", tokens);
          OADialogPage dialogPage = new OADialogPage(OAException.ERROR, mainMessage, null, "", null);
          dialogPage.setRetainAMValue(true);
          dialogPage.setOkButtonItemName("OK");
          dialogPage.setOkButtonToPost(true);
          dialogPage.setPostToCallingPage(true);
          oapagecontext.redirectToDialogPage(dialogPage);     
if (oapagecontext.getParameter("OK") != null)
               super.processFormRequest(oapagecontext, oawebbean);
Though i am calling super.processFormRequest, the page is errroring out as soon as i press OK button in the dialog page.
Please let me know where i went wrong??
Thanks
Raj

Hi Centinul,
Thanks for the reply. I changed the code as you told, but it did not work.
Please find the below Code of PFR:
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
          super.processFormRequest(oapagecontext, oawebbean);
          OAApplicationModule rootam =oapagecontext.getRootApplicationModule();
          OAApplicationModule applicationModule = oapagecontext.getApplicationModule(oawebbean);
          String absType = (String)oapagecontext.getTransactionValue("AbsenceAttendanceTypeId");
          String absDur = (String)oapagecontext.getTransactionValue("DurationDays");
          String return_value,emp_name;
          int personId= oapagecontext.getEmployeeId();
          int absDays= Integer.parseInt(absDur);
          if (oapagecontext.getParameter("HrSubmit") != null)
               if (("65".equals((String)absType))&& (absDays>1))
                         try{
                              OADBTransaction txn = (OADBTransaction)applicationModule.getOADBTransaction();
                              OracleCallableStatement cs =(OracleCallableStatement)txn.createCallableStatement("Call xx_msft_loa_ppattach(?,?)", 10);
                              cs.setInt(1,personId);
                              cs.registerOutParameter(2,Types.CHAR);
                              cs.execute();
                              return_value = new String(cs.getString(2));
                              cs.close();
                              }//try
                         catch(Exception e)
                              System.out.println("error..... " + e.getMessage());
                              OAException confirmMessage = new OAException(e.getMessage(),OAException.ERROR);
                              throw OAException.wrapperException(confirmMessage);
                              }//catch
                    if ("NO".equals (return_value))
                         try{
                         OADBTransaction txn1 = (OADBTransaction)applicationModule.getOADBTransaction();
                         OracleCallableStatement cs1 =(OracleCallableStatement)txn1.createCallableStatement("Call xx_msft_loa_ppfullname(?,?)", 20);
                         cs1.setInt(1,personId);
                         cs1.registerOutParameter(2,Types.CHAR);
                         cs1.execute();
                         emp_name = new String(cs1.getString(2));
                              }//try
                         catch(Exception e)
                              System.out.println("error..... " + e.getMessage());
                              OAException confirmMessage = new OAException(e.getMessage(),OAException.ERROR);
                              throw OAException.wrapperException(confirmMessage);
                              }//catch
                         MessageToken[] nameTokens = {new MessageToken("EMP_NAME", emp_name)};
                         OAException mainMessageName = new OAException("AK","MSFT_LOA_PP_MSG", nameTokens);
                         OADialogPage dialogPageName = new OADialogPage(OAException.ERROR, mainMessageName, null, "", null);
                         dialogPageName.setOkButtonItemName("OK");
                         dialogPageName.setOkButtonToPost(true);
                         dialogPageName.setPostToCallingPage(true);
                         oapagecontext.redirectToDialogPage(dialogPageName);
                    }//NO if
               }//65 if
               }//HrSubmit if
else if (oapagecontext.getParameter("OK") != null)
                    oapagecontext.forwardImmediatelyToCurrentPage(null, true, null);
     }//PFR
Upon checking some conditions , i am redirecting to a dialog page after the submit button is pressed, in which i am showing a custom message and a OK button. My intention is after pressing the OK button, it should return back to the original page. i used 'forwardImmediatelyToCurrentPage' whihc is not working.
As soon as i press OK button, the page is erroring out, with out even showing the error stack. It only shows
'You have encountered an unexpected error. Please contact the System Administrator for assistance.'
Please let me know where i went wrong
Thanks
Raj

Similar Messages

  • Returning to main timeline from movie clip

    okay on my main timeline i have an intro, then a main menu. from that main menu it goes to a movie clip, i want to create a 'back to main menu' button inside the movieclip that will return to a certain frame in the main timeline.
    can anybody help me in what coding to use?
    cheers

    ive put the code in my main timeline where on the same frame as the movieclip, but im coming up with an error which is:
    Scene 1, Layer 'Actions', Frame 471, Line 3
    1119: Access of possibly undefined property back_btn through a reference with static type flash.display:SimpleButton.
    ive put in the instance name of the button which is inside the movieclip but doesnt seem to work

  • JAI - problem displaying additional pages from multi-page image

    Hi,
    I have 10 page multipage tiff images. And i would like to show the images one-by-one on a ScrollingImagePanel.
    I have a Main frame with two panels. Panel1 which shows the ScrollingImagePanel.
    And Panel2 has two buttons. LOAD Button show the 1st page on the ScrollingImagePanel.
    And NEXT button is suppose to show the 2nd page and continue until the end of the multipage images.
    I am having problem with the NEXT button. I wrote a program that show the page number and page height
    on the output screen. It shows the page# and different heights. But it would not show the images on the ScrollingImagePanel.
    It just shows the 1st page. I would appreciate if you can help me out with this problom.
    Please find the code which is written in JBuilder.
    // Main class
    package untitled1;
    import java.awt.*;
    import javax.swing.UIManager;
    import java.awt.*;
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.event.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class Application1 {
    boolean packFrame = false;
    //Construct the application
    public Application1() {
    Frame2 frame = new Frame2();
    frame.setSize(820,700);
    //Validate frames that have preset sizes
    //Pack frames that have useful preferred size info, e.g. from their layout
    if (packFrame) {
    frame.pack();
    else {
    frame.validate();
    //Center the window
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    if (frameSize.height > screenSize.height) {
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width) {
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.setVisible(true);
    //Main method
    public static void main(String[] args) {
    new Application1();
    // Frame2 Class
    package untitled1;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.UIManager;
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.event.*;
    import java.awt.image.renderable.ParameterBlock;
    import javax.media.jai.*;
    import javax.media.jai.widget.*;
    import com.sun.media.jai.codec.*;
    import java.util.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class Frame2 extends Frame {
    JPanel jPanel1 = new JPanel();
    JPanel jPanel2 = new JPanel();
    JButton loadButton = new JButton();
    public static ScrollingImagePanel panel, panels;
    JButton nextButton = new JButton();
    public String filename= "144.tif";
    public File file;
    public SeekableStream s;
    public ImageDecoder dec;
    protected int imageWidth, imageHeight;
    public int nextpage = 1;
    public RenderedOp image2 = null;
    public RenderedImage op = null;
    //Frame Constructor
    public Frame2() {
    try {
    jbInit();
    catch(IOException e) {
    e.printStackTrace();
    private void jbInit() throws IOException {
    this.setLayout(null);
    this.addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    this_windowClosing(e);
    jPanel1.setBackground(Color.white);
    jPanel1.setBorder(BorderFactory.createLineBorder(Color.black));
    jPanel1.setBounds(new Rectangle(1, 7, 816, 648));
    jPanel1.setLayout(null);
    jPanel2.setBackground(Color.lightGray);
    jPanel2.setBorder(BorderFactory.createLineBorder(Color.black));
    jPanel2.setBounds(new Rectangle(1, 657, 816, 42));
    loadButton.setText("Load");
    loadButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try{                          
    loadButton_actionPerformed(e);
    catch(IOException IOE){
    System.out.println(IOE);
    nextButton.setText("Next");
    nextButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    nextButton_actionPerformed(e);
    catch(IOException IOE){
    System.out.println(IOE);
    this.setResizable(false);
    this.add(jPanel1, null);
    this.add(jPanel2, null);
    jPanel2.add(loadButton, null);
    jPanel2.add(nextButton, null);
    void this_windowClosing(WindowEvent e) {
    System.exit(0);
    //Load Image Button
    void loadButton_actionPerformed(ActionEvent e) throws IOException { 
    file = new File(filename);
    s = new FileSeekableStream(file);
    dec = ImageCodec.createImageDecoder("tiff", s, null);
    RenderedImage op =
    new NullOpImage(dec.decodeAsRenderedImage(),
    null,
    OpImage.OP_IO_BOUND,
    null);
    Interpolation interp = Interpolation.getInstance(Interpolation.INTERP_BILINEAR);
    ParameterBlock params = new ParameterBlock();
    params.addSource(op);
    params.add(0.55F); // x scale factor
    params.add(0.335F); // y scale factor
    params.add(0.00F); // x translate
    params.add(0.00F); // y translate
    params.add(interp); // interpolation method
    image2 = JAI.create("scale", params);
    int width = (int)(image2.getWidth() * .73);
    int height = (int)(image2.getHeight() * .73);
    panel = new ScrollingImagePanel(image2, 819, 648);
    jPanel1.add(panel);
    this.setVisible(true);
    //Next Image Button
    void nextButton_actionPerformed(ActionEvent e) throws IOException {
    TIFFDecodeParam param = null;
    file = new File(filename);
    s = new FileSeekableStream(file);
    dec = ImageCodec.createImageDecoder("tiff", s, param);
    nextpage++;
    System.out.println(nextpage);
    RenderedImage op1 =
    new NullOpImage(dec.decodeAsRenderedImage(nextpage),
    null,
    OpImage.OP_IO_BOUND,
    null);
    Interpolation interp = Interpolation.getInstance(Interpolation.INTERP_BILINEAR);
    ParameterBlock params = new ParameterBlock();
    params.addSource(op1);
    params.add(0.55F); // x scale factor
    params.add(0.335F); // y scale factor
    params.add(0.00F); // x translate
    params.add(0.00F); // y translate
    params.add(interp); // interpolation method
    image2 = JAI.create("scale", params);
    int width = (int)(image2.getWidth() * .73); //1.03);
    int height = (int)(image2.getHeight() * .73); //1.03);
    panels = new ScrollingImagePanel(image2, width, height);
    System.out.println(op1.getHeight());
    jPanel1.add(panels);
    this.setVisible(true);
    thanks in advance

    Take a look at this code.
    //Search the Policynumber
    void searchButton_actionPerformed(ActionEvent e) {
    try{
    nextButton.setEnabled(false);
    previousButton.setEnabled(false);
    String query = "SELECT * FROM PINFO WHERE POLICYNUMBER = '" +
    searchTextfield.getText().toUpperCase() + "'";
    ResultSet rs = Application1.stmt.executeQuery(query);
    while(rs.next()){
    pid = (rs.getInt("PID"));
    policynumber = rs.getString("POLICYNUMBER");
    firstName = rs.getString("FIRSTNAME");
    lastName = rs.getString("LASTNAME");
    jLabel2.setText(policynumber);
    jLabel3.setText(firstName);
    jLabel4.setText(lastName);
    catch(SQLException ex){
    System.err.println("SQLException: " + ex.getMessage());
    try{
    String query = "SELECT * FROM (UNMATCH U LEFT JOIN DOCUMENTTYPE D ON U.DOCUMENTTYPE=D.DOCNUMBER) WHERE PID = '" + pid + "' ORDER BY D.DOCUMENTCODE";
    ResultSet rs1 = Application1.stmt.executeQuery(query);
    clearJList();
    v.removeAllElements();
    jList1.setListData(v);
    v1.clear();
    while(rs1.next()){
    documentcode = rs1.getString("DOCUMENTCODE");
    uindex = rs1.getString("UINDEX");
    v.add(documentcode);
    v1.add(uindex);
    jList1.setListData(v);
    clearTextfield();
    catch(SQLException s){
    System.err.println("SQLException: " + s.getMessage());
    public void clearJList(){
    jList1.setListData(v);
    public void clearTextfield(){
    searchTextfield.setText("");
    // ****** Loads the selected Image
    void jList1_mouseClicked(MouseEvent e){
    try{
    vector.clear();
    nextpage = 1;
    currentpage = 1;
    nextButton.setEnabled(true);
    previousButton.setEnabled(false);
    if (spane != null)
    jPanel1.removeAll();
    seek = null;
    String query1 = "SELECT * FROM UNMATCH WHERE UINDEX = '" + v1.get(jList1.getSelectedIndex()).toString() + "'";
    rs2 = Application1.stmt.executeQuery(query1);
    while (rs2.next()){
    stream = rs2.getBinaryStream("IMAGE");
    seek = new MemoryCacheSeekableStream(stream);
    TIFFDecodeParam param = null;
    dec = ImageCodec.createImageDecoder("tiff", seek, param);
    try{
    totalPages = dec.getNumPages();
    jLabel1.setText("Page 1 of "+totalPages);
    if (nextpage==totalPages)
    nextButton.setEnabled(false);
    op1 =
    new NullOpImage(dec.decodeAsRenderedImage(nextpage-1),
    null,
    OpImage.OP_IO_BOUND,
    null);
    vector.addElement(op1);
    // ParameterBlock params = new ParameterBlock();
    // params.addSource(op1);
    // panel = new DisplayJAI(op1);
    panel = new DisplayJAI((RenderedImage)vector.elementAt(0));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    jPanel1.validate();
    this.setVisible(true);
    catch(IOException dfs){
    } // while
    } // try
    catch(SQLException s){
    System.err.println("SQLException: " + s.getMessage());
    // Next Image
    void nextButton_actionPerformed(ActionEvent e) {
    try{
    if (spane != null)
    jPanel1.removeAll();
    ++nextpage;
    if (nextpage==totalPages)
    nextButton.setEnabled(false);
    previousButton.setEnabled(true);
    jLabel1.setText("Page " + nextpage +" of "+totalPages);
    TIFFDecodeParam param = null;
    dec = ImageCodec.createImageDecoder("tiff", seek, param);
    currentpage = nextpage;
    ParameterBlock paramblock = new ParameterBlock();
    paramblock.addSource(op1);
    vector.addElement(new NullOpImage(dec.decodeAsRenderedImage(nextpage-1),
    null,
    OpImage.OP_IO_BOUND,
    null));
    panel = new DisplayJAI((RenderedImage)vector.elementAt(currentpage-1));
    // panel = new DisplayJAI(op1);
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    setVisible(true);
    catch(IOException o){
    System.out.println(o);
    finally{
    // PreviousButton
    void previousButton_actionPerformed(ActionEvent e) {
    try{
    if (spane != null)
    jPanel1.removeAll();
    --nextpage;
    if (nextpage==1)
    previousButton.setEnabled(false);
    nextButton.setEnabled(true);
    jLabel1.setText("Page " + nextpage +" of "+totalPages);
    TIFFDecodeParam param = null;
    dec = ImageCodec.createImageDecoder("tiff", seek, param);
    currentpage = nextpage;
    vector.addElement(new NullOpImage(dec.decodeAsRenderedImage(nextpage-1),
    null,
    OpImage.OP_IO_BOUND,
    null));
    panel = new DisplayJAI((RenderedImage)vector.elementAt(currentpage-1));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    setVisible(true);
    catch(IOException o){
    System.out.println(o);
    // Zoom ComboBox Item Select
    void jComboBox1_itemStateChanged(ItemEvent e) {
    if (e.getStateChange() == ItemEvent.DESELECTED)
    if (spane != null)
    jPanel1.removeAll();
    Interpolation interp = Interpolation.getInstance(Interpolation.INTERP_BICUBIC);
    ParameterBlock params = new ParameterBlock();
    params.addSource(op1);
    params.add(Float.valueOf(jComboBox1.getSelectedItem().toString()).floatValue()/100.0f);
    params.add(Float.valueOf(jComboBox1.getSelectedItem().toString()).floatValue()/100.0f);
    params.add(0.0F);
    params.add(0.0F);
    params.add(interp);
    // image2 = JAI.create("scale",params);
    vector.add(currentpage-1,JAI.create("scale",params));
    panel = new DisplayJAI((RenderedOp)vector.elementAt(currentpage-1));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    jPanel1.validate();
    this.setVisible(true);
    repaint();
    // Rotate ComboBox Item Select
    void jComboBox2_itemStateChanged(ItemEvent e) {
    if (e.getStateChange() == ItemEvent.DESELECTED)
    if (spane != null)
    jPanel1.removeAll();
    type =null;
    type = transposeTypes[jComboBox2.getSelectedIndex()];
    ParameterBlock pb = new ParameterBlock();
    pb.addSource((RenderedImage)vector.elementAt(currentpage-1));
    pb.add(type);
    PlanarImage im2 = JAI.create("transpose", pb, renderHints);
    vector.add(currentpage-1,im2);
    panel = new DisplayJAI((RenderedOp)vector.elementAt(currentpage-1));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    jPanel1.validate();
    this.setVisible(true);
    void printButton_actionPerformed(ActionEvent e) {
    print();
    protected void print() {
    PrinterJob pj = PrinterJob.getPrinterJob();
    pj.setPrintable(this);
    // PageFormat format = pj.pageDialog(pj.defaultPage());
    // Book bk = new Book();
    // bk.append(this,pj.defaultPage());
    // pj.setPageable(bk);
    if(pj.printDialog()){
    try{
    pj.print();
    catch(Exception e){
    System.out.println(e);
    else{
    System.out.println("Did Not Print Any Pages");
    public int print(Graphics g, PageFormat f, int pageIndex){
    if(pageIndex >= 1){
    return Printable.NO_SUCH_PAGE;
    Graphics2D g2d = (Graphics2D) g;
    g2d.translate(f.getImageableX(), f.getImageableY());
    if(op1 != null){
    double scales = Math.min(f.getImageableWidth()/ op1.getWidth(), f.getImageableHeight()/ op1.getHeight());
    g2d.scale(scales,scales);
    printImage(g2d, op1);
    return Printable.PAGE_EXISTS;
    else{
    return Printable.NO_SUCH_PAGE;
    public void printImage(Graphics2D g2d, RenderedImage image){
    if((image == null)|| (g2d == null)) return;
    int x = printLoc.x;
    int y = printLoc.y;
    AffineTransform at = new AffineTransform();
    at.translate(x,y);
    g2d.drawRenderedImage(image,at);
    public void setPrintLocation(Point d) {
    printLoc = d;
    public Point getPrintLocation() {
    return printLoc;

  • Automatically return to main vi from subi

    I have a main VI and a sub VI. The sub vi front panel is opened when it is called and the main VI is updated. But I need to automatically return to the main VI front panel after running the subvi
    Attachments:
    24-01-2014 main vi.vi ‏121 KB
    electron volatage sub vi.vi ‏9 KB
    mass sweep subvi.vi ‏17 KB

    Norbert_B wrote:
    Despite that, the code and interfaces should be reworked to match common development style guides (e.g. gray scale colors).
    Agreed!
    What's the point of the outer case structure of the main VI (now encompassing while loop). Are you using "continuous run" for this???
    Yes, your color scheme is just garish!
    Why do you have colored case structures on the diagram? Makes the wires hard to see (try a boolean wire in one of you case structures!). Use the default white, or, if you absolutely must, very light pastel colors as background.
    There is no reason to maximise the front panels of the subVIs, blocking everything else on the desktop. Same for the diagrams.
    You have a lot of explicit repetitive operations (e.g. string subset). That could be done in a loop instead, reducing the code to <10% of the current complexity.
    Your small cases all contain "replace substring", since this is common to all cases of each case structure, it belongs after the case structure. The case structure only needs to contain what's different (the string in this case)! Even better use a string array and index into it with the ring. No case structure needed at all!
    If you want to make the subVIs interactive, they need to wait for user input. Currently they show for a nanosecond, complete, and disappear again. (hint: while loop and event structure, for example.)
    What is the point of the flat sequence? Seems unecessary.
    There is a primitive for "equal zero". Alternatively, wire the integer to the case selector and make one case zero and the other "default".
    Your front panel has a wild mix of fonts (arial. times roman, application, etc.). Make a gobal design decision!
    Why are your LEDs distorted in random directions? Keep them all round or at least all the same shape.
    LabVIEW Champion . Do more with less code and in less time .

  • Visual Class: Set a label in main window from dialog box

    Hi,
    Firstly my project is a visual project and at the time being has only 2 classes, both visual. One a main window and then one a dialog.
    The project is about a gym membership, and what i want it to do at the moment is to set the name text box i have in the main window by typying it in another text box in my dialog. Understand?
    This is my text field method in MainWindow...
    public JTextField getNameTextField() {
              if (NameTextField == null) {
                   NameTextField = new JTextField();
                   NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
              return NameTextField;
         }And my New Member text field in the dialog, called NameDialog
    private JTextField getNewMemberTextField() {
              if (NewMemberTextField == null) {
                   NewMemberTextField = new JTextField();
                   NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
              return NewMemberTextField;
         }In the dialog i have created a button called,"OK" and if i press it without entering a String then an error box appears which all works correctly. Then as you can see if i enter a String here i want this String to be entered and showed in my MainWindow class in the name text box.
    But this is not working and i am having trouble here after the else...
    else {
    GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();                                 mainWindow.getNameTextField().setText(getNewMemberTextField().getText());                              
    NameDialog.this.setVisible(false);Sorry but do you understand what i am trying to do? Apologies if any of it is unclear.
    Would appreciate any help. Thank you.

    Ok well there is quite a bit, but only 2 classes. This is the first class which is the main class.
         package membership;
    import javax.swing.SwingUtilities;
    import java.awt.BorderLayout;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.awt.Dimension;
    import javax.swing.JMenu;
    import java.awt.Rectangle;
    import javax.swing.JMenuItem;
    import javax.swing.JMenuBar;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JRadioButton;
    import javax.swing.ButtonGroup;
    public class GymMembershipMainWindow extends JFrame {
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JMenuBar applicationMenuBar = null;
         private JMenu memberMenu = null;
         private JMenuItem changeNameMenuItem = null;
         private JMenuItem changeAddressMenuItem = null;
         private JLabel NameLabel = null;
         private JLabel AddressLabel = null;
         private JTextField NameTextField = null;
         private JTextField AddressTextField = null;
         private JLabel MembershipTypeLabel = null;
         private JRadioButton MonthlyRadioButton = null;
         private JRadioButton AnnualRadioButton = null;
         private JLabel PersonalTrainerLabel = null;
         private ButtonGroup group = new ButtonGroup();
          * This method initializes applicationMenuBar     
          * @return javax.swing.JMenuBar     
         private JMenuBar getApplicationMenuBar() {
              if (applicationMenuBar == null) {
                   applicationMenuBar = new JMenuBar();
                   applicationMenuBar.add(getMemberMenu());
              return applicationMenuBar;
          * This method initializes memberMenu     
          * @return javax.swing.JMenu     
         private JMenu getMemberMenu() {
              if (memberMenu == null) {
                   memberMenu = new JMenu();
                   memberMenu.setText("Member");
                   memberMenu.add(getChangeNameMenuItem());
                   memberMenu.add(getChangeAddressMenuItem());
              return memberMenu;
          * This method initializes changeNameMenuItem     
          * @return javax.swing.JMenuItem     
         private JMenuItem getChangeNameMenuItem() {
              if (changeNameMenuItem == null) {
                   changeNameMenuItem = new JMenuItem();
                   changeNameMenuItem.setText("Change Name");
                   changeNameMenuItem.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                        NameDialog dialog = new NameDialog();
                        dialog.setLocationRelativeTo(GymMembershipMainWindow.this);
                        dialog.setModal(true);
                        dialog.setVisible(true);
              return changeNameMenuItem;
          * This method initializes changeAddressMenuItem     
          * @return javax.swing.JMenuItem     
         private JMenuItem getChangeAddressMenuItem() {
              if (changeAddressMenuItem == null) {
                   changeAddressMenuItem = new JMenuItem();
                   changeAddressMenuItem.setText("Change Address");
              return changeAddressMenuItem;
          * This method initializes NameTextField     
          * @return javax.swing.JTextField     
         public JTextField getNameTextField() {
              if (NameTextField == null) {
                   NameTextField = new JTextField();
                   NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
              return NameTextField;
          * This method initializes AddressTextField     
          * @return javax.swing.JTextField     
         private JTextField getAddressTextField() {
              if (AddressTextField == null) {
                   AddressTextField = new JTextField();
                   AddressTextField.setBounds(new Rectangle(165, 74, 192, 26));
              return AddressTextField;
          * This method initializes MonthlyRadioButton     
          * @return javax.swing.JRadioButton     
         private JRadioButton getMonthlyRadioButton() {
              if (MonthlyRadioButton == null) {
                   MonthlyRadioButton = new JRadioButton();
                   MonthlyRadioButton.setBounds(new Rectangle(171, 119, 73, 21));
                   MonthlyRadioButton.setText("Monthly");
                   group.add(MonthlyRadioButton);
                   MonthlyRadioButton.setSelected(true);
              return MonthlyRadioButton;
          * This method initializes AnnualRadioButton     
          * @return javax.swing.JRadioButton     
         private JRadioButton getAnnualRadioButton() {
              if (AnnualRadioButton == null) {
                   AnnualRadioButton = new JRadioButton();
                   AnnualRadioButton.setBounds(new Rectangle(269, 121, 70, 21));
                   AnnualRadioButton.setText("Annual");
                   group.add(AnnualRadioButton);
              return AnnualRadioButton;
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {                    
                        GymMembershipMainWindow thisClass = new GymMembershipMainWindow();
                        thisClass.setLocationRelativeTo(null);
                        thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        thisClass.setVisible(true);
          * This is the default constructor
         public GymMembershipMainWindow() {
              super();
              initialize();
          * This method initializes this
          * @return void
         private void initialize() {
              this.setSize(500, 300);
              this.setJMenuBar(getApplicationMenuBar());
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setContentPane(getJContentPane());
              this.setTitle("Gym Membership");
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   PersonalTrainerLabel = new JLabel();
                   PersonalTrainerLabel.setBounds(new Rectangle(30, 158, 110, 21));
                   PersonalTrainerLabel.setText("Personal Trainer");
                   MembershipTypeLabel = new JLabel();
                   MembershipTypeLabel.setBounds(new Rectangle(32, 115, 114, 24));
                   MembershipTypeLabel.setText("MembershipType");
                   AddressLabel = new JLabel();
                   AddressLabel.setBounds(new Rectangle(71, 75, 64, 24));
                   AddressLabel.setText("Address");
                   NameLabel = new JLabel();
                   NameLabel.setBounds(new Rectangle(69, 26, 57, 25));
                   NameLabel.setText("Name");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.add(NameLabel, null);
                   jContentPane.add(AddressLabel, null);
                   jContentPane.add(getNameTextField(), null);
                   jContentPane.add(getAddressTextField(), null);
                   jContentPane.add(MembershipTypeLabel, null);
                   jContentPane.add(getMonthlyRadioButton(), null);
                   jContentPane.add(getAnnualRadioButton(), null);
                   jContentPane.add(PersonalTrainerLabel, null);
              return jContentPane;
    }  //  @jve:decl-index=0:visual-constraint="10,10"and this is my other class. The dialog
    package membership;
    import javax.swing.JPanel;
    import java.awt.Frame;
    import java.awt.BorderLayout;
    import javax.swing.JDialog;
    import javax.swing.JLabel;
    import java.awt.Rectangle;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    import java.awt.Color;
    public class NameDialog extends JDialog {
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JLabel EnterMemberNameLabel = null;
         private JTextField NewMemberTextField = null;
         private JButton OKButton = null;
         private JButton CancelButton = null;
         private JLabel ErrorLabel = null;
         private String MembersName;
          * @param owner
         public NameDialog() {
              super();
              initialize();
          * This method initializes this
          * @return void
         private void initialize() {
              this.setSize(300, 200);
              this.setTitle("Enter member name");
              this.setContentPane(getJContentPane());
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   ErrorLabel = new JLabel();
                   ErrorLabel.setBounds(new Rectangle(60, 93, 151, 17));
                   ErrorLabel.setForeground(Color.red);
                   ErrorLabel.setText("YOU MUST ENTER A NAME");
                   ErrorLabel.setVisible(false);
                   EnterMemberNameLabel = new JLabel();
                   EnterMemberNameLabel.setBounds(new Rectangle(12, 5, 257, 31));
                   EnterMemberNameLabel.setText("Please enter the new members name below:");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.setName("");
                   jContentPane.add(EnterMemberNameLabel, null);
                   jContentPane.add(getNewMemberTextField(), null);
                   jContentPane.add(getOKButton(), null);
                   jContentPane.add(getCancelButton(), null);
                   jContentPane.add(ErrorLabel, null);
              return jContentPane;
          * This method initializes NewMemberTextField     
          * @return javax.swing.JTextField     
         private JTextField getNewMemberTextField() {
              if (NewMemberTextField == null) {
                   NewMemberTextField = new JTextField();
                   NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
              return NewMemberTextField;
          * This method initializes OKButton     
          * @return javax.swing.JButton     
         private JButton getOKButton() {
              if (OKButton == null) {
                   OKButton = new JButton();
                   OKButton.setBounds(new Rectangle(33, 118, 72, 26));
                   OKButton.setText("OK");
                   OKButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             if(getNewMemberTextField().getText().equals(""))
                                  ErrorLabel.setVisible(true);
                             else {
                                  GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();
                                  mainWindow.getNameTextField().setText(getNewMemberTextField().getText());                              
                                  NameDialog.this.setVisible(false);
              return OKButton;
          * This method initializes CancelButton     
          * @return javax.swing.JButton     
         private JButton getCancelButton() {
              if (CancelButton == null) {
                   CancelButton = new JButton();
                   CancelButton.setBounds(new Rectangle(181, 119, 79, 27));
                   CancelButton.setText("Cancel");
                   CancelButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             NameDialog.this.setVisible(false);
              return CancelButton;
    The problem i am having is in the OK method in the dialog class. At the 'else' i want the text that is inputted into the text field in the name dialog here, to appear into the text field in the main window for the name.
    Understand me? Sorry. Thanks

  • Problems with a MS Word doc that was converted from Apple Pages

    Hello.  I am writing a book and after completing most of the text in Apple Pages, I had to convert to MS Word to use the sidebar feature.  The MS Word document that I am working with has some very strange attributes.  Where quotation marks were used in Pages, the Word document substitutes material from a nearby page.  Where sections are underlined, it again mixes some of the original material wtih material from elsewhere in the book.  I have attempted to fix these issues by retyping the incorrect text, but when the document is saved, the next time I open it, more horrors lurk in the same places.
    Has anyone experienced this?  Any suggestions?
    Thanks

    I have done this, repeatedly, using OSX 10.7.6 & 10.9.2, Pages 4.3, and Word 14.1.0.  I did not experience the hassles you report, but then, perhaps my docs were simpler than yours.  But I did retain list features & outline structures from Pages to Word, and Word to Pages.  In-line graphics remained as such and as I recall, underlines, italics, and section lines remained intact as well.  Transferring both ways.
    If you were doing your transfers using Pages 5.2, I recommend that you delete 5.2, revert to 4.3 if you possibly can (get an old .dmg copy from deep backup, a friend, whatever it takes)
    I loved Pages 4.3.  I have removed Pages 5.2 from my system, best I can.

  • How ias integrate with Snacktory for getting main text from an html page

    Hi All,
    i am new to endeca and ias, i have an requirement, need to get main text from whole html page before ias save text to Endeca_Document_Text property,
    as ias save all text in page to endeca_document_text property, it is not ok for reading when show in web page, i use an third party API to filter out the main text from original page,
    now i want to save these text to endeca_document_text property,
    an another question,
    i get zero page when doing the logic of filtering main text from original html text in ParseFilter( HTMLMetatagFilter implements ParseFilter) using Snacktory.
    if only do little things, it will work fine, if do more thing, clawer fail to crawl page. any one know how to fix it.
    log for clawler.
    Successfully set recordstore configuration.
    INFO    2013-09-03 00:56:42,743    0    com.endeca.eidi.web.Main    [main]    Reading seed URLs from: /home/oracle/oracle/endeca/IAS/3.0.0/sample/myfirstcrawl/conf/endeca.lst
    INFO    2013-09-03 00:56:42,744    1    com.endeca.eidi.web.Main    [main]    Seed URLs: [http://www.liferay.com/community/forums/-/message_boards/category/]
    INFO    2013-09-03 00:56:43,497    754    com.endeca.eidi.web.db.CrawlDbFactory    [main]    Initialized crawldb: com.endeca.eidi.web.db.BufferedDerbyCrawlDb
    INFO    2013-09-03 00:56:43,498    755    com.endeca.eidi.web.Crawler    [main]    Using executor settings: numThreads = 100, maxThreadsPerHost=1
    INFO    2013-09-03 00:56:44,163    1420    com.endeca.eidi.web.Crawler    [main]    Fetching seed URLs.
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:56:52,889    10146    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:52,889    10146    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:52,890    10147    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:56:59,184    16441    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:59,185    16442    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:59,185    16442    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:57:07,058    24315    com.endeca.eidi.web.Crawler    [main]    Seeds complete.
    INFO    2013-09-03 00:57:07,090    24347    com.endeca.eidi.web.Crawler    [main]    Starting crawler shut down
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    Waiting for running threads to complete
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    Progress: Level: Cumulative crawl summary (level)
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    host-summary: www.liferay.com to depth 1
    host    depth    completed    total    blocks
    www.liferay.com    0    0    1    1
    www.liferay.com    1    0    0    0
    www.liferay.com    all    0    1    1
    INFO    2013-09-03 00:57:07,096    24353    com.endeca.eidi.web.Crawler    [main]    host-summary: total crawled: 0 completed. 1 total.
    INFO    2013-09-03 00:57:07,096    24353    com.endeca.eidi.web.Crawler    [main]    Shutting down CrawlDb
    INFO    2013-09-03 00:57:07,160    24417    com.endeca.eidi.web.Crawler    [main]    Progress: Host: Cumulative crawl summary (host)
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]   Host: www.liferay.com:  0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]    Progress: Perf: All (cumulative) 23.6s. 0.0 Pages/s. 0.0 kB/s. 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]    Crawl complete.
    ~/oracle/endeca
    -======================================
    source code for parsefilter
    package com.endeca.eidi.web.parse;
    import java.util.Map;
    import java.util.Properties;
    import org.apache.hadoop.conf.Configuration;
    import org.apache.log4j.Logger;
    import org.apache.nutch.metadata.Metadata;
    import org.apache.nutch.parse.HTMLMetaTags;
    import org.apache.nutch.parse.Parse;
    import org.apache.nutch.parse.ParseData;
    import org.apache.nutch.parse.ParseFilter;
    import org.apache.nutch.protocol.Content;
    import de.jetwick.snacktory.ArticleTextExtractor;
    import de.jetwick.snacktory.JResult;
    public class HTMLMetatagFilter implements ParseFilter {
        public static String METATAG_PROPERTY_NAME_PREFIX = "Endeca.Document.HTML.MetaTag.";
        public static String CONTENT_TYPE = "text/html";
        private static final Logger logger = Logger.getLogger(HTMLMetatagFilter.class);
        public Parse filter(Content content, Parse parse) throws Exception {
            logger.info("come into EndecaHtmlParser getParse");
            logger.info("come into HTMLMetatagFilter");
            //update the content with the main text in html page
            //content.setContent(HtmlExtractor.extractMainContent(content));
            parse.getData().getParseMeta().add("FILTER-HTMLMETATAG", "ACTIVE");
            ParseData parseData = parse.getData();
            if (parseData == null) return parse;
            extractText(content, parse);
            logger.info("update the content with the main text content");
            return parse;
        private void extractText(Content content, Parse parse){
            try {
                ParseData parseData = parse.getData();
                if (parseData == null) return;
                 Metadata md = parseData.getParseMeta();
                ArticleTextExtractor extractor = new ArticleTextExtractor();
                String sourceHtml = new String(content.getContent());
                JResult res = extractor.extractContent(sourceHtml);
                String text = res.getText();
                md.set("Endeca_Document_Text", text);
            } catch (Exception e) {
                // TODO: handle exception
        public static void log(String msg){
            System.out.println(msg);
        public Configuration getConf() {
            return null;
        public void setConf(Configuration conf) {

    but it only extracts URLs from <A> (anchor) tags. I want to be able to extract URLs from <MAP> tags as wellGee, do you think you could modify the code to check for "Map" attributes as well.
    Can someone maybe point a page containing info on the HTML toolkit for me?It's called the API. Since you are using the HTMLEditorKit and an ElementIterator and an AttributeSet, I would start there.
    There is no such API that says "get me all the links", so you have to do a little work on your own.
    Maybe you could use a ParserCallback and every time you get a new tag you check for the "href" attribute.

  • Problem while passing parameter from standard page to custome page

    Hi,
    We are calling a custom page from standard page.
    Standard page Extended CO
    PR
    String wcHeader = pageContext.getParameter("WcHeaderId");
    pageContext.putTransactionTransientValue("WcHeaderId",wcHeader);
    PFR
    String wcHeader=(String)pageContext.getTransactionTransientValue("WcHeaderId");
    pageContext.putTransactionTransientValue("WcHeaderId",wcHeader);
    Till here we are able to put the Parmeter in Tranasction
    After calling the custom page from standard page while we are using the Transaction value it is returning null.
    Custom page CO
    PR
    String wcHeader=(String)pageContext.getTransactionTransientValue("WcHeaderId");
    we are getting nulll here.
    Please provide the solution for this
    Thanks,
    Narayana

    Hi Meher Irk,
    i got WcHeaderid value in Custom CO. but i want to set value Custome page to Standard page in custom page i have a total value this value i want to set to Standard page.
    Custom CO code
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxbb.oracle.apps.pos.xxwc.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import xxbb.oracle.apps.pos.xxwc.server.WithholdAMImpl;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.cabo.ui.validate.Formatter;
    import oracle.apps.fnd.framework.webui.OADecimalValidater;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.table.OAColumnBean;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.webui.*;
    import oracle.apps.fnd.framework.webui.beans.table.OATableFooterBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.server.OAViewRowImpl;
    import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
    import oracle.jbo.domain.Number;
    import java.util.Enumeration;
    import oracle.apps.pos.wc.webui.WcRespondCO;
    //import oracle.apps.pos.wc.webui.*;
    * Controller for ...
    public class WithholdCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String wcHeader=new String();
    Formatter formatter=new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
    OAColumnBean columnBean=(OAColumnBean)webBean.findIndexedChildRecursive("Amountcol");
    columnBean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR,formatter);
    //String wcHeader=(String)pageContext.getTransactionTransientValue("WcHeaderId");
    pageContext.writeDiagnostics(this,"zzzzzz"+wcHeader,1);
    if(pageContext.getSessionValue("WcHeaderId") != null&& !pageContext.getSessionValue("WcHeaderId").equals(""))
    wcHeader=pageContext.getSessionValue("WcHeaderId").toString();
    pageContext.writeDiagnostics(this,"If get session condition "+wcHeader,1);
    /* OAMessageTextInputBean item=(OAMessageTextInputBean)webBean.findIndexedChildRecursive("item3");
    item.setValue(pageContext,"10");*/
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if("AdvancedRN".equals(pageContext.getParameter(SOURCE_PARAM))
    && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    am.invokeMethod("xxInsertRow");
    // am.xxInsertRow();
    if(pageContext.getParameter("Save")!=null)
    am.invokeMethod("xxSaveTransaction");
    am.invokeMethod("xxUnitotal");
    OAViewObject vo = (OAViewObject)am.findViewObject("TotalVO1");
    vo.reset();
    vo.next();
    OARow totRow = (OARow)vo.getCurrentRow();
    Number total = (Number)totRow.getAttribute("Total");
    throw new OAException("Records Saved Successfully",OAException.CONFIRMATION);
    if(pageContext.getParameter("Delete")!=null)
    am.invokeMethod("xxDeleteRow");
    am.invokeMethod("xxSaveTransaction");
    //am.xxDeleteRow();
    // am.xxSaveTransaction();
    throw new OAException("Records Deleted Successfully",OAException.CONFIRMATION);
    if(pageContext.getParameter("Close")!=null)
    pageContext.setForwardURL("OA.jsp?page=/oracle/apps/pos/wc/webui/WcRespondPG&param=FrmWithHoldPG"
    ,null
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null
    ,null
    ,true
    ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    Thanks,
    Narayana

  • Mail returns to 'main menu'.  My mail worked for over a year - now when i enter mail it returns to the 'mail menu' immediately.  I disconnected wireless connection and it still returns to the main menu immediately. HELP!

    Mail returns to 'main menu/desktop'.  My mail worked for over a year - now when i enter mail it returns to the 'mail menu' immediately.  I disconnected wireless connection and it still returns to the main menu immediately. PLEASE HELP!

    - Have you tried resetting your iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Can you access the mail account(s) on another device and look for a problem email that may be causing the problem
    - You could try deleting account(s) and recreating them

  • My Apple TV stops and returns to main menu during movie playback and photo slide show via homesharing. I have a second Apple TV in another room that works fine.

    My Apple TV stops and returns to main menu during movie playback and photo slide show via homesharing. I have a second Apple TV in another room that works fine.

    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel.

  • HT1595 returns to main screen after one song

    My 2nd Generation Apple Tv returns to main screen after playing one song.  How do I correct this?

    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • Problem with return link from html page back to css page

    Here is the site..almost ready for publication
    http://www.matriley.com/glensite/index.html
    1) Go to properties for sale
    2)Choose a suberb
    3)click on a property with a video
    4) watch the crazy video if you like
    5) Click go back to properties
    ^) Yes the page is there but the property page is now
    inactive...why?
    8)The whole thing works fine on Firefox but we do have this
    Glitch on IE
    PLEAASSE Can someone help
    Regards Matthew [email protected]
    Everything works well but for the problem return link to the
    properties page after you have gone to the video.The property page
    becomes inactive

    Your page is a monster -
    Empty Cache
    10.6K 1 HTML/Text
    1.5K 1 Stylesheet File
    985.4K 25 Images
    997.7K Total size
    27 HTTP requests
    25 images with aggregate weight of ~1MB is much too large,
    you know?
    Anyhow, I cannot reproduce your problem in IE7. Are you
    referring to IE6,
    instead?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "fredbillmatt" <[email protected]> wrote in
    message
    news:fv0m9k$a7a$[email protected]..
    > Here is the site..almost ready for publication
    >
    http://www.matriley.com/glensite/index.html
    >
    > 1) Go to properties for sale
    > 2)Choose a suberb
    > 3)click on a property with a video
    > 4) watch the crazy video if you like
    > 5) Click go back to properties
    > ^) Yes the page is there but the property page is now
    inactive...why?
    > 8)The whole thing works fine on Firefox but we do have
    this Glitch on IE
    > PLEAASSE Can someone help
    > Regards Matthew [email protected]
    > Everything works well but for the problem return link to
    the properties
    > page
    > after you have gone to the video.The property page
    becomes inactive
    >

  • Problem with line items print in Script MAIN window.

    Dear Friends,
    I am facing a problem with display the line items in main window.
    Here i have created my form with 2 pages,
    in first page i have created header window(my header information is full length of page), in second page i have created 2 windows, one for MAIN window and second for FOOTER window,
    i am having the Footer information about to off the page.
    and in my main window total 3 line items are coming, if i am having 3 line items then it is displaying properly (first 3 line items then immediately footer information on same page) but if am having more then 3 line items say four, then in my second page first it is printing 3 line items then it is switching into another page. After that footer is coming but. in previous page after printing 3 line items the remaining page is empty..
    my client want me to remove that place also. he wants to display continue..
    i think so u people r understand what is my problem...pls advice me what i want to do to solve this problem.
    Thanks
    Sridhar.

    Hi Sridher,
    If you want to display the footer information only on the last page why dont you use a table to display your details and place the footer details in the table footer instead of a seperate footer window.
    Regards,
    Vidya.

  • Problem to update Extension Manager

    Problem to update Extension Manager 6.0.7
    Errore Code: U44M1P7
    MAC OS X 10.8.4
    For 4 times I contact via chat the support but someone answer me and tell Please wait while I transfer the chat to the appropriate group.
    But nobody taka care me of the problem!

    Nereis can you please check your installation logs for error messages?  Please see Troubleshoot with install logs | CS5, CS5.5, CS6, CC - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to locate and interpret your installation log files.  Please feel free to post any specific error messages you discover to this discussion.

  • Having problem installing Adobe Extension Manager 6.0.7 update. Received Error  Code  U44M1P7.Help?

    I am having a problem installing Adobe Extension Manager 6.0.7 update.  Received Error Code: U44M1P7.  Help?
    Thank you for your assistences.

    Dreamachiever2 please see Installation failed. Error U44M1P7 | Updates - http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html for information on how to resolve your current difficulties.

Maybe you are looking for

  • Error in Dep Run

    Hi All, While Running the Depriciation i am getting below error Account 600400 is a Depreciation A/c for F & F. Account 600400 requires an assignment to a CO object Message no. KI235 Diagnosis You have not defined a CO account assignment for an accou

  • Connecting to an Orange Livebox router

    Hi, Can anyone please tell me how I do this? My iPod Touch recognises the router but will not connect when I enter the password. I have linked it up to about 10 other wireless routers so that isn't the problem. Thanks

  • How to define action type of a personalised item

    I have an existing table in a existing OAF page.it has two column one "Quantity" and one "Amount".I have to add another column"Price" in this table.My requirement is that once "Quantity" and "Price" are entered and tabbed out from the Price field the

  • BAPI SO Change

    Hi SDN's, I am using the BAPI for Sales order change, the return table of BAPI shows all success messages, but once i commit. i receive a msg to my SAP Inbox as below. Update was terminated System ID....   DVT Client.......   288 User.....   PRATYUSH

  • More Filevault issues

    Here's the history- I have five accounts on my Mac, one for me (the administrator) and one for each of my four children. One morning I went to log on as I always do and the logon screen went into a feedback loop and never logged me on. I had to reboo