Confusing documentation for Validation Select widget

On the website
http://livedocs.adobe.com/en_US/Spry/1.4/index.html
there's a page titled "Validation Select widget overview and
structure." The article is confusing because the example is a
pull-down menu of states, e.g., Alabama, Alaska, etc. But then
"states" also means valid, invalid, required value, etc. This
double meaning makes the documentation difficult to understand. The
documentation should use an example of, for example, cities or
countries.
Also this widget has name different names. In Dreamweaver
it's called "Spry Select." But on
http://livedocs.adobe.com/en_US/Spry/1.4/index.html
it's called "Validation Select." Both names are misleading, it
should be called "Pull-Down Menu Validation."

Hi Daniel,
Im having the same problem, can you please tell me what you did? I understand you found the problem?
Thank you!

Similar Messages

  • Spry validation select widget problem

    Dreamweaver CS3
    Im using spry validation for my form but the two spry validation select widgets I am using are not working. When I test them I keep getting errors that nothing has been selected when something has in fact been selected. I've used spry validation before with no problems but this is the first time using the spry validation select widget.
    My code:
    <tr>
                <td valign="top">Page in Question*</td>
                <td valign="top"><span id="spryselect1">
                  <label>
                  <select name="select1" id="select1">
                    <option selected="selected">Home</option>
                    <option>About Us</option>
                                </select>
                  </label>
                  <span class="selectRequiredMsg">Please select an item.</span></span></td>
              </tr>
              <tr>
                <td valign="top">Which Internet Browser do you use?*</td>
                <td valign="top"><span id="spryselect2">
                  <label>
                  <select name="select2" id="select2">
                    <option selected="selected"> </option>
                    <option>Internet Explorer</option>
                    <option>Firefox</option>
                    <option>Safari</option>
                    <option>Opera</option>
                    <option>Google Chrome</option>
                    <option>Other</option>
                  </select>
                  </label>
                  <span class="selectRequiredMsg">Please select an item.</span>              </span></td>
              </tr>
    Appreciate the help.

    Hi Daniel,
    Im having the same problem, can you please tell me what you did? I understand you found the problem?
    Thank you!

  • Filtering A Dataset Using the Spry Validation Select Widget

    Given the code below, how can I filter the rows in the
    ds_BestConvertingByCategory dataset (in the spry:repeat area) that
    match the product category (prodcat_id) selected in the Spry
    Validation select widget?
    // product categories table: columns - prodcat_id,
    prodcat_desc
    var ds_ProductCategories = new
    Spry.Data.XMLDataSet("category_qry2xml.php", "product/category",
    {useCache:false});
    // has prodcat_id column
    var ds_BestConvertingByCategory = new
    Spry.Data.XMLDataSet("product_qry2xml.php", "special/deals[type =
    'Best Converting']", {useCache:false});
    // Spry regions inside a TabbedPanel
    <div class="TabbedPanelsContent">
    <form id="formOffersByCategory" class="frmsprysel"
    name="formOffersByCategory" method="post" action="">
    <strong>Select a Product Category: </strong>
    <span spry:region="dsProductCategories"
    id="spryselectProductByCategory">
    <select spry:repeatchildren="ds_ProductCategories"
    name="offersByCategory" id="offersByCategory"
    onChange="ds_ProductCategories.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{prodcat_id}"
    selected="selected">{prodcat_desc}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{prodcat_id}">{prodcat_desc}</option>
    </select>
    </span>
    </form>
    <div id="offersbycategory"
    spry:region="ds_BestConvertingByCategory"
    class="SpryHiddenRegion">
    <table id="offersByCategoryTbl" width="100%">
    <tr class="colhdr">
    <th width="50%">Offer</th>
    <th width="50%">Code</th>
    </tr>
    <tr spry:repeat="ds_BestConvertingByCategory">
    <td width="50%">{displaytext}</td>
    <td width="50%">{offer_code}</td>
    </tr>
    </table>
    </div>
    </div>
    // Spry validation select widget
    var spryselectProductByCategory = new
    Spry.Widget.ValidationSelect("spryselectProductByCategory");

    Hi flipone01,
    To do this, make your region depend on both
    ds_ProductCategories and ds_BestConvertingByCategory, then use the
    spry:test attribute in conjunction with spry:repeat to weed out
    items that don't have the same product id:
    <div id="offersbycategory"
    spry:region="ds_BestConvertingByCategory ds_ProductCategories"
    <tr spry:repeat="ds_BestConvertingByCategory"
    spry:test="{ds_BestConvertingByCategory::productcat_id} ==
    {ds_ProductCategories::productcat_id}">
    </div>
    Remember that if you make a region depend on more than one
    data set, you need to switch to using fully qualified data
    references as the example above does (using the :: notation). If
    you don't do that the data references default to the first data set
    in the spry:region attribute.
    --== Kin ==--

  • Documentation for Menu widget... forget it!

    Why do we have no manual or documentation foe Adobe Muse?
    Just try and find documentation for the menu widget, first go on line because there is no help for Muse with the software. There is no menu widget listed. Guess "slideshows and widgets", expand more to see all the items - wow, I found it! Click on "Customizing the state of the Horizontal Menu widget". Perfect. Click on it. You go to "Building your first website with Muse" page. Great a tutorial, not documentation - oh well. Look for menu.
    It doesn't actually appear there - sorry! Find it yourself. Look its says they already showed it in part 2. Great, I love spending time just looking for help. Click on part 2.
    Read the whole page - a tutorial. No documentation for the submenus. Of course, it's a tutorial, not a manual.
    Go back to the help page, type Muse menu widget in the search box. Great a video tutorial. Watch it, then it refers to the next video where we will style the video.It's not listed on the page anywhere. You must have to buy the series.
    Screw the docs, try it yourself. Look - edit together is on, change the font, they all change but only in that sub menu. Change the menu item size, only that one changes. Oh so edit together only refers to each submenu and not all the changes. Wow, I should read the documentation - oh I forgot, THERE ISN'T ANY.
    Am I the only one who wishes we could get a reference doc for this app or is that to much to ask of Adobe? What good is saving time building websites with Muse when you have to be a detective and spend lots of time finding out how to use it. This is SO LAME. We need a manual. Not just "lets build a website tutorials".

    With the rapid growth of Muse a manual just wouldn't be practical. There are plenty of resources on the web; Adobe site, Lynda.com, lots of independant tutorials and probably the best resource (besides Lynda.com) is this forum right here. Google is everyone's friend ..... can find anything and faster than in any manual.
    But with the way technology software changes at such a high rate manuals would be out of date before they are printed. I doubt we will see manuals for any Adobe software. It's just not Adobe going this way.

  • Validation Select works on FF not on IE

    Hi guys!
    Made a few tweaks on the site today, and I just realized that
    my Validation Select Widget was not working on IE 7 (!). I'm
    completely puzzled. It works fine on Firefox, as always... could
    someone shed some light?
    Here's the page:
    http://www.cosmicollective.org/archive.html
    What am I missing?
    Thanks in advance.
    Tomas

    Hi Cristian,
    Thank you very much for your reply. I fixed the errors you
    pointed out, and I also realized I didn't quite understand what the
    problem was:
    I completely removed the Validation Select script, because,
    as you said, there are no forms on the site. The problem is that
    the changes on the selection form do not reflect the
    spry:detailregion that is supposed to display the selected item on
    the list. The problem should be within the drop-down list code,
    which has the "spry:setrow" function.
    Again, this problem is for IE only (and Safari, which does
    not load any data, but that's a different forum post). Firefox and
    Opera change the post accordingly.
    Note that on FF the page loads with both master and detail
    region set on the same row, but on IE the drop-down list displays
    the first item, and the detail region displays the last - they seem
    to be completely unrelated.
    Does this clarify the problem? Again, I appreciate a lot your
    help, and thank you in advance.
    Best regards,
    Tomas

  • What is the pin map for chip select on LM3S8962 for "ARM SPI Create Configuration Reference.vi" ? (0 through n)

    Hello All,
    When the LM3S8962 is the master, what pin is used when chip
    select is the default (0), or another value ?
    Despite this question being asked a few ways in the forums,
    NI's "ARM SPI Create Configuration Reference.vi" documentation
    for chip select is unclear.
    TI's manual is no help for NI's implementation of chip select.
    NI's help for the above subvi seems not only too generic (perhaps
    written for the SDK ?),  but erroneous in that it reads:
    "chip select specifies the chip select line to assert during the
    SPI transfer. The chip select line must connect to the EEPROM
    on the
    microcontroller. Refer to the documentation for the SPI
    device for information
    about chip select lines."
    This is useless as the ARM microcontroller has no EEPROM and 
    the SPI slave device documentation only covers its own pins.
    The hope is to have more than one slave on the LM3S8962's single SPI bus,
    without chewing up a additional pin using elemental I/O like the splendid forum
    examples for ADC's and DAC's.  This would save diagram real estate compared
    with two sequence frames that are typically shown toggling a elemental I/O digital
    output before and after writing and/or reading from the slave.   It also would clarify
    what on chip resource trade offs there are for each chip select number chosen.
    (as most pins have multiple possible functions)
    Thanks in advance for any light on this.   Please don't post info on other processors
    to this thread as this taints future searches on this issue with this tier 1 target.
    Best,
    Davy

    Hi Davy,
    While doing research on this question, I was informed that you have been working with a colleague of mine, Joel, via email for this same question. So that we do not have multiple engineers working on the same issue, Joel will be your point of contact for this issue. I ask that when you have come to a resolution, that you post that resolution here so that other customers can reference this information.
    Thanks!
    Aaron P
    National Instruments
    Applications Engineer
    http://www.ni.com/support

  • Event should trigger when enter is pressed on select option for validation

    Hi,
    I want to trigger a event when enter is pressed on a select option field for validation.
    I have created a select option through coding. I am not able to find out any method or class for that.
    please advice.

    Hi Sachin ,
         If you want ot use the methods in the class CL_WDR_SELECT_OPTIONS.
    You can find here:-
    [WDR_SELECT_IPTIONS|https://cw.sdn.sap.com/cw/docs/DOC-20864.pdf]
    Check these if can find ur required one.
    If you are using any ui element then you can use ON_ENTER event as a action as stated by Baskaran.
    Check also if these threads can help you:-
    [WebDynpro ABAP select options method SET_VALUE_OF_PARAMETER_FIELD;
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
    Thanks & Regards,
    Monishankar Chatterjee

  • This Certificate not valid for the selected purpose

    I have installed on my Windows 7 (64 bit Professional w/SP1)
    a Self-Signed CA (IDS_MstrCert)  that has been accepted by the system certificate "store".  via mmc & certmgr
    I generated this CA on my Redhat Linux 7 server using the openssl utilities. 
    It shows: This certificate is intended for the following purpose(s):
    All issuance policies
    All application policies
    It is enabled for ALL purposes (However I did not generate with ALL purpose set)
    Under Certification Path:
    Certificate Status: This Certificate is OK
    I have also installed a Client Certificate (winxclient) (also generated by my Redhat Linux 7 server)
    That has been "signed" by my CA (IDS_MstrCert)
    I added it successfully to the system certificate "store" via mmc & certmgr.
    However when I open the certificate I see the following message: This Certificate not valid for the selected purpose
    When I view the Certificate path I see the following:
    IDS_CA                          (friendly name for the CA)
        |-----> VPNIKEv2cli     (friendly name for the client certificate)   
        Certificate Status: This certificate is OK
    In the Intended Purposes field: ServerAuthentication, ClientAuthentication
    How do I resolve this problem ?   This Certificate not valid for the selected purpose
    When I attempt my vpn/ikev2 connection (using machine certificates) I get the 13806 error.
    Best Regards
    Guy Rich

    Hi,
    In my opinion, this is not Windows system problem. You need to make troubleshoot with the Certificate.
    I made a research with this error message, the link below might be helpful:
    http://support.persits.com/show.asp?code=PS030304105
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to get values from a table(in jsp) for validation using javascript.

    hi,
    this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
    thank you in advance.

    Yes i did try the same ..
    BEGIN
    select PROD_tYPE into :P185_OFF_CITY from
    magcrm_setup where atype = 'CITY' ;
    :p185_OFF_CITY := 'XXX';
    insert into mtest values ('inside foolter');
    END;
    When i checked the mtest table it shos me the row inserted...
    inside foolter .. Now this means everything did get execute properly
    But still the vallue of off_city is null or emtpy...
    i check the filed and still its empty..
    while mtest had those records..seems like some process is cleaining the values...but cant see such process...
    a bit confused..here..I tried on Load after footer...
    tried chaning the squence number of process ..but still it doesnt help
    some how the session variables gets changed...and it is changed to empty
    Edited by: pauljohny on Jan 3, 2012 2:01 AM
    Edited by: pauljohny on Jan 3, 2012 2:03 AM

  • Spry Validation Confirm Widget

    Ugh.  This is driving me nuts!
    I've used the Spry Validation Confirm Widget successfully before, but for some reason I can't spot, I get this error message every time I try to load the page: Spry.ValidationConfirm ERR: The element ConfirmPasswordWidget doesn't exists!
    The JS and CSS files are linked as follows in the head section.
    <!-- Link the Spry Validation Password JavaScript library -->
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Confirm JavaScript library -->
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    The code in the body looks like this:
          <form id="Passwordform" name="Passwordform" method="post" action="">
            <table>
              <tr>
                <td><label for="password1">Password:</label></td>
                <td><span id="ValidatePasswordWidget">
                  <input name="password1" type="password" id="password1" value="" size="20" maxlength="20"/>
                  <span class="passwordRequiredMsg">A value is required.</span>
                  <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
                  <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
                  <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
                  <span class="passwordCustomMsg">User defined condition not met.</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td><label for="confirmpassword">Re-enter password </label></td>
                <td><span id="ConfirmPasswordWidget">
                  <input type="password" id="confirmpassword" value="" size="20" maxlength="20" />
                  <span class="confirmRequiredMsg">A value is required.</span>
                  <span class="confirmInvalidMsg">The values do not match</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="submit" value="Submit" />
                </td>
              </tr>
            </table>
          </form>
    The scripts are declared as follows:
    <script type="text/javascript">
       var sprytextfield1      = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:7, maxChars:7});
       var password1           = new Spry.Widget.ValidationPassword("ValidatePasswordWidget", {validateOn:["blur"], minAlphaChars:3, minNumbers:1, maxSpecialChars:2, minChars:3, maxChars:8});     
       var ConfirmWidgetObject = new Spry.Widget.ValidationConfirm("ConfirmPasswordWidget", "password1", {validateOn: ['blur']});  </script>
    The actual code is shown below (it doesn't allow me to attach it).
    I know this is a lot to ask, but can anyone see the reason why I'm getting this error?  Looks to me like ConfirmPasswordWidget exists!?
    Thanks in advance.
    <?php require_once('Connections/Unit174Conn.php'); ?>
    <?php if (!isset($_SESSION)) { session_start(); } ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname_rsACBLNumber = "-1";
    if (isset($_POST['ACBL_Number'])) {
      $colname_rsACBLNumber = $_POST['ACBL_Number'];
    mysql_select_db($database_Unit174Conn, $Unit174Conn);
    $query_rsACBLNumber = sprintf("SELECT * FROM unit174members WHERE ACBLNumber = %s", GetSQLValueString($colname_rsACBLNumber, "text"));
    $rsACBLNumber = mysql_query($query_rsACBLNumber, $Unit174Conn) or die(mysql_error());
    $row_rsACBLNumber = mysql_fetch_assoc($rsACBLNumber);
    $totalRows_rsACBLNumber = mysql_num_rows($rsACBLNumber);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/Unit174_Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta name="verify-v1" content="PiJ9w6m8VEIvYazx7HJBGOw/d9FeOgKQ1+XlIli6oIE=" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Register</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta http-equiv="Keywords" content="Houston, Bridge, ACBL, Duplicate, Unit 174, District 16, Texas, Results, Community Center, cards, Bridge Club, scores" />
    <meta name="Keywords" content="Houston, Duplicate Bridge, Duplicate, Bridge Unit 174, District 16, ACBL, Tracy Gee, Pech Road, JCC, Ace of Clubs" />
    <link href="css/Unit174.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <link href="css/table_design.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Password JavaScript library -->
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
    <!-- Link the Spry Validation Confirm JavaScript library -->
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <!-- Link the CSS style sheet that styles the widget -->
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable --><!-- InstanceParam name="Page_ID" type="text" value="Register" --><!-- InstanceParam name="class" type="text" value="Unit174" -->
    </head>
    <body class="Unit174" id="Register">
    <div id="container">
      <div id="header"> <img src="Photos/Pat_Levy.jpg"       alt="Pat Levy"       title="Pat Levy"        width="80" height="100" class="framed_image" /> <img src="Photos/Paul Cuneo.jpg"     alt="Paul Cuneo"     title="Paul Cuneo"      width="80" height="100" class="framed_image" /> <img src="Photos/John_Erickson.jpg"  alt="John Erickson"  title="John Ericson"    width="80" height="100" class="framed_image" /> <img src="Photos/Sue_Adamson.png"    alt="Sue Adamson"    title="Sue Adamson"     width="80" height="100" class="framed_image" /> <img src="Photos/Bob_Dowlen_2.jpg"   alt="Bob Dowlen"     title="Bob Dowlen"      width="80" height="100" class="framed_image" /> <img src="Photos/Lauri_Laufman.jpg"  alt="Lauri Laufman"  title="Lauri Laufman"   width="80" height="100" class="framed_image" /> <img src="Photos/Karen_Nimmons.jpg"  alt="Karen Nimmons"  title="Karen Nimmons"   width="80" height="100" class="framed_image" /> <img src="Photos/Robert_Reichek.png" alt="Robert Reichek" title="Robert Reichek"  width="80" height="100" class="framed_image" /> <img src="Photos/Joyce_Ryan.jpg"     alt="Joyce Ryan"     title="Joyce Ryan"      width="80" height="100" class="framed_image" />
        <h1>The Board of Directors of Houston Unit 174 of the ACBL</h1>
        <h4>Welcomes you to</h4>
        <h1>Houston Duplicate Bridge</h1>
        <!--End header div-->
      </div>
      <div id="NavContainer">
        <ul id="NavList" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a></li>
          <li><a class="MenuBarItemSubmenu" href="#">Unit Pages</a>
            <ul>
              <li><a href="174calendar.htm">Unit 174 Calendar</a></li>
              <li><a href="board_of_directors.htm">Unit board of Directors</a></li>
              <li><a href="minutes.htm">Board Minutes</a></li>
              <li><a href="174finances.htm">Financial Reports</a></li>
              <li><a href="bylaws.htm" target="_blank">Bylaws</a></li>
              <li><a href="mailto:[email protected]">Sign up for Free E-mail Newsletter </a></li>
              <li><a href="http://www.unit174partnership.com/" target="_blank">Find a partner!</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Honors</a>
                <ul>
                  <li><a href="texas_star.htm">Texas Stars</a></li>
                  <li><a href="charity_committee.htm">Charity Committee</a></li>
                  <li><a href="goodwill_committee.htm">Goodwill Committee</a></li>
                </ul>
              </li>
              <li><a href="memberstats.htm">Membership Charts</a></li>
              <li><a href="Photo_Gallery/gallery.php">Photo Gallery</a></li>
              <li><a href="mapof_174.htm">Unit Map</a></li>
              <li><a href="map.htm">Map with Club Info</a></li>
              <li><a href="Past_Tournaments.htm">Past Tournament Results</a></li>
              <li><a href="club_special_events.htm">Club Special Events</a></li>
              <li><a href="swiss_teams.htm">Swiss Teams</a></li>
              <li><a href="Randall's cards.pdf">Randall's Cards</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Masterpoint Races</a>
            <ul>
              <li><a href="Ace_Of_Clubs.htm" target="_blank">Ace of Clubs</a></li>
              <li><a href="Mini-McKenney.htm" target="_blank">Mini-McKenney</a></li>
              <li><a href="unit_masterpoints.php">Unit masterpoint holdings</a></li>
              <li><a href="2008mpraces.htm">2008 All Races 100 deep</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Newer Player Resources</a>
            <ul>
              <li><a href="novice_games.htm">Intermediate/Novice Games</a></li>
              <li><a href="askateacher.htm">Ask a teacher</a></li>
              <li><a href="bridgelessons.htm">Bridge Lessons</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Mentor-Mentee Games</a>
                <ul>
                  <li><a href="http://www.bridgeclubofhouston.org/" target="_blank">Bridge Club of Houston</a></li>
                  <li><a href="http://www.houstonbridgestudio.com/Mentor_Novice.htm" target="_blank">Houston Bridge Studio</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Club Web Pages</a>
            <ul>
              <li><a href="#" class="MenuBarItemSubmenu">Houston</a>
                <ul>
                  <li><a href="Club_Web_Pages/Ace_of_Clubs.htm" target="_blank">Ace of Clubs</a></li>
                  <li><a href="Club_Web_Pages/Apple.html" target="_blank">Apple</a></li>
                  <li><a href="Club_Web_Pages/Apple_Too.html" target="_blank">Apple Too</a></li>
                  <li><a href="Club_Web_Pages/Forest_Club.html" target="_blank">Forest Club</a></li>
                  <li><a href="http://www.houstonbridgestudio.com/" target="_blank">Houston Bridge Studio</a></li>
                  <li><a href="Club_Web_Pages/Lakeside.html" target="_blank">Lakeside</a></li>
                  <li><a href="Club_Web_Pages/Racquet_Club.html" target="_blank">Racquet Club</a></li>
                  <li><a href="Club_Web_Pages/River_Oaks.html" target="_blank">River Oaks</a></li>
                  <li><a href="Club_Web_Pages/Southwest.html" target="_blank">Southwest</a></li>
                  <li><a href="Club_Web_Pages/Spring_Branch.html" target="_blank">Spring Branch</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Northside</a>
                <ul>
                  <li><a href="Club_Web_Pages/april_sound.htm" target="_blank">April Sound</a></li>
                  <li><a href="http://www.bridgeclubofhouston.org/" target="_blank">Bridge Club of Houston</a></li>
                  <li><a href="Club_Web_Pages/conroe.htm" target="_blank">Conroe</a></li>
                  <li><a href="Club_Web_Pages/Kingwood.html" target="_blank">Kingwood</a></li>
                  <li><a href="Club_Web_Pages/lakeconroe.htm" target="_blank">Lake Conroe</a></li>
                  <li><a href="Club_Web_Pages/livingston.htm" target="_blank">Livingston</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Southside</a>
                <ul>
                  <li><a href="http://www.acblunit174.org/clearlak/clearlake.htm" target="_blank">Clear Lake</a></li>
                  <li><a href="http://www.acblunit174.org/pasadena/pasadena.htm" target="_blank">Pasadena</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Lake Jackson</a>
                <ul>
                  <li><a href="Club_Web_Pages/bar-x.htm" target="_blank">Bar-X</a></li>
                  <li><a href="Club_Web_Pages/diamond_duplicate.htm" target="_blank">Diamond</a></li>
                  <li><a href="Club_Web_Pages/gulf_coast.htm" target="_blank">Gulf Coast</a></li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">Bryan/College Station</a>
                <ul>
                  <li><a href="Club_Web_Pages/aggieland.htm" target="_blank">Aggieland</a></li>
                  <li><a href="Club_Web_Pages/brazos.htm" target="_blank">Brazos</a></li>
                  <li><a href="Club_Web_Pages/briarcrest.htm" target="_blank">Briarcrest</a></li>
                  <li><a href="Club_Web_Pages/pebble_creek.htm" target="_blank">Pebble Creek</a></li>
                  <li><a href="Club_Web_Pages/star_duplicate.htm" target="_blank">Star</a></li>
                </ul>
              </li>
              <li><a href="#" target="_blank" class="MenuBarItemSubmenu">Sugar Land</a>
                <ul>
                  <li><a href="Club_Web_Pages/riverbender.htm" target="_blank">Riverbender</a></li>
                  <li><a href="Club_Web_Pages/sugarland_dbc.htm" target="_blank">Sugar Land</a></li>
                  <li><a href="Club_Web_Pages/Sugarland_Night.htm" target="_blank">Sugar Land Night</a></li>
                  <li><a href="Club_Web_Pages/valley_bend.htm" target="_blank">Valley Bend</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Scores</a>
            <ul>
              <li><a href="March.php">March</a></li>
              <li><a href="April.php">April</a></li>
              <li><a href="May.php">May</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">D16 &amp; ACBL Links</a>
            <ul>
              <li><a href="http://www.d16acbl.org/" target="_blank">District 16 Home Page</a></li>
              <li><a href="http://www.d16acbl.org/D16_Map.html" target="_blank">Map of District 16</a></li>
              <li><a href="http://www.d16acbl.org/D16_Results.html" target="_blank">District Tournament Results</a></li>
              <li><a href="http://www.d16acbl.org/D16_Calendar.html" target="_blank">District Calendar</a></li>
              <li><a href="http://www.d16acbl.org/D16_Scorecard.html" target="_blank">Scorecard</a></li>
              <li><a href="http://www.d16acbl.org/Honors/Jacoby/D16_Jacoby.html" target="_blank">Jacoby Awards</a></li>
              <li><a href="http://www.d16acbl.org/Honors/Texas_Star/D16_TexasStar.html" target="_blank">Texas Star Awards</a></li>
              <li><a href="http://www.acbl.org/" target="_blank">ACBL Home Page</a></li>
              <li><a href="http://web.acbl.org/CustomerLogin/login.do;jsessionid=0000zJMgbgs3BAR2ArmUm4Wn6Si:-1" target="_blank">Check your Masterpoints</a></li>
              <li><a href="http://web3.acbl.org/internet/AddressChangeApp.nsf/changeofaddress?OpenForm" target="_blank">Change info with ACBL</a></li>
              <li><a href="http://www.acbl.org/play/toolsSupplies.html" target="_blank">Make your own convention card</a></li>
              <li><a href="http://www.acbl.org/play/recent-results.php" target="_blank">Results of past NABCs</a></li>
              <li><a href="http://www.acbl.org/assets/documents/play/Laws-of-Duplicate-Bridge.pdf" target="_blank">Laws of Duplicate Bridge</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Find a club</a>
                <ul>
                  <li><a href="http://web2.acbl.org/As400/clubs/allClubs/uclub-TX.htm" target="_blank">Texas</a></li>
                  <li><a href="http://www.acbl.org/play/findClub.html" target="_blank">ACBL</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Non Bridge Links</a>
            <ul>
              <li><a href="http://www.aarpmagazine.org/games/" target="_blank">AARP Games</a></li>
              <li><a href="http://www.amazon.com/" target="_blank">Amazon.com</a></li>
              <li><a href="http://www.consumerworld.org/" target="_blank">Consumer World</a></li>
              <li><a href="http://www.onelook.com/" target="_blank">Dictionary</a></li>
              <li><a href="http://www.chron.com/" target="_blank">Houston Chronicle</a></li>
              <li><a href="http://www.google.com/" target="_blank">Google</a></li>
              <li><a href="http://maps.google.com/" target="_blank">Google Maps</a></li>
              <li><a href="http://www.b4-u-eat.com/" target="_blank">Houston Restaurant Guide</a></li>
              <li><a href="http://us.imdb.com/" target="_blank">Internet Movie Database</a></li>
              <li><a href="http://www.uclick.com/client/mma/uj/" target="_blank">Jigsaw Puzzle</a></li>
              <li><a href="http://patandlew.com/Movie%20Ratings.htm" target="_blank">Lew's Movie Reviews</a></li>
              <li><a href="http://medlineplus.gov/" target="_blank">Medical Information</a></li>
              <li><a href="http://www.netflix.com/" target="_blank">NetFlix</a></li>
              <li><a href="http://www.npr.org/" target="_blank">NPR</a></li>
              <li><a href="http://www.privateeye.com/?piid=06&" target="_blank">Public Info (Age, family)</a></li>
              <li><a href="http://www.yahoo.com/" target="_blank">Yahoo</a></li>
            </ul>
          </li>
        </ul>
        <!--End NavContainer div-->
      </div>
      <!-- InstanceBeginEditable name="Main_Content" -->
      <div id="container">
        <div id="mainContent">
          <h1>Register on the Unit 174 Web site</h1>
          <p>To begin the registration process, please fill in your ACBL number and click <strong>Submit</strong>.</p>
          <form action="<?php echo $editFormAction; ?>" method="post" name="registration_form" id="registration_form">
            <table>
              <tr>
                <td><label for="ACBL_Number">ACBL Number</label></td>
                <td><span id="sprytextfield1">
                  <input name="ACBL_Number" type="text" id="ACBL_Number" size="20" maxlength="20" />
                  <span class="textfieldRequiredMsg">A value is required.</span>
                  <span class="textfieldMinCharsMsg">Minimum number of characters not met.</span>
                  <span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span>
                  </span>
                </td>
                <td><input type="submit" name="submit" id="submit" value="Submit" /></td>
              </tr>
            </table>
          </form>
          <?php
             if ( isset($_POST['ACBL_Number'])) {
               if ($totalRows_rsACBLNumber > 0)  { 
              echo "<p>Great - your ACBL number was found.  Now enter a password, and confirm it. </p>";
              ?>
          <form id="Passwordform" name="Passwordform" method="post" action="">
            <table>
              <tr>
                <td><label for="password1">Password:</label></td>
                <td><span id="ValidatePasswordWidget">
                  <input name="password1" type="password" id="password1" value="" size="20" maxlength="20"/>
                  <span class="passwordRequiredMsg">A value is required.</span>
                  <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
                  <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
                  <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
                  <span class="passwordCustomMsg">User defined condition not met.</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td><label for="confirmpassword">Re-enter password </label></td>
                <td><span id="ConfirmPasswordWidget">
                  <input type="password" id="confirmpassword" value="" size="20" maxlength="20" />
                  <span class="confirmRequiredMsg">A value is required.</span>
                  <span class="confirmInvalidMsg">The values do not match</span>
                  </span>
                </td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="submit" value="Submit" />
                </td>
              </tr>
            </table>
          </form>
          <?php  } else {
                 echo "<p>I'm sorry, but that ACBL number was not found in the database.</p>" ;
                 echo "<p>If you are a member of Unit 174, and haven't joined in the past month, </P>";
                     echo "<p>contact the Unit webmaster at the e-mail link shown below.</p>" ;
             ?>
        </div>
      </div>
    <script type="text/javascript">
        var sprytextfield1      = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:7, maxChars:7});
            var password1           = new Spry.Widget.ValidationPassword("ValidatePasswordWidget", {validateOn:["blur"], minAlphaChars:3, minNumbers:1, maxSpecialChars:2, minChars:3, maxChars:8});
            var ConfirmWidgetObject = new Spry.Widget.ValidationConfirm("ConfirmPasswordWidget", "password1", {validateOn: ['blur']});
      </script>
      <!-- InstanceEndEditable -->
      <div id="footer"> <img src="images/ACBL Logo.gif" alt="ACBL Logo" width="58" height="55"class="left_image" /> <img src="images/Houston Logo-Small.png" alt="Unit 174 Logo" width="55" height="55" class="right_image"/>
        <h1>These pages &copy;ACBL Unit 174, All rights reserved.</h1>
        <p>This site maintained by the <a href="mailto:[email protected]">Unit 174 Webmaster</a>.</p>
        <p><a href="http://www.ACBLUnit174.org">www.ACBLUnit174.org</a></p>
        <!--End footer div-->
      </div>
      <!--End container div-->
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("NavList", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd -->
    </html>
    <?php
    mysql_free_result($rsACBLNumber);
    ?>

    Folks -
    I have narrowed down the cause.
    This error appears if the form to which the confirm validation is applied is inside an if condition that is not met, causing the form not to appear in the html source.  It doesn't seem to affect the password validation similarly, just the confirm validation.
    Doesn't this have to be bug?  I'm not fluent in Javascript, so I'd sure appreciate someone telling my how to work around this.
    This is the structure that causes the error to be generated, but only when condition is FALSE.  If condition is TRUE, no error is generated.
    <?php if (condition) { ?>
      form with confirm validation
    <?php }; ?>
    Help anyone?

  • Spry Validation Selection - Required with Default Initial Selection

    Hello,
    I am using a Spry Validation Selection drop down.  I want the user to choose 1, 2, 3, or 4.  I would also like the drop down to initially say "Choose One"  I would like to force the user to have to choose 1, 2, 3 or 4.  Is this possible simply through Dreamweaver's edits? 
    Thanks,
    Melanie

    Yes, have a look at the following
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationSelect.js"></script>
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet">
    </head>
    <body>
    <form action="" method="post">
      <span id="spryselect1">
      <label for="select1"></label>
      <select name="select1" id="select1">
          <option value="">Please choose one....</option>
          <option value="1">1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
      </select>
      <span class="selectRequiredMsg">Please select an item.</span></span>
      <input name="" type="submit">
    </form>
    <script>
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["blur", "change"]});
    </script>
    </body>
    </html>
    Gramps

  • Spry Validation Select problem. It's not "sticking"

    Used Spry validation a few times, no big deal. Insert the widget, tweak, upload, done.
    I'm trying to validate one single drop down menu. I go to Insert, Spry Validation Select, I get the little blue "tab" thing attached to the drop down, and we're all good.
    I close the doc, open it back up and it's no longer there. You can click on the drop down menu, and no blue tab comes up for the spry.
    This doc is on a template, in an un-editable area.
    It seems to write the code to the page, you can find it if you look, but it's just not working.
    I know this is a long shot, but has anyone had this issue with Spry?
    I've been screwing around with this one doc for days trying to figure it out. I even went as far as pulling a backup copy that had never been "spry'd" before and starting over.
    Same result.
    A page that should have the spry working is:
    http://wolfe-florist-waco.com/online-flowers/ED-101.html
    Thanks.

    Suggest you start by cleaning up the code and validating the page
    http://validator.w3.org/check?uri=http%3A%2F%2Fwolfe-florist-waco.com%2Fonline-flowers%2FE D-101.html&charset=%28detect+automatically%29&doctype=Inline&group=0
    The link you posted is a page within a page (multiple Doctypes etc).
    Are you using Server Side Includes to pull code into the page? If so, the Include cannot be a self-contained page. It must be a code fragment only so that when it's pulled into the page, the resultant code forms a complete, valid web page.

  • Hi all ,i need a good documentation for a beginner in WORK FLOW ?

    hi all ,
    i need a good documentation for a beginner in WORK FLOW ?
    please,try to send the attached documents as much as u can apart from giving the weblinks ?
    hope you will send it soon ....
    thanks & regards
    vishnuvardhan k.v.

    Hi
    Developing a simple application using steps "User Decision" and "Mail"
    Basic terminology used in the workflow:
    The workflow definition is the set of rules that determine the path that the process takes. For example, how a purchase requisition is processed, from the initial request to the creation of the purchase order
    A Workflow Instance, which is often simply referred to as the workflow, is a single workflow run. For example, the processing of a single purchase requisition for computers.
    The Tasks are the steps in the process, which have to be performed either by people or automatically by the software. For example, to check for the availability of the spare computers in the company.
    A Work item is the task instance that is performed as a single workflow step. For example, check that there are no spare computers available in the company.
    Agents are the people who process the tasks (via the work items). For example, requisitioner and a member of the purchasing department.
    Container is the place where all the data used in the workflow is collected.
    Binding is the set of rules that define which data is passed to which part of the process.
    Building a simple workflow application
    The central tool for creating, displaying and processing a workflow is the workflow builder (Transaction SWDD). Within the workflow builder you can create all components of a workflow, including all the containers you need for getting the data from one step to another.
    Generally, most of the workflows are started by an event (for example, when a material is created or when a new purchase requisition arrives). You define which data from this event needs to be passed to the workflow via binding.
    However you can also start any workflow directly. Let us create a simple workflow and start the workflow directly, using the testing tools.
    Call transaction SWDD. When the workflow builder is called for the first time, a newly created initial workflow definition appears or else last created workflow appears. In such cases you can opt to create a new workflow by pressing “Create New Workflow”(ctrl + shft + F5). The following screen appears.
    The initial workflow screen has the following parts:
    a. The start of the workflow definition, indicated by .
    b. The end of the workflow definition, indicated by .
    c. The area in which you insert the new workflow definition is indicated by .
    Now select the undefined step and select Create step or double click the undefined step. Now among the different steps chose the User Decision by double clicking on it.
    Developing a simple application using steps "User Decision" and "Mail"
    Previous
    Now enter the title for the user decision “ Please make a decision”. Also enter the decision texts as Approve and Reject. On pressing enter, the outcome values default to the Decision texts but you can specify your own names, if desired. Now we need to select the agent. Agent is the person to whom the work item needs to be sent.. Since this is just a beginning, we would hardcode the user name. Select the User from the drop down list and enter the user name to whom the work item needs to be sent. In general, this type of agent assignment is not done. Agents are generally assigned using the expression, agent assignment rule or organization object (job, position etc.).
    Now select Transfer and to graphic button. Following screen appears:
    Now we need to include a mail step to be sent to the requestor. Now select the line “Approve” and do a right click. Different options on shown on the context menu. Select Create.
    Now select the step “Send Mail” from the list.
    Developing a simple application using steps "User Decision" and "Mail"
    ...Previous
    Now enter the subject and the body of the message for the mail to be sent.
    Do not change the recipients. Our mail is intended for the persons who triggered this workflow. &_WF_INITIATOR& contains the value who executed the workflow. Since this is a test object, we are using &_WF_INITIATOR&. But we wouldn’t be using this variable in real time scenarios. We would discuss about this in the coming documents.
    Now select Transfer and to graphic button.
    A popup appears requesting for the abbreviation and the name for this task. Enter the same and press enter.
    Now enter the package as local object and press enter.
    Follow the steps 5 through 9 for the step “Reject”. The following screen appears:
    Press SAVE to save the workflow application. You need to enter an abbreviation and name for your workflow as shown below. You can change any of these at any later point. After saving, a number is assigned to your workflow starting with WS, as shown below.
    Developing a simple application using steps "User Decision" and "Mail"
    ...Previous
    To execute the workflow, activate it by choosing the activate button.
    Test the workflow by choosing Test. The following screen appears.
    Now choose Execute to start the workflow.
    Now the recipient would receive a work item in his SAP® inbox (Transaction SBWP).
    Now execute the work item by pressing “Execute”. The following screen appears:
    Choose one among Approve or Reject as part of the user decision. He can select the third option to retain the work item in his inbox and make the decision later. Now suppose that the recipient has chosen one of the first options. Now a mail would be sent to the requestor with the status of his request.
    Creating a Container element
    This document details about creation of a container element in workflow and using it in the step "Mail".
    Pre-requisites:
    It is assumed that the reader of this Tutorial is aware of creating a workflow definition with the step “Mail”. If not, please go through the document on creating the same available, by clicking here.
    Steps:
    1. Create a workflow definition using the transaction SWDD.
    2. Let’s create a container element for Carrier id. Click on the “Workflow Container” on the left side of the screen (as shown in the screenshot below):
    3. Now double-click on “Double-Click to Create”
    4. Enter the details pertaining to CARRID here.
    5. Click on tab “Properties” and select “Import”.
    6. Click on “Confirm (Enter)”.
    7. Now the element created could be seen on the left side, below the “Workflow Container”.
    Creating a Container element
    Previous
    1. Create a “Mail” step by double-clicking on “Undefined” step in the workflow.
    2. Enter the recipient details in the “Recipients” box.
    3. In the subject line, enter “Carrid value entered is:” and click on “Insert Expression”.
    4. Select the element “Carrid” from the list.
    5. Similarly enter the content in the “Body” area.
    6. Save and activate the application.
    Testing the Workflow application:
    7. Test the workflow by clicking F8.
    8. Enter the value of the Carrid as shown above and press execute.
    9. A mail would be sent to the recipient mentioned earlier with the carrid value entered.
    Condition Step
    Agenda:
    This document details about the steps “Condition”.
    Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)
    Procedure:
    1. Create a new workflow definition.
    2. Create a container element, CARRID (as demonstrated in tutorial 2).
    3. Now click on undefined step and create the step “Condition”.
    4. Enter the step name of your choice.
    5. We would have the following condition here:
    If carrid = ‘AA’.
    Do this.
    Else.
    Do this.
    Click on “Click here to create a new condition”. Following screen appears.
    Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER.
    Enter the outcome names of your choice as shown above.
    Click on “Transfer and go to graphic”.
    As shown above, there are two branches here. One navigates to true, if CARRID = ‘AA’ else the control takes the branch “False”.
    Test the above scenario by inserting mail steps in the above 2 branches and by passing different CARRID values.
    Condition Step
    Agenda:
    This document details about the steps “Multiple Condition”.
    Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)
    Procedure:
    1. Create a new workflow definition.
    2. Create a container element, CARRID (as demonstrated in tutorial 2).
    3. Now click on undefined step and create the step “Multiple Condition”.
    4. Enter the step name of your choice.
    5. We would have the following condition here:
    If carrid = ‘AA’.
    Do this.
    Elseif carrid = ‘AH’
    DO this.
    Elseif carrid = ‘SQ’
    Do this.
    Else.
    Do this.
    Select the “CARRID” using the F4 help for the comparison basis field.
    Enter the values of the carrid under the Comparison values with the corresponding outcome name (of your choice)
    Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER.
    Click on “Transfer and go to graphic”.
    As observed above, there are different branches for each value of CARRID mentioned above.
    Test the above scenario by inserting mail steps in all the branches and by passing different CARRID values.
    Using "Container Operation" step
    Agenda: Usage of step “Container Operation”.
    Pre-requisites: It is assumed that the reader of this tutorial has worked in the concepts that are dealt in earlier tutorials. (click here for more details)
    Scenario: In this tutorial, we would deal about how to work with the step “Container Operation” with an example of calculating the available seats by subtracting occupied seats from the maximum seats at the workflow level.
    Procedure:
    1. Create a new workflow definition using the transaction SWDD.
    2. Create two container elements MaxSeats, Occ_Seats with the “import” property set. You can use the reference fields sflight-seatsmax, sflight-seatsocc for this.
    3. Create another container element AvailableSeats without setting either import or export property as this is calculated within the workflow and used within the workflow. You might use any of the above reference fields as data types.
    4. Define a new step “Container Operation” in the workflow definition by double-clicking on the “Undefined step”.
    5. In this step, we would calculate the available seats from the max seats and seats occupied.
    I would recommend entering all the container elements from the F4 help instead of typing them manually.
    6. Return to the main screen.
    7. Create a mail step after this to send the available seats information.
    8. Test the above functionality by passing some values to the maximum and the seats occupied.
    9. Result would be as follows:
    Triggering Events Programmatically
    Purpose: This document details the procedure in triggering the business object events programmatically.
    Pre-requisites: It is assumed that the reader of this document is aware of the business object concepts and good in ABAP.
    Procedure:
    In this document, we would take an example of the business object BUS1001006 (Material) and the event CREATED. In general, this event is triggered whenever a material is created using a standard procedure like MM01 or any others. Now we would trigger this event from our own programs.
    Following are the screenshots of the business object BUS1001006 and the event CREATED. Go to transaction SWO1 for more information of the business object.
    Double-clicking on the key field parameter gives you technical information of the field.
    In order to trigger an event programmatically, we would use the function module SWE_EVENT_CREATE.
    Following is the sample code to trigger the events programmatically:
    REPORT ZDEMO_TRIGGER_EVENT.
    DATA: KEY LIKE SWEINSTCOU-OBJKEY.
    KEY = '1163'. “ Material Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    objtype = 'BUS1001006'
    objkey = KEY
    event = 'CREATED'
    CREATOR = ' '
    TAKE_WORKITEM_REQUESTER = ' '
    START_WITH_DELAY = ' '
    START_RECFB_SYNCHRON = ' '
    NO_COMMIT_FOR_QUEUE = ' '
    DEBUG_FLAG = ' '
    NO_LOGGING = ' '
    IDENT =
    IMPORTING
    EVENT_ID =
    TABLES
    EVENT_CONTAINER =
    EXCEPTIONS
    OBJTYPE_NOT_FOUND = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    WRITE 'Event Triggered'.
    ENDIF.
    COMMIT WORK.
    In order to test whether the event is getting triggered or not, we can make use of Event Trace. Switch on the event trace using the transaction SWELS.
    Press ‘Switch On”.
    Now execute the program developed earlier. Now switch-off the event trace using the same transaction SWELS.
    Now go to transaction SWEL. Here you can list out the events triggered in the particular period of time. Here is the event-trace list:
    Deadline Monitoring in SAP Workflow
    A major advantage of workflow is the ability to monitor the workflow steps according to a predefined schedule. Following are different deadlines that can be monitored against each workflow step:
    • Requested Start
    • Latest Start
    • Requested End
    • Latest End
    In this example, we will define a deadline to the User Decision example created earlier (click here). Following is the screenshot of the application developed using the User Decision example:
    We would extend this example to the deadline monitoring.
    In the User Decision step, click on the “latest end” tab.
    By default, No deadline monitoring is active (as seen in the above screenshot).
    Choose the “Work Item Creation” from the list box.
    After selecting “Work Item Creation”, chose an offset of 5 minutes. This means that the work item must be executed within 5 minutes of the creation, if not this would trigger.
    Deadline Monitoring in SAP Workflow
    Enter recipient details to whom the message to be escalated, if the work item is not executed with in 5 minutes after work item creation.
    Save and activate the workflow definition.
    Testing the workflow application:
    • Execute your workflow.
    • Check for the work item in the SAP Inbox. This time do NOT execute the work item.
    • Wait for the deadline to be triggered. After that, a deadline message is delivered to the recipient mentioned in the “Latest End” tab. See the screenshot below.
    Don’t worry if the deadline message doesn’t appear immediately after 5 minutes. This depends on various factors including how the deadline monitoring program is scheduled and also on the availability of the background processors.
    Use SWWA to check how the deadline monitoring program is scheduled in program.
    For example, assume that our work item has been created at 09:10 hrs and the deadline message is expected to trigger at 09:15 hrs. From the above screenshot, it is understood that the background program is scheduled to execute for every 3 minutes. Assume that the last run of the program is at 09:14hrs and the next run is expected at 09:17hrs. So even our deadline expires at 09:15, the deadline message would appear only at 09:17hrs after execution of the background program.
    Some more points
    In our above example, we have used the deadline on the “Work Item” creation time. i.e., 5 minutes after creation time, the deadline message would be sent. Now we would check the other option “Expression”. Here we can mention the date and time, when the deadline message should appear irrespective of the work item creation date/time.
    As seen in the above screenshot, we can provide the target date and time by which the task should be finished. Container elements could be used in this case. Please refer to our example on creation of container elements (click here).
    Personal Substitute in Workflow
    Requirement: Need to have at least one substitute who can act upon work items in your absence.
    Important: The appointed substitute would be able to see all your work items. A substitute cannot be assigned for only particular area of organization or any other item. So need to ensure that the substitute have the necessary authorizations to act upon the work items.
    Procedure:
    1. Go to SAP Business Work Place (TCode: SBWP)
    2. Now from the menu bar, select Settings à Workflow settings à Maintain Substitute
    3. Highlight/Select the name on the window, in this case SAPDEV02 and click on “Create Substitute”.
    4. List of users available in the system are displayed.
    5. Select the required substitute user name. Following screen appears.
    Validity field describes about the period in which the setting would be active. Note that the dates on the screen would range from the current date to 31st Dec 9999.
    Regarding the checkbox “Substitution active”, it is advised to leave this checkbox unchecked for system performance reasons. A check in this box indicates that the substitution is “permanent” and if left unchecked it is treated as “as-needed”. A permanent substitute will automatically receive the primary users work items in their own box. In the case of “as-needed”, substitute must manually adopt the work items from the primary user’s inbox.
    6. Save the entries
    7. Click Enter to leave the screen.
    Adopting a Substitute in Workflow
    If you have been designated as an “as-needed” substitute, you must manually adopt the substitution. If you are designated as a “permanent” substitute, the work items would automatically appear in the inbox.
    Before adopting a substitution, there are 19 work items in the inbox. See the screenshot below:
    To adopt a substitution, select Settings à Workflow settings à adopt substitution.
    Select the corresponding User-id (if you have been assigned as a substitute for multiple people, then this option would allow you to select the user name of whom you would to check the work items)
    The corresponding user’s work items would appear in our inbox now.
    You can end the substitution, by selecting settings à Workflow settings à End substitution.
    Note: Substitutes can only adopt work items that are directly routed to the person for whom they are a substitute. If you are a substitute for a user (SAPDEV02) who has been made a substitute for another user (SAPDEV01), you will only see work items for user SAPDEV02 and not of the user SAPDEV01.
    Notification of Work Items via e-Mail
    SAP provides us with a facility of notifying the user via the email address of your choice when there are any pending work items in the SAP Inbox..
    1. Go to Transaction SO13.
    2. Click on Automatic Forwarding tab.
    3. Click on Create icon .
    4. Enter the details in the above screen.
    5. Click ENTER to complete the entries.
    6. Now the notification would be received at the provided email address if there are any pending work items in the inbox.
    Filtering the Work Items in the SAP Inbox using BADI
    This document details about the procedure in filtering some of the work items from the SAP inbox using a BADi.
    Following is the screenshot of the SAP inbox, before implementing BADi:
    The BADi that is used in filtering the work items is WF_BWP_SELECT_FILTER. To implement the BADi, go to transaction SE18. From the menu, select Implementation à Create. (See the screenshot below)
    Enter the implementation name and press ENTER
    Enter any meaningful short text for the implementation and click on the tab “Interface”
    The implementing class, ZCL_IM_BWP_SELECT_FILTER, is automatically proposed. Double click on the implementing class name.
    You are now navigated to the class builder. Now double-click on the method name shown on the screen (see the snapshot below)
    Now let us filter out the work items belonging to the task TS2000066. See the code below:
    Activate the method and also the implementation. In the state of active, you wouldn’t be able to make any changes. To make any changes, we need to deactivate it and then make the changes.
    Now check the inbox and would notice that the work items related to that task are no more appearing.
    To notice the differences, try activating and deactivating the BADi implementation.
    Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    debug a workflow.
    This has a step by step procedure :
    http://fuller.mit.edu/workflow/debugging.pdf
    www.erpgenie.com/sap/workflow/debugging.htm
    http://www.erpgenie.com/workflow/debugging.htm?2b5de440

  • Error level documentation for 36xx errros

    Hi,
    Can anyone point me at the documentation for the Error messages for these errors for Sybase 15.x
    3606, 3607, 3619, 3620, 3622
    Looking in ...
    Exception Handling Errors (3600s)
    but they seems to be missing.
    I can see them in the 12.x manual but I think the severities have changed.
    Just wanting to confirm.

    Thanks - is any of this docmented anywhere that a developer can read it ?
    Since its changed since V12 it might be useful to update the manual.
    Its also a little confusing and inconsistent in that sysmessages shows the errors as severity 10.
           select severity from master..sysmessages where error = 3607
    but the errors are shown as
           Msg 3607, Level 16, State 0
           Server 'S1', Line 1
           Divide by zero occurred.

  • How To... Change the Data Type for a SELECT-OPTIONS at run time.

    Hello,
    I am trying to restrict the values available for entry into a SELECT-OPTIONS at run time depending on user input.
    The logic is as follows. The user has two input fields. A PARAMETER field which has the type RSDIOBJNM and allows them to choose an InfoObject. And the user has a SELECT-OPTIONS field to allow them to select the Characteristic values for that InfoObject.
    I would like the following example to be possible:
    The user enters 0MATERIAL into the PARAMETER. When the user clicks on the SELECT-OPTIONS control code will derive a list of possible options the user can enter in the SELECT-OPTIONS. In this case only values found in the master data or at least no values greater than 18 characters.
    I have looked at the following function module SELECT_OPTIONS_RESTRICT and this do not appear to be helpful as they only restrict on the signs allowed for the values (unless I misunderstand, it is a complex function module!).
    The code I have so far is (thus the user enters a InfoObject into p_char1 and the select options so_char1 should only accept active values of that InfoObject):
    declaration of variables for user interface
      DATA c_char(32) TYPE c.
    declaration of count variable
      DATA i_count TYPE i.
    declaration of user interface
      SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
        PARAMETERS: p_ipack TYPE RSLOGDPID.
      SELECTION-SCREEN END OF BLOCK a1.
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
        PARAMETERS: p_char1 TYPE RSDIOBJNM.
        SELECT-OPTIONS: so_char1  for c_char NO INTERVALS.
        PARAMETERS: p_char2 TYPE RSDIOBJNM.
        SELECT-OPTIONS: so_char2  for c_char NO INTERVALS.
        PARAMETERS: p_char3 TYPE RSDIOBJNM.
        SELECT-OPTIONS: so_char3  for c_char NO INTERVALS.
      SELECTION-SCREEN END OF BLOCK b1.
    Is what I am trying to do possible???
    Thanks for any help. Ross.

    You really want to restrict possible values of a select-option based on another field, not change the length of type of the select-option field, right?
    Here is what you do:  Code a custom F4 value help for the select-option at event AT SELECTION-SCREEN ON VALUE REQUEST FOR..  The first thing you do here is read the value of the parameter field (p_ipack in your example).  You can use function module DYNP_VALUES_READ.  Based on this value, you can propose values for the select-option fields.  Note that the use can still enter whatever s(he) wishes in to the select-option field without pressing F4. In this case, you will have to code some input validations taking into account the value in the p_ipack field.

