Dynamic menu in a form of updating

I have an updated form that has several text fields and a field of menu for volunteer jobs. the form retrieves data from a table of contacts. The menu items come from a separate volunteer task table. When I load the updated form, the menu of the fields is not what is in the contact table, it shows the available volunteers tasks table values. How can I get the form to show what is in the table of contacts for this field and, at the same time allow this field to be updated using the values form the volunteer jobs table?
Here is the code for the menu field. The record of getRec set pull conatcts table, the getVolJobs pull of the volunteer job table. Any help is appreciated.

< select name = "vol_job" title = "<?" PHP echo $row_getRec ["vol_job"];? > ">"
<? PHP
{}
? > < option value = "<?" PHP echo $row_getVolJobs ['vol_job']? ' > ' > <? PHP echo $row_getVolJobs ['vol_job']? > < / option >
<? PHP
} While ($row_getVolJobs = mysql_fetch_assoc ($getVolJobs));
$rows = mysql_num_rows ($getVolJobs);
If ($rows > 0) {}
mysql_data_seek ($getVolJobs, 0);
$row_getVolJobs = mysql_fetch_assoc ($getVolJobs);
}
? >

I found the way to do it. So just for anyone else having this problem, here it is: (I assume you are using Dreamweaver)
In the server behaviors, double-click the dynamic list/Menu item for the field of menu (in my case vol_job). In the window that opens, in the value Select is equal to: box, click the dynamic button and select the appropriate field (in my case vol_job) in the table that contains the contact, not the table that contains the list of volunteer jobs.
That's all.

Tags: Dreamweaver

