How to deliver a paramter to the viewobject with jsf

I use hr schema to learn adf bc component.but i want to use jsf #{param.region} to get the parameter from the urls and deliver it to the viewobject and last show the list table on the jsf page
in the viewoject xml
sql :
select a,b,c,d... from xxxview where region =: para_region
and parmeters:
parameter para_region
and next how to operate the jdeveloper or write some code ?
I'm a beginner .thanks.

It is not clear what do you want to do?
You would use #{param.region} if you want to display the query string param in your jsf like <af:outputText value="#{param.region}"/>.
Do you want to get the query string value in the backing bean and set this value in VO where clause?
To pass a value to your vo where clause:
  DCIteratorBinding  iter = (DCIteratorBinding)bindings.get("yourVOIterator");
  ViewObject vo =  iterter.getViewObject();
  vo.setNamedWhereClauseParam("whereparam", value);
  vo.executeQuery();

Similar Messages

  • How can I delete plugins from the "edit with" menu?

    I recently downloaded severals demos and trial versions of numerous softwares and plugins. They have recently expired and I'm wondering how I can delete them from the "edit with" menu. I have so many I forget which are licenced and which are trials that have expired. Please help.
    Mark W.

    ./Library/Application Support/Aperture/Plug-Ins or
    /Library/Application Support/Aperture/Plug-Ins
    I just delete the folder of the plugin I want to get rid of.

  • Good Morning.  How do I delete directly from the iPhone, with out synching, movies and/or tvshows?

    Good Morning.  How do I delete directly from the iPhone, with out synching, movies and/or tvshows?

    I had the same problem with Iphone 5 iOS 8, none of the methods described above were successful.
    Finally, Iexplorer helped to solve my problem.
    http://iexplorer-support.macroplant.com/customer/portal/articles/1325738-how-to- delete-all-photos-from-an-iphone-or-ipad
    best regards,
    salad

  • How many people can be on the system with a 512 K connection in BPC 7 MS

    Hi,
    It appears that BPC uses a large piece of the band width and more than one computer and user with a 512 K connection using BPC will not work.How many people can be on the system with a 512 K connection? -BPC 7 ms version.
    Thx
    PLN

    I would like to precise more things regarding the network.
    I did a case study for one customer and really to have good performances with SAP BPC client the network required the follow:
    Bandwitdth 1024kb/s
    Latency smaller than 200 ms between BPC client and BPC server
    Otherwise the users will experience problems:
    1. IBandwitdh < 1024Kb/s then to download 80 MB or more (templates + dimensions) will require a lot of time and that's means the login time will be very slow every time when a dimension is changed or security is process
    2. When an report is executed (a medium report not very complex report) around 100 mesage are send between bpc client and server. So if latency > 200 ms than a simple calculation is saying just into network it will be lost 200 * 100 ms = 20 s.
    So for a report which normally is taking 5 - 10 second it will take 30s or even more into client with latency bigger than 200 ms.
    Regards
    Sorin Radulescu

  • How to prevent B1 from populating the grid with components?

    Hello group,
    We have customized a form that pops up when user enters a parent item (of a template-type BOM) in the quotation grid.  The form displays the component items and lets the user mark which items to "paste" onto the quotation.  However, B1 automatically populates the grid with the component items once focus moves away from the item code column. 
    <b>How to prevent B1 from populating the grid with components <i>while</i> retaining the parent item in the item code column?</b>  I've tried trapping the Validate event, etc. with no success.

    Instead of setting the parent item up as a template type BOM, you could set up the list of parent/child items on a user table and use this user table to display the items in your pop-up screen.  As the parent item would no longer be a template BOM, Business One would no longer automatically popuplate the grid, and you could write your own code to add only the items selected in your pop-up screen into the grid.
    John.

  • How can I fill structure from the line with contetnt of a XML file inside?

    How can I fill structure from the line with contetnt of a XML file inside?
    I have array of lines with XML documents inside. All XML's have the same structure.
    I need to fill array of structures (with the same structure like given XML's) from data of these XML's.
    How can I do this? I am trying Transformation with ora:parseEscapedXML, but receive error: "XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT("Transformation_1.xsl", bpws:getVariableData("ProcessedFiles"))", the reason is javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Could not find function: parseEscapedXML.
    Please verify the xpath query."

    Ive posted the new code but now I'm getting a FileAlreadyExistException error. How do I handle this exception error correctly in my code?
    import java.io.IOException;
    import java.nio.file.FileAlreadyExistsException;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.SAXException;
    public class MyDomParser {
      public static void main(String[] args) {
      DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
      try {
      DocumentBuilder builder = factory.newDocumentBuilder();
      Document doc = builder.parse("ENtemplate.xml");
      doc.normalize();
      NodeList rootNodes = doc.getElementsByTagName("templates");
      Node rootNode = rootNodes.item(0);
      Element rootElement = (Element) rootNode;
      NodeList templateList = rootElement.getElementsByTagName("template");
      for(int i=0; i < templateList.getLength(); i++) {
      Node theTemplate = templateList.item(i);
      Element templateElement = (Element) theTemplate;
      System.out.println(templateElement.getAttribute("name")+ ".xml");
      for(int i=0; i < templateList.getLength(); i++) {
      Node theTemplate = templateList.item(i);
      Element templateElement = (Element) theTemplate;
      String fileName = templateElement.getAttribute("name") + ".xml";
      Files.createFile(Paths.get(fileName));
      System.out.println("File" + ":" + fileName + ".xml created");
      } catch (ParserConfigurationException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      } catch (SAXException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();

  • Greetings. Please tell me how much weight iPhone 4s in the box with all the accessories? I am interested in the weight of the smartphone   box   booklets   all the accessories. Thank you.

    Greetings. Please tell me how much weight iPhone 4s in the box with all the accessories? I am interested in the weight of the smartphone   box   booklets   all the accessories. Thank you. (American adapter.)

    I would google the question there doesn't seem to be any agreed weight and you will find plenty of answers all conflicting
    Clearly no-one is coming up with an solution here

  • About the Flex with jsf

    Hi
      I am new to flex and i have a knowledge on jsf .We got a requriment to integrate the flex with jsf .
      I googled and i developed the sample application using the fiji (Exadel ) .
      When i an running the application in the jboss I GOT EMPTY page then after deselecting the check box of 'blockjavascript' in the browser
      am able to see the swf file in the page
    can any one help me..
    My Project
    The   mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="1024" height="715" xmlns:ns1="*">
    <mx:Form x="22" y="47" width="1200" height="680">
    </mx:Form>
       <mx:Button x="22" y="5" label="This is Prapansolution" width="280"/>
    </mx:Application>
    The .jsp
           <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:fiji="http://exadel.com/fiji"
              xmlns:a4j="http://richfaces.org/a4j"
              xmlns:rich="http://richfaces.org/rich"
              xmlns:ui="http://java.sun.com/jsf/facelets"
               version="2.0">
             <f:view><h:form id="myForm">
              <fiji:swf src="/faces/FirstFlexApp.swf" id="demonew"  bgcolor="#FFFFFF" width="820" height="480">
              <f:param name="text1" value="Hello" />
             </fiji:swf> </h:form></f:view>

    The imageicon only be supported JMenuItem.
    how to dispose the case of sub-menu.
    JMenu mainMenu = new JMenu("main");
    JMenuItem miNew = new JMenu("New", new ImageIcon("..."));
    JMenu mnuOpenHistory = new JMenu("Open List"); /// <<<----------------- this item can not support Icon
    JMenuItem open1 = new JMenuItem("", new ImageIcon());
    mainMenu.add(miNew);
    mainMenu.add(mnuOpenHistory);

  • How do we add apps to the 'Open With' contextual menu?

    After I updated to Mavericks, all of the apps, except the Apple ones, were blown away (eg. Word and Excel in my VM). 
    How do I put them back?

    'Open With > Other' would not show the apps in my VM.  I tried.
    I tried something different.  I left Word open in my Parallels (Vista) VM and ignored it for a while to see if Maverics would pick it up eventually.
    It did.
    It seems like that it takes some time for Maverics to find the apps in a VM before we can use it in the 'Open With' menu.

  • SSHR How to popullate PDF ( Fill in the blanks) with data in prev page

    I need to replicate the Federal tax Information (W4) process in self service, what it does is it will let user change their w4 details and when they click on next page in the next page it will launch pdf inside the browser and populate w4 form with data entered in previous page.Basically i am creating state tax info form and want to see if I can have similar flow .
    What do I need to do to make this heppen?

    karan,
    There won't be any exact scenario, but the threads with details on how to use XMLP with OAF. There are some sample codes and with that you should be getting started.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                   

  • Jsf 1s phase of life cycle how knows ths components of the jsp with jsf tag

    i wish to know how faces servlet knows the jsp s view components while creaTI NG component tree at first request to input jsp which may have jsf tags.in the first phase faces servlet doesnot know input jsp with jsf tags what componnets it has. it is actually atthe response send or forward time which is the final phase when the tag ge executed and output is sent to client.i did understandin jsf life cycle in 1 st phase component tree is created at first request in 1 st phase .

    Hi,
    though a FacesContext holds the values used by a request, it doesn't mean it lives for as long as the request. The best explanation I found is from the JavaDocs
    release
    public abstract void release()
    +Release any resources associated with this FacesContext instance. Faces implementations may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation and garbage collection. After release() is called on a FacesContext instance (until the FacesContext instance has been recycled by the implementation for re-use), calling any other methods will cause an IllegalStateException to be thrown.+
    The implementation must call setCurrentInstance(javax.faces.context.FacesContext) passing null to remove the association between this thread and this dead FacesContext instance.
    Throws:
    java.lang.IllegalStateException - if this method is called after this instance has been released
    Frank

  • How do I remove apps from the "open with" menu in Mountain Lion?

    If I right-click a document in Finder, I get a contextual menu offering all of the potential applications with which I might open that document.  My problem is that some of those applications are no longer operational and I want them to be removed from the menu.  How can I do that?

    I'm not sure how the order is determined. Clearly, the first level sort is ascending by application name these days (since Lion, I think), but it seems to be random after that. It's not by version, though that would be convenient.
    Also, I notice that on my relatively clean Mountain Lion system I sometimes get duplicate entries in the "open with" list that cannot be explained by duplicate copies of the application. On a text file, I get two each of Microsoft Word, Microsoft Excel, Equation Editor, Evernote, and Xcode; none of these is duplicated on this system. I get only one entry each for the Notepad stub application, a few Adobe apps, TextWrangler, Safari, Numbers, Pages, and several others.
    Where there are duplicated entries, it doesn't seem to matter which one I select; I get the same instance of the program no matter which I select. I take this to mean that one is an alias for the other.
    That's my mystery and not necessarily yours. Are your "unhelpful but working stub applications" also duplicates?

  • How to edit PSA and continue the load with corrected data from PSA.

    Hi,
    Can you guide me on how to edit data in PSA and then continue a load?
    i.e. if you can provide me with the steps on how to fix a load problem if a load fails. The load fails and Monitor shows red, so how do I fix them in the PSA and then allow the load continue with the corrected data into the data target.
    I will appreciate the details steps involved.
    Thanks

    Hi
    First select that request then turn to Red and delete the Request , delete the qeruest then system allow to edit the psa data ,selete psa then selet packet then selet record double click modify the data, dont forget after completing save the data. after competing modification then select psa right click select- start update immediatly......
    thanks
    ram

  • How do I purchase songs from the USA with only a uk account

    How do I purchase songs from the USA iTunes with only a uk account ?

    Sorry
    You cannot use other countries itunes stores

  • How to integrate a java script date picker with jsf?

    Hi I have a javascript data picker which I want to integrate with a text tield.. that is <jsf:inputtext tag...
    I know about onlclick .. but I am more interested in knowing .. how will the java script set date into that input text field.. i mean how will it recognize the field..

    Pass the input element as 'this' reference to the JS function?onclick="doSomething(this);"This has not much to do with JSF though.

Maybe you are looking for