Postback and Alert position

Hello,
I'm new to JSF so this is probably a silly question. I'm developing a web-app in Netbeans using the Woodstock library,
and I'm having difficulty using the Alert component. To be exact, I want to implement a 'basket' functionality where the user selects rows from a table (by clicking on the last column which is filled with a button) which are then added to the basket showed on the page where the button's action navigates to. But when the user tries to add a row which is already in the basket I want an Alert component to show up and display that error. So I've added an Alert component to the page but with setVisible(false) and when the duplication occurs (which is detected inside the action method of the button of each row) I use setVisible(true) and return null to re-display the same page. The problem is that the table is not re-positioned a little bit lower than the Alert component, thus ..cutting the Alert component in half..
Any ideas?
Thanks in advance,
Antony

I am not aware of a way to do that. There is no property for position for alerts. You can of course write your own alert functionlaity using a window and set the x and y positions of the window with the set_window_property built-in.

Similar Messages

  • Reporting Services 2012 for SharePoint and SQL Server Agent "Subscriptions and Alerts"

    After installing Reporting Services for SharePoint (Denali) in my test farm, I'm trying to configure the "SQL Server Agent" access for Reporting Services.  From Central Admin I'm going to the Reporting Service applicaiton configuration screen and selecting
    "Provision Subscriptions and Alerts".  I've tried both options on this screen.  I've manually executed the "download sql script" in SQL Server, as well as entering a user with SQL sys admin rights on the SQL server into the login fields on the screen. 
    The role and permissions have been created for the application pool service account, but Reporting Services is still trying to connect with the annonymous login because I'm getting the following alert each time I open the "Provision Subscriptions and Alerts"
    screen:
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    The "status" on the screen still shows "SQL Server Agent State cannot be determined".  Has anyone else seen this? 
    Thanks!!

    Thanks for your reply!
    1) Looks like the new Reporting Services does not run as a Windows Service so it's not listed in the "Configure Service Accounts" pulldown.  As a result, I don't see how to set the service account.  It's only assigned to an application pool. 
    I installed it into an existing application pool and that application pool "is" in the list and has a domain service account already assigned.
    2) Which users need to be in here in order to configure the "Provision Subscriptions and Alerts" screen?  I already have the farm admin account which is the account I use when running Central Admin.
    3) As mentioned in #1, I've installed Reporting Services into an existing application pool with other service apps.
    4) This link is for Reporting Services 2008 R2 which is very different install process.  But I did follow the SQL Server Reporting Services 2012 RC0 installation instructions and the Reporting Services is functioning correctly with no errors. 
    I'm just not able to configure the sceduling the alerting with interfaces with the SQL Server Agent.
    Thanks!

  • Report and Alert don't executed in the error handler with a JMS proxy service

    Hi,
    I'm working with OSB 11.1.1.4.0 and I'm facing a problem with the error handler of my JMS proxy service.
    My error handler contains two main elements :
    - a Report action
    - an Alert with a JMS destination defined
    When the business service failed the message remain in the queue. It's the expected behavior.
    The problem is :
    - the report is missing
    - the alert is raised but missing in the JMS destination defined in the Alert setting.
    I've noticed if I add a Reply with Failure or Success, Report and Alert are successfully executed.
    Unfortunately the message don't remain in the JMS queue.
    What can I do in order to have my report/alert done and the JMS transaction rollback in order to keep the message in the queue ?
    I've already met this problem in the past with alsb v3 and my solution was to add Service Callout in the error handler in order to externalize these actions.
    This solution is not convenient and I hope another solution is possible.

    Inventorying workgroups can be difficult, especially when it comes to remote access and network security. Because workgroups are not centrally managed, some of the items discussed in this
    wiki article on preparing your workgroup environment may require you to visit each machine individually.
    For non-domain credentials, you do not use the <systemname>\<user> format, you simply enter the user name. Regarding how to enter the credentials, if you have an account that uses the same username and password on all machines and is an administrator
    on all of those machines, then you can enter that in the All computers credentials page of the wizard. You can also do this if they are different user names. However, if some machines have an account with the same user name, such as Administrator,
    but different passwords on each machine, you will need to use the Manually enter computer names discovery method, and then enter the information for each group or each machine.
    As you can tell, workgroup environments can quickly negate any benefit that the agentless inventory nature of MAP provides.
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Is there a way to exclude specific calendars from Notifications and alerts?

    I have 4 calendars:  1 Exchange and 1 Yahoo that includes 2 shared calendars (wife and MIL).  I activate the Yahoo calendars only when I need them and do not need any yahoo reminders at all.  When I swipe down the Notifications page, it includes all four calendars including the shared Yahoo calendars. What's worse, I get alerts from all four calendars. 
    I only want Exchange alerts and notifications. Is there a way to exclude the Yahoo calendars from Notifications and alerts?
    Right now, the only way I can eliminate them is by deactivating the Yahoo account in Settings/Mail, Contacts, Calendars.

    Is there a way to only choose specific contacts from an existing group and add to a new group? 
     I mean there has be a faster way than typing everybody by hand..

  • Trying to get a Trigger and Alert to work

    So im trying to get a trigger to work with an alert and the Alert seems to be right and the trigger complies which seems right to me, however the instruction that I have in my book does not produce the same output that I get from my Update.
    Here is the deal. I am to log into sql * with a default account as well as login as "SYSTEM"
    the trigger should invoke the Alert and output a message to re-order some more product and the status should = 0 since there is no wait time. However I don't get a "Message" from the Alert and the status = 1 which indicates timeout. So if you can take a look at my code and let me know what I did wrong or how to "Connect" the two that would be great.
    Trigger I created.
    CREATE OR REPLACE TRIGGER order_replace_trg
    AFtER UPDATE OF stock on bb_product
    FOR EACH ROW
    WHEN (OLD.stock = 24 AND NEW.stock = -2)
    DECLARE
    stock NUMBER(5,1);
    idproduct NUMBER(2);
    lv_msg_txt VARCHAR2(25);
    lv_status_num NUMBER(1);
    reorder NUMBER(3);
    BEGIN
    IF stock <> 24 AND reorder = 25 THEN
    lv_msg_txt := 'Product 4 Reorder Time!';
    DBMS_OUTPUT.PUT_LINE(lv_msg_txt);
    ELSE
    lv_status_num := 0;
    DBMS_OUTPUT.PUT_LINE(lv_status_num);
    END IF;
    END;
    The Alert:
    BEGIN
    DBMS_ALERT.REGISTER('reorder');
    END;
    DECLARE
    lv_msg_txt VARCHAR2(25);
    lv_status_num NUMBER(1);
    BEGIN
    DBMS_ALERT.WAITONE('reorder', lv_msg_txt, lv_status_num, 120);
    DBMS_OUTPUT.PUT_LINE('Alert: ' ||lv_msg_txt);
    DBMS_OUTPUT.PUT_LINE('Status: ' ||lv_status_num);
    END;
    Here is the block I need to run to test the trigger and alert.
    UPDATE bb_product
    SET stock = stock -2
    WHERE idproduct = 4;
    COMMIT;
    The message I should get is:
    Alert: Product 4 Reorder Time!
    Status: 0
    PL/SQL procedure successfully completed.
    This is what I get.
    SQL> /
    Alert:
    Status: 1
    PL/SQL procedure successfully completed.
    Thanks for your help!
    Mac

    Right. Register says "I'm interested in getting alerted to some particular event", Waitone says "I'm waiting until some event happens". Signal is the key thing that indicates that a particular event happened.
    As for your trigger, a couple of issues
    - I don't know why you're calling DBMS_OUTPUT. I'm guessing that you probably want to send a message along with your alert that the receiver gets and displays, not that you want to print a message to the window from inside the trigger.
    - You're using the local variables stock and reorder in your IF statement but you never initialize them. I'm guessing that you would want to eliminate those local variables and just use :new.stock and :new.reorder (assuming that REORDER is a column in the table).
    - Your WHEN clause doesn't seem to make sense. It's telling the trigger to fire only if you update stock from 24 to -2, which doesn't make sense. I'm not sure you would even need a WHEN clause here.
    Justin

  • Please, Help Embedding Fonts in TextArea , TextInput and Alert Components

    Please, forgive my bad english.
    Here is my problem (using Flash CS3 ActionScript 2).
    I have on the stage :
    • an instance of TextArea with Instance Name :
    message_ta
    • an instance of TextInput with instance Name : name_ti
    • and I have in the library an instance of Alert
    component, with default linkage Identifier : Alert
    for each one of this components I need to embed the same
    font.
    I already created a New Font in the library, choosing the
    font I want to use, giving it name "my_font" and size 8px.
    Now, please, can someone help me to write the actions to
    embed that font (my_font) inside the TextArea, TextInput and Alert
    components ?
    Thank you .

    You're right,my mistake, components don't have a font
    parameter, I was thinking of the textField. In any case you can use
    setStyle.
    1. Import the font(s) that you want to use into your movie's
    Library.
    2. Set each font's Linkage to be exported for Actionscript.
    Set the identifier name as you like
    3. Set your component(s) on the stage.
    4. Name each component instance.
    5. In a frame action space, define the style for each
    component:
    componentName.setStyle("fontFamily","fontName");
    componentName.setStyle("fontSize",12);
    componentName.text = "hello";
    componentName.embedFonts = true;
    There is a section in the online help that lists the various
    style properties that you can set for each component.

  • How do I convert the single x and y coordinates returned by a CWGraph Click event to the Cursor X and Y Positions?

    I am trying a work around for another problem.
    cwCSnapNearestPoint does not give me a CursorDown event (TrackMode = cwGTrackDragCursor). I need to know when the user has clicked on a Cursor. I need to figure out when the user has clicked on a cursor.
    The click event gives you coordinates as "Single" which are an OLE_XPOS_PIXELS. How do I convert to the Cursor coordinates (or vis a vis)?
    Or better yet is there another way to figure that a cursor has been clicked on (while using cwCSnapNearestPoint and TrackMode = cwGTrackDragCursor )

    Here are a couple potential fixes for the problem. If you are dealing with cursors on the graph, I would look into CursorChangeEvent, CursorMouseDown, CursorMouseUp, and CursorMouseMove. The ChangeEvent is triggered upon repositioning of the cursor. MouseDown triggers on the depression of a mouse button on a cursor, while MouseUp triggers on the button's release. MouseMove is triggered when the mouse is moved over a cursor. These each give X and Y positions in the arguments. If you used these and then made a Sanp to nearest point, you should have the coordinates before you sanpped to the point.

  • Regd: CCMS and Alert ?

    Hi @,
    I have some doubts regd CCMS and Alert :
    1.Whether CCMS config is mandatory to use alerts ?I havefound in some places tht it is not required then where will be alert available if i trigger
    2.Steps to configure CCMS to include XI as it is not configured in my system?
    REgards

    1.Whether CCMS config is mandatory to use alerts ?I havefound in some places tht it is not required then where will be alert available if i trigger: AlertInbox
    2.Steps to configure CCMS to include XI as it is not configured in my system?
    Follow these guidelines:
    Alerts
    transaction handling in XI
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    • Auto triggering of alerts
    transaction handling in XI
    • SCOT
    not sending email from alert inbox
    CCMS ALERTS
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    /people/sap.user72/blog/2005/12/05/xi-grmg-customizing-for-xi-ccms-heartbeat-monitoring-part-ii
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3

  • Exception Handling in Message Mapping and Alert

    Hello,
    1. Pls let me know the concept of Exception Handling and Alerts.
    2. Pls provide some blogs for Exception Handling in Message Mapping.
    3.What are Alerts and how it help us in XI. Pls provide some blogs for Alert
    4.How are Alerts and Exception Handling can be related say for some scenario
    Regards

    Hi,
    Plz check out these blogs of Sravya on Error Handling:
    /people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1
    /people/sravya.talanki2/blog/2006/11/23/error-handling-framework-xiout-of-the-box-episode-2
    Also check this SAP Presentation:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af895b
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Error Handling :
    http://help.sap.com/saphelp_nw04/helpdata/en/56/b46c3c8bb3d73ee10000000a114084/frameset.htm
    Alerts:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw04/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm
    BPM:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Working with acknowledgements
    regards

  • Will play count and playhead position sync back to iTunes?

    I have a bunch of smart playlists that contain all the unplayed episodes of my favorite podcasts. If I drag these onto the Shuffle, will the play count and playhead position from my Shuffle sync back to iTunes?
    It seems like the answer is no -- this is really a one-way copy to the Shuffle, and not a "sync".

    The iPod shuffle is supposed to maintain a "played" flag for played tracks. I don't know if podcasts will work the same way as normal tracks, but I can't think of a good reason why they wouldn't. Having said that, after the iTunes 8.1 update, my shuffle's marking the wrong tracks as "played" and leaving the actually played tracks unmarked, so until the iTunes team comes up with a fix for all the bugs they introduced in that update, anything goes.

  • Purchased ringtones and alerts disappeared after updating to iOS 8.2

    since updating to iOS 8.2 purchased alert tones and ringtones have disappeared and following the restore times link does not restore them. Also, cannot update any apps from the App Store. How do I get back my purchased ringtones and alert tones?

    Greetings EmmsieK13,
    It sounds like you were trying to connect to the App Store when there were some system issues.
    You can check the status at
    Apple - Support - System Status
    Note you can scroll back on the Detailed Timeline by clicking the back button to see some previous days.
    Since the systems show they are up now, please try again and see this article for restoring your alert tones and ringtone purchases.
    Restore missing tones on your iPhone, iPad, or iPod touch running iOS 8.1.1 - Apple Support
    There's a section for "Restore your tones from the iTunes Store".
    Thank you for visiting Apple Support Communities.
    Nubz

  • Alert Inbox and Alert Config does not open in RWB

    When I open RWB I am not able to open Alert Inbox and Alert Configuration links. Its says " Internet Explorer cannot display the webpage" . When I exequte the command ALRTINBOX from Abap stack, it opens the Alert Inbox page.
    Can someone tell me if there is any setting that I need to change in my Internet Explorer. I even tried using Mozilla, but same issue. My team members are able to open these links, hence it may be some setting on my machine.

    Hi Chiraj/ Navneet,
      Thanks for your reply, I have already tried these setting and my team members are able to login from their comps. Also i have tried using SUPER USER id which has all access, still the same issue. Hence I believe it is an issue with Internet Explorer setting.
    Thanks
    Vineet

  • How to set the X-position and Y-position

    I started an application but was struck due to a problem.
    The problem was : I was unable to set the X-position and Y-position in the desired place... Any one who can help please help me to continue my application......
    I wanted to set my choice group elements in the center of the screen.. help me plz....

    You want to change to x/y position of what? The main frame?
    If it is the Frame class take a look into the CDC/PP specification:
    "An implementation may prohibit resizing of Frames by a user. In such a case, attempts to make any Frame resizable will fail silently"

  • Adjust front panel to screen size and re-position objects on different systems automatically

    Hello, i have designed a vi that contains 5 led's placed at the 4 corners and center of the front panel which occupies the entire screen. However, this vi is to be used on different systems having different screen sizes. But on every screen, i'll need the front panel size = screen size and the led's to  be placed to the centers and corner of this new screen size automatically without any manual operations and positioning bieng done every time. Will the resize option perform this task completely or do i have to go for some other techniques?
    Solved!
    Go to Solution.

    As far as I know, what you want is not easy to do but it is doable but you have to programmatically do it (no Labview setting). Here is an example for only 2 LEDs but I suppose that you will be able to make it work for your other LEDs.
    This VI maximizes the front panel and then positions the 2 LEDs in the center and top right corner upon running. The LEDs are positioned according to their own top left  corners, not according to their centers.
    Marc Dubois
    HaroTek LLC
    www.harotek.com
    Attachments:
    Position LEDs.vi ‏14 KB

  • Can we have 3 way vertical toggle switch, with unstable position at top, neutral position in center and stable position at bottom. the shape of the switch should be same as that of vertical toggle switch.

    can we have 3 way vertical toggle switch, with unstable position at top, neutral position in center and stable position at bottom. the shape of the switch should be same as that of vertical toggle switch.

    Avon,
    You've asked the same question and received several replies in two recent threads here and here.
    Rather than start a third thread, it would be best to just respond in one of them with details as to your problems with the proposed solutions (e.g. use of picture control).
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

Maybe you are looking for

  • Not able to insert data in database via forms

    Hi there. i have been trying to insert data into my database, which i am connected to remotely. i have written some sql code for a button. INSERT INTO address_repository VALUES('ADD'|| :address.address_id, :address.address_street_num, :address.addres

  • Bf  datasource data is not populating in R/3 side

    Hi Folks, I have loaded 2lis_03_bx first for a plant using MCNB transaction,its showing data in RSA3 then I have loaded 2lis_03_bf datasource for the same plant using transaction 0LI2BW. but it is not showing data in RSA3. I have done the above proce

  • Installation of Forms 10g on Windows Vista

    Hello All I am also looking for the patch 7047034 and the OPatch as I am not a registered metalink user. Pls help by anyone will be highly appreciated.My email address is [email protected] I reside in UK, London and my forms rel2 10.1.2.0.2 installat

  • Can I add a plugin

    can I install noise ninja?

  • Unwanted Query string appears in Apache access log file

    hi, i tried with the follwoing code to send the request for a servlet. uri = "/servlet/Participant"; res.sendRedirect(getScheme( req ) + req.getServerName() + (req.getServerPort() == 454 ? (":" + req.getServerPort()) : "") + uri); Here i am not appen