Best practice: SelectOneChoice containing 'ALL'

Hi,
I'm having a selectOneChoice component, containing several departments. The component also contains a selectItem 'ALL'. Between the departments VO and the emp VO a view link has been defined, so after selecting a departments, the underlying employees should be queried.
I wonder: what's the best way to implement the 'Show All' functionality?
JDeveloper 10.1.3.3
Faces/ADF BC
Thanks in advance,
Koen Verhulst

Hi,
one strategy would be to build the list box from a managed bean, which reads from the iterator to populate the list label and values. As a first entry you would statically add "All" for the label and "%" as a value. If you use bind variables to query the dependent table then this works fine when passing the value of the list box to an executeWithParams
Frank

Similar Messages

  • Best Practice for saving all fieds and searches in capital letters

    I want to save all fields in my all pages in CAPS and also to search with CAPS e.g user enters search criteria in small letters, then automatically it should convert to caps. What is the best practice to do that?

    Hi,
    There are already so many discussions on this in this forum, some of the links are:
    Uppercase
    How to convert user input in the page to upper case?
    Sireesha

  • Best practice for getting all Activities for a Contact

    Hello,
    I am new to the Eloqua API and am wondering what is the best practice for downloading a list of all activities for a given contact.
    Thanks

    Hi Mike,
    For activities in general, Bulk 2.0 Activity Exports will be the best way to go. Docs are here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/index.html
    But it can be a complex process to wrap your head around if you're new to the Eloqua API. So if you're in a pinch and don't care about the association of those activities to campaigns, and only need to pull activities for a few contacts, you can resort to using REST API calls.
    The activity calls are visible (from Firebug or Chrome console) if you open any contact record and navigate to the "Activity Log" tab. If you have it set to all activities, it will fire off a dozen or more calls or you can choose an individual one from the picklist to inspect that call in more detail.
    Best regards,
    Bojan

  • Problem with crystal reports get from All in One Best Practice package

    Hi,
    I tried to use Financial Statements crystal report download from All in One Best Practice package but encounter the below errors. I followed the guide in Manual Steps for Additional Datasource Creation to set up the additional data source. When i try to preview the report, I tried to set all the value to Null but the error message still appear. I believe this has something to do with the infoset but i not sure how to resolve this. Those report which connect to infoset doesnt seem to work for me.
    Errors:
    Failed to retrive data from database. (then i press OK)
    database connector error: 'no item structure data' (then i press OK)
    database connector error: 'RFC_Closed'
    Please advice
    Thank you

    Hi Afzal,
    I think you misunderstood. The crystal report i am talking about is the 23 crystal report template i get from All in One Best Practice package. All i need to do is follow the "Quick Guide to impletement SAP Best Practices for Business Intelligence V4.31" to make those template works. For those template that connect to Database type: SAP Table, Cluster or Function, i can make those work. The problem i facing now are those template (example: Financial Statements) that connect to Database type: SAP Info sets. The error i receive are stated in my first post.
    Please advice

  • Contained DB best practices

    Hello!
    A standard procedure for converting an ordinary db to the contained one is as follows:
    http://msdn.microsoft.com/en-us/library/ff929275.aspx
    sp_migrate_user_to_contained
    @username = N'Barry',
    @rename = N'keep_name',
    @disablelogin = N'do_not_disable_login' ;On the other hand, this article says:http://msdn.microsoft.com/en-us/library/ff929055.aspx
    "As a best practice, do not create contained database users with passwords
    who have the same name as SQL Server logins."-
    But the commands mentioned at the begining of this post do create
    "contained database users with passwords who have the same name as SQL Server logins."Does it mean we must NOT use @rename = N'keep_name' (or @disablelogin = N'do_not_disable_login')
    to follow best practices for contained DBs?Thank you in advance,Michael

    Hello Michael,
    What it means is to either have a user login in a contained database or a normal login, but not both. For example, you would not want to have a sql login called 'TestLogin' at the instance level and the same user with a password at the contained database
    level. This could cause undesired results from a permissions point of view.
    If you only wanted TestLogin to be able to access the contained database, but there existed a TestLogin with the same password at the instance level it would in effect NOT be contained within the contained databases as a normal contained user would.
    It is more of a reason because of security (and potential other things).
    I would follow the recommendation unless you specifically need the contained user to access other server level items, in which case I would question the actual need for a contained user and database.
    Sean Gallardy | Blog | Microsoft Certified Master

  • Best practices on number of pipelines in a single project/app to do forging

    Hi experts,
    I need couple of clarification from you regarding endeca guided search for enterprise application.
    1)Say for example,I have a web application iEndecaApp which is created by imitating the jsp reference application. All the necessary presentation api's are present in WEB-INF/lib folder.
    1.a) Do I need to configure anything else to run the application?
    1.b) I have created the web-app in eclipse . Will I be able to run it from the any thirdparty tomcat server ? If not then where I have to put the war file to successfully run the application?
    2)For the above web-app "iEndecaApp" I have created an application named as "MyEndecaApp" using deploymenttemplate. So one generic pipeline is created. I need to integrate 5 different source of data . To be precise
    i)CAS data
    ii)Database table data
    iii)Txt file data
    iv)Excel file data
    v)XML data.
    2.a)So what is the best practice to integrate all the data. Do I need to create 5 different pipeline (each for each data) or I have to integrate all the 5 data's in a single pipeline ?
    2.b)If I create 5 different pipeline then all should reside in a single application "MyEndecaApp" or I need to create 5 difference application using deployment template ?
    Hope you guys will reply it back soon..... Waiting for your valuable response ..
    Regards,
    Hoque

    Point number 1 is very much possible ie running the jsp ref application from a server of your choice.I havent tried that ever but will draw some light on it once I try.
    Point number 2 - You must create 5 record adapters in the same pipeline diagram and then join them with the help of joiner components. The resultant must be fed to the property mapper.
    So 1 application, 1 pipeline and all 5 data sources within one application is what should be the ideal case.
    And logically also since they all are related data, so must be having some joining conditions and you cant ask 5 different mdex engines to serve you a combined result.
    Hope this helps you.
    <PS: This is to the best of my knowledge>
    Thanks,
    Mohit Makhija

  • Best Practice for Managing Cookies in an Enterprise Environment

    We are upgrading to IE11 for our enterprise. One member of the team wants to set a group policy that will delete all cookies every time the user exits IE11.  We have some websites that users access that use cookies to track progress in training,
    but are deleted when the user closes the browser.  What is the business best practice regarding deleting all history, temp internet files and, especially cookies when closing a browser.
    If you can point me to a white paper on this topic, that would be helpful.
    Thanks
    Bill

    Hi,
    Regarding cookie settings, we could manage IE privacy settings using Administrative templates for IE 11:
    Administrative templates and Internet Explorer 11
    Delete and manage cookies
    The Administrative templates for IE 11, we could download from here:
    Administrative Templates for Internet Explorer 11
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • Best Practice on Creating Queries in Production

    We are a fairly new BI installation. I'm interested in the approach other installations take to creation of queries in the production environment. Is it standard to create most queries directly into the production system? Or is it standard to develop the queries in the development system and transport them through to production?

    Hi,
    Best practices applied to all developments whether it is R/3, BI modelling or Reporting and as per the best practice we do development in Development system, testing in testing box and finally deploy successful development to production. yes for user analysis purpose, user can do adhoc analysis or in some scenario they create user specific custom queries (sometimes reffere as X-query created by super user).
    So it is always to do all yr developement in Development Box and then transport to Production after successful QA testing.
    Dev

  • View/Controller best practices

    Hello,
    A coworker and I are in charge of creating the standards for Web Dynpro development at our company.  We've been able to agree on most topics, but we're stuck on one issue.  Should ALL logic be in the controller or is it ok to perform some logic in the views?
    My coworker makes some valid points - we work in a team environment and you can't have two people working on the controller at the same time, if all your logic is in there, it's practically impossible for a group of developers to work on the same application.  In addition, there's often logic that's only applicable to a certain view.  He doesn't like the idea of a controller cluttered with logic from all the views, and doesn't see why we need to add an extra layer to execute something.  For instance, of a model is needed only for one view (say, to look up fields for a dropdown that only exists on that view), why have yet another executeSomeRFC method in the controller when we can do it in the view?
    My opinion is that Web Dynpro follows the MVC paradigm, and therefore all logic should be in the controller.  While it's true that right now a certain model or a certain piece of logic might only be needed for the one view, you never know if it will be needed somewhere else later.  In addition, to make the statement that "logic that's only needed for one view can be done in that view" leaves it open for a lot of interpretation and I think developers can start sneaking more and more code into the view because they think it's easier, when that is not what the view was created for. The exceptions, for me is logic that specifically has to do with the UI - for instance, if you select this checkbox, it will make 4 fields on the table disabled and change the label text of another field.
    We both see the other person's point of view and we can't decide where to move from here.  We're open to the opinions of other Web Dynpro experts.  What do you guys think?
    Thanks,
    Jennifer

    We have had the same discussion at my Company and came to the following conclusion and coding standard. It is preferable to keep all backend model call logic in the Component Controller, for various reasons if you ever drop a view or goto using some other type of UI interface  e.g. PDAs, with the same controller you already have the functionality there in the controller coded and tested.
    What I have seen happen before we adapted this standard with consultants  or less experienced developerrs is that they tend to copy and paste the same functionality from view to new view creating a maintenance headache down the road, even duplicating the code as they can not find the functionality or are too lazy to look for it then try coding their own. It is for this reason our company adapted the best practice of creating all backend call logic even if it is only required by a single view Dynpro View, in the component controller and calling it from the view as <b> wdThis.wdGet.doXXXFunction();</b>
    Also this helps code maintainers and new team members as they know all backend call logic is in the controller. I believe you will also find this practice recommended in the SAP Press WebDynpro Java books.
    Alex

  • Best Practice for Servlets

    I guess I'm asking for most peoples' input on what I'm planning to do here ....
    Here's what I want to do, and know a bit about.
    o I want to make a servlet that serves only XML.
    o After that, I want to transform the XML into web pages, RSS feeds etc.. using XSLT.
    Here's what I'm not so sure about...
    o How should I implement the interface to the web-based aspects? Should the servlet be coded to display HTML pages on "GET" requests? Or should I use a pile of HTML files to make forms?
    o What do I use to perform the XSLT transformations? Where should the set of solutions be placed relative to my servlet? Would a user then access this solution rather than the servlet itself?
    o How do I code the servlet on one machine, and then test it on another without breaking the libraries? How do I set up any libraries I might have to use (like for XSLT transformations) on the server?
    Any other advice here? I'm sure this is done often, but I can't find a resource that explains the best practices for it all.
    I know this sounds like a lot of stupid questions. I've had lots of programs working with Java before, but I'm at a loss as to how I'm supposed to package libraries I use in my programs - moreso with a servlet. To make matters worse, I plan on using MySQL as the database.
    If there's some wizard on the forums here who's willing to say more than just "RTFM" (of which there is none to answer my questions together as one), I'd be very very happy ":^)

    Let me re-pose my question so as to be specific
    enough to not be picked apart in my answer.
    I want to FIRST AND FOREMOST, create a servlet that
    serves up XML based on parameters given to it (how?
    who cares.).What does "serves up XML" mean?
    Let's be precise. Do you intend the servlet to send the XML back to the client? Or is the XML an intermediate step in your processing? (Yes, it matters.)
    Then, I want to create interfaces (HTML, RSS,
    boogledeedoo) to this XML data by having either JSP,
    another servlet or insert something else here,
    transform the XML into whatever the desired format
    is."interface" is a loaded term in Java. What do you mean by it?
    >
    My assumption is that I'll make the servlet that is
    capable of outputting my desired XML data and then
    create another servlet that will poke it for data as
    needed to transform the XML into HTML. This servlet
    would also likely serve as the web site itself and
    would manage user logins etc...(persistance yaddy
    yadda)You're not thinking about this properly.
    "yadda yadda" == muddled thinking.
    My other assumption is that I'll make another servlet
    that will poke the XML servlet and transform that
    into RSS or anything else I can dream up.How does "poke the XML servlet" fit into the request/response protocol that is HTTP? Please explain.
    -=-!REASONING!-=-
    Previously, when I was working with PHP, I liked to
    make scripts that would display interfaces and post
    to themselves. OK, now I see. "interface" == GUI in a browser to you. Very good.
    You can create a JSP that is an interface. You can have that JSP submit the HTTP POST or GET request to itself. No problem there, as long as "itself" knows what to do with the request.
    It was a nice way of creating a
    complete little package. Everything for one function
    was encapsulated nicely under one roof. No excessive
    HTML files all over the place to nurture.A simple problem, a simple solution. You can do that with a JSP.
    Look. Part of my inability to describe this well is
    because I DO feel like I'm in a lot of directions at
    once. Or you don't understand the technology very well.
    But I have to be in order to pull together
    some sort of plan for myself. I understand many
    concepts and have just finished studying object
    oriented design etc..."Just finished"? How long did it take?
    I know things about how Tomcat does connection
    pooling for SQL connections.Great. Not much to understand there. It's harder to figure out how to do n-tier apps with more than one page well.
    I do know how to use Google, probably a lot better
    than most. But rest assured, I've yet to find a
    little guide as complete as any of the "LAMP" books
    there are out there. Which by the way, I have never
    purchased.That's because Java Enterprise Edition isn't intended for little problems. LAMP is. Maybe the limitation is that you are used to "little" problems and not bigger ones.
    If JEE seems scattered and complex, it's because it is. It encompasses more than LAMP.
    I'm confident in good guidance, and not a heartfelt
    smackdown. I'm still waiting for some clear suggestions.I gave you one, you just didn't know it: go read about Spring.
    http://www.springframework.org
    It'll help you structure complex apps from the user interface to the database in the back.
    You're welcome.
    %

  • SAP Best Practice Real Estate Documents

    Hi
    I am looking for SAP Best Practice Real Estate Documents. I was suggested to look for it at the BB Library (link):
         http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    And to further filter on Country as "Germany" & Solution  as "Professional Services and found building blocks D89 to D99 relevant to Real Estate.
    But the problem is that the link to" Scenarios" ,"Configuration Guides"  and "Business Process Procedures" in these building blocks are broken.
    Can any one suggest the correct link or Any new location to SAP Real Estate best Practices.
    Regards

    Hi all,
    I have the same problem. Is there another way to get these ( D89- D99) ? I'm looking forward to your advise.
    Regards,
    TienLQ.
    Hi
    I am looking for SAP Best Practice Real Estate Documents. I was suggested to look for it at the BB Library (link):
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    And to further filter on Country as "Germany" & Solution as "Professional Services and found building blocks D89 to D99 relevant to Real Estate.
    But the problem is that the link to" Scenarios" ,"Configuration Guides" and "Business Process Procedures" in these building blocks are broken.
    Can any one suggest the correct link or Any new location to SAP Real Estate best Practices.
    Regards

  • Is oil - best practice  documents or test cases

    hi
    i have got new project , and that is a oil and gas  IS solution project. i want to learn oil and gas from scratch. can any body help me in understanding this project. did any body got any test case or blue print documents of any test case ?  actually i have searched in SAP market place , thee is a  best practice for almost all OS solution, but not for is oil and gas,
    can any body help me with white papers are some personal stored documents , or suggesting me any text book which has got literature on domain knowledge of oil and gas.business
    thanks in advance
    akhil

    Hi Akhil,
    It better to seaching in SAP Market, you find some useful documents, more over you get related documents in SAP Solution map for  IS SAP Oil industry value chain.
    if you have user ID and password, you will get excess to the Solution map by selecting cltr and click the link and find all the documents in different module of SAP IS Oil.
    check also this link.
    http://www.sap.com/industries/oil-gas/pdf/0119mySAPOilGas-Upstream-v3.pdf.
    Best Regards
    Satish

  • Best Practice on Moving Standard Hierarchy (Cost /Profit)  into production

    Hi,
    What is the best practice to move standard hierarchy into production? Is it better to move it as a transport? Or is it better to upload into production with LSMW?
    Thanks,
    Santoshi

    Hi,
    Best practices applied to all developments whether it is R/3, BI modelling or Reporting and as per the best practice we do development in Development system, testing in testing box and finally deploy successful development to production. yes for user analysis purpose, user can do adhoc analysis or in some scenario they create user specific custom queries (sometimes reffere as X-query created by super user).
    So it is always to do all yr developement in Development Box and then transport to Production after successful QA testing.
    Dev

  • Best Practices for ASA 5500 Device Monitoring

    I have looked high and low and am unable to find anything on this topic. I am hoping that somebody here may be able to share some insight into what are considered the best practices for monitoring ASA's--specifically the 5510 with Sec+ License.
    My current monitoring application keeps reporting issues with outbound interface buffers being too high, but there are not any performance issues and I believe the thresholds are just set absurdly low.
    Thank you in advance for any assistance.

    Hi James,
    You probably won't be able to find any all-encompassing documentation for these types of best practices that cover all scenarios. The better method would be to define exactly what items you'd like to monitor and we can provide some guidance on how to best get that working for you.
    -Mike

  • What is the best practice for inserting (unique) rows into a table containing key columns constraint where source may contain duplicate (already existing) rows?

    My final data table contains a two key columns unique key constraint.  I insert data into this table from a daily capture table (which also contains the two columns that make up the key in the final data table but are not constrained
    (not unique) in the daily capture table).  I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns).  Currently, what I do is to select * into a #temp table from the join
    of daily capture and final data tables on these two key columns.  Then I delete the rows in the daily capture table which match the #temp table.  Then I insert the remaining rows from daily capture into the final data table. 
    Would it be possible to simplify this process by using an Instead Of trigger in the final table and just insert directly from the daily capture table?  How would this look?
    What is the best practice for inserting unique (new) rows and ignoring duplicate rows (rows that already exist in both the daily capture and final data tables) in my particular operation?
    Rich P

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> My final data table contains a two key columns unique key constraint. [unh? one two-column key or two one column keys? Sure wish you posted DDL] I insert data into this table from a daily capture table (which also contains the two columns that make
    up the key in the final data table but are not constrained (not unique) in the daily capture table). <<
    Then the "capture table" is not a table at all! Remember the fist day of your RDBMS class? A table has to have a key.  You need to fix this error. What ETL tool do you use? 
    >> I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns). <<
    MERGE statement; Google it. And do not use temp tables. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for

  • HP 1055 cm Plus Plotter will not print Test Page from any port - Vista 64

    Hello, Have a brand new computer with the Vista 64 bit platform and an HP 1055 cm Plus Plotter.  I have downloaded the software and drivers from the web, and got it to recognize the plotter.  With the plotter as the default, it will not print a test

  • Opening Raw files in Elements 6 created with Panasonic FZ28

    I'm new to this but hope someone can help me with the transition from editing JPEG to Panasonics RAW2 files. I'm not able to open the files and get a message saying the file is not supported by Elements however the Adobe website says it does support

  • Acrobat X Browser Plugin is unusable

    I have a serious problem regarding the browser plugin of Acrobat X Professional: Each time I open a PDF-file, the new window lacks all the control items ("Save", "Print", "Pages", etc.). There is only one small bar at the bottom of the window, which

  • ArchiveLink Barcode dialog box

    hello, would anyone be able to tell me how i can get the bar code entry dialog box to appear in the SD module? I have done the following.. SE16 - configured OAD5 - configured OAC5 - configured. I am entering a standard document (OR) through transacti

  • Role and synonym issue

    Hi friends i create one role CREATE ROLE UPDATE_ROLE; we have three schema(a,b,c) three schema depend to all three schema but unique objects . i create public synonym CREATE OR REPLACE PUBLIC SYNONYM CTL_RC_PROCESS FOR a.CTL_RC_PROCESS; CREATE OR REP