Coordinated Drop downs

I have checked out the tutorial on coordinated drop downs - but for some reason I am unable to get it to work. I am using an Oracle DB - 10.1.0.3.0 on Solaris 10 x86 - and JavaStudioCreator EA2.
After editting my session bean - myRowSet - and add a Query Criteria ( = ? ) and running my jsp page - I always receive the following error:
com.sun.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
I am new to this - completely new - so I am unsure what is causing the problem. I am able to run the query from the design window and give it the parameter - it will work from there - but when I deploy I never even get as far as seing my page.
Any help or direction would be appreciated.
Thanks
-Tony

Hi,
Please post the Creator2 queries to Creator 2EA forum at
https://feedbackprograms.sun.com/login.html
MJ

Similar Messages

  • Dynamic Tables - Coordinated Drop Downs

    Hello Community
    This is my first post and i am new in all this so please forgive if any...newbiness comes out! :P
    Anyway what i wanted to ask if there is a way or a tutorial to add, appart from Coordinated Drop-Down Lists also a dynamic Table!
    What i mean by that is that the coordinate drop down lists eventually create a query to the database which actually dont know which table the user might select. So e.g. if we take the travel DB provided he could choose the trip table or another one. So how could i drop a table in the design view but somehow to bind it according to what the user has selected to the preivous drop down lists??
    I hope i am clear enough and if i am not please let me know so to explain!
    (URL to tutorials, examples, samples or whatever more then welcome)
    Thank you in advance

    hello again
    i saw that already but for example it says:
    Drag and drop a JDBC table from the servers tab, say Data Sources -> travel -> trip, on to the designer. <<<that is what i mean...that the final result now will already be connected with the table trip of the travel database!
    What if i want to use the travel database indeed but it will be up to the user which talbe (or joined table) will be displayed. Because imagine a simple query:
    " Select * from ? "
    so in this case i would like the table to filled and show everything but from the table of the database that the user will select on the run time from a drop down list!
    Can i do that somehow?

  • AJAX for coordinated drop downs

    At the moment, using Virtual Forms to load values from database in one drop down on selection of some value in another drop down i.e. just like coordinated drop down example.
    It works fine, but it refreshes whole page.
    Just wondering, if I could use AJAX in this scenario, has any body used or implemented for existing drop downs? Will be very helpful if one can give me some pointers or point me (or post) some relevant examples/code.
    Thanks.

    Some resources that you might find helpful:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/textcompletion.html
    In that same component library is the Select Value Text Field (which has a drop-down). You can learn about the Select Value Text Field here in the Building AJAX-Based JavaServer Faces Web Applications With Sun Java Studio Creator hands on lab at http://www.javapassion.com/handsonlabs/5655_ajaxcreator.zip
    You might also want to look into Using the dojo ComboBox in a Java Studio Creator Project at http://blogs.sun.com/divas/entry/using_the_dojo_combobox_in

  • Drop down list driven by drop down list

    I have two drop-down lists, the second one is driven by the first selection, I am wondering how to do it.
    Is it similar as the page refreshed by drop-down list?

    Check out this Coordinated Dropdown Sample Application :
    http://developers.sun.com/prodtech/javatools/jscreator/reference/code/sampleapps/2/2update1/CoordinatedDropDowns.zip
    This application demonstrates how the powerful event handling mechanism in JavaServer Faces can be used to dynamically update the state of various components on a single page.
    HTH,
    Sakthi

  • Drop down text options

    I'm looking for feedback on other options for displaying drop
    down text. I'm getting feedback from my users that they don't
    understand that green italic text (or what ever format is used)
    assumes drop down text. Most people are now used to seeing collapse
    and expand icons to represent drop down information. I have used
    the twisties in some of my projects but in this specific case, i am
    using the Show/Hide All script and there appears to be a conflict
    with the 2 scripts.
    I'm just curious if there are other methods used to represent
    or display that an item on the page is a drop down link, other than
    expand or collapse icons.

    Are you talking about the twisty / show hide methods on my
    site? If so please see the introductory topic that refers to a
    script that does allow both to work together.

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How do I use one drop down list to refresh the list in another drop down?

    I am using a drop down list full of years (i.e. 2008, 2009..etc). When I make my selection from this drop down list (say for instance I select 2009) I want it to update the available data in the second drop down list. I have the query statement set up within the JSP page but it needs to be a dynamic SQL statement based off the value I selected in the first drop down.
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    The variable "year" is the value I need to figure out how to assign. Now this variable is a Java variable (attribute) and Im unsure how to get the value from the previous drop down and assign it to that. Basically I need the JavaScript value from the first drop down assigned to the Java attribute "year".
    Anyone able to help me with this???
    Thanks,
    Jed

    Here are my two drop down lists. As you can see I build the second list dynamically based off the value of the year. I want to be able to assign my year to the value I select in this first drop down. How do I do that?? I only want to show games for the year I select. I currently have the year hardcoded to "2009" as you see below. How can i change that to be assigned to the JavaScript value i extract from the first select box?
    <select name="season">
    <option value='2009' selected>2009</option>
    <option value='2008'>2008</option>
    </select>
    <select name="gameselect">
    <%
    try
    String year = "2009";
    String connectionURL = "jdbc:mysql://localhost:3306/ElmwoodExpos";
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection(connectionURL, "root", "thejedster");
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    Statement s = con.createStatement();
    s.executeQuery(sql);
    ResultSet rs = s.getResultSet();
    while(rs.next())
    %>
    <option value="1"><% out.print(rs.getString("GameDescription"));%></option>
    <%
    catch(Exception e)
    %>
    </select>
    Thanks,
    Jed

  • Is there a way to create a drop down menu with an automatic answer dependent on what is chosen?

    Is there a way to create a drop down menu with an automatic answer dependent on what is chosen? An if-then statement perhaps?  I am looking to add over 100 drop down options and would like to have a message automatically pop up depending one which option they chose.  Thank you.

    Hi,
    You would use the skip logic to conditionally show form items based on the selection within the drop-down menu. Here's a link to a description of the feature in our help documentation:
    http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b1642c7fce012da94afe4f-8000. html#WS0faeceb8c23f5d60-774f03e3131ddc76d7d-8000
    Regards,
    Brian

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • Is there a way to expand all drop-down text in a single topic in the editor?

    I'm going through all the topics in a large RH10 project manually checking various things. A lot of topics contain drop-down text and to view the contents, I'm having to right click on each one and select 'Drop-down text properties'. Which is taking FOREVER. So:
    a) is there an option to expand all drop-down text in the current topic? I'm sure I remember this from a previous version but can't find it now.
    b) is there a keyboard shortcut to open drop-down text?
    Please say yes.

    a] Yes.
    b] No.
    There is nothing in Rh but there is a method on my site and on htttp://wvanweelden.eu The same scripts, just different explanations.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • A custom view in the Edit drop-down

    Hi,
    How could I create a custom view and add it to the Edit List Item drop-down in SharePoint 2013? This screenshot shows what I mean in SharePoint 2010:
    I'd like to have a menu item Custom View below Edit Properties in the drop-down list. When the user clicks the item I'd like to redirect to my layout page.
    Thanks,
    Leszek
    Wiki: wbswiki.com

    Hi ata6502:
    Adding a user custom action for list items
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class CreateUserCustomActionList
    static void Main()
    string urlWebsite = "http://MyServer/sites/MySiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    UserCustomAction oUserCustomAction = collUserCustomAction.Add();
    oUserCustomAction.Location = "EditControlBlock";
    oUserCustomAction.Sequence = 100;
    oUserCustomAction.Title = "My First User Custom Action";
    oUserCustomAction.Url = urlWebsite + @"/_layouts/MyPage.aspx";
    oUserCustomAction.Update();
    clientContext.Load(oList,
    list => list.UserCustomActions);
    clientContext.ExecuteQuery();
    Modifying a user custom action
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class ModifyUserCustomAction
    static void Main()
    string urlWebsite = "http://MyServer/sites/SiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    clientContext.Load(collUserCustomAction,
    userCustomActions => userCustomActions.Include(
    userCustomAction => userCustomAction.Title));
    clientContext.ExecuteQuery();
    foreach (UserCustomAction oUserCustomAction in collUserCustomAction)
    if (oUserCustomAction.Title == "My First User Custom Action")
    oUserCustomAction.ImageUrl = "http://MyServer/_layouts/images/MyIcon.png";
    oUserCustomAction.Update();
    clientContext.ExecuteQuery();

  • Using a variable/drop down list in header of planning layout

    Dear all,
    I have created a simple BPS application for purely GL planning (No CO related objects like cost centre involved). I have the following characteristics in the header of the manuel planning layout.
    Business area
    Chart of accounts
    Company code
    Currency
    Currency Type
    Fiscal year
    Fiscal Year Variant
    Fiscal year/period
    Value type
    Version
    I have created variables for Business area, Fiscal Year, Fiscal Year Period, Posting Period and Version. The client wants either a variable or a drop down list for these characteristics in the header in the web application. When I assign a variable and put the characteristic in header, I get the error message in the web application saying header characteristic can only have a fixed value. Can someone tell me if it is possible and if so than how? I'll be very grateful for any inputs. Thanks a lot.
    Regards,
    Sumit

    Hi,
    When you create a variable, assign some values to the variable. These then become available in the drop down box. Ths first time a Web interface is called, these variable values are initial.As a result, u get the error messages. Select the variable values and then the error message should go away.
    Thanks,
    -NS

  • I installed a new printer and Acrobat Pro is not listing it as an option in the drop down box. Other apps are working. Printer is networked, platform is Windows.

    sorry, other apps are working fine and finding the new printer. HP Officejet 8620.

    I've rebooted numerous times, reloaded the software twice, spent 4 hrs on the phone with HP and 2 with Adobe. No luck. It simply doesn't show the new printer in the drop down menu for Pro or Reader and yet shows time in all in Office, Paint, Web options. Any suggestions would be greatly appreciated! Thanks!

  • I am trying to get space on an external hard drive which has some old time machine back up files that I do not need but can not eliminate, even by going into the time machine, clicking on the backup file to be eliminated and using the drop down eliminate

    I am trying to get space on an external hard drive which has some old time machine back up files that I do not need but can not eliminate, even by going into the time machine, clicking on the backup file to be eliminated and using the drop down menu with the gear box symbol to eliminate

    I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
    You are probably using Time Machine to backup your MacBook Pro, right? Then the additional 300 GB could be local Time Machine snapshots.  Time Machine will write the hourly backups to the free space on your hard disk, if the backup drive is temporarily not connected. You do not see these local backups in the Finder, and MacOS will delete them, when you make a regular backup to Time Machine, or when you need the space for other data.
    See Pondini's page for more explanation:   What are Local Snapshots?   http://pondini.org/TM/FAQ.html
    I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
    You have tested the library on the external drive, and so your photos are save there.  
    The local TimeMachine snapshot probably now contains a backup of the moved library.  Try, if connecting your Time Machine drive will reduce the size of your local Time Machine snapshots.

  • In the new Pages 5.0, what is the page break shortcut key. I cannot find the key as indicated on the drop down menu.

    in the new Pages 5.0, what is the page break shortcut key (it used to be the Fn + enter). I cannot find the (new) key as indicated on the drop down menu. Please help.

    Hi Bruce and fruhulda,
    ok, I found the keyboard viewer, it only shows the traditional symbol 'return'.  something like a sideway u-turn continued with the arrow under.  This is the Canadian or US keyboard. 
    btw thanks for your suggestion.

Maybe you are looking for

  • Scanning with HP Photosmart B110 doesn't work since upgrade to 10.6.5

    I have a problem here on my HP Photosmart B110a: I can no longer scan via my iMac since I upgraded to 10.6.5. Same story on my MacBook Pro with 10.6.5 I do have an older MacBook still on 10.6.4 which can still scan, so it's clearly an issue in 10.6.5

  • Hp photosmart c4200 printer

    My printers is showing I have a missing black cartridge. I have replaced it with a new one, cleaned the connections & it still shows I am missing this cartridge. Any ideas? 

  • I can't get an installed application to work on a ...

    I've apparently installed divx player on my 6220 classic. It shows under the list of install applications in my application manager, but I've no idea where to find it or how to get it to work. There's nothing in my application folder itself. Is there

  • New issue in R 12.1.3 in AP while query about inovice was recorded in AP

    i record new invoice in ap on release R 12.1.3 and when query about it on invoice form the error appeare was it forms FRM-40735:POST-QUERY trigger raised unhandled exception ORA-04063 how can someone help us

  • Is there a way to change the Pending warning message

    I am working on an enterprise wiki site collection, and for the versioning setting i defined that the content requires approval, and any user can see the pending pages. so when users add/edit a wiki page they will get the following message at the top