Controller Class: Search functionality.

Hello,
Here is a snapshot of the Controller class what NetBeans have created by default which interacts with the entity class. I need to add a search functionality to this bean which a JSF search form can utilize. Can anyone help me out to add without breaking it's structure.
public class ProductController {
    private Product product = null;
    private List<Product> products = null;
    @Resource
    private UserTransaction utx = null;
    @PersistenceUnit(unitName = "ExApp")
    private EntityManagerFactory emf = null;
    public EntityManager getEntityManager() {
        return emf.createEntityManager();
    public int batchSize = 15;
    private int firstItem = 0;
    private int itemCount = -1;
    public SelectItem[] getProductsAvailableSelectMany() {
        return getProductsAvailable(false);
    public SelectItem[] getProductsAvailableSelectOne() {
        return getProductsAvailable(true);
    private SelectItem[] getProductsAvailable(boolean one) {
        List<Product> allProducts = getProducts(true);
        int size = one ? allProducts.size() + 1 : allProducts.size();
        SelectItem[] items = new SelectItem[size];
        int i = 0;
        if (one) {
            items[0] = new SelectItem("", "---");
            i++;
        for (Product x : allProducts) {
            items[i++] = new SelectItem(x, x.toString());
        return items;
    public Product getProduct() {
        if (product == null) {
            product = getProductFromRequest();
        if (product == null) {
            product = new Product();
        return product;
    public String listSetup() {
        reset(true);
        return "product_list";
    public String createSetup() {
        reset(false);
        product = new Product();
        return "product_create";
    public String searchSetup() {
        reset(false);
        product = new Product();
        return "product_search";
    public String create() {
        EntityManager em = getEntityManager();
        try {
            utx.begin();
            em.persist(product);
            utx.commit();
            addSuccessMessage("Product was successfully created.");
        } catch (Exception ex) {
            try {
                if (findProduct(product.getId()) != null) {
                    addErrorMessage("Product " + product + " already exists.");
                } else {
                    ensureAddErrorMessage(ex, "A persistence error occurred.");
                utx.rollback();
            } catch (Exception e) {
                ensureAddErrorMessage(e, "An error occurred attempting to roll back the transaction.");
            return null;
        } finally {
            em.close();
        return listSetup();
    public String detailSetup() {
        return scalarSetup("product_detail");
    public String editSetup() {
        return scalarSetup("product_edit");
    private String scalarSetup(String destination) {
        reset(false);
        product = getProductFromRequest();
        if (product == null) {
            String requestProductString = getRequestParameter("jsfcrud.currentProduct");
            addErrorMessage("The product with id " + requestProductString + " no longer exists.");
            String relatedControllerOutcome = relatedControllerOutcome();
            if (relatedControllerOutcome != null) {
                return relatedControllerOutcome;
            return listSetup();
        return destination;
  private Product getProductFromRequest() {
        String theId = getRequestParameter("jsfcrud.currentProduct");
        return (Product) new ProductConverter().getAsObject(FacesContext.getCurrentInstance(), null, theId);
    private String getRequestParameter(String key) {
        return FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(key);
    public List<Product> getProducts() {
        if (products == null) {
            products = getProducts(false);
        return products;
    public List<Product> getProducts(boolean all) {
        EntityManager em = getEntityManager();
        try {
            Query q = em.createQuery("select object(o) from Product as o");
            if (!all) {
                q.setMaxResults(batchSize);
                q.setFirstResult(getFirstItem());
            return q.getResultList();
        } finally {
            em.close();
    private void ensureAddErrorMessage(Exception ex, String defaultMsg) {
        String msg = ex.getLocalizedMessage();
        if (msg != null && msg.length() > 0) {
            addErrorMessage(msg);
        } else {
            addErrorMessage(defaultMsg);
    public static void addErrorMessage(String msg) {
        FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, msg);
        FacesContext.getCurrentInstance().addMessage(null, facesMsg);
    public static void addSuccessMessage(String msg) {
        FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_INFO, msg, msg);
        FacesContext.getCurrentInstance().addMessage("successInfo", facesMsg);
    public Product findProduct(Integer id) {
        EntityManager em = getEntityManager();
        try {
            Product o = (Product) em.find(Product.class, id);
            return o;
        } finally {
            em.close();
    public int getItemCount() {
        if (itemCount == -1) {
            EntityManager em = getEntityManager();
            try {
                itemCount = ((Long) em.createQuery("select count(o) from Product as o").getSingleResult()).intValue();
            } finally {
                em.close();
        return itemCount;
    public int getFirstItem() {
        getItemCount();
        if (firstItem >= itemCount) {
            if (itemCount == 0) {
                firstItem = 0;
            } else {
                int zeroBasedItemCount = itemCount - 1;
                double pageDouble = zeroBasedItemCount / batchSize;
                int page = (int) Math.floor(pageDouble);
                firstItem = page * batchSize;
        return firstItem;
    public int getLastItem() {
        getFirstItem();
        return firstItem + batchSize > itemCount ? itemCount : firstItem + batchSize;
    public int getBatchSize() {
        return batchSize;
    public String next() {
        reset(false);
        getFirstItem();
        if (firstItem + batchSize < itemCount) {
            firstItem += batchSize;
        return "product_list";
    public String prev() {
        reset(false);
        getFirstItem();
        firstItem -= batchSize;
        if (firstItem < 0) {
            firstItem = 0;
        return "product_list";
    private String relatedControllerOutcome() {
        String relatedControllerString = getRequestParameter("jsfcrud.relatedController");
        String relatedControllerTypeString = getRequestParameter("jsfcrud.relatedControllerType");
        if (relatedControllerString != null && relatedControllerTypeString != null) {
            FacesContext context = FacesContext.getCurrentInstance();
            Object relatedController = context.getApplication().getELResolver().getValue(context.getELContext(), null, relatedControllerString);
            try {
                Class<?> relatedControllerType = Class.forName(relatedControllerTypeString);
                Method detailSetupMethod = relatedControllerType.getMethod("detailSetup");
                return (String) detailSetupMethod.invoke(relatedController);
            } catch (ClassNotFoundException e) {
                throw new FacesException(e);
            } catch (NoSuchMethodException e) {
                throw new FacesException(e);
            } catch (IllegalAccessException e) {
                throw new FacesException(e);
            } catch (InvocationTargetException e) {
                throw new FacesException(e);
        return null;
    private void reset(boolean resetFirstItem) {
        product = null;
        products = null;
        itemCount = -1;
        if (resetFirstItem) {
            firstItem = 0;
    private Map<Object, String> asString = null;
    public Map<Object, String> getAsString() {
        if (asString == null) {
            asString = new HashMap<Object, String>() {
                @Override
                public String get(Object key) {
                    if (key instanceof Object[]) {
                        Object[] keyAsArray = (Object[]) key;
                        if (keyAsArray.length == 0) {
                            return "(No Items)";
                        StringBuffer sb = new StringBuffer();
                        for (int i = 0; i < keyAsArray.length; i++) {
                            if (i > 0) {
                                sb.append("<br />");
                            sb.append(keyAsArray);
return sb.toString();
return new ProductConverter().getAsString(FacesContext.getCurrentInstance(), null, (Product) key);
return asString;
Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Can you tell us what "not working" means? Can you give us some more detail to try and narrow down the problem? Also you say the search works on your local machine. Have you tried running the help from the generated / published location yourself?

Similar Messages

  • How to get the function name in controller class

    Hi experts ,
    I am new to the OAF framework.
    i have created the two functions and bot he the function have the same controller class .i want to capture the function name or function id in the controller class.
    can you please let me know how to get the function id or function name in the controller class.

    Hi apurba,
    Thanks for the quick reply.
    i am trying to get the function name from the FunctionSecurity class,
    However in FunctionSecurity class there is no such method defined as getFunctionName();
    my requirement is ,i have two functions functionA and functionB defined.
    both the function has the same controller class.in controller class ,i need to get the function name ,based on the function name
    i will redirect the page to respective page.
    looking forward for you response.
    appreciate your help
    Thanks,
    KT

  • Execute query/package in Controller Class

    Hi,
    I would like to execute a query or package in Controller class.
    Appreciate guidance on how to perform this?
    Is it save to establish connection in Controller as one of the forum actually teach to call from AM.
    Cheers,
    Shiau Chin

    Hi,
    You can execute a package or procedure using this..
    OAApplicationModule oaapplicationmodule =
    oapagecontext.getApplicationModule(oawebbean);
    Connection conn =
    oaapplicationmodule.getOADBTransaction().getJdbcConnection();
    CallableStatement cstmt = null;
    cstmt = conn.prepareCall("{call xx_xx_save(?, ?)}");
    cstmt.setString(1, "param1");
    cstmt.setString(2, "param2");
    cstmt.execute();
    cstmt.close();
    Once you get a connection you can search google to find how to execute a query and get results out of it.
    http://www.idevelopment.info/data/Programming/java/jdbc/PLSQL_and_JDBC/CallPLSQLFunc.java gives a good example.
    How safe it is.. all depends on the type of code and functionality you are trying to acheive.

  • Help needed: Search function for custom Repository Manager

    Hi there,
    i'm writing my own Repository Manager for EP 6.0 SP2 PL4.
    I've serious problems getting the search function running. I'm using the 'new', Netweaver-based API.
    I think, there are some general questions to answer:
    - My Repository Manager exposes lots of custom 
       properties to the system. I create the properties
       for example using following code:
       IProperty newProp = new StringSingleValueProperty(
         PropertyName.getPropertyName(
                  "{}" + myAttName),
         myAttVal,                         PropertyFlags.constructFlags(
                  true, false, true, false)
        Is there any convention for the propertie's name?
        I think it has to be written in lowercase only?
        Can I use ANY namespace I want instead of the
        empty default namespace? (For example:
    - After indexing my resources (of course, containing my
       custom properties), the TREX-Monitoring screen for my
       index shows all my custom properties in the 'Document
       Properties' area, but all uppercase chars are escaped
       somewhat. Is this OK?
    - Trying to use the index above to search for particular
       resources in my repository by my custom properties
       fails all the time ('no docs found...'); searching for
       any system property works fine. What's the reason?
    - How can I force the (Property-) search uses my
       custom namespace-manager's methods
       isQueryPropertyNameUnderstood() and
       getQueryBuilder()
       to perform a 'pure' property search by the repository
       manager? It seems that the TREX always handles the
       queries by itself, because my methods are never called.
    Thanx for you help,
    Daniel

    I created a new manager and copied the classes exactly from the "simple" example and I see similar behavior. Actually, when I do this, folders are recursively copied, but not files. Again, browsing and viewing of files work fine. Again, I am not seeing any unexpected exceptions.
    The only thing that changed were the names and namespaces. Nothing else at all was changed.
    This makes me think I am missing some configuration somewhere or there is something special about the example project that the wizards are not creating. The only difference I see in the project file is an additional nature (com.tssap.selena.cmf.PatternNature), but I am not sure that is relevant.
    Wow, I am really stumped.
    -Alex

  • How to create search function (af:query) using method in java

    hi All..:)
    i got problem with search custom (af:query), how to create search function/ af:query using method in java class?
    anyone help me....
    thx
    agungdmt

    Hi,
    download the ADF Faces component demo sources from here: http://www.oracle.com/technetwork/testcontent/adf-faces-rc-demo-083799.html It also has an example for creating a custom af:query model
    Frank

  • Remove Saved Search functionality from Web IC

    Hi Experts,
    I have a view where in there is a component related to Saved Searches functionality that is appearing on the Web IC. Now, for my client, they do not want those fields to be visible.
    So, I wanted to know how can those fields related to Saved search be removed from the Web IC.
    I checked the configuration of the components used in that view and also for component usages of the component. But I did not find any component usage for the Saved search component. This sounds weird but I am not able to find out from where this Saved search component is displayed on the Web IC screen.
    We didn't have this earlier in our system. This is introduced after we upgraded our system from CRM 6.0 to CRM 7.0 EHP2.
    I have attached the screen shot of my view where the Saved Search fields are available.
    Please suggest me some method by which these fields can be removed. Also, if there is any configuration in SPRO where this can be checked.
    Thanks,
    Preeti

    Hi Preeti,
    Can you check if your view belongs to a viewset? If so, try to find there in correspoding html code for tag "thtmlb:searchSavingArea", something like this:
    <thtmlb:searchSavingArea>
       <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'SavedSearchRegistration' ) %>"
              url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'SavedSearchRegistration' ) %>" />
    </thtmlb:searchSavingArea>
    Try to comment it and check if it works (I've never tried it ).
    Kind regards,
    Garcia

  • Reference to Class Member Functions

    Hello all.
    I have a question about references to LV class member functions. I have a small example to demonstrate my problem.
    My test class Base implements a reentrant public dynamic dispatch member function, doSomething.vi. 
    Another test class, Child, inherits Base and overrides the implementation of doSomething.vi.
    Now say I have an array of Base objects (which could include any objects from classes that inherit Base). I want to run the doSomething methods for all the objects in the array in parallel.
    In C++, I'd define a pointer to the virtual member function doSomething, and use it with each object in the array and the correct version of doSomething would be called.
    In Labview, the only way I've found to do it is like this:
    This is less than ideal, because it relies on every child class implementing doSomething, and relies on specific names for the inputs to the method. 
    Is there a better way to do this?
    Thank you,
    Zola

    I still suspect you are over-working this code and not leting LVOOP do tis thing.
    As I understand it you want to creae an active object but detemine its class at run time. The recent Architect summit touched on messaging for what they are calling a "worker Pool" pattern or what-not. YOu may want to search on the summit stuff. lacking that I'll share some images of where I did something similar ( I think). Note this is an older app and new stuff like the "Start Asyncronous call..." has been introduced making this even easier.
    I want to create a new Active Object (thread running in the background) so I invoke a method to do so
    It invokes the following that create some queues for talking to it and getting info back.
    Time does not permit me doing a complete write-up but I have assembled the above images into a LVOOP Albumn found here.
    When you click on one of those images you will get a large view as shown in this example.
    Just below that image you will find a link to the original thread where I posted the image and talked about it.
    I believe the best I can do for you at the moment is to urge you to browse my albumn and chase the links.
    That agllery was assembled in an attmept to help you and other before you asked. I hope it is helpful.
    Ben 
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • New controller classes for Web IC views

    Hi
    Could anyone help out with the following:-
    I 'inherited' a customer's Web IC implementation to support recently.  The system hasn't been properly documented, I'm new to Web IC and they've just applied support packages to the system which has caused some problems.
    The specific issue is as follows:-
    I search for, identify and confirm a business partner.
    I call up view IHistResult (via Interaction History from the NavBar) - this was copied from the standard CRM_IC application and has a Z controller associated with it.  There is an XML controller replacement in place to call this view.
    When the view is called, I get a syntax error - CX_SY_MOVE_CAST_ERROR.  The cast that occurs is from a variable referencing CL_BSP_CONTROLLER to my Z class - which does have a relationship to CL_BSP_CONTROLLER through super classes.
    If I make the controller class the SAP standard class (CL_CRM_IC_IHISTRESULT_IMPL) then everything is fine.  I created a new, clean Z class with CL_CRM_IC_IHISTRESULT_IMPL as the super class, no redefinitions, no changes and assigned this to the view.  Then I get the syntax error in the view.
    I don't see what the problem with casting to my Z class can be - it's a subclass of CL_CRM_IC_IHISTRESULT_IMPL with absolutely no changes. 
    If anyone could suggest any ideas or solutions I'd be grateful.
    Thanks
    Ben

    Found my own solution to this one.  Hadn't updated the .do file - only the .htm.
    Sorry for any time wasted.

  • MVC controller class too big, refactoring suggestions please

    Currently I have an application using the MVC pattern. The controller class contains implements methods from 6 different interfaces. There will be 1 controller class per user role and there is a lot of common code between the users. I can't pull up common code to the controllers' super class because there is very little code that is common to all 4 controllers, however most of the code is common to 3 or 2 controllers.
    Can anyone think of a good way to avoid duplicating code without creating a lot of extraneous classes and complicating the structure? After thinking about several solutions, I'm starting to lean towards just copy pasting the code into three classes and not caring that I'm duplicating code.
    Yours forever in sickness and in health,
    Mr. Kayaman the Magnificent

    Without seeing your design in greater detail I can only make some fairly generic recommendations.
    1. More smaller modular pieces is easier to work with than fewer large monolithic pieces.
    2. Consider what a controller class is supposed to do. At its foundational level, it's a traffic cop. It directs traffic. As such, migrate functionality to model components where it belongs.
    3. Just at a glance, it sounds like it might be a candidate for an AbstractFactory pattern.
    4. In general terms I am opposed to copy/pasting code in any form. That's not to say it's never done, just that I'm resistant to that as a course of action.
    Just my thoughts on the subject.
    Currently I have an application using the MVC pattern.
    The controller class contains implements methods from
    6 different interfaces. There will be 1 controller
    class per user role and there is a lot of common code
    between the users. I can't pull up common code to the
    controllers' super class because there is very little
    code that is common to all 4 controllers, however most
    of the code is common to 3 or 2 controllers.
    Can anyone think of a good way to avoid duplicating
    code without creating a lot of extraneous classes and
    complicating the structure? After thinking about
    several solutions, I'm starting to lean towards just
    copy pasting the code into three classes and not
    caring that I'm duplicating code.
    Yours forever in sickness and in health,
    Mr. Kayaman the Magnificent

  • JSP does not call the right method in controller class

    Hi all,
    I have a jsp file which loads a page at this address: http://localhost:8080/dir/list/
    I've added two checkboxes to the page; user can check both checkboxes, only one or none. Following is code I have in jsp file:
    <form class="checkboxForm">
    <c:choose>                                                                                                         
    <c:when test='${newItems==true}'>
    <input id="newItems" type="checkbox" value="#" name="newItems" class="checkbox2" checked="checked" /><strong> New Businesses   </strong>                                                                 
    </c:when>
    <c:otherwise>
    <input id="newItems" type="checkbox" value="#" name="newItems" class="checkbox2"/><strong> New Businesses   </strong>
    </c:otherwise>
    </c:choose>
    <c:choose>                                                                                                         
    <c:when test='${rejectedItems==true}'>
    <input id="rejectedItems" type="checkbox" value="#" name="rejectedItems" class="checkbox3" checked="checked"/><strong> Rejected Businesses   </strong>                                                                 
    </c:when>
    <c:otherwise>
    <input id="rejectedItems" type="checkbox" value="#" name="rejectedItems" class="checkbox3"/><strong> Rejected Businesses   </strong>
    </c:otherwise>
    </c:choose>
    <a href="#" onclick="apply();">
    <button name="apply" class="btn-primary" value="Apply" tabindex="4">Apply</button>
    </a>
    </form>
    <script type="text/javascript">
    function apply(){
         var newItems = document.getElementById("newItems").checked;
         var rejectedItems = document.getElementById("rejectedItems").checked;
         alert("Inside apply() method.");
         alert("newItems= " + newItems + ", rejectedItems: " + rejectedItems);     
         window.location = "<c:url value='/list/'/>" + newItems + "/" + rejectedItems;
         alert("window.location= " + window.location);
         alert("Add extra delay!");
         return false;
    </script>This is my Controller class:
    // Method1: this method gets called when the user loads the page for the first time.
    @RequestMapping(value="/list", method = RequestMethod.GET)
    public String list(Model model, HttpServletRequest request) {          
              System.out.println("Controller: method1: Passing through...");
              model.addAttribute("newItems", Boolean.TRUE);
              model.addAttribute("rejectedItems", Boolean.TRUE);
              // Does other things.
    // Method3: this method gets called when user checks/unchecks one of the checkboxes and clicks on Apply button.
    @RequestMapping(value="/list/{newItems}/{rejectedItems}", method = RequestMethod.GET)
    public String list(@PathVariable Boolean newItems, @PathVariable Boolean rejectedItems, Model model, HttpServletRequest request) {          
              System.out.println("Controller: method3: Passing through...");
              model.addAttribute("newItems", newItems);
              model.addAttribute("rejectedItems", rejectedItems);
    // Does other things.
         }The way my jsp code is written now, it calls the correct method and displays the correct url. When page loads for the first time, it calls method1 and the url is:
    http://localhost:8080/dir/list
    When the user checks/unchecks one or both checkboxes and clicks on apply button, method3 is called and this url is displayed:
    If both checkboxes are checked which both booleans are set to true:
    http://localhost:8080/dir/list/true/true
    Everything is fine... however, if I comment these two lines at the end of JavaScript apply() function,
    alert("window.location= " + window.location);
    alert("Add extra delay!");Then method3 will never gets called; only method1 gets called and I see this url:
    http://localhost:8080/url/list//?newItems=%23&rejectedItems=%23&apply=Apply
    I do not know why it gets confused bet. method1 and method3 and cannot pick the right method?
    I tried to use the POST method instead, but the page goes directly to our internal error page and it never reaches the method I wrote in my controller for POST:
    I don't really know what I'm doing wrong? Any help is greatly appraciated.
    Edited by: ronitt on Dec 13, 2011 2:35 PM

    I changed the <form> in the jsp to div and its working fine. I do not need to have comments in JavaScript funcion() anymore. I don't know why that made the difference though? According to:
    http://www.w3schools.com/tags/tag_form.asp
    The <form> tag is used to create an HTML form for user input.
    The <form> element can contain one or more of the following form elements:
    <input>
    <textarea>
    <button>
    <select>
    <option>
    <optgroup>
    <fieldset>
    <label>
    An HTML form is used to pass data to a server.
    I do have <button> and also send the data - the value of checkboxes - to server. So I think it should also work with <form>.
    Please let me know if you have any idea. Thanks.

  • Can not find any doc by search function in SharePoint 2013

    Dear all,
    recently,i create a list  and upload some documents ,but when i want to find one doc by the search function in the page ,i get noting .i don't why.
    any suggestion?

    Hi Alber,
    Please do as the followings:
    Make sure that you have created and configured Search Services Application, you can refer to the link:http://technet.microsoft.com/en-us/library/gg502597.aspx
    Make sure that Search Host Controller Service , Search Query and Site Settings Service and SharePoint Server Search are started
    Open the library, click on Library Settings->Advanced settings, on the Seach section, select Yes.
    Please use the completed name of the document to search, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Cannot locate custom controller class after applying OIE.K  patch.

    Hi,
    I am trying to search all the region level personalizations(on Update Allocations Page in iExpenses while creating Expense Reports) to find out where our custom controller class is being called(it was personalized at site level). But no luck until now.
    Nevertheless, we were able to locate our custom controller class in an instance where the OIE.K oracle patch was not applied. Seems like after applying this patch, the seeded region names are changed too. Our custom code also works but cannot figure out where our CO is being called.
    Any suggestions please?
    Thanks,
    Swati.

    Guys,
    Using "About the Page" link on UpdateExpenseAllocationsPG, I found SplitCriteriaTblCO controller class instead of UpdateKffCO class, that was extended to HumUpdateKffCO custom class.
    Our custom code is still intact even though we do not find our custom CO. Probably we have to look elsewhere to find it, no idea!.
    I just need to know how to remove our iExpense extension. In order to remove the iExpense extensions in the instance where the OIE.K was not applied, we just removed the personalization at site level, where the controller HumUpdateKffCO was called and that took care of it.
    --Swati.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Controller Class Associated with LOV Region

    Hi all,
    I am trying to filter Lov items based on a certain Criteria, I have written a separate class for that, Now the issue is this I am unable to find LOV existing controller class to be replaced by my custom class in Personalize Page Link.
    Note: I have extended the Controller class associated with LOV region that I have found in JDEV.
    Regards,
    Haroon.

    Hi
    set FND:Diagnostics to Yes at site level
    Get the name of the LOV region, by using About this page (disaplyed at the top of the page)
    note the full path of the page
    go to functional administrator
    select personalization tab,
    enter the full path of the page and click personalize to change the existing controller to new controller
    Regards
    Ravi

  • IPhone 5s Voice memo to mp3. Now music on iPhone. Won't play from search function.

    I record my band rehearsals using the voice memo on my iPhone 5s. Then I sync to iTunes and convert file to mp3. When i sync back to my iPhone it appears in my music. So far, so good. When I use the search function in music it finds the file but won't play from tapping. I must troll through all my music songs (currently 2227 of them) to find it and then play it. Is it something to do with it still being under the genre "voice memos" or what ?  Anybody help please.  Thanks

    iWeb is an application to create webpages with.
    It used to be part of the iLife suite of applications.
    iWeb has no knowledge of the internal speaker on your iPhone.
    You may want to ask in the right forum.

  • How do I use the new search function for ipod?

    itunes 7.0 and ipod is up to date:
    when i scroll through the music, i get the nifty little grey box with the letter in it, but how do i get to the search where i use the click wheel to input a query and search through all items in my ipod?

    Unless your iPod is one of the recently announced upgraded 30GB or 80GB iPods, you don't have the search function. It was not added to existing devices in the recent update. It may or may not be added in some future software update but there's no official word on that.

Maybe you are looking for

  • Oracle 8.1.7 on WinME

    Hi! I just installed Oracle 8.1.7 on WinME. Everything is working out fine. However, while I wanna login to SQL*Plus, it shows the error as below: ora-12560: TNS : protocol interface error Does anyone can help me out? I am not sure it's my problem or

  • How to resize album art pictures in Albums view mode?

    How can i resize album art pictures in Albums view mode? iTunes on my old PowerMac G5: there is a slider to resize album arts. iTunes on my Win7 PC: where is the slider to resize album arts???

  • Month and Year

    Folks, I have a table named system_control. Inside this table I have a column named control_value that is a VARCHAR2 Data Type. The data format for contol_value is YYYYMM How can I change the display format to be 'Month YYYY'?? ex. 200911 should read

  • Addisional auth. check in FPL9

    Hi Is there anyone that knows (user-excit etc) where to check if the user is permitted to show item:s for a specific BP. I try to find a place where to check when the user have filled in BP and CA and press enter but I cant find a place to check if t

  • Sending the Password with remote Login and don't insert login data manually

    Hello, I want to do a remote function call on another SAP System. But I don't want to insert the other login data (user, password) manually. Is there a possibility to do this. Thanks. Regards, Lars.