Landing page  Action is called twice for single submit

I am having submit action in Anonymous page,while iam clicking that button it calls the action only once.
but in the same thing is act different in Landing page,here it's calling the action twice.iam using portal server 6.1 and also iam doing custom Authentication.Plz solve my problem

Any idea whats the issue here ?

Similar Messages

  • Page flow actions are called twice from each UI's action=...

    Odd observation: my nothing fancy login / pw change / logged in / jsps and pageflow are having the actions in the .jpf called twice for each jsp form action=.
    What can cause this?
    For example: the login jsp form action=loginAction, the corresponding method in the .jpf is called twice when the user clicks the login button on the login UI. The same behavior is observed for all the other actions in this page flow too.
    This has been a real problem for the pw change UI. Until I figured this out, pw change always returned invalid pw due to the second call to the action. :))
    tnx curt

    I have narrowed it down even more. What is happening is that you select the first item in the list it throws a validation error. I found this by adding and inline message. The weird thing is that if you select any other item in the list but the first everything flows as normal.
    This is a list of dates bound to a date type column in a database.
    Any Idea's why selecting the first item in a list would throw the validation message?

  • Strut's Action Classes Called Twice

    I have been looking in every forum, but nothing yet. I am running a struts app in JBoss. And my Action Classes get called twice. Has anyone seen this behavior?
    Thanks!

    Well, I can tell you that playing with it, I discovered that if my action mappings use tile definition for the forwards, the actions get call twiced. If I use the jsp uri instead, it works like it is supposed to.
    WIith these settings, the action RegisterUserAction gets called twice!!!!!!
    <action path="/registerUser"
             type="com.cr.ct.ui.user.RegisterUserAction"
                name="registerUserForm"
                validate="false">
          <forward name="sellerHomePage" path=".homeDef" />
          <forward name="failedRegistration" path=".registrationDef" />
        </action>
    This will work as supposed to , but I lose the abilitiy to use tiles.
    <action path="/registerUser"
             type="com.cr.ct.ui.user.RegisterUserAction"
                name="registerUserForm"
                validate="false">
          <forward name="sellerHomePage" path="/common/home.jsp" />
          <forward name="failedRegistration" path="/common/registration.jsp" />
        </action>

  • Landing Page with Buy now Buttons for products?

    Hi,
    I've been searching all morning and was hoping someone could point me in the right direction please.
    We have 1000 products on BC and I wanted to create a custom landing style page offering 3 set products that people can click to buy now. ie just a simple buy now button.
    I don't want it to look like our normal small or large catalogue but as a separate landing page.
    I would like when the customers to click Buy Now or Add to Cart that it adds them to the cart.
    e.g
    blah blah blah
    large image of the item
    underneath = Buy Now / Add to cart
    blah blah blah
    large image of the item
    underneath = Buy Now / Add to cart
    etc.
    I tried using {module_product} inseting the item but it only shows a tiny pic and has no buy now button.
    I also tried inserting an actual html code of the products button, but it didn't work either.
    <div><img src="/images/btn_addtocart.png" alt="add to cart" onclick="AddToCart(98416,1375845,'',3,'','',false);return false;" /></div>
    If I just create them as text is there a product specific buy now button I can insert so that item gets added?
    I've seen websites do this with a paypal buy button but then it wont go through our CRM etc.
    Any ideas?
    Thank you

    My routine, as always, has been to do the pages in iWeb and then using iWeb I select "Publish site changes" to a folder locally on my drive. Then, using Transmit (and I have used Cyberduck) I upload the folder of files and the file ending in .html for the changed pages to my server that hosts the site. What you are telling me is that either iWeb is not "publishing" all the changed files to my local folder, or there are files that are located somewhere else within the structure of the site that I have failed to upload.
    I looked for paste.css files and found it in the scripts > regions or whatever folder but these are not files that I typically have ever looked for or uploaded when changing a page in iWeb.

  • SAX DefaultHandler: calls characters() twice for each (atom) element?

    I use sax to parse an xml file. i subclassed org.xml.sax.helpers.DefaultHandler and overwrote the corresponding methods like characters(). the problem is, that this method is called twice for each element value if this element has no subelements. example:
    <collection>
    <one>1</one>
    <two>2</two>
    <three>3</three>
    </collection>
    with this xml, characters is called once for <collection> but twice for each <one>, <two>, <three> element. why? is this a bug or is this customizable?

    Look at what data is being passed to the method. The SAX specification allows the parser to pass the text node to characters() in pieces, it doesn't require it to pass the entire text in one call. And parsers do take advantage of that, in various ways. You'll have to assemble the data in the characters() method, but you can't assume you have all the data until endElement() is called.
    I wouldn't expect your example to be a problem, but I suppose it's just an example and not the actual data you were processing.
    Or possibly you are getting calls for the whitespace? In your example, your collection element has seven children: a text node containing a newline character, a one element, another newline text node, a two element, another newline text node, and so on.

  • Controller Is Being Called Twice - Why???

    I think this is going to be a complicated question to answer but I'll try to explain what's going on as best I can. The basic problem I'm having is that the controller class gets called twice for some reason (instead of once) and I have no idea why. I type in a URL in my browser that goes to a JSP page called �myJsp.jsp�. Basically all that page contains is this...
    <tiles:insert definition =�my.tile� flush=�true�/>In my tiles-defs.xml file I have the following listing...<definition
    name="my.tile"
    path="SomeOtherJsp.jsp"
    controllerClass="x.y.z.MyController">
    </definition>
    x.y.z.MyController.java makes some calls to a DAO to retrieve data. MyController.java then puts that data into the requestScope for the JSP below to access...
    SomeOtherJsp.jsp has nothing special in it although it DOES contain a link to myJsp.jsp (and, somehow, it's like this link is being clicked even though I'm not clicking it).
    <a href="myJsp.jsp?someParam=<c:out value="${requestScope.someValue}"/>">Click Here To Do Something</a>If anyone can help I'd greatly appreciate it. By the way, I spoke to someone else who mentioned that I should turn this kind of thing into a struts action instead of doing a deletion within a controller class. I am going to refactor my code to do this. However, I'm still curious to know the answer to my question. Maybe it will help me get a better understanding of exactly what's going on in the world of servlets. :)

    Hi Shiv, <br><br>
    Yes I have placed System.out.println...and a debug point ...<br>
    super.processRequest(pageContext, webBean);<br>
    OAApplicationModule am = pageContext.getApplicationModule(webBean); <br>
    // String personId="13477";<br>
    // Serializable[] parameters = { personId };<br>
    if (!pageContext.isFormSubmission()) {     <br>
    am.invokeMethod("createEmployeeRow", null);<br>
    }<br>
    //am.invokeMethod("initDetails",parameters);<br>
    System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!IN Process Request"); <br>
    debug point is at String personID="13477"....<br><br>
    Thanks<br>Soujanya

  • TreeSelectionListener  valueChanged() called twice on selecting TreeNode

    Hi All,
    This is a class which extends JTree class forms a Tree displaying employee information.Listener is written which should find the list of selected Employee nodes of tree component.
    The method valueChanged() of treeListener is getting called twice for every node selected. Please find the code.
    Is there any alternative to find the list of selected nodes when they are selected using mouse or shift key.
    Even I am facing this in case of row selection of JTable.The listener method is called twice. Could you please let me know your views and any tutorials or examples codes for handling such cases.
    public class TestingTreeModel extends JTree {
         //public vector myMOType;
         public TestingTreeModel() {
              super();
         public void setData(ArrayList testVOs) {
              // set the option of selecting multiple nodes
              this.getSelectionModel().setSelectionMode(
                   TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
              this.setRootVisible(false);
              setModel(rootTreeNode, testVOs);
              // DefaultTreeModel is used.
              this.setModel(new DefaultTreeModel(rootTreeNode));
              // Listener for selected nodes..
              MyTreeSelectionListener myTreeListener = new MyTreeSelectionListener();
              this.addTreeSelectionListener(myTreeListener);
    // which sets the data.
         public void setModel(DefaultMutableTreeNode rootNode, ArrayList empVOs) {
              if empVOs!= null && empVOs.size() > 0) {
                   Iterator empItr = empVOs.iterator();
                   while (neItr.hasNext()) {
                        Employee empVO = (Employee) empItr.next();
                        DefaultMutableTreeNode node =
                             new DefaultMutableTreeNode(empVO.getName());
                        rootNode.add(node);
    // Listener
         public class MyTreeSelectionListener implements TreeSelectionListener {
              public void valueChanged(TreeSelectionEvent evt) {
                   // Get all nodes whose selection status has changed     
                   System.err.println("Listener is called here check how many times");
                   getSelectedNodes(evt);
         private void getSelectedNodes(TreeSelectionEvent evt) {
              System.err.println("came inside getSelectedNodes");
              TreePath[] paths = evt.getPaths();
              // Iterate through all affected nodes
              System.err.println(" Length is " + paths.length);
              for (int i = 0; i < paths.length; i++) {
                   TreePath tp = paths;
                   Object[] o = tp.getPath();
                   for (int j = 0; j < o.length; j++) {
                        System.out.println(
                             "Class: " + o[j].getClass() + "; value: " + o[j]);
                        if (o[j] instanceof DefaultMutableTreeNode) {
                             Object uo = ((DefaultMutableTreeNode) o[j]).getUserObject();
                             if (uo != null) {
                                  System.out.println(
                                       "\tUser object class: "
                                            + uo.getClass()
                                            + "; value: "
                                            + uo);
         private ArrayList empIDList = new ArrayList();
         private DefaultMutableTreeNode rootTreeNode = null;
    Thanks in advance.

    Hi Arun,
    JDev version is Studio Edition Version 11.1.1.5.0.
    Yes, i do have value change listener on the CompanyName LOV. What is a parameter form? The LOV is defined on the page in the following way:
                                <af:selectOneChoice value="#{bindings.CompanyName.inputValue}"
                                                    required="#{bindings.CompanyName.hints.mandatory}"
                                                    shortDesc="#{bindings.CompanyName.hints.tooltip}"
                                                    id="soc1" autoSubmit="true"
                                                    unselectedLabel="--select--"
                                                    contentStyle="width:17em;"
                                                    binding="#{backingBeanScope.backing_Company.soc1}"
                                                    valueChangeListener="#{backingBeanScope.backing_Company.companyChangeListener}">
                                  <f:selectItems value="#{bindings.CompanyName.items}"
                                                 binding="#{backingBeanScope.backing_Company.si1}"
                                                 id="si1"/>
                                </af:selectOneChoice>

  • Is this a Bug?: FocusListener called twice

    Hey all,
    Im having this problem since realease 1.4.2_04.
    Folks, try this code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class FocusTest {
        public static void main(String[] args) {
            JFrame frame  = new JFrame("Focus test");
            final JTextField field1 = new JTextField("Test1");
            final JTextField field2 = new JTextField("Test2");
            field1.addFocusListener(new FocusAdapter(){
                public void focusGained(FocusEvent e){}
                public void focusLost(FocusEvent e){
                    if( !e.isTemporary() ){
                        System.out.println("ID: " + e.getID());
                        JOptionPane.showMessageDialog(null, "Focus lost in 1");
                        field1.requestFocus();
            frame.getContentPane().add(field1, BorderLayout.WEST);
            frame.getContentPane().add(field2, BorderLayout.CENTER);
            frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.setBounds(0,0,200,300);
            frame.show();
    } The problem is: when TF1 looses its focus, and is validated, then i force the focus to keep on TF1 by calling TF1.requestFocus(), somehow the event focusLsot is called twice for my TF.
    If i do not requestFocus() it work but I must force the focus on TF1.
    Im going nuts. Does anyonw apear to have this problems?? In old realeses, the same code work perfect. until 1.4.2 beta.
    Tks
    Bruno

    Hello all!
    I found out that somehow JDialog with requestfocus after, fires twice the lostFocus event. I dont know why. I opened a bug report so they can figure it out why is happaning.
    Tks folks!
    Bruno

  • Smw3_validation_execute called twice during initial download

    Hi All
    When trying to download a request for CUSTOMER_MAIN am facing some troubles in custom FM written. I reprocessed the error BDoc and in debugging mode i was able to find this function module smw3_validation_execute is being called twice for BDoc. This FM smw3_validation_execute is directly called from middleware adapter, if am not wrong.
    Is there any settings that i need to correct / check in adapter object CUSTOMER_MAIN or else some middleware settings needs to be validated?
    Did any one come across such an issue before?
    Thanks
    Karthik

    Hi,
       While re-processing a Bdoc in the message flow, if it needs to be rolled back due to a Abort status, the validation service is called for a second time.
    That is why, you find the smw3_validation_execute FM being called twice!
    Please check
    cl_smw_mflow=>__validate
    calling 
    cl_smw_mflow=>__validate_
    twice.
    smw3_validation_execute
    is called finally by 
    cl_smw_mflow=>__validate_
    Please reward if helpful.
    Thanks,
    Sudipta.

  • IBY_FD_EXTRACT_EXT_PUB getting called twice even for single payment

    Hi All,
    I am extending IBY_FD_EXTRACT_EXT_PUB for a custom field Batch Number which is sequence getting reset at 99. However the sequence is skipping 1 value each time payment is run.
    On further analysis I found that IBY_FD_EXTRACT_EXT_PUB is getting called twice even when a single payment is made in Quick type. Has anybody experienced this?
    Thanks,
    Abby

    I finally have my solution. I did it without the IBY_FD_EXTRACT_EXT_PUB extend function. I modified the etext outbound RTF template accordingly. Maybe it will give you a hint or direction to solve your situation. Good luck.
    I created a level for grouping criteria as PaymentReferenceNumber/Payee/Address/AddressName, DocumentInternalIDSegment2, called InvoiceDetailLevel. The base level is OutboundPayment.
    I then added a level (InvoiceDetailLevel) between OutboundPaymentInstruction and the DocumentPayable level.
    Then in the syntax for the supplier number and the address I entered this in the Data column:
    ../../ OutboundPayment/Payee/SupplierNumber
    and
    ../../ OutboundPayment/Payee/Address/AddressName
    That did the trick and now it is working correctly on every line, looping back to get the proper information.

  • What are the options for integrating the event catalog and event landing pages in our website?

    We'd like to integrate the event catalog and event landing pages into our website but would prefer not to use the standard iframe embed code. Are there other solutions available, like an API or something else?
    Reason for this is that when we tried it with the iframe embed code the event catalog seems to load quite slow in a webpage on our website. Plus it seems we can't change the width and height of the event catalog with the CQ5 editor, or have the event catalog embed dynamically change in size depending on the amount of events in the catalog.

    Keeping everything in one scene is the better way to go.  Scenes are useful for animators who do not use navigation, they just make movies that play frame after frame without stopping.  But for anything that involves navigating the timeline you will have less headaches if you just avoid them and keep everything in the one main timeline.
    There are primarily two approaches to implementing pages in a timeline.  Either spread them out along the timeline and navigate from frame to frame to access them, or create them as movieclips (all in the same frame) and manage their visibility.  The latter approach makes it easier to maintain the status of a one page if navigating to another is necessary.  And you might find it useful to mix these two approaches at times.
    When you have everything on one timeline, you can have a layer dedicated to actionscript that you extend the full length of the timeline, which makes shareable code, such as variables and functions, available to anything along the timeline.  This avoids any need to have duplicate function definitions since you can have the same single function available to multiple pages in the site.  I usually use two actions layers... one for the shared stuff which has all code in frame 1 only, and another for frame specific code such as timeline commands and other action coding that needs to happen at particular frames.

  • Credit Card billed and charged twice for a Single ...

    Dear All,
    I bought skype credit (Calling India 120min/month, 3 months subscrption) over the internet on my credit card and have been charged twice but only recieved a single credit to my account.
    This happened first in Mar'14, and i just ignored.
    When this happed again in Jun'14, I contacted my Bank and they said to contact skype but as there is not a phone number I am here. I use Skype to keep in touch with family overseas and to not have credit is tough. Now this Sep'14 again i have been charged twice for the same subscription.
    I want all these amounts to be refunded, immediately.
    I have tried everything possible except to email Bill Gates. 
    Now this community is the only resort please Help...
    Look forward to hearing from you.
    Thanks and Regards

    These are user-to-user forums, you are not talking to Apple here.
    You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Lifecycle phase for Single ADF Bounded Page

    Hi,
    I registered a Page LifeCycle listener for single ADF bounded page in 'ControllerClass' property of pagedef file. When i m evaluating a simple condition for a lifecycle phase, it is executing two times.
    The Listener class is also a managed bean with scope of session, registered in adfc-config.xml file . This i am doing in Jdev 11.1.1.3 .
    Why it is happening & how to corret this ? Can anyone help me?
       public void afterPhase(PagePhaseEvent pagePhaseEvent) {
            if(pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_RENDER_ID){
              System.out.println("After Phase : " + Lifecycle.getPhaseName(pagePhaseEvent.getPhaseId()));
    public void beforePhase(PagePhaseEvent pagePhaseEvent) {
    }Regards,

    Frank,
    Actually i m executing a managed bean method in afterPhase of PREPARE_RENDER_ID. Method is executing & providing the result in console, but unable to refresh the af:table. I m trying to refresh table programmatically by
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.t2) , where t2 is binding instance of af:table. But it is not working. Anyway, on calling method its not executing twice, but sop statement executing twice.
        public void afterPhase(PagePhaseEvent pagePhaseEvent) {
            if(pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_RENDER_ID){
              //System.out.println("After Phase : " + Lifecycle.getPhaseName(pagePhaseEvent.getPhaseId()));
              this.get_empid_for_nationality();       //this method is populating a ArrayList collection used for populating af:table
              AdfFacesContext.getCurrentInstance().addPartialTarget(this.t2);
    }

  • Landing Page for Users in OBIEE

    Hi,
    I am new to the OBIEE Tool and working on OBIEE 10g.
    I have got a requirment where , when the Client Logs in, they will see a Landing Page which will contain summary(it can be a Snap Shot) of different Dashboards, some User Documents along with Images. When the User points his cursor on a particular Summary, he can navigate to the respective Dashboard.
    How can this be implemented in OBIEE?
    Regards.

    create a Default Initializer in the Variables - System - PORTALPATH:
    In the space provided enter the location of the Dashboard which you want people to automatically re-direct to...
    For example: '/shared/LANDING_PAGE_TEST/Dashboard/_portal/LC%20Access'
    Dont forget the single quotes (') at the beginning and at the end

  • Landing Page for 8.8 - or - Guidelines on Upgrading to 8.8

    Hello fellow members...
    Am looking for a landing page for upgrading from 2007 to Version 8.8.  Or maybe a checklist or maybe some kind of documentation that takes one through the entire process of upgrading.  Has anyone seen a page like that or know where the actual complete documentation is?  Not where it is this point has this document and that point has that document where thay all need to be collected together - I mean the honest-to-goodness SAP-issued document which takes you from step A to step Z...
    Thanks in Advance - Zal

    Many thanks for the information Rahul, I have that from the download site already - the Installation and Administrator Guide (Chapter 5) do not really say that much - as a matter of fact, nothing actionable for upgrades!!!
    But here is the eventual site I was actually looking for - It is the Accelerated Update Program (AUP below).  This has the checklists and project plans and documents for those who might find this information as being helpful:
    https://websmp205.sap-ag.de/smb/sbo/aup
    Of course still no good error message clarifications that should be common in a the software industry and dang, they sure do hide these things!!!  Took me way too long to find it...
    So rewards for you Rahul and some good information for others.

Maybe you are looking for

  • BPC 10 Sheet Logic - Using SUMIFs

    Hi Gurus, This is a question relating to BPC's EPM excel add-in. I'm currently compiling a headcount report based on data entered into an input schedule where the user enters a 1 next to an employee who is employed per month, like so:                

  • How to merge 2 internal hard disk as one?

    Hello, I am the user of Mac mini i7 server. There are 2 internal hard drive. I have had itune library about 470G. It is nearly the limit of one hard drive. Can I config the Os so 2 Hard drives can be seen as One? I want to keep on saving songs to the

  • USB 3.0

    Hi I was wondering if it is possible to upgrade the Macbook Pro's USB 2.0's to USB 3.0's and if so how, I have heard of USB expansions or something like that. Also could you do it for the current generation of iMac?

  • Example of mobile Skin

    Hi, From what I read, Flex hero mobile theme has been built using FXG skins written in AS. Actually, I'm looking at a quick sample of how to build custom lightweight mobile skins. I've looked at the mobile theme given with hero SDK but it's only a SW

  • How do i confirm my appt with the GB

    how do i confirm my gb appt? how do i confirm my appt