Similar Questions

  • Dynamic menu PJC not workin on application server

    Dear gurus

    I run a form that contains a dynamic menu PJC on my local PC successfully. Even I've been successfully running this application from another customer, access to this application from my PC. But when I run this form from our application server, using the service Oracle Forms & reports 10.2.1 it gives following error in the Java Console and does not run the form.
    java.lang.NullPointerException
    
                at oracle.forms.handler.JavaContainer.onDestroy(Unknown Source)
    
                at oracle.forms.engine.Runform.destroyHandlers(Unknown Source)
    
                at oracle.forms.engine.Runform.shutdownRunform(Unknown Source)
    
                at oracle.forms.engine.Main.destroyRunform(Unknown Source)
    
                at oracle.forms.engine.Main.destroy(Unknown Source)
    
                at sun.applet.AppletPanel.run(Unknown Source)
    
                at java.lang.Thread.run(Unknown Source)
    
    proxyHost=null
    
    proxyPort=0
    
    connectMode=HTTP, native.
    
    Forms Applet version is : 10.1.2.3
    
    java.lang.NoSuchMethodError
    
                at oracle.forms.fd.DynamicMenu.init(DynamicMenu.java:69)
    
                at oracle.forms.handler.UICommon.instantiate(Unknown Source)
    
                at oracle.forms.handler.UICommon.onCreate(Unknown Source)
    
                at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
    
                at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
    
                at oracle.forms.engine.Runform.processMessage(Unknown Source)
    
                at oracle.forms.engine.Runform.processSet(Unknown Source)
    
                at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    
                at oracle.forms.engine.Runform.onMessage(Unknown Source)
    
                at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
    
                at oracle.forms.engine.Runform.startRunform(Unknown Source)
    
                at oracle.forms.engine.Main.createRunform(Unknown Source)
    
                at oracle.forms.engine.Main.start(Unknown Source)
    
                at sun.applet.AppletPanel.run(Unknown Source)
    
                at java.lang.Thread.run(Unknown Source)
    It seems that there is a problem with the configuration on Apps, can you guess the problem?

    UNIFIL is in need of at least a JRE 1.4, reason why it does not work with the JInitiator. You must install and Configure the plug-in Sun instead


    François

  • Dynamic Menu creation

    I am trying to understand the Dynamic Menu System.

    From what I can tell, it works like this:

    A menu is not created or updated updated when creating pages. You must go to the Dynamic Menu module and manually create navigation in a separate part of British Colombia.

    Let's say I have a site that has a main navigation this navigation breast main, I have a page called 'Shops' and shops has 100 links (stores). Each store would have its own navigation.

    Should I create 100 different dynamic menus for each of these stores? I also would have to create 100 different models, given that each dynamic menu has its own ID?

    All stores have the same set of 5 links, but each of these links/subpages are unique to the specific store... I hope that makes sense.

    Unfortunately in this case, you would create 100 dynamic menus with 100 models.

    But you might go another way. It seems to me that this could be a web application, and then you wouldn't need all the dynamic menus, or models.  Basically, each store would be an element of web application and the list of stores would be the list view. Then you configure the details view to look at as you want to the individual pages to look like, with their own menu NAV and sub.  Then you do not even create all these pages because as the web application that does for you. So with an application, you can import a csv spreadsheet file, categorize each store by category, featured stores, all kinds of things.

    If web applications are still new for you, this could be a good idea to get your feet wet with. I have at least he would not explore.

    Chad Smith

  • Set the Dynamic Menu based on the opening of session/user role

    Hi all

    Can someone help me to define the Dynamic Menu based on logon user/role? I have several menu and I want to change the menu primary logon user or role-based.
    How can I do this?


    Arif

    Hello

    try to use replace_menu, see form builder help

    New_block_instance trigger, you can write

    replace_menu ("C:------...-.mmx'");

  • Dynamic LOV in tabular form

    Can someone please tell me if there is an easy way to code one
    Dynamic LOV in tabular form?
    I need the ability to access a column in the row of the table value, to be used in the WHERE clause of the query LOV to another column of the line? Seems
    how it should be easy, but do not find an answer.

    Thanks for any help.

    Carol

    Hi Carol,.

    You can add the definition of the selection list directly in your SQL using APEX_ITEM statement. SELECT_LIST_FROM_QUERY - see: [http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm#CHDIDGDA]

    If you run your page with your existing on this subject, first selection list, then do a View Source and find the list of selection, you'll see an attribute "name" of something as "f01" or "f02" etc. Take note of the part number of this.

    Then update your SQL statement to include the above, and using the number you noticed that the Index value (for example, 4):

    SELECT EMPNO,
    ENAME,
    DEPTNO,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(4,MGR,'SELECT ENAME d, EMPNO r FROM EMP WHERE DEPTNO = ' || DEPTNO || ' AND EMPNO <> ' || EMPNO) MGR
    FROM EMP
    

    Which would give you a list of selection of employees in the same Department as the current employee (excluding the employee themselves)

    Andy

  • I can open a new browser window, but not a new tab, or by clicking on the sign more or select it from the menu. I have completely updated to firefox and also rebooted. What is going on?

    I can open a new browser window, but not a new tab, or by clicking on the sign more or select it from the menu. I have completely updated to firefox and also rebooted. What is going on?

    Try to disable or uninstall the extension "Ask Toolbar".

  • How to display dynamic menu with the parent and the child using c# and sql server

    Hello

    Can you tell me

    What is menu given Dynamics example

    How can u use my dynamic menu added project in c#

    This menu is display with only the data from sql database.

    Menu with the help of a parent node and a child.

    check the element all in sql server and adding one by a dynamic menu.

    Hello

    Thank you for writing to Microsoft Communities.

    I recommend you post your query in the following forum.

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

    Hope this information is useful.

  • Dynamic actions against a form of APEX

    I am trying to create a dynamic action on a form that sums the two fields of seizures and places it in a third. Did anyone done this before?

    It works! Thanks for your help.

  • External links in the dynamic menu created in Muse

    I'm editing a dynamic menu item to go to an external link instead of a built in Muse. How can I do this?

    Create a new model page, right-click on the thumbnail in the plan view, choose 'include the page without hyperlink '. Place a widget menu, select the entry and choose the command "Hyperlinks" in the strip of higher command to link to a page og your choice.

  • New page is not opening in a new window when you use a dynamic menu

    I read a previous post about this, but I don't really see a solution that I could implement. I have a dynamic menu, and I want an article on it to open a new image. Here is the code to the module of the model.

    {module_menu, version = '2', '901683' = Flash, moduleTemplateGroup = "Default"}

    It's the menu main template of the Tribeca site template.

    I tried to insert (_blank) under appropriate destination, and again, it opens in the same window.  I got together at the previous post that it was a matter of version, but as you can see, the code says "version 2"... or I misread that?

    I could not find the place where to make changes. The previous post suggested I'm looking for the CSS on the style of home, but I'm not using a house model.

    Any thoughts?

    Chuck

    You don't put _blank in the module, and that's not all the. Module. There is a folder named models module and which is used by default menu layout. You must ensure or create the target for the link element attribute and add the tags.

    You then add your _blank in the area of the tag for target in admin.

  • I WANT THE RESULT OF MY FORM PAGE TO INSERT A FORM OF UPDATE OF THE DATA INSERTED JUST

    I WANT THE RESULT OF MY FORM PAGE TO INSERT A FORM OF UPDATE OF THE MEASURE WITH THE HELP OF JUST INSERTED DATA. PLS HELP FOR EXAMPLE. Thank you

    It doesn´t works because the to-be-set record´s to update primary key cannot be determined by using a static value:

    $upd_capital-> setPrimaryKey ("cap_id", "NUMERIC_TYPE", "VALUE", "new_id"); current code in page 2

    Basic now needs to ensure that the primary key matches the Session Variable "new_id' thus:

    See you soon,.

    Günter

  • UCM - BPEL failed to retrieve the form of update process. Cannot run the service

    Hello


    I am trying to integrate the University Complutense of MADRID 10.1.3.3.3 with BPEL 10.1.3.5, I already installed the component of the UCM BPEL and updated the jar files in/custom/BpelIntegration/lib with the pot in BPEL.

    Also define the connection between UCM and BPEL

    the Configuration ID: Local
    Description: Local BPEL
    Domain: by default

    JNDI properties
    First factory of context: oracle.j2ee.rmi.RMIInitialContextFactory
    The provider URL: opmn:ormi://localhost:6105:oc4j_soa / orabpel
    Principal: oc4jadmin
    Identification of security information: *.

    When I test the connection it seems to be valid "JNDI parameters were validated successfully."

    but when I try to create a process with bpel configuration, the following ERROR Message appears:

    Content Server request failed
    Failed to retrieve the form of update process. Unable to run the 'getDeployedProcesses' of service method. (System error: runtime error: java.lang.IllegalStateException: can't replace cause)
    at java.lang.Throwable.initCause(Throwable.java:320)
    to bpelintegration. OracleIntegration.getAllProcesses (OracleIntegration.java:265)
    to bpelintegration. OracleIntegration.getBpelProcesses (OracleIntegration.java:184)
    to bpelintegration. OraBpelHandler.getDeployedProcesses (OraBpelHandler.java:224)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75)
    at intradoc.server.Service.doCodeEx(Service.java:488)
    at intradoc.server.Service.doCode(Service.java:470)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
    at intradoc.server.Service.doAction(Service.java:450)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
    at intradoc.server.Service.doActions(Service.java:445)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
    at intradoc.server.Service.executeActions(Service.java:431)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
    at intradoc.server.Service.doRequest(Service.java:1709)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
    at intradoc.server.IdcServerThread.run (IdcServerThread.java:195))
    + [Details] +.
    + Battery service for this request is - ORABPEL_PROCESS_UPDATE_FORM (* no captured values *) java.lang.IllegalStateException: can't replace cause to java.lang.Throwable.initCause(Throwable.java:320) to bpelintegration. OracleIntegration.getAllProcesses (OracleIntegration.java:265) to bpelintegration. OracleIntegration.getBpelProcesses (OracleIntegration.java:184) to bpelintegration. (OraBpelHandler.getDeployedProcesses(OraBpelHandler.java:224) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461) at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142) at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75) at intradoc.server.Service.doCodeEx(Service.java:488) at intradoc.server.Service.doCode(Service.java:470) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350) at intradoc.server.Service.doAction) Service.java:450) to intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191) to intradoc.server.Service.doActions(Service.java:445) to intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111) to intradoc.server.Service.executeActions(Service.java:431) to intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632) to intradoc.server.Service.doRequest(Service.java:1709) to intradoc.server.ServiceManager.processCommand(ServiceManager.java:357) to intradoc.server.IdcServerThread.run(IdcServerThread.java:195) +.



    Can someone help me?

    Thanks in advance

    Carlos Pereira

    Hello

    Workaround for this problem is:

    Copy orabpel - thirdparty.jar/bpel/lib and place it in the folder/custom/BpelIntegration/lib , and add this variable in intradoc.cfg of the CS (stop the content server before performing this change):

    JAVA_CLASSPATH_bpel =/custom/BpelIntegration/lib/orabpel-thirdparty.jar

    Start content server after the steps above have been completed, and then test to see if the problem persists.

    Thank you
    Srinath

  • How to create a dynamic menu?

    Hi, OTN,.

    I am using JDeveloper 11 g R! and ADF Faces.In my senario, I need to generate the dynamic menu with different levels (such as the structure of the tree). Please help me with some reference or sample codes.

    Jean-Marc Mithra V S

    Check out these articles:

    -http://biemond.blogspot.com/2007/11/xml-menu-in-jdeveloper-11g.html
    -http://biemond.blogspot.com/2007/12/dynamic-jsf-menu.html

    Kind regards
    ~ Ahmed

  • I can not remove the menu 'window' to Forms 6i

    in Forms 6i... I made the menu and called it 'Window'... and in the property palette I customized as follows:-

    http://img219.imageshack.us/img219/1858/winitemqz6.PNG

    guess which make the completely empty bar... (because I removed SMARTBAR & DEFAULT from the Module Menu of the form Module property) as I just have this Menu item in my Menu Module: -.

    http://img90.imageshack.us/img90/8134/menumodulesq4.PNG

    but I met through this error when I press Ctrl + R (run-time);

    http://img220.imageshack.us/img220/1852/frm10247iy9.PNG

    I do not know why this error pops up, although I did the same thing form of 10g and the result was good... bar completely empty (without error).

    you will enjoy the all suggest to solve this problem in my forms 6i.

    In the section 'Physical' the range of the property, the 'Visible' value to 'no '.

    You may also need to set the empty label.

  • How to make dynamic form fields updated?

    This is going to be an ugly post, just be careful! :)

    I have a form that retrieves his labels and text input field names dynamically from a database. Rather than having the form hardcoded, we are able to add new columns to a table and the form automatically adds the new labels and fields via CFQUERY.

    When the form is completed and submitted (post method), the database is supposed to be updated. However, because our names of input fields are populated through query, we can not write a query to update static when we add new elements of form.

    So, I have a solution to this (in my head), but I'm stuck in a bit of logic and can't get it in the code. I'm looking for a way to write FORM #. # fieldname # (here is where it gets ugly). Because the form sent by the post method, I find myself with a bunch of FORM.fieldname on my action page (and fieldname is generic for what are real variables).

    So here's how I am update:
    I have a table (let's call it table1) that contains a column of all the column names in the data table (table2). This table is used for query purposes only, no data is updated here of the form.
    I have a table1 request to call all the column names in table2.
    < cquery datasource = "exdb" name = "exname" >
    SELECT ColumnName
    FROM table1
    < / cfquery >
    Then I write the update query that will update the elements they are loop using CFOUTPUT:
    < CFOUTPUT QUERY = "exname" >
    < cfquery datasource = "exdb" name = "exupdate" >
    UPDATE table2
    SET #columnName # = #FORM. < columnName > #.
    WHERE itemID = #FORM.itemID #.

    It's my dilemma. As you can see, the cfoutput is a loop... So we will take the first element in the loop, call him 'name1 '. So our query update said SET name1 = #FORM.name1 #, and it will update the table with what was presented in the entry for name1 field. The cfoutput to loop again, this time it's of name2. SET name2 = #FORM.name2 #. Now, the form includes a hidden itemID to specify where the table should be updated, as you can see above. So, now that you see how it works, my problem is to get #FORM. < columnName > # FORM.name1, FORM.name2, etc.
    In Coldfusion, you would write #FORM.variable # to call a FORM element. However, given that the variable is not defined, and allows us to fill a request, we make SHAPE #. #variable # where #variable # must be resolved before #FORM. ___ #

    You are with me on this? This is very complex in the explanation, but if you need more information, I can provide more clearly. I would like to know what you think. Really, I have the solution, but to FORM #. # columnName # to solve is another problem. I think what I need is to understand the order of operations for this statement, so #columnName # resolves first.

    You'll want to use the scope structure notation when dealing with your form variables. The Form.SomeVar variable can also be written as ['SomeVar']. Using this syntax, you can do something like this:

    UPDATE table2
    SET #columnName # = #FORM [columnName] #.
    WHERE itemID = #FORM.itemID #.

    You can also look on the following to help optimize your code:
    (1) learn how to use - it could speed up your code a bit.
    (2) according to the DB that you use, you may be able to combine all of your UPDATE within 1 SQL commands block. This will allow to do all your actions with 1 DB connection database, instead of a bunch (works in MSSQL, Oracle or MySQL, not sure)

Maybe you are looking for

  • password disappeared during migration

    I installed Mozilla on the new computer. Created a new profile. Copied all the files from my old computer to the new folder profile. After the launch of Mozilla a few splash screen displays who told me sth. on the conversion of profile. After complet

  • HP OfficeJet Pro 8600: HP

    For the last two days, whenever I want to print, I have to enter the network and the password, even if the printer has them already. It seems to be offline all the time.  In one attempt to fix, I have activated the switch router, turn the printer pow

  • Losing the name of the bar graph XY

    I have this question of loss of cursor name: I have two sliders of interest in the attached graph, the Green shallow who lose the cursor name (I've already activated, the name of the cursor), dark green who carries the cursor with her name "LTstart".

  • Add additions stays grey

    I use Virtual PC 2007 on windows XP. I have set up and have several machines, but the line remains grey "install or update additions '. What else do I need to do to use them?

  • Windows has recovered from an unexpected shutdown - BlueScreen

    There are messages mannny out there for this problem, also in the DELL forum.  Too many resolutions:In the night after my PC (computer desktop XPS 435) go to sleep, I hear a pending reboot (twice since I created this PC on 02/09/09 - PC brand new) an