Problem adding items to wish list

I use ATG 10.0.3. I am trying to add items to wish list using the following code

< dsp:form id = 'giftlist' >

< dsp:input bean = "GiftlistFormHandler.catalogRefIds" type = "hidden" / > "

< dsp:input bean = "GiftlistFormHandler.giftlistId" type = "hidden"

beanvalue = "Profile.Wishlist.ID" / > "

< dsp:input bean = "GiftlistFormHandler.productId" paramvalue = "itemId" / > "

< dsp:input bean = "GiftlistFormHandler.addItemToGiftlist"

Type = "submit" value = "Add to wish list" > < / dsp:input >

< dsp:input bean = "GiftlistFormHandler.addItemToGiftlistSuccessURL"

Type = "hidden" value="/store/wishlist.jsp" > < / dsp:input >

< / dsp:form >


When I submit the form, it accesses the success page. However the articles are not added to the wish list. SiteId and quantity properties were needed? Here are the logs for debugging

00:23:50, 245 INFO [GiftlistFormHandler] DEBUG error form - stay on the same page.

00:23:50, 245 DEBUG INFO [GiftlistFormHandler] Validating giftlist ID: gl1390002

00:23:50, 245 INFO [GiftlistManager] DEBUG inside the getGiftlist: gl1390002

00:23:50, 245 INFO [GiftlistFormHandler] DEBUG error form - stay on the same page.

00:23:50, 245 INFO [GiftlistFormHandler] DEBUG error form - stay on the same page.

00:23:50, 255 INFO [GiftlistFormHandler] not DEBUG any form error - redirect to: /store/wishlist.jsp

After the property of GiftlistFormHandler.quantity , the elements are added to the wish list. I didn't know that the property is required in the docs. Also debug logs aren't useful.

Here is the labour code,

     

value = "sku40003" / >

      

beanvalue = "Profile.Wishlist.ID" / > "

      

      

beanvalue="/ATG/multisite/site.ID" / >

      

value = "1" / >

      

Type = "submit" value = "Add to wish list" >

      

Type = "hidden" value="/store/wishlist.jsp" >

Here are the logs

14:01:57, 879 INFO [GiftlistFormHandler] DEBUG error form - stay on the same page.

14:01:57, 879 DEBUG INFO [GiftlistFormHandler] Validating giftlist ID: gl1530002

14:01:57, 879 INFO [GiftlistManager] DEBUG inside the getGiftlist: gl1530002

14:01:57, 879 INFO [GiftlistFormHandler] DEBUG error form - stay on the same page.

14:01:57, 879 INFO [GiftlistManager] DEBUG inside the getGiftlistItemId: giftlist id = gl1530002, skuId = sku40003, productId = prod20001, siteId = basicSite

14:01:57, 959 INFO [GiftlistManager] DEBUG inside the getGiftlistItems: gl1530002

14:01:57, 959 INFO [GiftlistManager] DEBUG inside the creatGiftlistItem

14:01:57, 959 INFO [GiftlistManager] DEBUG inside the addItemToGiftlist: gl1530002, gi10003

14:01:57, 959 INFO [GiftlistFormHandler] DEBUG error form - stay on the same page.

14:01:57, 959 INFO [GiftlistFormHandler] not DEBUG any form error - redirect to: /store/security/accounts/wishlist.jsp

14:01:58, 009 point find DEBUG INFO [GiftlistLookupDroplet]: id = gl1530002; type = gift registry

14:01:58, 009 DEBUG INFO [GiftlistLookupDroplet] Found point: gift-list: gl1530002

Tags: Oracle Applications

