Applescript Programming - on drop-down item

I just started learning Applescript programming. I need to write an Applescript program to enable the drop-down of the menu and clicking one of the item in the drop-down.
Example of the drop-down menu: http://javascript-array.com/scripts/...op_down_menu/#
For example, I need to click the DHTML menu in Home. (Applescript to let Home auto drop-down and Auto click on DHTML)
Please guide me on how should i write this program.

Thank for the help i think you have give me a direction on where i should work on. Another thing to check is that is this the correct way to activate the "do javascript" function
tell application "Safari" to activate
tell application "System Events"
          tell process "Safari"
          do JavaScript "(PLACE JAVASCRIPT HERE)" in window 1
          end tell
end tell

Similar Messages

  • STUCK--assigning prices to drop down items?

    I'm using v7 Professional & Designer... I'm fine with calculations on my form,per one of the tutorials, but what I'm having trouble unraveling is how to have the appropriate value (in this case, a print's price) appear on my form when the viewer selects a specific drop down item. Can anyone point me to a tutorial/thread that can show me how to get specific prices assigned to each drop down item, and getting them to carry over into fields included in a calculation?
    Any help at all would be greatly appreciated!

    There is an example that comes with Designer that located at:
    C:\Program Files\Adobe\Designer 7\EN\Samples\Purchase Order\Dynamic Interactive\Forms\Purchase Order.pdf
    Check out this example to see if that is something that you are looking for.

  • Datagrid Drop Down Item renderer Scroll Problem

    Hi,
    I am having a problem with an drop down item renderer on a Datagrid.  When ever the datagrid is displayed and the cell is clicked on i want this to display a drop down list of objects.  I can get the drop down to appear with the list of objects.  H
     owever the scrollbar does not work on this item to allow the user to scroll through all the objects.  If you use the mouse wheel you can scroll down through them all but not when you try and click on the scroll bar to drag down.  Below is the code used.  Any advice why this might be happening?? 
    <mx:DataGridColumn headerText="Widget"
    dataField="WidgetName"
    editable="true"  headerWordWrap="false" textAlign="center" width="100"
    editorDataField="Widget">
    <mx:itemEditor>
    <fx:Component>
    <s:MXDataGridItemRenderer focusEnabled="true" height="22" >
    <fx:Script>
    <![CDATA[               
    import mx.events.FlexEvent;
    import spark.events.IndexChangeEvent;
    private var selectedWidget:Widget = null;
    public function get ccyPair():String {
    return  ddlCcyPairs.selectedItem.Widget;
    override protected function commitProperties():void {
    super.commitProperties();                
    trace("Commit .......");
    protected function ddlCcyPairs_changeHandler(event:IndexChangeEvent):void {
    for each(var ccyP:CurrencyPair in ddlCcyPairs.dataProvider) {
    if (ccyP.ccyPair == ddlCcyPairs.selectedItem.ccyPair) {
    selectedWidget = ccyP;
    ddlCcyPairs.selectedItem = selectedWidget;
    protected function ddlCcyPairs_creationCompleteHandler(event:FlexEvent):void {                 
    for each(var ccyP:CurrencyPair in ddlCcyPairs.dataProvider) {
    if (ccyP.ccyPair ==  data.ccyPairName) {
    selectedWidget = ccyP;
    ddlCcyPairs.selectedItem = selectedWidget;
    ]]>
    </fx:Script>
    <s:DropDownList id="ddlWidgets" width="100%"
    dataProvider="{parentApplication.Widgets}"
    labelField="name"              
    selectedItem="selectedWidget"
    creationComplete="ddlWidgets_creationCompleteHandler(event)"
    change="ddlWidgets_changeHandler(event)"/>
    </s:MXDataGridItemRenderer>
    </fx:Component>
    </mx:itemEditor>
    </mx:DataGridColumn>

    Hi, Post a test code.... It will be a lot easier to help you Mich

  • AppleScript help please: Final Cut Pro / selecting drop down items

    Hi,
    I am wondering if anyone can help guide me wih a spot of AppleScript?
    I'm new to it as of tonight (last time I made a script was 11 years ago, and that was a very basic one!).
    Basically, my problem is I have a long term bug in Final Cut Pro which causes it to crash on launch everytime, unless I delete the Preferences file first.
    (btw This problem exsisted in Snow Leopard and has continued with Lion. I think it is plug-in related, but I've never figured out which or why, and have had a topic ongoing on here int he FCP forum for some time with no luck).
    Anyway, so far I have made a script which trashed the preferences and launches the program, like this:
    try
              do shell script "rm /Users/redhavoc/Library/Preferences/Final\\ Cut\\ Pro\\ User\\ Data/Final\\ Cut\\ Pro\\ 7.0\\ Prefs.fcset "
    end try
    delay 1
    tell application "Final Cut Pro" to activate
    So far, so good.
    However, what I would REALLY like to do, is continue this script to reset all the preferences automatically!
    When launching FCP (as the preferences are gone) this is the first thing that comes up:
    So, my question is:
    How can I choose which items I want selected from the drop down boxes with my AppleScript?
    (Specifically, option 7 in the "Format" drop down, and option 3 in the "Rate" drop down, then more complexly, choosing which folder I want in the "Primary Scratch Disk" drop down (which opens an "Open" dialogue) ).
    Thanks in advance!

    Ok, so I've worked out what the drop down boxes are called by digging through the package plist and strings files.
    So now I have:
    try
              do shell script "rm /Users/redhavoc/Library/Preferences/Final\\ Cut\\ Pro\\ User\\ Data/Final\\ Cut\\ Pro\\ 7.0\\ Prefs.fcset "
    end try
    delay 1
    tell application "Final Cut Pro" to activate
    tell application "System Events"
              tell process "Final Cut Pro"
      activate
                        tell combo box "formats" of window "firstStart"
      click button 1
                                  repeat 6 times
      keystroke (ASCII character 31)
                                  end repeat
      keystroke return
                        end tell
              end tell
    end tell
    But the error now returned is:
    System Events got an error: Can’t get window "firstStart" of process "Final Cut Pro".
    So I changed that line to:
    tell combo box "formats" of front window
    But now the error says:
    System Events got an error: Can’t get window 1 of process "Final Cut Pro". Invalid index.
    Hmmmm.... am I getting any closer??

  • How to colour drop-down items in enumertor control

    Hi. I know how to modify the controls by customizing  capabilities.
    However, when it comes to enumerator control, I can only change the colour of the top item.
    But I cannot change the colour of the drop-down list of tems in enumerator control.
    Anyone ever done this before?
    Message Edited by astroboy on 11-23-2005 03:33 AM

    Hi
    you can do it programatically
    take a property node of the enum and use named numeric colors properties.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Losing drop-down items

    I'm dynamically populating a drop-down with the current year and the previous three years. When I first render the form in HTML the drop-down is populated correctly. When I go to the second page and then back to the first page the drop-down menu is blank and has no items to choose. Does anyone know what is causing this to happen?
    Thanks in advance.
    Dennis

    Thank you for your response, but I don't want to learn PHP at
    this time,
    just need to know if this behavior is a bug or I am doing
    something wrong,
    and if so, what?
    ".: Nadia :. *ACE*"
    <[email protected]> wrote in
    message news:e20649$od3$[email protected]..
    > Before goig any further with those menus, please have a
    read of these 2
    > articles:
    >
    http://apptools.com/rants/jsmenu.php
    >
    http://apptools.com/rants/menus.php
    >
    > You can learn how to build them yourself, rather than
    relying on the
    > FWs/DW menus, so that your dropdowns don't suffer from
    the problems
    > mentioned in the articles above.
    >
    >
    > --
    > Nadia
    > Adobe� Community Expert : Dreamweaver
    > --------------------------------------------
    >
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    > --------------------------------------------
    >
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    >
    http://www.macromedia.com/devnet/dreamweaver/css.html
    - CSS Tutorials
    > -------------------------------------------------
    >
    >
    > "Claudette Hennessy" <[email protected]> wrote
    in message
    > news:e2014j$iqc$[email protected]..
    >> Newbie at this..I created the buttons and drop down
    menus in Fireworks
    >> and exported them to the Dreamweaver MX 2004
    document OK. However if I
    >> edit the button from Dreamweaver, make the change
    and click Done to
    >> return to Dreamweaver(the File>Export is grayed
    out) , the menu is no
    >> longer there when I click on the show menu behavior.
    What am I doing
    >> wrong?
    >>
    >
    >

  • MenuStrip drop down items becomes invisible after assigning different rendering context to Form

    Dear All,
    I face a very weird problem with menustrip dropdown items. I use openscenegraph to perform the OpenGL based rendering in windows application. I use VS2012 CLR project with Form in it, to assign
    the rendering context to the window form I use the following code snippet, with that code everything renders but the dropdown items of menustrip are getting masqueraded by the rendering context, please see the image below I can only see the shadows of dropdown
    item border. What is the solution to that?
    HWND hwnd = (HWND) this->Handle.ToPointer(); //panel1->Handle.ToPointer();
    osgViewer::Viewer viewer;
    osg::MatrixTransform* rootnode = new osg::MatrixTransform;
    rootnode->setMatrix(osg::Matrix::rotate(osg::inDegrees(30.0f),1.0f,0.0f,0.0f));
    osg::ref_ptr<osg::Geode> geode = new osg::Geode;
    geode->addDrawable(new osg::ShapeDrawable(new osg::Box(osg::Vec3(-2.0f,0.0f,0.0f), 1.0f)) );
    rootnode->addChild(geode);
    // set the scene to render
    viewer.setSceneData(rootnode);
    viewer.setCameraManipulator(new osgGA::TrackballManipulator());
    osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits();
    traits->inheritedWindowData = new osgViewer::GraphicsWindowWin32::WindowData( hwnd );
    traits->doubleBuffer = true;
    traits->windowDecoration = false;
    traits->sharedContext = NULL;
    traits->supportsResize = true;
    RECT rect;
    ::GetWindowRect( hwnd, &rect );
    traits->x = 0;
    traits->y = 50;
    traits->width = rect.right - rect.left;
    traits->height = rect.bottom - rect.top;
    osg::ref_ptr<osg::GraphicsContext> gc = osg::GraphicsContext::createGraphicsContext( traits.get() );
    viewer.getCamera()->setGraphicsContext( gc.get() );
    viewer.getCamera()->setViewport( new osg::Viewport( 0, 0, traits->width, traits->height ) );
    viewer.getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(traits->width)/static_cast<double>(traits->height), 1.0f, 10000.0f);
    // normal viewer usage.
    viewer.run();

    Dear All,
    I face a very weird problem with menustrip dropdown items. I use openscenegraph to perform the OpenGL based rendering in windows application. I use VS2012 CLR project with Form in it, to assign
    the rendering context to the window form I use the following code snippet, with that code everything renders but the dropdown items of menustrip are getting masqueraded by the rendering context, please see the image below I can only see the shadows of dropdown
    item border. What is the solution to that?
    HWND hwnd = (HWND) this->Handle.ToPointer(); //panel1->Handle.ToPointer();
    osgViewer::Viewer viewer;
    osg::MatrixTransform* rootnode = new osg::MatrixTransform;
    rootnode->setMatrix(osg::Matrix::rotate(osg::inDegrees(30.0f),1.0f,0.0f,0.0f));
    osg::ref_ptr<osg::Geode> geode = new osg::Geode;
    geode->addDrawable(new osg::ShapeDrawable(new osg::Box(osg::Vec3(-2.0f,0.0f,0.0f), 1.0f)) );
    rootnode->addChild(geode);
    // set the scene to render
    viewer.setSceneData(rootnode);
    viewer.setCameraManipulator(new osgGA::TrackballManipulator());
    osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits();
    traits->inheritedWindowData = new osgViewer::GraphicsWindowWin32::WindowData( hwnd );
    traits->doubleBuffer = true;
    traits->windowDecoration = false;
    traits->sharedContext = NULL;
    traits->supportsResize = true;
    RECT rect;
    ::GetWindowRect( hwnd, &rect );
    traits->x = 0;
    traits->y = 50;
    traits->width = rect.right - rect.left;
    traits->height = rect.bottom - rect.top;
    osg::ref_ptr<osg::GraphicsContext> gc = osg::GraphicsContext::createGraphicsContext( traits.get() );
    viewer.getCamera()->setGraphicsContext( gc.get() );
    viewer.getCamera()->setViewport( new osg::Viewport( 0, 0, traits->width, traits->height ) );
    viewer.getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(traits->width)/static_cast<double>(traits->height), 1.0f, 10000.0f);
    // normal viewer usage.
    viewer.run();
    For my understanding, it may be mainly related to Rendering OpenGL.
    http://www.codeproject.com/Articles/1274/OpenGL-Win-AppWizard
    This sample seems ok, you'd better post this issue in the forum for OpenGL
    https://www.opengl.org/discussion_boards/.
    remember make the reply as answer and vote the reply as helpful if it helps.

  • How can i get a drop down menu or check list control

    i want to give the user a choice between 7 options on the front panel. i want either a check list or drop down menu.thanks

    You can use any of the ring controls to generate a drop down list. The ring controls are found on the Controls >> Ring & Enum palette. You program the drop down items the same way with any of these controls. Type the first drop down item on the control. Right click on the control and select "add item after". The controls text field will blank out and you can enter your second item. Repeat for every item on the list you need to generate. After you are done entering items, click on the control with the application tool and you will see a drop down menu of all the items you entered.

  • Change font size in drop-down form item

    When I'm in design mode, I assigned the drop-down item a
    style class of 9pt
    font and it looks fine in design mode. When I go to view in
    IE, the font
    looks like a standard 10pt font and doesn't change when I
    change the class.
    So, all of my titles are in 9pt but the form text boxes and
    drop-down boxes
    are all using 10pt font.
    How do you change the font used in form fields?
    Thanks!

    One should not use a print metric on the web. Please use
    pixels, ems, ens,
    exs, percents, or font size names, but definitely not points.
    > How do you change the font used in form fields?
    select { font-size: 9px; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Beverly" <[email protected]> wrote in message
    news:ernl49$iei$[email protected]..
    > When I'm in design mode, I assigned the drop-down item a
    style class of
    > 9pt font and it looks fine in design mode. When I go to
    view in IE, the
    > font looks like a standard 10pt font and doesn't change
    when I change the
    > class. So, all of my titles are in 9pt but the form text
    boxes and
    > drop-down boxes are all using 10pt font.
    >
    > How do you change the font used in form fields?
    >
    > Thanks!
    >

  • Adding a "blank" selection for drop-down menus under list items.

    A lot of people on this form are accidentally selecting items that shouldn't be selected and need to be able to change the drop down menu back to blank if they have made a mistake and selected a wrong drop down item in the wrong area.
    Please help,
    Thanks!

    Add an item to your Dropdown list with Blank as text and some value to it.
    When you want to rest to blank, just simply set the rawValue to the value against the blank text.
    For example if I add a blank text and assign a value "1" to it.
    Then in the code I may use like below to rest it to Blank Text.
         DropDown1.rawValue ="1";
    Thanks
    Srini

  • Help! FCS3-How do I reduce bitmap size if drop down edit item is grayed out?

    I am in Flash CS3. I need to reduce a bunch (300) Bitmaps pixels dimensions from 1068 px to 270 px across (and proportional height)  in library but the "edit with..." (external editor) drop down item is grayed out. I have tried everything, including looking for ways to export the Bitmaps to create new images and update library items. I am stumped! Thanks in advance—[email protected]

    Hi,
    One solution I can think of is to use your bean to set up more than just a Vector of values from the database. If you could instead create a vector of objects which contain a reference to the row as well as the data then you can use that to name the select control:
    <select name=Choice_<%=vPQStatus.elementAt(i).getReference()%> >
    <option value="S">Start
    <option value="R">Restart
    <option value="C">Complete
    </select>
    <%=vPQStatus.elementAt(i).getValue()%>
    This would then require you to access all request parameters and search for those starting with "Choice_" you can then extract the reference from the name and the new selection from the value.
    Hope this helps

  • Selecting an item in a Drop Down Menu to activate a field

    Hi,
    I'm using LiveCycle Designer ES to create a dynamic form and I wish to have an 'other' field appear when 'other' has been selected in drop down menu. I've worked out how to give each of the drop down items a Specified Item Value and use this to trigger the presence of the 'other' field. However I'm not sure which event to use to activate the presence code.
    Thanks in advance.

    You can write the code either in the change event of the dropdown or in the Exit event of the dropdown.
    If you use the change event use the below syntax..
         if(xfa.event.newText =="Other")
              fieldName.presence = "visible";
    If you are using the exit event use the below syntax..
         if(this.rawValue =="Other")
              fieldName.presence = "visible";
    Sample file is at the below location..
    https://acrobat.com/#d=QZS2WmRlvgjTIePj8a6mkQ
    Thanks
    Srini

  • How do I make top menu item unclickable but drop downs are clickable?

    I have drop down menu with the top menu item titled "Renderings" and the drop down from that are serveral types of renderings. I don't want the viewer to be taken to a page called "Renderings" when they click that, but I do what them to choose one of the drop down items. How can I make the top most menu item "Renderings" non-clickable? Thank you!

    Right mouse click on the top level page in  your plan view and then mark it as 'Include Without Hyperlink'

  • Drop Down Menus Don't Drop Down

    I am having a problem with my Spry Menu Bar. (Using CS5). In my template, all of the submenu items of the menu bar show as being there and I can navigate through them. However, when I save the file so I can preview (using F12) it working on my homepage, the drop down items do not appear in the preview. When I move this to my live site folder, I fear they still will not drop down and mine is a page that has a lot in the drop down menus that needs to be accessible. Here is the code from the template:
    <style type="text/css">
    body {
    width: 960px;
    padding: 1 px;
    margin: auto;
    background: #42413c;
    a:link {
    color: #000;
    text-decoration: underline;
    .container {
    width: 960px;
    background: #FFF;
    .header {
    background: #42413c;
    padding: 0;
    margin: auto;
    .News {
    background: #CCC;
    width: 200px;
    text-align: center;
    margin: 5px;
    padding: 5px;
    float: left;
    #Content {
    width: 728px;
    text-align: center;
    margin: 5px;
    padding: 5px;
    float: left;
    #CrisisIntervention {
    width: 190px;
    text-align: center;
    margin: 5px;
    padding: 5px;
    float: left;
    border-top-width: thin;
    border-right-width: thin;
    border-bottom-width: thin;
    border-left-width: thin;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: solid;
    border-top-color: #333;
    border-right-color: #333;
    border-bottom-color: #333;
    border-left-color: #333;
    #FallenHeroes {
    width: 960px;
    text-align: center;
    .footer {
    width: 940px;
    padding: 10px;
    background: #eee;
    position: relative;
    clear: both;
    a:visited {
    text-decoration: underline;
    color: #300;
    a:hover {
    text-decoration: none;
    color: #000;
    a:active {
    text-decoration: underline;
    /*Menu Bar styling classes*/
    ul.MenuBarHorizontal{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: auto;
    ul.MenuBarActive{
    z-index: 1000;
    ul.MenuBarHorizontal li{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 10em;
    float: left;
    ul.MenuBarHorizontal ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 10em;
    position: absolute;
    left: -1000em;
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible{
    left: auto;
    ul.MenuBarHorizontal ul li{
    width: 10em;
    ul.MenuBarHorizontal ul ul{
    position: absolute;
    margin: -5% 0 0 95%;
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible{
    left: auto;
    top: 0;
    ul.MenuBarHorizontal ul{
    border: 1px solid #CCC;
    ul.MenuBarHorizontal a {
    display: block;
    cursor: pointer;
    background-color: #eee;
    padding: 0.5em 0.75em;
    color: #000;
    text-decoration: none;
    border:2px solid;
    border-top-color:#C4C9DB;
    border-right-color:#565968;
    border-bottom-color:#565968;
    border-left-color:#C4C9DB;
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{
    background-color: #393769;
    color: #FFF;
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible{
    background-color: #33C;
    color: #FFF;
    ul.MenuBarHorizontal a.MenuBarItemSubmenu{
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu{
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover{
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover{
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarHorizontal iframe{
    position: absolute;
    filter:alpha(opacity:0.1);
    z-index: 1010;
    </style>
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div class="container">
    <div class="header"><img src="../Graphics/headerbanner.jpg" width="960" height="90" /></div>
    <div>
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="../Home2.html">Home</a>    </li>
        <li><a href="../AboutUs.html" class="MenuBarItemSubmenu">About Us</a>
          <ul>
            <li><a href="../Leadership.html">Leadership</a></li>
    <li><a href="../History.html">History</a></li>
    <li><a href="../SocialNetworks.html">Social Networks</a></li>
    <li><a href="Join" _mce_href="http://www.nationalguard.com/">Join">http://www.nationalguard.com/">Join the Army National Guard</a></li>
    <li><a href="Join" _mce_href="http://www.goang.com/Calendar">Join">http://www.goang.com/Calendar">Join the Air National Guard</a></li>
          </ul>
        </li>
        <li><a href="../Organization.html" class="MenuBarItemSubmenu">Organization</a>
          <ul>
    <li><a href="../Army.html">Army National Guard</a></li>
    <li><a href="../Air.html">Air National Guard</a></li>
    <li><a href="TEMAhttp://www.tnema.org/">TEMA</a></li>
    <li><a href="../StateGuard.html">Tennessee State Guard</a></li>
    <li><a href="../JointPublicAffairs.html">Joint Public Affairs </a></li>
    <li><a href="../Environmental.html">Environmental</a></li>
    <li><a href="../IG.html">Inspector General</a></li>
    <li><a href="../JAG.html">Judge Advocate General</a></li>
    <li><a href="../WarrantOfficer.html">Warrant Officers</a>  </li>
          </ul>
        </li>
        <li><a href="../JointPublicAffairs.html" class="MenuBarItemSubmenu">Community Support</a>
          <ul>
            <li><a href="../Overview.html">Overview</a></li>
            <li><a href="../AviationSupport.html">Aviation Support</a></li>
            <li><a href="../NonAviationSupport.html">Non-Aviation Support</a></li>
            <li><a href="../Band.html">Band</a></li>
            <li><a href="../ColorGuard.html">Color Guard</a></li>
            <li><a href="../Speaker.html">Speaker</a></li>
            <li><a href="../WhatCanIDo.html">What Can I Do?</a></li>
          </ul>
        </li>
        <li><a href="../WarriorResources.html" class="MenuBarItemSubmenu">Warrior Resources</a>
          <ul>
    <li><a href="../DAPhotos.html">Request a DA Photo</a></li>
    <li><a href="../Education.html">Education</a></li>
    <li><a href="../Veterans.html">Veterans</a></li>
    <li><a href="../Resiliency.html">Resiliency</a></li>
    <li><a href="../Careers.html">Careers</a></li>
    <li><a href="../EmploymentAssistanceWorkshops.html">Employment Assistance Workshops</a></li>
    <li><a href="../YellowRibbon.html">Yellow Ribbon</a></li>
    <li><a href="../CCRF.html">Combat Casualty Relief Fund</a></li>
          </ul>
        </li>
        <li><a href="../FamilyPrograms.html" class="MenuBarItemSubmenu">Family Programs</a>
          <ul>
    <li><a href="#">Employer Support of the Guard and Reserve</a></li>
    <li><a href="../MFLC.html">Military Family Life Consultants</a></li>
    <li><a href="../FamilyAssistance.html">Family Assistance Centers</a></li>
    <li><a href="../YouthCamps.html">Youth Camps</a></li>
    <li><a href="../Resiliency.html">Resiliency</a></li>
    <li><a href="Operation" _mce_href="http://www.operationmilitarykids.org/public/home.aspx">Operation">http://www.o perationmilitarykids.org/public/home.aspx">Operation: Military Kids</a></li>
    <li><a href="Military" _mce_href="http://www.militaryonesource.mil/MOS/f?p=MOS:HOME:0::::">Military">http://www. militaryonesource.mil/MOS/f?p=MOS:HOME:0::::">Military OneSource</a></li>
    <li><a href="../CCRF.html">Combat Casualty Relief Fund</a></li>
          </ul>
        </li>
    </ul>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    <div class="body"><!-- TemplateBeginEditable name="Content" -->
      <div id="Content">
        <h2>&quot;Volunteer Traditions, Modern Missions&quot;</h2>
        <p> </p>
        <p> </p>
        <p> </p>
    </div>
    PLEASE HELP ME!!!!

    Have you created a new page from the template and tested that? New> Page from Template> Choose template from your site folder> Save> Test it

  • Drop down by index  in table cell

    Hello
    I need for one column in table to have a drop down.
    I have the the following context:
    node: Zsi_Profile_TyperdvZish_Available_Timeslots_S_Rfc
    subnode: X
    value attribute in subnode X: a
    Node X is singelton = false, selection: 0-1.
    I am defined a drop down by index for one column and I want the data to come from node It_Rnpb2.
    The code:
    for (int i = 0; i< wdContext.nodeZsi_Profile_TyperdvZish_Available_Timeslots_S_Rfc().size();i++)
    wdContext.nodeZsi_Profile_TyperdvZish_Available_Timeslots_S_Rfc().getElementAt(i);
    for (int j = 0;j< wdThis.wdGetRendezVousCustomController().wdGetContext().nodeIt_Rnpb2().size();j++)
    wdContext.nodeX().addElement(wdContext.createXElement());
    wdContext.currentXElement().setA(wdThis.wdGetRendezVousCustomController().wdGetContext().nodeIt_Rnpb2().getIt_Rnpb2ElementAt(j).getOrgid());
    The result is: for first table line a drop down with few empty lines and one of the line with the last value from It_Rnpb2, and for the other table lines drop downs just with an empty line.
    How can I fix this?
    Thank you

    Let me change those ugly node names into shorter ones and use an array containing the drop-down items for each row. I think you get the idea.
    Table data source node: "Rows"
    Non-singleton child node "Items", cardinality 0:N, with attribute "Text".
    String TEXTS[][] with TEXT[r][j] = text of item j in row r
    /* foreach row in table */
    for (int r = 0; r < wdContext.nodeRows().size(); ++r)
      IRowsElement row = wdContext.nodeRows().getRowsElementAt(r);
      /* foreach drop-down list item */
      for (int j = 0; j < TEXTS[r].length; ++j)
        /* create item */
        IItemsElement item = row.nodeItems().createItemsElement();
        row.nodeItems().addElement(item);
        /* set item text */
        item.setText(TEXTS[r][j]);
    I typed this code from memory so there might be minor errors.
    Armin

Maybe you are looking for