How to show shuttle component pre-populated with  SelectedItems

Well i am trying to get this thing working and literally failed many times.. once the user selects some items in a shuttle... i want to get the selected values and store it somewhere.. Next time when the user logs in for second time the Shuttle should be
pre - populated with the previously selected items .Can anybody suggest me and guide me about how to get this thing working...
Please if anyone from oracle Jdeveloper team can show some light on it ...

Hi,
assuming the code hasn't changed between 10.1.3 and 11, you can have a look at these examples
http://thepeninsulasedge.com/frank_nimphius/2007/07/15/adf-faces-adf-faces-shuttle-with-pre-selected-values-from-a-selectoncechoice/
Let me know in case the code has changed
Frank

Similar Messages

  • Trying to d/l Kindle ap to new iPad w/retina display.  User ID is pre-populated with incorrect email address. How can I change this to my Apple User ID?

    Trying to d/l Kindle and Amazon aps to new iPad w/Retina Display.  User ID is pre-populated with the incorrect email address for my Apple account.  How can I change this to my correct Apple User ID?

    You should setup as new.
    Settings>General>Reset>Erase all content and settings

  • How To Show Different Artwork For CD With Same Name?

    In 2002, Chris Botti released a holiday CD named December. In 2006 he also released another CD named December with the only difference being track 2 (Ave Maria) & track 7 (I Really Don't Want Much For Christmas which are not included on the 2002 release. These are not additional tracks but replace 2 songs from the original 2002 release. The album art is different for both CDs. So, how can I show these two CDs with the same name and same artist but with different artwork in Cover Flow mode? Help!
    iMac G5 1.8 Ghz iMac 1.8 GHz G5 17" Mac OS X (10.4.8) 1.5 GB RAM   Mac OS X (10.4.8)  

    If you store Album artwork the way i described using Command I (get info) - then the artwork is actually EMBEDDED in each song and is carried with that song wherever it goes.. and in this case it doesnt matter if u had 3 copies of the same album - all identical. You could even save a diff image for each tarck if u wanted.
    If there is no artwork embedded, then coverflow places the image in a separate folder that is only referenced by iTunes for the whole CD.
    You also might want to turn off coverlfow and continue doing what u had been doing in the past - add you won.
    I also think i know what may be happening. You say they are identical except for track 2 - But problem is - I don't think iTunes can handle 2 identical CD's from the same artist.
    Here's an experiment:
    Goto any of the songs.... right-click and select "Show in Finder" the Finder will open and show you the song file and its location. Do you see one album once or 1 album twice?
    If you see 2 of everything, i would recommend the following:
    Rename the first album "December (2002)" and the second "December (2006)" then iTunes will definately separate them out.

  • How to show CVD as CENVATABLE (ie with set-off) in Import Purchase Order

    Dear Sir,
    In our existing SAP system , the Import Purchase having CVD are showing CVD as Delivery Cost . However we desire that CVD being CENVATABLE should get reflected with a Set-off  in the similar fashion as  cenvatable EXCISE-DUTY is being shown incase of DOMESTIC Purchase Order .
    We request you to kindly pl guide us about this pl .
    With Regards
    Sonia Agarwal

    Hi friends
    As suggested  in the posted reply , I have done following :
    a) For CVD condition , Maintained accrual as FR3 in pricing procedure
    b) Tick the condition as Statistical
    c) In J1ID maintained Material as Raw-material
    But still , the net value appearing in Purchase Order , includes the CVD .
    Kindly guide us pl .
    Regards
    Sonia Agarwal

  • How to Show images in mail box with java mail??????????

    Hello everyone,
    Iam sending mail using java, my mail format consisit of colored text and images,that should be diplsyed to reciever in mail box,my code is working fine reciever gets mail in inbox but problem is when we recieve mail like that images doesnot show up in the mail automaticaly,when i click on show images link in my mail box only then images become visible,i tested my mail in gmail,rediff and yahoo and in all cases i have to mannually click on "show images" link to view images that i sent with my mail,why so? is this due to security reasons in mailbox??? can i write such code that can overcome this problem i.e my images shows directly in anymailbox without clicking on showimages link.
    Please help.
    Thanks.

    anie wrote:
    can i write such code that can overcome this problem i.e my images shows directly in anymailbox without clicking on showimages link.No. That's a security function of the browser, and not something you can control.
    On another note, please refrain from posting unnecessary, excessive punctuation. It only clutters up your message, which isn't a good thing. Thanks!
    ~

  • How to show another table's field with LOV??

    Hi all!
    On my JSP application I'm using an LOV based on 2 tables (datasources). I take the EMP and DEPT tables as an example:
    The user can click on the LOV button to select a department for a specific employee. I use the following code for the LOV:
    <jbo:DataSource id="dsEmp" appid="am" viewobject="EmpView" />
    <jbo:DataSource id="dsDept" appid="am" viewobject="DeptView" />
    <jbo:InputSelectLOV datasource="dsEmp" dataitem="DeptId" displaydatasource="dsDept" displaydataitem="Id,Dname" displayvaluedataitem="Id" formname="my_form" />
    So, the LOV windows shows the ID and Department Name from the DEPT table and returns Dept.Id into Emp.DeptId. This works fine but in the Edit JSP I want to display the Department Name instead of the Department Number. I don't know how I can pick the Department Name from the DEPT table. I tried to change the displayvaluedataitem="Name" but, as I thought, this didn't work.
    Is there any possibility to handle this problem?!
    Thanks a lot!

    Hi all!
    On my JSP application I'm using an LOV based on 2 tables (datasources). I take the EMP and DEPT tables as an example:
    The user can click on the LOV button to select a department for a specific employee. I use the following code for the LOV:
    <jbo:DataSource id="dsEmp" appid="am" viewobject="EmpView" />
    <jbo:DataSource id="dsDept" appid="am" viewobject="DeptView" />
    <jbo:InputSelectLOV datasource="dsEmp" dataitem="DeptId" displaydatasource="dsDept" displaydataitem="Id,Dname" displayvaluedataitem="Id" formname="my_form" />
    So, the LOV windows shows the ID and Department Name from the DEPT table and returns Dept.Id into Emp.DeptId. This works fine but in the Edit JSP I want to display the Department Name instead of the Department Number. I don't know how I can pick the Department Name from the DEPT table. I tried to change the displayvaluedataitem="Name" but, as I thought, this didn't work.
    Is there any possibility to handle this problem?!
    Thanks a lot! PS: I'm using JDeveloper9i

  • How to show specific colums in tables with debugging

    I don't know if it is possible but I get always very simple if I have to debug with tables that I can't get the fieldvalues that interest me in a column straight away.
    for instance I have a table which contains a field aufnr. only aufnr is field nr 200 in the table. so I have to skip to that field and it is very unhandy.
    is it possible to show just 1 column of a table in debugging ??
    I tried under variables to append it with the fieldname but no succes TA_VBDPR[]-maufnr
    kind regards
    arthur de smidt

    If you are using the New Debugger:
    Open your table in the table control inside the Debugger
    Right Click on the Table Name (not table control) > Services of this Tool
    Select "Change Columns".
    Press Enter
    Select your Column (AUFNR) from the Right Pan to Left Pan.
    Right Click on the Table Name (not table control) > Services of this Tool
    Select "Save Columns".
    Press Enter
    It will retain the order of the columns.
    If you are using the Old Debugger:
    Just type the name of the column in the column name area.
    Regards,
    Naimesh Patel
    the first part works but I can't find the 'Save Columns'
    currently we work with sap gui 6.4 so it is the new debugger but I believe not as fancy as the 7.1 gui has (as I saw at sapteched)
    kind regards
    arthur

  • How to show two seperate pivot tables with one select column

    Hi All
    My client wishes to have two pivot tables, one showing positive results and the other showing negative results.
    For Example:
    DIMENSION
    BUSINESS A          1000
    BUSINESS B          500
    BUSINESS C          100
    DIMENSION
    BUSINESS A          -1000
    BUSINESS B          -500
    BUSINESS C          -100
    Is it possible to then select the different DIMENSION with one select column for both?
    Thanks

    Not sure I got it right try this
    for Number column pull twice and set col*-1
    use 2 pivot table for each number type
    cool as ~ http://cool-bi.com

  • How do show JTree DnD drop location with custom TreeRenderer?

    I am adding DnD support to a JTree with a custom renderer.
    With the custom renderer I am losing the display of drop location on the tree.
    Is there a method to determine if the passed in node object in the getTreeCellRendererComponent is currently a drop location?
    I can tell if the node is selected, but not if a DnD is in action on the tree.
    Thanks,
    Chris

    Is there a method to determine if the passed in node object in the getTreeCellRendererComponent is currently a drop location?
    I can tell if the node is selected, but not if a DnD is in action on the tree.If you are using Java 1.6 you should be able to do something along these lines:Install a TransferHandler on your tree, and override the method canImport() that takes a TransferHandler.TransferSupport as input argument. That method is called repeatedly during the drag process.
    In that method, ask the passed in TransferSupport for the current drop location, by calling getDropLocation(). For a JTree that will return a JTree.DropLocation, which in turn has methods for finding out which node is the current drop target. Store that node in a variable that your renderer can access.

  • Can't forward texts as dialogue box pre-populated with old text

    Hi - I've seen a few old posts about this but no one has had an answer.
    When I either try to forward a message on my iPhone (iOS 6.1.2), instead of the message I have selected to forward appearing in the window, an old message appears. This also happens when I select new message.
    This means I am completely unable to forward messages on my phone. It's a big problem.
    Does anyone have a solution?
    Thanks

    At least also set the content length. Your browser may be configured be the default application to open textfiles. If the contentlength is not set, then most applications would refuse to open the file without choosing for 'Save' first and manually open it.

  • How to show the all the users with dequeue or enqueue privileges on a queue

    Hi
    As dba I want to know which users has which rights on a queue.
    Is there a sys table or view where I can see that?
    Something like dba_tab_privs for tables etc.
    Or is the there a plsql procedure which can help me?
    ruud van der wal

    yes... dba_tab_privs
    select * from dba_tab_privs where privilege in ('ENQUEUE','DEQUEUE');

  • !! help !! how to use the component "h:selectOneRadio" with "f:selectItems"

    Hi,
    h:selectOneRadio does not work. Here is a piece of my jsp code.
    <h:selectOneRadio id="test" layout="pageDirection">
                     <f:selectItems value="#{myBean.myList}"></f:selectItems> </h:selectOneRadio>I defined myList as ArrayList or as ListDataModel. But nothing helps.
    Ming

    Value binding expression of the value must point to a SelectItem, an array or Collection of SelectItem objects, or a Map mapping labels to values.

  • Shuttle component not posting even when populated

    Hi,
    I am seeing a strange problem when using the shuttle
    component and was wondering if anybody had a workaround
    or more info on where I am going wrong.
    I have a shuttle which is populated from a ViewObject, which is the details part of a master/detail.
    When my screen gets loaded for the first time my leading shuttle is populated correctly,
    with a full list of entries and my trailing component is populated with the correct list of entries.
    However when I submit the form to the server I can see in the log that the leading and the trailing parameters are empty! Very strange.
    If it helps here is how I am creating the shuttle:
    <bc4j:registryDef>
        <bc4j:rootAppModuleDef name="UserManageAppModule"
                               definition="ARCHSSO.UserManageAppModule"
                               releaseMode="stateful">
          <bc4j:viewObjectDef name="UserInfoView" rangeSize="1">
            <bc4j:rowDef name="UpdateUserInfoView" usesCurrency="true" autoCreate="false">
              <bc4j:propertyKey name="key"/>
            </bc4j:rowDef>
          </bc4j:viewObjectDef>
          <bc4j:viewObjectDef name="RoleCodesView" rangeSize="1000"/>
          <bc4j:viewObjectDef name="RolesForUserView" rangeSize="1000"/>
        </bc4j:rootAppModuleDef>
        <bc4j:rootAppModuleDef name="ApplicationsAppModule"
                               definition="ARCHSSO.ApplicationsAppModule"
                               releaseMode="stateful">
          <bc4j:viewObjectDef name="ApplicationsView" rangeSize="100"/>
        </bc4j:rootAppModuleDef>
      </bc4j:registryDef>
    <tableLayout>
      <contents>
         <bc4j:rootAppModuleScope name="UserManageAppModule">
           <contents>
              <bc4j:viewObjectScope name="UserInfoView">
                <contents>
                   <bc4j:rowScope name="UpdateUserInfoView">
                     <contents>
                        <bc4j:messageInput attrName="UriUserid" id="userid" readOnly="true"/>
                        <formValue name="userid" data:value="-99"/>
                        <rowLayout>
                          <contents>
                             <tableLayout>
                               <contents>
                                  <bc4j:messageInput attrName="UriUsername"
                                                         readOnly="true"/>
                                  <bc4j:messageInput attrName="UriUserSurname"/>
                                  <bc4j:messageInput attrName="UriUserFirstname"/>
                                  <bc4j:messageInput attrName="UriUserDesc"/>
                                  <bc4j:messageInput attrName="UriAddr1"/>
                                  <bc4j:messageInput attrName="UriAddr2"/>
                                  <bc4j:messageInput attrName="UriAddr3"/>
                                  <bc4j:messageInput attrName="UriAddr4"/>
                                  <bc4j:messageInput attrName="UriVpnNo"/>
                                  <bc4j:messageInput attrName="UriExtnNo"/>
                                  <bc4j:messageInput attrName="UriPersonnelNo"/>
                                  <bc4j:messageInput attrName="UriTelephoneStd"/>
                                  <bc4j:messageInput attrName="UriTelephoneLine"/>
                                  <bc4j:messageInput attrName="UriCcsCustNo"/>
                                  <bc4j:messageInput attrName="UriPpsNo"/>
                                  <bc4j:messageInput attrName="UriEmail"/>
                                  <spacer height="30" width="400"/>
                               </contents>
                             </tableLayout>
                             <tableLayout width="40%">
                               <contents>
                                  <!-- START ROLE ASSIGNMENT -->
                                  <shuttle
                                             name="UserRolesShuttleEditor"
                                             reorderable="false"
                                             leadingHeader="Available Roles"
                                             trailingHeader="Assigned Roles"
                                             size="5" >
                                    <leading>
                                       <list>
                                         <contents>
                                         <bc4j:optionList voName="RoleCodesView" name="RceRoleId" attrName="RceRoleId" textAttrName="RceRoleDesc"/>
                                         </contents>
                                       </list>
                                    </leading>
                                    <trailing>
                                       <list>
                                         <contents>
                                         <bc4j:optionList voName="RolesForUserView" name="RceRoleId" attrName="RceRoleId" textAttrName="RceRoleDesc"/>
                                         </contents>
                                       </list>
                                    </trailing>
                                    <trailingFooter>
                                       <flowLayout>
                                         <contents>
                                         </contents>
                                       </flowLayout>
                                    </trailingFooter>
                                  </shuttle>
                                  <!-- STOP ROLE ASSIGNMENT -->
                               </contents>
                             </tableLayout>
                          </contents>
                        </rowLayout>
                     </contents>
                   </bc4j:rowScope>
                </contents>
              </bc4j:viewObjectScope>
           </contents>
         </bc4j:rootAppModuleScope>
      </contents>
    </tableLayout>Finally, here is what is popping out in the log:
    Requested page = Page[name=TdcrUserInfoView_Update,key=0001000000
    Event = apply
    Parameter userid=
    Parameter UriUserFirstname=Ken
    Parameter UriExtnNo=
    Parameter UriVpnNo=
    Parameter UriPpsNo=
    Parameter UriPersonnelNo=
    Parameter UriEmail=
    Parameter UriUserSurname=Mulhall
    Parameter UriCcsCustNo=
    Parameter UriAddr4=
    Parameter UriAddr3=
    Parameter UriAddr2=
    Parameter UriAddr1=
    Parameter UriTelephoneStd=
    [u]Parameter UserRolesShuttleEditor:leading:items=;[/u]
    Parameter UriTelephoneLine=
    [u]Parameter UserRolesShuttleEditor:trailing:items=;[/u]
    Parameter UriUserDesc=Enquiry User
    Parameter bajaPage=key=000100000003C20B1000000013000000F68B6BAE3FThe strange thing is if I submit my form which invokes an
    event handler and then refreshes the page all is well and
    the next time the page gets posted the shuttle trailing
    and leading are populated.
    Any help greatly appreciated.
    pj.

    Just a further update if it helps....
    The values from the shuttle are not being submitted in
    the scenario where I do NOT move any of the elements from
    the leading to the trailing. However if I do move
    elements from the leading to the trailing the values will
    get posted correctly.
    Is it possible there is a javascript handler that should
    be populating a hidden field that only gets called once
    the elements are moved?
    Here is the HTML I have on the page returned to the browser:
    <select class="xg" ondblclick="javascript:_moveItems('UserRolesShuttleEditor:leading','UserRolesShuttleEditor:trailing','updateForm');" name="UserRolesShuttleEditor:leading" size="10"><!-- Start:oracle.cabo.ui.composite.TemplateUINode, localName='optionList' --><!-- Start:oracle.cabo.ui.composite.TemplateUINode, localName='viewObjectScope' --><!-- Start:oracle.cabo.ui.BaseMutableUINode, localName='dataScope' --><!-- Start:oracle.cabo.ui.composite.TemplateUINode, localName='rowSetScope' --><!-- Start:oracle.cabo.ui.BaseMutableUINode, localName='dataScope' --><!-- Start:oracle.cabo.ui.composite.TemplateUINode, localName='rowSetIteratorScope' --><!-- Start:oracle.cabo.ui.BaseMutableUINode, localName='dataScope' --><!-- Start:oracle.cabo.ui.composite.TemplateUINode, localName='rowScope' --><!-- Start:oracle.cabo.ui.BaseMutableUINode, localName='dataScope' --><!-- Start:oracle.cabo.ui.BaseMutableUINode, localName='option' -->
                                                  <option value="1">Administrator User</option>
                                                  <!-- Start:oracle.cabo.ui.BaseMutableUINode, localName='option' -->
                                                  <option value="1122">AHCS System Tests Objects Super Role</option>
    etc
    etc
    etc
    <!-- Start:oracle.cabo.ui.beans.form.OptionBean, localName='option' -->
                                                  <option>_______________</option>
                                                </select>
                                              </td>
                                              <td><!-- Start:oracle.cabo.ui.beans.layout.FlowLayoutBean, localName='flowLayout' --><!-- Start:oracle.cabo.ui.beans.form.FormValueBean, localName='formValue' -->
    <input type="hidden" value=";" name="UserRolesShuttleEditor:leading:items">                                            </td>Should the hidden variable above be empty when the form is loaded or should it contain the initial values?
    One other strange behaviour I am seeing is that the
    shuttle does not allow me to select multiple values
    by 'Control+Selecting' - should that be the case?
    Many thanks for any help,
    pj.

  • Pre-populating forms with radio button values

    I have been pulling my hair out trying to figure out why my action page is not being pre-populate with the value that is passed from the radio button selection. Can get my hands around what I am actually doing wrong. I have changed my code several times and can not keep up with any more. So below, I have included the main page and the action page that needs to be pre-populated with the data from the database. Thank you in advance for you help and time.
    MAIN.cfm
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <!--- Declare and initialize the variables
    --->
    <cfset today = DateFormat(Now(),"mmmm d, yyyy")>
    <cfset current_time = TimeFormat(Now(),"h:mm tt")>
    <cfset application_name = "Corporate Intranet Directory">
             <cfset current_url ='http://'& #CGI.SERVER_NAME# & ':'& #CGI.SERVER_PORT# & #CGI.SCRIPT_NAME#>
    <cfset current_browser = #CGI.HTTP_USER_AGENT#>
    <html>
    <head>
    <title>Employee Directory</title>
    </head>
    <!--- Included heading for the page--->   
    <h1>Employee Directory</h1>
    <body>
    <!--- Display the today date and the current time--->
    <cfoutput>Today's date is #today#</cfoutput><br>
    <cfoutput>The current time is #current_time#</cfoutput><p>
    <!---Display the URL and Browser used for the template --->
    <p><cfoutput>URL of this template: #current_url#</cfoutput>
    <cfoutput>Browser used: #current_browser#</cfoutput></p>
    <!---Insert a field to have the user search by email address --->
    <tr bgcolor = "yellow">
    <td>Search</td>
    </tr><br>
    Email: <input type="text" name="EmailAddress"
    size="20" maxlength="100"><br>
    <input type="Submit" value="Search"><p>
    <!--- Query the Employees table to find the employee who's ManOfTheYear is set to "YES"--->  
    <cfquery name="employeeOfTheMonth" datasource="Directory">
        select
                e.FirstName,
                    e.LastName
                from
                Employees e
                where
                e.ManOfTheMonth = 'Yes'
            </cfquery>             
    <!--- Query the Employees and Departments tables to find employee's First Name, Last Name, Title, Phone Extension, Email Address, and Department Name--->      
    <cfquery name="employees" datasource="Directory">
    select
    e.EmployeeID,
    e.FirstName,
    e.LastName,
    e.Title,
                    e.PhoneExtension,
                    e.EmailAddress,
                    d.DepartmentName,
    d.DepartmentID
    from
    Employees e,
                    Departments d
                where
                e.DepartmentID = d.DepartmentID
    </cfquery>
    <table border="2" bordercolor="blue">
    <!--- Display the Employee of the Month--->   
              <cfoutput query="employeeOfTheMonth">
    <tr>
                <th align="center" colspan="5">Employee of the Month: #employeeOfTheMonth.FirstName# #employeeOfTheMonth.LastName# </th>
                </tr>
                </cfoutput>
                <tr>
    <th>ID</th>
    <th>Name</th>
    <th>Title</th>
    <th>Department</th>
    <th>Phone Extension</th>
                    <th>Email</th>
    </tr>
    <!--- Display the First Name, Last Name, Title, Department Name, Phone Extension, and Email Address--->   
    <form action="admin3.cfm?EmployeeID=#EmployeeID#" method="post">
    <cfoutput query="employees">
    <cfswitch expression="#DepartmentID#">
        <cfcase value="1">
           <cfset backgroundcolor="00FFFF">
       </cfcase>
    <cfcase value="2">
           <cfset backgroundcolor="ff6699">
       </cfcase>
    <cfcase value="3">
           <cfset backgroundcolor="99ff99">
       </cfcase>
    <cfcase value="4">
           <cfset backgroundcolor="ffcc99">
       </cfcase>
    <cfcase value="5">
           <cfset backgroundcolor="cc99ff">
       </cfcase>
        <cfdefaultcase>
            <cfset backgroundcolor="red">
        </cfdefaultcase>
    </cfswitch>
    <tr bgcolor=#backgroundcolor#>
    <td><input type ="radio" name="EmployeeID" value="#employees.EmployeeID#"</td>
    <td><a href="http://localhost:8500/spiderbytes/assignments/employee_details.cfm?EmployeeID=#EmployeeID#"> #employees.FirstName# #employees.LastName#</td>
    <td>#employees.Title#</td>
                    <td>#employees.DepartmentName#</td>
    <td>#employees.PhoneExtension#</td>
                        <td>#employees.EmailAddress#</td>
    </tr>
    </cfoutput>
    <tr>
    <!--- Display the number of employee's in the directory--->
    <td align="right" colspan="5"><cfoutput>#employees.recordCount# Employee(s) found.</cfoutput></td>
    </tr>
    </table>
    <input type="Submit" name="Action" value="Add New Employee">
    <input type="Submit" name="Action" value="Edit Employee">
    <input type="Submit" name="Action" value="Delete Employee"><p>
    </form>
    <!--- Include a footer --->
    <CFINCLUDE template="footer.cfm">
    </body>
    </html>
    ADMIN.cfm
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Add New Employee</title>
    </head>
    <body>
    <CFIF ISDEFINED("Action")>
    <!--- Use the "Action" variable to display the same name as a heading --->
    <h1><CFOUTPUT>#Action#</CFOUTPUT></h1>
    <!--- Determine if the user select Edit Employee or Delete Employee --->
    <CFIF Action IS "Edit Employee" OR Action IS "Delete Employee">
    <!--- Query the database to get the data for current employee the user
    selected--->
    <cfquery name="DisplayEmployeeRecord" datasource="Directory">
    SELECT *
    FROM Employees
    Where EmployeeID = #EmployeeID#
    </cfquery>
    <cfoutput query="DisplayEmployeeRecord">
    <cfset variable.EmployeeID = "#EmployeeID#">
    <cfset variable.FirstName = "#FirstName#">
    <cfset variable.LastName = "#LastName#">
    <cfset variable.DepartmentID = "#DepartmentID#">
    <cfset variable.Title = "#Title#">
    <cfset variable.Salary = "#Salary#">
    <cfset variable.PhoneExtension = "#PhoneExtension#">
    <cfset variable.HomeAddress = "#HomeAddress#">
    </cfoutput>
    </CFIF>
    <form action="query.cfm" method="post">
    <table border="2">
    <!--- Server-Side Validation - First Name, Last Name, Department, and and Email Address are required
    fields --->
    <input type="hidden" name="EmployeeID_required" value="First Name is
    a required field">
    <input type="hidden" name="FirstName_required" value="First Name is
    a required field">
    <input type="hidden" name="LastName_required" value="Last Name is
    a required field">
    <input type="hidden" name="DepartmentID_required" value=" Department ID is
    a required field - Please fill in the coorsponding Department ID for the employee">
    <input type="hidden" name="EmailAddress_required" value="Email Address is
    a required field">
    <!--- Create a table for the names of the fields and the textbox --->
    <tr>
    <td>
    First Name (required): </td>
    <td><input type="Text"
    name="FirstName" size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Last Name (required): </td>
    <td><input type="Text" name="LastName"
    size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Department Number (required): </td>
    <td><input type="Text"
    name="DepartmentID" size="35" maxlength="4"><br></td>
    </tr>
    <tr>
    <td>
    Title: </td>
    <td><input type="Text"
    name="Title" size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Salary: </td>
    <td><input type="Text" name="Salary"
    size="35" maxlength="10"><br></td>
    </tr>
    <tr>
    <td>
    Email (required): </td>
    <td><input type="Text" name="EmailAddress"
    size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Work Phone: </td>
    <td><input type="Text" name="PhoneExtension"
    size="35" maxlength="10"><br></td>
    </tr>
    <tr>
    <td>
    Address: </td>
    <td><input type="Text" name="HomeAddress"
    size="35" maxlength="50"><br></td>
    </tr>
    <!--- Adds the new employee to the Directory database---> 
    <tr>
    <th align "center" colspan ="2">
    <br><input type="Submit" name="Action" value="<cfoutput>#Action#</cfoutput>">
    </th>
    </tr>
    </table>
    </form>
    <!--- Include a footer --->
    <CFINCLUDE template="footer.cfm">
    </body>
    </html>
    </CFIF>

    Thanks for your reply.  The radio button was placed inside the anchor so that when the user selects that employee, it will pre-populate the from base upon the "Action" selected (i.e. Edit Employee and Delete Employee).  I quite sure this can be done with out using javascript.  I know that I accomplish this by using a drop-down list, but I would like to use the radio buttons instead because I would have to change my code.
    Here is the  code with the radio button:
    <tr bgcolor=#backgroundcolor#>
    <td><input type ="radio" name="EmployeeID" value="#employees.EmployeeID#"</td>
    <td><a href="http://localhost:8500/spiderbytes/assignments/employee_details.cfm?EmployeeID=#EmployeeID#"> #employees.FirstName# #employees.LastName#</td>
    <td>#employees.Title#</td>
                    <td>#employees.DepartmentName#</td>
    <td>#employees.PhoneExtension#</td>
                        <td>#employees.EmailAddress#</td>
    </tr>
    Here is are some ways that I coded my form action is coded:
    <form action="admin3.cfm" method="post">  OR
    <form action="admin3.cfm?EmployeeID =# EmployeeID#" method="post">

  • Open 'Final Rating Page' with the New Proficiency Level Pre-Populated

    Hi
    Here is the requirement.
    Competency rating entered in the 'Update Standard Appraisal' page, to be Pre Populated in the 'New Proficiency Levels' of the Final Rating Page. Though we have the Scores of the Final Rating Page pre populated with the proficiency levels selected in the previous page, if we do not have the New Proficiency Levels selected in the Final Rating PAge, then ratings would be stored as NULL. Meaning, user has to enter the information twice in the subsequent forms.
    Is there a way to get this done? Please do suggest.
    Thanks
    Arun

    Your template contains an IE Conditional Comment that is adding 30px of top padding to  #sidebar1.  This padding may required in older versions of IE but not IE9.
    &lt;!--[if IE]>
    &lt;style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    &lt;![endif]-->
    To fix it, change [if IE]  to [if lt IE 9]
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for