Similar Questions

  • Problem adding items to a group after removing everything...

    Hello world

    I would really appreciate help on something. I have a group that has a few buttons in it. This group is one of the four States, and there is a component for each State. After the user runs the rest of the program and returns to this State, I want to delete the former buttons and add new buttons with new values. Bascially, I want to update the component when it is visited again. I have a problem with adding new buttons to the group when the user revisits the component / state.

    The group is created:

              <s:VGroup id="buttons"  x="0" y="35"  height="400" width="280" />
    

    When the function init for this component is called, buttons are added from an array of buttons:

    for(var i:int = 0; i < 10; i++){
              var button:Button = questions[i];
              trace(button);
              button.addEventListener(MouseEvent.CLICK, myEventHandler);
              trace(buttons);
              buttons.addElement(button);
    }
    

    When the user switches to the next State, the buttons are removed:

    if(counter == 4){
              buttons.removeAllElements();
              FlexGlobals.topLevelApplication.currentState = 'Summary';
    }
    

    When the user returns to its original state, the buttons are not added to the group as they are the first time. The trace output that each button is added is also different the second time:

    For the first time: (successfully)

    Main.MainBackground2.contentGroup.gameComp.buttons
    button8
    

    Second time:

    buttons
    button8
    

    Can someone point me in the right direction? And very good question, is there a better way I should do this?

    Is there a better way to refresh everything within a component when viewing it s second time?

    Thanks in advance!

    I don't know why you use addElement() to add buttons. You're not supposed to leave the functionality of the State to manage when the buttons must be visible? This is the way to do it in most cases. You can view a larger code example, where you have boiled down the code in a minimal example that always enhibits the question.

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance - Flex 2 and 3 certified ACE

    www.ChikaraDev.com

    Training Flex and Support Services

  • Problem adding items downloaded in Microsoft Word.

    Original title: Microsoft Windows.

    I have both Windows 2000 and Microsoft Word that came with my XP. I download articles from two places that relate to the history of blacks. It makes little difference what I download it is a recurring problem. Whenever I bring you Microsoft Word to add to it, is the same thing. I have to go through the entire article and to change the spelling or ignore all every time. Now that my download had reached more than 80 pages it becomes a function very redundant and irritating. Why don't the work remains saved after changing all these glitches? After all, there are only 50,000 words in the provided dictionary and many words are of the older English language. Is there a way to perpetuate my changes?

    I'm sorry that you are in physical distress, but if you provide any information, you will not be able to get any help.

    You has not answered one of my questions.  I'm not a mind reader.  Perhaps, you will find one, if you take the advice of NoMo and ask your question in the Microsoft Word forum.

  • 33 Firefox works only with Amazon Wish List radio buttons

    On Amazon.com, if I click on the option button "Add to wish list", my wish lists list doesn't go down for display and selection. Instead, the item is added to my wish list default (I have several wish lists). Within any given wish list, radio buttons 'Move' (to another list of wishes) and 'Delete' does not work for any item in the list. This does not work on my system (Win 7; 33 Firefox) if I use (God forbid!) Internet Explorer.

    This happens in Firefox Safe mode? If this isn't the case, it can be a complement on. Questions to troubleshoot Firefox in Safe Mode

  • Call for ensureIndexIsVisible after adding items to the dataProvider

    Hello

    I have a strange behavior where call ensureIndexIsVisible does not show the correct item.

    Did I miss the correct event to listen to after adding items to the list data provider?

    Description:

    I use spark.components.List with a HorizontalLayout to display my data.

    My data is displayed using the ItemRenderer.

    After the addition of new elements to the dataProvider, I register the Event.RENDER and within this handler, I call ensureIndexIsVisible and cancel the registration to this event.

    Add some data to dataProvider - some elements of thousnd

    list.dataProvider.add (...)

    list.addEventListener (Event.RENDER,

    function renderHandler(e:Event):void

    {

    show index

    list.ensureIndexIsVisible (indexToShow);

    list.removeEventListener (Event.RENDER, renderHandler);

    });

    I made the debug:

    1. If I comment removeEventListener, it will eventually work after some time the event fires.

    2. the original location that I see is a few points behind so if I scroll a bit I can find the desired article

    Thank you

    Roy.

    This blog can be useful: http://flexponential.com/2011/02/13/scrolling-to-the-bottom-of-a-spark-list/

  • I want to purchase items on my wish list.  There is no buy button

    I want to purchase items on my wish list.  There is no buy button.

    Please specify which product Apple (iTunes Store, App Store) is involved.

  • Adding items to the QNX list without scrolling

    Is it possible to update the items in a list of qnx without scrolling of the list in article 1?

    I have a list of qnx that retrieves its list items in a stream, and if the list item has been scrolled, beyond every time that I update the dataprovider, it automatically reloads the list with 1 point on the screen.

    HM sounds quite interesting. what I would do is to find something to defines a set of data apart from others and makes every single tweet. There is probably an ID of the API or something. then id have a separate table, keep track of all the IDS in your current list. from there whenever u 'referesh' you can check if you got the identifiers in the new list differ from your current table of ID. If they are separately add each individual tweet of the new incoming list using the addItem() method instead of reset your entire dataprovider. hope that helps some. Good luck!

  • Flex 3 - problem with the selection of an item in the list by default

    How to select an item in the list by default

    default selected item say to index 0

    I tried to stuff like that-

    listid.selectedIndex = somevalueinmyprogram - 1; 0

    but when I debug what I get
    _selectedIndex = 0 selectedIndex = - 1

    and by default is not selected, why so? [I already checked for what is obvious that somevaluefrommyprogram is not equal to 0]

    Help!

    It's a timing issue, as I told you before. As you know flex applications run in Flash Player, and FP works asynchronously, so what happens, is that when you try to put in place the selectedIndex property data is not yet in the dataProvider. What you can do is use the handleCentersListResult and inside of this function the selectedIndex value after completing centersXLC

  • buy a piece of wish list

    I have a list of wishes with a bunch of songs in there. I want to buy one of them. How to do that. I don't see an option 'buy' on the right.

    Thank you.

    Hi garykubes,

    Thank you for using communities Support from Apple. I'm sorry to hear that you're having these problems with iTunes. I am not entirely sure on what you see, but you can see if you click on the price, as described in the following article:

    Purchase items from your wish list, historical overview, iTunes Radio history and history of songs identified by Siri

    iPhone, iPad and iPod touch

    1. In the App Store or iTunes Store, tap the icon in the history of the preview.
    2. Press the wish list and tap the price next to the item you want to buy.
    3. Press the buy.
    4. When you are prompted, type your password Apple ID.

    Mac and PC

    1. Open iTunes and go to the iTunes Store.
    2. Sign in with your Apple ID, if you are not already connected.
    3. Click on your account name.
    4. Select the wish list.
    5. Click on the type of content you want in the wish list.
    6. Click on the price pursuant to section that you want to buy.
    7. Type your password Apple ID, if you are prompted.
    8. Click on buy.

    Use the wish list and history in the iTunes Store - Apple Support

    Concerning

  • Added items to randomly change after opening other files in a subfolder.

    I have a file that is pinned on my Start menu that is attached to excel 2007. Now I can quickly open this file in excel when I want.

    The location of this file is \\server\sharedarea\inout.xls

    I have another file I want to pin to pin of excel area. This file is located in a subfolder of the original file.

    The location of this new file is \\server\sharedarea\subfolder\anotherfile.xls

    However when I opened the "anotherfile.xls" my pinned original file "inout.xls" has been replaced by "anotherfile.xls" and anotherfile.xls does not appear in my list of files recently viewed and or not "inout.xls".

    In order to get the "inout.xls" file that is pinned in my pinned items I open it in excel and the pinned "anotherfile.xls" link is automatically crushed and changed in the pinned file 'inout.xls'. For this reason, I am not able to get both "inout.xls" and "anotherfile.xls", pinned to the excel menu area start due to this bug. Not appear in my list of recent files either.

    I also have the same problem with task bar pinned items. If I open a folder or a file that is located in a subfolder of the original pinned item, windows, in his infinite wisdom, will replace my original pinned object, change to the new folder / file I open even if I don't want it (and 99% of the time I don't want it).

    Someone from microsoft can fix pinned bugs points because it is certainly not just me that sees a massive amount of bugs in the added items. It's something I could code and get it right the first time. It would take probably more effort to get Windows to the elements of pinned randomly change he would to leave him alone.

    I'm starting to think that the code of favorite items in Windows 7 needs a serious rewrite. So many bugs for something that really should not have problems, there!

    Thank you for the lack of support on this issue.

  • How do you buy songs in wish list

    How do you buy songs that you have saved in your wish list.

    You used to be able to buy all the items on your list of wishes at once (there is a button 'buy all'), but that was removed (perhaps because people were accidentally snap)-you will need to purchase each piece individually by clicking on its price.

    Use the wish list and history in the iTunes Store - Apple Support

  • How to install app store wish list?

    When I add something to my wish list, I get a message "you currently do not have anything in your wish list - but the"edit"button is grayed out.   How to start a wish list?  Thanks in advance for any help... Robin

    How you are trying to add items to your wish list? To add items to the computer iTunes you click on the arrow pointing down next to the button of the price of the item, on an iOS device, you tap the share icon (the square with him pointing up arrow) on its description page - what do you do?

  • Why my itunes wish list disappears suddenly?

    As I was reviewing some of the albums in my itunes wish list.  He suddenly disappeared.  I tried

    restarting the computer but no luck.  I do not get one "you have added music to your wish list.

    Message.

    Any ideas?

    This also happened to me. Anyone know what to do?

  • Adding items to an enum shifts the constant on the BD...

    A picture is worth a 1000 words, here is my qualm:

    Why adds an element to a constant of the enum addressing the constant of the comic?

    I use a lot this approach for Pseudo-stacked sequences (I use instead a state machine) and I end up spending the enum constant after adding item wach, otherwise, it ends by disappears under what structure it is right...

    Of course, I could just right-click and use the Edit items property (which I've been using today doing my level of tolerance has ebbed down a lot lately), but unless this feature has been voluntarily integrated in LV, it is bordering the sadist.

    Tested in LV 2011.

    Hi guys,.

    Thank you for this comment! I was also able to reproduce here on my computer running LabVIEW 2011 SP1.

    This was reported to R & D (CAR # 339320) for further investigations. Please let us know if you find other problems, we like always your diligence and your comments!

  • failure of the deletion of an item in a list

    Hello

    I am new to AIR und QNX and try to work through documentation of the RIM.

    Now, I'm at http://developer.blackberry.com/air/documentation/playbook/ww_air_developing/Create_a_list_ms_197099...

    The program creates a list. If I click on a button, it should remove an item from the list. But it doesn't work. Maybe someone has an idea why?

    Just a second question:

    Is there a difference between these two lines? Which variant is to be preferred?

    myList.removeItemAt (1);

    myList.dataProvider.removeItemAt (1);

    Here the important parts of the code:

    Import qnx.fuse.ui.listClasses.List;

    private function initializeUI (): void

    {

    arrMonth.push ({label: "Jan"});

    arrMonth.push ({label: "Feb"});

    ...

    myList.dataProvider = new DataProvider (arrMonth);

    }

    private void myButtonEvent(event:MouseEvent):void

    {

    now remove an item

    option 1: works well!

    myList.removeItemAt (1);

    HERE, THE ERROR SE PRODUCT

    option 2: does not work

    error message: the item to remove is not found

    myList.removeItem ({label: "Jan"});

    I still don't understand the etiquette thing. So I tried that, but it didn't work either

    myList.removeItem ("Jan");

    }

    Thank you very much

    Sebastian

    RemoveItem, you give him the real object that was originally registered on the data provider (pointer reference). You cannot give a new object that has the same values of the original object. If you don't, then you must create a function that makes a loop on your table of data provider and compare the unique field (usually, 'data') of the object is passed to, then call removeItemAt, based on the index in the array.

    It is also a good idea to not rely on the label to be unique in the list. AS3 convention will usually have a 'data' field that is unique for the list. The data field can then be matched to. Without it and you have multiple items with the same label, will lead to problems of selection.

Maybe you are looking for

  • Report

    How would I be able to post a question if I can get level 2

  • Must we have their phone I near Apple Watch?

    Should we have their phone in close proximity to the Apple Watch to allow the watch to use fully all if its capabilities?

  • Drive hard new for the car and recovery

    Hello I have a Pavilion dv4-2141nr S/N: [personal information deleted]. I installed a new model of disc hard WD WDBMYH0010BNC-NSPS, + 2.5 - inch SATA 3 Gb/s. I set the BIOS to start fron DVD/CD and it appears "no boot device - insert boot disk and pr

  • HP Deskjet 1050: Uninstall printer

    I uninstalled an old printer that I put away.  Now, whenever I start my computer, I get the message: There was a problem starting c:\Program HP HP Deskjet 1050 J410 series\bin\HPStatusBL.dll Culd specified module could not be found. Anyone know how t

  • Mini dv to g series laptop - no port firewire or expansion slot - HELP!

    I have a Canon Vixia - who, when we bought it, the SD cards that do not have sufficient capacity were expensive, so we used mini dv.  now, five years later, I need to get this published stuff and put on dvd before the band begins to degrade. I have a