How to avoid trigger acitonListener for other dorpdown lists

Greetings;
In a JSF page I have two h:selectOneMenu, each has a biniding to its own valueChangeListner.
The problem is when I change the value of the first dorpdown list it fires the valueChangeListener for the other dropdown list. I don't want to have this behaviour. I tried to solve the problem by making a requestScop paramter as a flag, this request scoped parameter is created only when the* first dropdown list * is changed,and in the valueChangeListener for the second dropdownlist , I check for this parameter to know if the post back is fired from the first dropdown list.
Is this the best way to avoid triggering the valueChangeListener.
Regards

Are you submitting the form on change of the dropdown?
At any way, the valueChangeListener will only be invoked if the currently submitted value is different from the initial value. That's all. If you're submitting the form during the onchange, then maybe you have in the 2nd dropdown null as initial value and empty string as 1st option value or so. Who knows. Just align it out. Empty string != null.

Similar Messages

  • How To avoid column heading for only total line in ALV list Display

    Hi,
    How To avoid column heading for only total line in ALV list Display.

    Hi,
    to change colunm header field catlog is built
    look at the example below
    Changing column text headers
    use this to change, hide, or alter the ALV columns
    CLEAR: gt_fcat.
    READ TABLE gt_fcat WITH KEY fieldname = 'TEXT1' " ***
    *TEXT1 is your field name
       ASSIGNING <gtfcat>.
    IF sy-subrc = 0.
       <gtfcat>-coltext   = 'Date Type'.
       <gtfcat>-no_out    = ' '.
       <gtfcat>-tooltip   = 'Date Type Text from IT0019'.
       <gtfcat>-seltext   = 'IT0019'.
    keep seltext to '' if u want to hide
    ENDIF.
    regards
    austin

  • How to send trigger pulse for every 0.25 sec until user stops the task?

    Hi All,
    Iam using NI_DAQ PCI 6221 Card for the Data Acquisition.
    Can any body please tell me how to send trigger pulse for every 0.25 sec until the user stop the task??
    Please suggest me the methods I should use to meet this requirement.
    Thanks In Advance,
    Sindhu

    Hi Sindhu,
    Am I correct in thinking that you do not want to use your 6221 to output a digital pulse, but that you are getting a digital pulse from somewhere else that you want to use as a trigger for the analog input?  And you will have more than one trigger?  If this is the case, then it can be accomplished by doing a retriggerable operation.  The way that this works is you use the counter on your board to generate the sample clock for your analog input because analog input cannot do retriggerable operations with its own sample clock.  You can modify the example GenDigPulseTrainContinuous_DigStart that is in the same location as the example I referenced before to be retriggerable by using the property DAQmxSetStartTrigRetriggerable.
    After doing that and testing to make sure that it works, you can setup an analog input task like the example ContAcqVoltageSamples_IntClk but specify the source of the sample clock to be the internal output of the counter you used in the counter portion of your program.  If you need help with the terminal names (You will need to use Ctr0InternalOutput for example), you can reference the NI-DAQmx C Reference Help at Start >> Programs >> National Instruments >> NI-DAQ.  After doing this, you will acquire the same number of samples as the number of pulses you choose to generate in the counter portion of your code every time a trigger is received.
    Also, I have come across an example that does retriggerable analog input using the counter as a sample clock in C++.  Either by using this example or modifying the shipping examples as I stated above you should be able to achieve what you are trying to do.
    Let us know if you have any questions.
    Thanks,
    Laura

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • How do you print ingredients for a grocery list from Recipe Box

    How do you print ingredients for a grocery list from Recipe Box?
    I would think that this basic functionality would be there to semi-automate the process.
    Thanks!

    Hi Mark,
    You'd have to do something like this;
    - Create a Rule in XPRESS that iterated over each of the Roles assigned to the user and invoke the java method available on the com.waveset.object.Role object
    java.util.List      getSubRoleList()
              Return the current list of roles assigned to this role
    <dolist name='currentRole'>
              <ref>user.waveset.roles</ref>
              <set name='roleObj'>
                <invoke name='getObject'>
                  <ref>theSession</ref>
                  <invoke name='findType' class='com.waveset.object.Type'>
                    <s>Role</s>
                  </invoke>
                  <ref>currentRole</ref>
                </invoke>
              </set>
    <block trace='true'>
              <set name='subRoles'>
                <invoke name='getSubRoleList'>
                  <ref>roleObj</ref>
                </invoke>
              </set>
             <ref>subRoles</ref>
    </block>
       </dolist>HTH,
    Paul

  • How to Filter a DVWP for other list items with same name?

    I have 2 lists, Clients & Engagements.
    The Engagements list has a lookup field to the Clients list (to the Title).
    The Engagements list often has more than on listing (job) for the same client at one time. I am trying to create a DisplayForm on the Engagements list that will also include a DVWP that will list all other items in the Engagements list that have
    the same Client Name ([Title]).
    I tried to use a parameter but not sure which one or if that is correct way? I have looked at the Query String but don't see anything in there to relate the other items together.
    The other option is I could use a Workflow to copy the [ID] column from the Clients list into a [ClientsID] column in the Engagement list but I figure there is an easier way since I already have a lookup column linking the two lists.
    Any help or direction would be appreciated.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    Sudip, this is probably me not understanding the correct terminology for each type of webpart it seems in my reading I have either not understood the reference or the writer had them mixed up.
    Just to clarify I am using SharePoint Foundation 2010.
    I have attached a few screenshots so you can see what I am referring to, so we can avoid any confusion or misused terminology. I created a new test site and 2 new lists so I don't have to block out client data.I have created 2 lists Clients & Jobs. The
    jobs has a lookup to the Clients list. I have been trying to create 1 new display form on each list.
    ***Jobs**
    I want to open the DispForm for the job but also at the bottom of the display list all other jobs with the same client name. (seems straight forward)
    I have inserted a DVWP for the Jobs list and when I try to use a connection the filter list has blank columns for both lists.
    While focused on the upper display form section, I use the "Add Connection"  button and select
    "Send Row of Data To",
    Webpart on this page
    Target webpart=Jobs(1), Target Action=Get Filter Values From
    And the columns are blank and can not be changed or selected
    If I start over, still focused on the top Display webpart and select but select Get Filter Value from the columns are then active but obviously this is backwards from what I am trying to do.
    If I try to follow the Get Filter values from while selecting the bottom DVWP that was inserted, again the columns come up blank.
    I have used connections successfully on different pages and even on this page but not in the fashion I am attempting now.
    This is why I thought I could/should be using/passing a value in the query string then use filtering. I have used the ID in the query string previously but that will not work in this scenario.
    I also considering a similar DispForm from the Clients list showing all Jobs for the open client but have the same issue. This would likely be a more appropriate view but I am interested in seeing if both can be done.
    Honestly my gut is saying filtering and query strings is how I should be doing this but again I am no expert. That's where I started a few weeks ago but despite the numerous guides I have found to do this I still can't get it to work. There is either
    missing instructions or skipped steps or it was done in a different version of SPD and I can not find the tab, feature, etc anywhere even after googling and reading.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • How to avoid extended checks for the events used in ALV.

    Hii,
    I hav delvpd an alv report in which i hav used events for which i haven't declared PERFORM for the same. but when i had checkd in the Extended program checks it says that form interface is not called directly.. check for dynamic PERFORMS...
    how to avoid this error in the extended check program.

    Another option can be calling the routine from the program itself with a check that never satisfies.
    like:
    if 1 = 2.
    perform top_of_page.
    endif.
    form top_of_page.
    endform.
    Regards,
    Joy.

  • How to use um:setProperty for others

    I have a following requirement.
    as a manager i need to set property value of employee.
    But if try <um:setproperty ..> as a manager it updates property value
    of manager not of employee.
    How can i do it for employee as manager.
    tia
    Mahesh

    You need to get the profile with the appropriate profileKey, first.
    See the <um:getProfile> javadoc...
    "Mahesh" <[email protected]> wrote in message
    news:40455d84$[email protected]..
    >
    I have a following requirement.
    as a manager i need to set property value of employee.
    But if try <um:setproperty ..> as a manager it updates propertyvalue
    of manager not of employee.
    How can i do it for employee as manager.
    tia
    Mahesh

  • How to prevent WBS element for other Company code to be used in WO

    Hi,
    I am new to this forum and want to try this out.
    This thread is regarding: Area: plant maintenance, create/change work order, message control in wbselement in tab "Addit data"
    Detailed explanation:
    In our SAP system we have the functionality that when a user enters a wbs element in a Work order (Addit.Data Tab) he gets an error message CJ065 if the WBS element is from another Controlling area.
    We want in addition the functionality: show error message CJ 066 when the WBS element is for another Company code.
    I have searched in message control within PM, but here is only allowed to enter messages for application area IW.
    I have also tried to search for other message classes without finding where in customizing to maintain message class CJ.
    Please help
    Best Regards
    Ellen

    Thanks for your feedback Narendra,
    I have thought of that solution (using customer exit at save), but hoping maybe there was a setting in Customicing eather in CO or in PM to make message CJ066 appear. When looking at the source code it looks tlike there is a setting in customizing to be triggered, but I cannot find out where..
    BR
    Ellen
    Edited by: Ellen Ødegaard on Apr 29, 2008 2:08 PM

  • How to open TM backup for other laptop on LaCie connected by USB to TC?

    My husband's laptop may be dead, and we need to access the TM backup for it from my laptop. I have tried following the instructions to "Browse Other Time Machine Disks" over the wireless network but something isn't working right since I don't even consistently see the sparse bundle for my own laptop, and the LaCie drive connected to the TC doesn't seem to be recognized at all.
    This is what we're working with:
    my laptop: MacBook Pro/10.5.8
    his laptop [possibly defunct]: iBook G4/10.5.?
    500G TC - my TM sparse bundle (plus other files);
    160G LaCie drive; 4 partitions, 1 about 85G, with his TM sparse bundle (plus other files).
    Backups were runninng wirelessly after initial creation over Ethernet.
    I've tried connecting the LaCie to my laptop directly via USB and Browsing for Other TM Disks, and still nothing. I checked permissions on the partitions, and they seem okay. Can I force it to mount his backup file somehow? All four partitions on the LaCie show up as Sharepoint folders under the Shared TC when I'm using the wireless network, but the LaCie isn't readable by Disk Utility unless I'm directly connected.
    Any help appreciated, as he needs files from the backup for his consulting work, of course. Thanks!

    Betsy F wrote:
    I've tried connecting the LaCie to my laptop directly via USB and Browsing for Other TM Disks, and still nothing. I checked permissions on the partitions, and they seem okay. Can I force it to mount his backup file somehow?
    Hi, and welcome to the forums.
    You should be able to mount the sparse bundle (either wirelessly or with the drive directly attached) by double-clicking it via the Finder. Then it should show up on your desktop and/or Finder sidebar, and in the Browse window.

  • How to avoid the Blank elemts in the List Item

    Dear All,
    I am using a List Item
    List Elements List Item Value
    Yes 1
    No 2
    Only two elements in this List Item.But at Run time there is one Blank element.
    I need to display only two elements from the List Item .How to avoid the Blank.
    Thanks and Regards,
    Fazil

    Fazil,
    I am using a List ItemList Elements List Item Value
    Yes 1
    No 2
    Only two elements in this List Item.But at Run time there is one Blank element.
    I need to display only two elements from the List Item .How to avoid the Blank.>
    Maybe you actually have null entries in your list. You can clean it up using keys as discussed here http://paranoid-engineering.blogspot.in/2008/05/wonderland-of-oracle-forms-builder.html (Ignore the personal opinions of the author if you will ;) ).
    Cheers,

  • How to Avoid Pop up for Expand Mode Options

    Dear Experts
    In our Input schedules, we have two EVDRE Sheets.
    1) Master Data EVDRE Sheet
    2) The actual transaction data sheet.
    On BEFORE_EXPAND event of the Second sheet we trigger the Expansion of First Master Data Sheet to get the exact EVDRE filters. However we are facing issue as during the first expansion the BPC gives message
    Select the Expand Mode 1 ) Send Data and Clear Input 2) Clear Input.
    Can you please help how can we avoid this message to be show on expansion of 1st EVDRE ?
    You help is highly appreciated. I searched the SDN but could not find any answers.

    Hi Amurag,
    Did you ever find a solution/workaround to this issue?

  • How to avoid seeing data for a particular member in the row level

    Hello,<BR>I am using Essbase. In that i am having members like taks n/a, demand n/a. Purpose of these members are, if i load data for demand, task wont have data so i am mapping to task n/a.And same for the task loading.I am using alphablox for reporting and report script for retriving the data.So, if i select the task n/a and demand n/a then some value will be existing for this. Is there any possibility to remove this from report.I mean while seeing in the report, it should not get this member and respective value for display and also avoid taking this data for any manipulation.I know RESTRICT for column level data. Is there anything for row level restrictions.<BR>Please help me on this.<BR>Regards<BR>R.Prasanna

    Hi,
    Into the rule containing the Color metadata, you can restrict the values of the list.
    In "Has restricted list and pane", list the values 1, 2 and 3 (new line for each value) :
    1
    2
    3
    Romain.

  • How to avoid a timeout for a long-running query

    Hello,
    in my application I insert some rows in a temporary table on submit in a PL/SQL block on the page 1. Then I read these rows from the table on the page 2. Unfortunately the insert takes too long time, because I also have to make some other SELECTs etc in that block. That's why the application hits the Apache timeout for mod_plsql and HTTP error between pages 1 and 2.
    I have found some threads about this topic in this forum. There are some suggestions with meta refresh tag etc. I understand, that I have to implement some kind of processing page between the pages 1 and 2 to show a waiting message etc. But I could not find any ready "cook book" for such implementation.
    Could you please help me?
    Thanks in advance
    Andrej
    P.S. This application don't use AJAX code, so I would prefer a solution without AJAX.

    Hello Chris,
    I am not sure, how to implement this approach. So I would start on the page 1 a job (dbms_scheduler or dbms_job), which would create a temporary table in the background. The application should branch to the page 3 with a message "Please wait...". I have to poll the results of the job and branch to the page 2, when the job is ready and I can select from the created temporary table. So far I like this way very much.
    Could you please give me more details about the page 3 (polling page)? I have the following questions now:
    1. I assume I have to set the meta refresh tag on this page. But in which PL/SQL block can I poll for the running job (on load process?).
    2. How can I branch from this page to another page? If I only use refresh tag, how can I branch to another page only on the special condition (ready flag)?
    Thanks in advance
    Andrej

  • How to avoid built-up for "cursor move" events?

    I have a rather complicated program where several graphs need to be interactively updated according to cursors using "cursor move" events. The problem is that the recalculation is relatively slow and the behavior is less than satisfactory. Since the cursor position needs to be "tweaked" until the result is as desired, I cannot recalculate only at the "Cursor Release" event.
    Lock front panel=enabled makes cursor movements tedious because the cursor movements is very
    jumpy and non-interactive. Not user friendly!
    Lock front panel=disabled queues up way too many move events and once the cursor is released
    the graph continues to jump and recalculate for ages.
    The attached demo (LabVIEW 8.20) shows one solution attempt that actually works pretty well: Skip the recalculation unless the cursor position from the event terminal is equal to the cursor position of the graph property node. This basically races through all unecessary intermediary recalculations on stale positions. However, the code can get complicated very quickly if there are multiple cursors.
    In my opinion, cursor move events should not get queued up! The event buffer should hold only exactly one entry:
    the most recent cursor position for each cursor. Can anyone think of a scenario where the extra cursor position trail is useful? The positions are pretty random anyway, right?
    Does anyone have other (better!) ideas how to work around this problem? I definitely want to keep it simple and not throw lots of code at it.
    The attached demo contains more details. It demonstrates the problem if "selective updates" is checked. If unchecked, it implements the above mentioned workaround.
    LabVIEW Champion . Do more with less code and in less time .
    Solved!
    Go to Solution.
    Attachments:
    CursorDelay.vi ‏29 KB

    Thanks for the example.
    The more I think about this, I strongly prefer my original method. It uses minimal code compare to the other solutions offered here. As a demo, I am attaching an implementation to a slide control.
    Fo those without LabVIEW 8.20.
    All slide events have "lock front panel" disabled.
    TIme delay is 500ms, simulating some complex calculation.
    As you can see, it works extremely well:
    NO shift registers, extra loops, queues, tuning parameters (min times, etc.), etc.etc.
    Just a deceptively simple "equal" followed by a case structure.
    The demo shows a typical recording if I quicky move the slide up and down, then release it. You can see that the raw event structure takes more than 40 seconds to stabilize while my selective solution follows the slider position almost perfectly despite the 500ms stall in each update.
    See for yourself! Can anyone think of a drawback of this method? Even if the slide terminal is not in the same loop, a comparison of a local variable with the newval should do the trick just fine.
    Message Edited by altenbach on 09-28-2006 12:43 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SLIDEDelay.vi ‏26 KB
    SlideUpdate.png ‏21 KB

