Looking documentation about filling comboboxes in bc4j JSP´s edit pages.

Im looking documentation about filling comboboxes in bc4j JSP pages (bc4j forms). My case is as follows:
I have an edit JSP form. This edit jsp form needs two comboboxes. The values in the second combo box depends of the choice selected in the first combo box. Both combos are bounded to its respective tables.
How can i do that?
Thank u.

It is possible to use Javascript to refresh, but the code in Javascript is not entirely trivial.
Here is an example of a dependent select control which uses javascript to refresh the dependent list.
One use BC4J tags to populate a similar dependent list dynamically:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
// Create arrays containing state cities
// Note: These arrays could be created dynamically
var arrStates, arrFlorida, arrNewYork, arrTennessee
arrFlorida = ["Daytona Beach", "Miami", "Orlando", "Tampa"]
arrNewYork = ["Albany","New York", "Oakland", "Rochester"]
arrTennessee = ["Gatlinburg", "Knoxville", "Memphis", "Nashville"]
arrStates =[arrFlorida, arrNewYork, arrTennessee]
// Function to handle dynamically altering the contents of the City List box
function handleChange(newDisplay)
{   var StateSelect, CitySelect, NumEntries, i
StateSelect = document.frm.States
CitySelect = document.frm.Cities
// Delete all entries in the cities list box
for (i = CitySelect.length; i > 0; i--)
CitySelect.options[i-1] = null
// Add comment option to City List box
CitySelect.options[0] = new Option("-- Select City --",0)
// If state is selected add its cities to the City List box
if (newDisplay >= 0)
NumEntries = arrStates[newDisplay].length
for (i = 1; i <= NumEntries; i++)
CitySelect.options[i] = new Option((arrStates[newDisplay])[i-1],(i))
CitySelect.selectedIndex = 0
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>This is a test.. </p>
<p>  </p>
<form name="frm" action="">
States:
<select name="States" onChange="handleChange(this[this.selectedIndex].value)">
<option value="-1">-- Select State --
<option value="0">Florida
<option value="1">New York
<option value="2">Tennessee
</select>
<p>
Cities:
<select name="Cities">
<option value="-1">-- Select City --
<option>
<option>
<option>
<option>
</select>
<script type="text/javascript">
handleChange(-1)
</script>
</form>
</body>
</body>
</html>

Similar Messages

  • Looking for documentation about filling Comboboxes in bc4j forms

    Im looking documentation about filling comboboxes in bc4j forms. My case is as follows:
    I have an edit form. This edit form needs two comboboxes. The values in the second combo box depends of the choice selected in the first combo box. Both combos are bounded to its respective tables.
    How can i do that?
    Thank u.

    Orlando
    JComboBox jComb1 = new JComboBox();
    // bind combo box to BC4J
    jComb1.addPropertyChangeListener(new PropertyChangeListener()
    public void propertyChange(PropertyChangeEvent e)
    String val = ((JComboBox) e.getSource()).getSelectedItem();
    // use value to change query for VO2 and combobox 2
    Frank

  • Looking for documentation about AIA EBO for insurance industry

    Hello,
    Is there some documentation about the AIA EBO (javadocs? pdf ?) that describe EBO properties ?
    Thanks

    Hi,
    You may want to look at this [blog entry|http://blogs.oracle.com/aia/2009/07/where_do_i_find_information_on.html ].
    EBO documentation is available on E-Delivery and on Metalink. Datasheet is available here.
    Regards
    Rohit

  • Filling comboBox in JSP from Oracle tbl

    Hello,
    Can anybody help, how to fill comboBox (in JSP page)
    <select name="types"></select><br>
    ...from Oracle DB. Types values sould come directly from Oracle tbl.
    Thanks in advance.
    A.

    hai here is the ex code.
    here iam populating client name from MySQL table. hope this will help u.
    <select name="Client">
            <option value="SELECT">SELECT</option>
         <%
            try
                  Class.forName("com.mysql.jdbc.Driver");
                  Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3307/s4", "root", "root");
                  Statement statement = connection.createStatement();
                  ResultSet rs = statement.executeQuery("select client_name from client");
                  while(rs.next())
         %>
                       <option value="<%=rs.getString("client_name")%>"><%= rs.getString("client_name") %> </option>
         <%
         %>
            </select>

  • Looking for documentation about..

    There is so much documentation about ADF but most is about using and not how it works.
    I'm looking for documentation about the lifecycle in general
    Which methods get called from startup to program exit etc.
    I looked at the JDev Documentation but I cant find any documents which describe this.
    Does anyone know of such a document?
    Regards
    Anton

    Yes I have i'm trying several seperate documents now.
    I'm getting there but its not easy.
    Its for my graduation project so all the info I can get is good.
    Anton

  • JDev9i: BC4J JSP or UIX JSP?

    Hi,
    To develop a large JSP application, I read the document to
    decide which one to use BC4J JSP or UIX JSP? but still not sure
    which one to start. Any command from experienced JSP developer
    would be a great help for me. Thanks.

    Hello,
    Did you look at the section titled "Which Technology Should I
    Use?" in the JDeveloper online documentation? It gives a fairly
    decent idea on what you can do with the various pieces if
    technology that form a part of the UIX framework. Given that you
    are planning on building a huge application I am assuming that
    you would be interested in a consistent look and feel across the
    different pages of your application. UIX lends itself very well
    to build such applications very easily. On the other hand if you
    wanted to use JSPs, you could still use the UIX JSP tags which
    provide JSP tags which are wrappers for the underlying UIX
    elements. However, the UIX elements are much richer in terms of
    functionality (attributes, etc.)
    Hope this helps,
    -Kishore
    JDev Team

  • Documentation about this function module

    ineed Documentation about this function module RP_ANSAL_FROM_PERNR

    Hi Avinash,
    Have a look at the function group program documentation.It gives an idea of what the function module does.
    Short text
    Annual Salary Functionality (ANSAL)
    Description
    This function group contains different functionality for calculating the annual salary, and calculating a period salary from the annual salary.
    The function group evaluates different tables and features:
    Tables
    T503      defines whether an employee is paid on an
              hourly basis or per period
    T510W     defines the time unit
    T511      determines the relevant module from the annual
              salary wage type, rounding, etc.
    T539J     defines the valid wage types for calculating 
              the annual salary
    Features
    ANSAL     defines the annual salary wage type
    PFREQ     number of periods per year
    Old U510F -> use T510F ?
    Thanks
    Lakshman

  • BC4J, JSP, Apache: Deployment to web-inf

    I'm trying to deploy a BC4J JSP application to a web-inf directory. In other words I'm using the OracleJSP extensions that support the globals.jsa application/session context.
    When I place my application's BC4J jar file in the \approot\web-inf\lib directory it doesn't work. When I try a simple app with no BC4J its works. ie. My JSP works and it can load classes from both \approot\web-inf\classes and \approot\web-inf\lib\??.jar.
    If I place the application BC4J jar file in \approot\web-inf\lib it can't find files such as \bc4jpackage\common\bc4j.xcfg. Therefore I think OracleJSP will load classes from \web-inf but because its not really in the JServ classpath BC4J wont find any other files.
    Anyone tried this? Is there a workaround?

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    Thanks
    Hari(2/3/02)

  • Is there any Documentation about MDM4J (Java API) ?

    Hello to all,
    I was wondering... Is there any possibility to get documentation about the classes in the MDM4J.jar ?
    We can not use the other Java Api, and we need to understand this one.
    Thanks in advance,
    Mariano.-

    Dee Bishnu wrote:
    You're looking for documentation in addition to the javadoc included with MDM4J, right?.-
    Exactly, but, I don't have the javadoc that are included with MDM4J. Are the javadocs always shipped with the MDM4J.jar?
    RDNPrasad wrote:
    Hi Mariano,
    all the documentation is available via the MDM documentation center on SAP Service Marketplace:
    http://service.sap.com/installMDM
    Yes, but in that adress you only see the last documentation, and I want an old documentation that isn't found there.
    Nico Razlow wrote:
    hier is the link to the Java API SP3 (mdm4j):
    https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700007403222005E
    Thanks !! That PDF was really helpful !!!
    Sudheendra Puth wrote:
    To work on java api using MDM4J use the below link on javadoc
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    Kindly award points if it was helpful
    That adress is the documentation for the "New Java API", not the MDM4J.
    I'm going to put the question as answered because the PDF that Nico provided is like a javadoc. If anyone has any more information, please contact me privately.
    Thanks to all for the Answers !!!
    Mariano.-

  • Running a BC4J JSP application for Oracle Lite on OC4J

    Hi,
    My BC4J JSP application is working with Oracle and Oracle Lite on Apache (Oracle 8i Personal Edition) and on Tomcat 3.2. The same BC4J's could be used from the BC4J Tester as well.
    But if I run the application on OC4J (standalone and embedded in JDeveloper 9i RC1 and RC2) using Oracle Lite, a Fatal Internal Error (or with JDK1.2 a NullPointerException) occurs.
    I think I found the reason:
    1. the Java Trigger in Oracle Lite and
    2. the Timestamp used in Oracle Lite instead of Date.
    My problem is, that I can't find any information about configuration of OC4J so that it could work with Oracle Lite as well as Apache and Tomcat.
    Claudia

    The tell tale sign that the application is communicating with the running cache server is the membership information that is logged. In your previous running of the example you would have "members=1" embedded in the logging. From the sounds of what you are doing, you'd expect this to be different as the application would be joining a running instance. Check out section 1.3 of this doc on the system you are using.
    http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/installcoh.htm#BABIHHFJ
    Cheers,
    Jay

  • Documentation about variable types & their processing in i_step = 1, 2 etc.

    Hello experts,
    is there any documentation about variable types and their processing in i_step = 1, 2 etc.? I know there is note 492504 "Dependent customer exit-type variables", but I don't understand, whether a variable which is NOT "Ready for input" will be processed in i_step = 1 or not  (quote of SAP library: "i_step = 1: Call takes place directly before variable entry."). I experienced coincidentally, that some variables not "Ready for input" will be processed there and some not.
    Furthermore it is an error, isn't it? Why has a variable without input possibility to be processed before input? Is this really the case?
    Confused, any hints are welcomed!
    Regards M.L.

    for I_STEP = 1
    Call before the variable screen .
    for I_STEP = 2
    Call after variable entry. This step is only started up when the same variable is not input ready and could not be filled at I_STEP=1.
    for I_STEP = 3
    In this call, you can check the values of the variables. Triggering an exception (RAISE) causes the variable screen to appear once more. Afterwards, I_STEP=2 is also called again.
    for I_STEP = 0
    The enhancement is not called from the variable screen. The call can come from the authorization check or from the Monitor.
    There is a good HOW to Guide which explains the importance of I_STEP :
    http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000078090&_SCENARIO=01100035870000000112&_OBJECT=011000358700002762582003E
    Another from SDN:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/bw-and-portals-05/five%20ways%20to%20enhance%20sap%20bi%20backend%20functionality%20using%20abap.pdf

  • Deployment of BC4J JSP in Java web Server2.0

    I'm presently trying to deploy a BC4j Jsp into the Java Webserver , I have copied all the class , java and the JSP files in the JWS2.0 , but the error I get is as follows :
    Package oracle.jbo.* not found in import ,
    Package javax.naming.* not found in import ,
    Package oracle.jdeveloper.html.* not found in import etc.
    I tried to copy all the JDeveloper class files in the JWS2.0 but no luck ,but here I was able to deploy sucessfully an simple jsp application using a session bean.
    Secondly, I'm not able to use the internal web server of JDeveloper3.0 to run my JSP's , if I try to run, the browser is not able to contact the port no. 7070 and it gives an TCP error / connection error.
    Please also suggest how to include the Jdbc driver in the classpath.
    Thanks in advance ,
    regards,
    Ekta

    Please see the online help for deploying JSP web applications. The instructions are under User Guides, Developing Web Applications, Developing JSPs and Servlets...
    There are a number of dependency archives that need to be deployed to your webserver in order for the BC4J JSPs to run correctly.
    IF you look at the Project Properties for your JSP project, you will see a number of them such as Connection Manager, ORacl e8.1.5 JDBC, etc. EAch of these libraries is based on one or more .jar or .zip files which need to be present in your webserver.
    Which ones you deploy somewhat depends on how you have deployed your Business Components app module. The online help provides more details.
    The Oracle JDBC classes are all located in <JDEV_HOME>/jdbc/lib/oraclex.x.x/classes111.zip. Where x.x.x is the version of the drivers. 8.1.5 is the default in JDev 2. and 3.0.
    Laura

  • Can a BC4J-JSP App live within a Portlet

    I've read the posts AND the docs AND still do not have a clear idea if a BC4J-JSP application can live within Portal. I DO NOT WANT to click on a link from Portal and open a * NEW * window, I want the BC4J App to be contained within the Portal.
    Can anyone from Oracle Portal answer this **** AND *** can you show a working example of a BC4J application. HelloWorld.jsp is not a multi-page application.
    Thanks,
    Bill G...

    Hi Bill,
    1. Yes, you can access the userid from your partner app.
    2. Do you want to make your code appear on a portal page, and re-render it within the portlet container, rather than have your application replace the portal page? If this is what your question is, then:
    a) You may run your app in an iframe as Subramanyam has recommended. The first issue with this: ns 4.x doesn't support it. The second one, the request is sent to your app from the browser iframe, it doesn't go through the parallel page engine, thus your application is not being cached along with the page. Also, end users can't access a particular page of your application, they can only bookmark the portal page, which will always display the initial page of your application.
    b) You can run your app as it is, taking advantage of the renderers of PDK, capable to render JSPs. In this case, you need to modify your code, at least the links and forms, so that the portal page URL is used as the target url (extra parameters appended to it, or implemented in hidden fields).
    You find a sample portlet (Flights of Fancy External Application) implemented as a partner application in the PDK.
    This is a PDK article worth to check out: Using PDK-Java to Integrate a Partner Application with Oracle9iAS Portal (V2)
    And finally, you find the Administration Guide, the Appliation Developre's Guide, and the API Reference in the Oracle9iAS Documentation Library under Oracle9iAS Single Sign-On on the Management and Security tab.
    Peter

  • Layout options when generation BC4J Jsp

    I have a novice question..
    Ive tried to user Jdeveloper to generate JSP pages for displaying data from Oracle tables. And it seems to work just fine. Ive tried BC4J Jsp, UIX Jsp and UIX XML. But i cant figure out how to change the layout! By that i mean how the JSP is presenting the data in HTML. Simple things like Font and color of HTML tables seems to be hidden somewhere...
    Any ideas???
    Bjxrn
    Norway.

    The style information is stored in a HTML stylesheet called BC4J.css in the case of the BC4J application. This file is already deployed in the webapp application. You can look at it in BC4J\redist\webapp\css. To customized these setting you can modify their values by inserting your own style sheet with the new style values overwritten.
    For UIX project the style sheet is generated and you have to go through style customization at the UI renderer level.

  • Mobile sales 5.0 documentation about BP group hierarchy

    Hi,
    I´m searching detailed documentation about mobile sale 5.0. I have already seen the help on line, but it is not containing any details on configurations steps neither on how some functionality is working.
    In particular I´d need to understand how the BP hierarchies are working in msa and if it is possible to distribute the nodes of the hierarchy depending on the BP on the laptop and not bulk. I´ve found tree replication obj: CAPGROUP_WRITE, GRPHIER_WRITE, GRPTREE_WRITE. In CRM 4.0, if I remember well, there were only the CAPGROUP_WRITE; so I cannot understand what are the differences between all of them and when they should be used.
    Does anybody have any documentation? Or know how they are working?
    Any input will be really appreciated.
    BR
    Camilla

    Hi,
    This link might contain the info. you are looking for:
    http://help.sap.com/SCENARIOS_BUS2005/helpdata/EN/BD/F7A942AD920C31E10000000A1550B0/content.htm
    Note: After you get to the page, click on the little 'synchronization' link (red right/left arrow). The overall help structure that contains this topic as well as other related configuration information appears.
    Thanks,
    - Kumar

Maybe you are looking for

  • I am unable to delete apps on iPhone 5

    After looking at other similar questions, I can find no answer. For some reason, I can no longer delete apps from my iPhone 5 running 6.1.4. I am doing everything the way you are supposed to, but nothing. What I end up with is a bunch of jiggling ico

  • Windows Storage Server 2008 R2 Essentials Preferred Domains

    In remote web access configuration, domain name section, I entered my domain name and the system does not accept it. It tells me to go to e-NomCentral and convert my domain to them. Surely there are other domain providers that are acceptable.  Where

  • Problem Highlighting Text in Acrobat 9 Std - Cursor-Highlight Mismatch

    I scan and often highlight the pdf documents I scan. I use Acrobat 9 Standard with Windows XP. Sometimes after I convert the page from an image to text so I can highlight text, the actual highlight does not cover the text I mark with my cursor. It so

  • Enter/return key wont work

    I cant get it to work properly.It will only work with number lock on macbook pro   Mac OS X (10.4.8)  

  • Agent detail report shows calls outside the time range

    Hi all, I have an UCCX 7.0 SR5 call center. My problem is that the agent detail report is showing calls outside the defined time range on the historical reporting client. Those calls start slightly after the end time difined in the HR client. Is ther