Maybe you are looking for

  • Blank areas in Word document PDF's

    We create a document in MS Word 2010.  Looks fine, prints fine.  Use the print to Adobe option in Word.  That seems to go fine.  Document pulled up in Acrobat XI, looks fine.  Print from Acrobat, we get blank areas in various areas across all pages. 

  • How to change BI Content InfoObject (move Lowercase letter mark) and transp

    Hello, 1. Do you know how to change the business content infoObject by moving the mark "lowercase letter" for the characteristic (no master data) so that i can transport it in PROD. When i tried to change it, the message i recieve is, that i have to

  • Error Deploying Pet Store in Hewlett Packard's Application Server

    I tried deploying the Pet Store (the first version) in HPAS, but I got these deployment Error which I do not understand Note: "Jeffi Atmadja" is the name of the computer that I used. after the messange "Making Server JARS.." java.rmi.RemoteException:

  • BUG - Create Offline View, negative values are mangled

    Studio Edition Version 10.1.3.0.4.3673 Platform: OS/X Create an offline view with SQL declaration SELECT (-1 * 5) FROM dual Test Syntax result is "No errors found in SQL" Click Next, and view has been rewritten as SELECT 1 - * 5 FROM dual This behavi

  • Stolen laptop - Same old iPhone

    Hi Guys, I had my laptop stolen - How would I go about getting my info from my phone to the new laptop?  I obviously don't want to lose any pictures/music, most importantly it's the SMS I want to save (and export...) How would I go about doing this?