Maybe you are looking for

  • How can I change the name to my I-Pod Shuffle?

    Hi, this is Gloria writing. I have a little problem. I have just received a new Ipod shuffle and when I connected it to my PC, I made an error giving to my IPOD a wrong name. Could anybody help me? Could somebody explain me how can I change the first

  • Oracle Error code: 1116, message: ORA-01116: error in opening database file

    Hi , Please advise on this error message Oracle Error code: 1116, message: ORA-01116: error in opening database file 202 ORA-01110: data file 202: '/u02/app/oracle/oradata/ubidev12/dbf/temp02.dbf' All these while, the dashboard working well in my loc

  • Accumulated Depreciation and Depreciation @ FY start is having value difference

    Dear Team, I am facing one issue in production. My client's depreciation @ F.Y end 31-12-2013 is 79,952.872 OMR. When carry forwarded to next year beginning itself the value is getting changed to 79,968.382 OMR. I run AFAR T-code ie re-calculate depr

  • NI Vision Development Module Run-Time License

    I need remove the Run-Time license, Because I need format the computer had drive then I need re-install the license at the same computer. There is a Procedure? Thanks

  • Can I install Nike Kit on two Computers?

    I just bought the nano Nike kit but am away from home. I am nervous if I install my Nike software onto my the computer Im using now, it wont work when I try and install it onto my own itunes at home. To complicate things further, the computer I am al