TextArea as2.0 style

hello every one
is there any way to style the background of TEXTAREA component in 2 colors
like each line will have different color of background like forums or similar
TEXTAREA >> {
LINE1 : BLACK COLOR BACKGROUND
LINE2: WHITE COLOUR BACKGROUND
LINE3 : BLACK COLOR BACKGROUND
LINE4: WHITE COLOUR BACKGROUND
IS THAT POSSIBLE ?

sure - you need to use the access operator here, as in:
this['myMovieClip'+(i+1)+'_mc'].

Similar Messages

  • Textarea which take style and formatting?

    hi,
    I am working on java and jsp.
    I am making One Report in which I have to show some predefine instructions given by the client.Currently I am showing this instructions in normal textarea hence the formatting and style of text is not there.
    So I want to know is any other control through which I can show text with formatting and style like in vb we have richtextbox..... and if so then how?
    thanks in advance..........
    regards,
    hitWin

    No. This has nothing to do with JSP and everything to do with HTML. HTML does not provide for a "control" for that. Only the plain textarea or text input field. JSP doesn't change what the browser is capable of. However, if IE supports some VB control or something in the browser, you could probably use that (it still has nothing to do with JSP). But that would likely only work on IE.
    The only other solution is to make the form an applet, then you would have the full Java GUI capabilities, but this isn't very simple.

  • AS3 TextArea Style

    I'm having an issue trying to change the font/font size/font
    color in my textarea component using AS3 in Flash CS3.
    For AS2 to style a comboBox for example it was as easy as:
    yourComboBox.rollOverColor = 0xe8e8e8;
    yourComboBox.textRollOverColor = 0x333333;
    yourComboBox.selectionColor = 0xe8e8e8;
    yourComboBox.textSelectedColor = 0x333333;
    But for AS3 I'm kinda lost.. Any help would be greatly
    appreciated. Attached is a copy of some code I'm working on.
    import fl.controls.*;
    var info_txt:TextArea = dyna_mc.info_txt;
    var date_txt:TextArea = date_mc.date_txt;
    var record_xml:XML;
    var xmlReq:URLRequest = new URLRequest ("file.xml");
    var xmlLoader:URLLoader = new URLLoader ();
    function xmlLoaded(event:Event):void
    record_xml = new XML(xmlLoader.data);
    date_txt.text = record_xml..Date[2];
    info_txt.text = record_xml..Aries[2];
    xmlLoader.load(xmlReq);
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
    Thanks
    Tim

    StyleManager.setStyle("embedFonts", true);
    StyleManager.setStyle("textFormat", new TextFormat(new
    iFont().fontName, 28, 0x000000));
    That will set the global style for all components used. If
    you want to set them separately, replace "StyleManager" with the
    instance name of the object.
    For this example to work, you'll need a font in your library
    that is set to export with Class name "iFont".

  • Flex Mobile textArea styling the text?

    I've read in several documents about TLF not supported in Flex Mobile. I then read about text fields vs textArea and css Style sheets.
    I'm trying to keep this really simple 1. cause I'm learning 2. So I can build on best practices 3. I'm still learning....
    Example:
    Main
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
      creationComplete="creationCompleteHandler(event)">
    <fx:Script>
      <![CDATA[
       import mx.events.FlexEvent;
       [Bindable]
       private var xmlInfo:XML;
       import mx.rpc.events.ResultEvent;
       protected function info_resultHandler(event:ResultEvent):void
        xmlInfo = new XML(event.result.text);← I want to say this is where I need to tell Flex how to interprit the incoming text format.
       protected function creationCompleteHandler(event:FlexEvent):void
        infoXML.send();
      ]]>
    </fx:Script>
      <fx:Declarations>
       <s:HTTPService id="infoXML" url="assets/data.xml"
             resultFormat="e4x"
             result="info_resultHandler(event)"/>
    </fx:Declarations>
      <s:TextArea id="spInfo" text="{xmlInfo}" width="100%"/>
    </s:View>
    data.xml
    <?xml version="1.0" encoding="utf-8"?>
    <info>
    <text><![CDATA[<b>Bold</b>Not bold<font face="Arial">Arial text</font>Not Arial
    ]]>
    </text>
    </info>
    Mobile app output
    <b>Bold</b>Not bold<font face="Arial">Arial text</font>Not Arial
    Thank you in advance.

    > How do you mean with the borders Murray? I've never had
    any trouble that
    > I'm
    > aware of? Isn't it fairly common for textfields in forms
    to have a box
    > round
    > them?
    Some browsers (Safari comes to mind) won't do borders at all,
    and others (I
    don't recall which) can actually get surly when you try. I
    don't recommend
    that you try to style form elements to that level.
    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
    ==================
    "Iain71" <[email protected]> wrote in
    message
    news:f9up7e$9u1$[email protected]..
    > Cheers - font-family - of course. Think it threw me when
    I typed font :
    > and got
    > the drop down menu.
    >
    > How do you mean with the borders Murray? I've never had
    any trouble that
    > I'm
    > aware of? Isn't it fairly common for textfields in forms
    to have a box
    > round
    > them?
    >
    > Or is there a better method I could be using?
    >

  • Style a tag in htmlText problem

    I want to show an anchor as a standard blue underlined text.
    I created a style sheet in the mxml with this line:
    a:link{color:blue}
    and this
    a {color:blue}
    Nothing. All day I've been trying to make a link blue in Flex
    2. Other things in the style sheet work, I changed the
    background-color or the Application in the same style tag. Below
    the anchor I changed Button to color:white.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.controls.Text;
    private function styleit(txt:TextArea):void
    var style :StyleSheet = new StyleSheet();
    var aLink:Object = new Object();
    aLink.color = "#0000EE";
    aLink.textDecoration="underline";
    aLink.fontSize="14px";
    style.setStyle("a:link", aLink);
    txt.styleSheet=style;
    ]]>
    </mx:Script>
    <mx:TextArea width="500" height="500" id="txt1"
    creationComplete="styleit(txt1)">
    <mx:htmlText>
    <![CDATA[
    <a target="_blank" href="
    http://www.google.com">blue
    underlined 14px</a>
    ]]>
    </mx:htmlText>
    </mx:TextArea>
    </mx:Application>

  • Prevent TextArea From Expanding Horizontally

    I have a form item with the Display As property set to Textarea. This item is setting in a sized region with a CSS style for overflow set to auto. When the Textarea is expanded vertically beyond the current size of the region, it (correctly) adds a vertical scrollbar to the region. However, if the Textarea is expanded horizontally, no horizontal scrollbar is added.
    I fought with this for awhile but, realized that, aesthetically, I'd prefer that the Textarea simply not expand in the horizontal direction (as opposed to getting the horizontal scrollbar to work for the containing region).
    I am able to locate the Textarea item with javascript by searching for the id which is P3_NOTES.
    <fieldset id="P3_NOTES_fieldset" class="textarea" tabindex="-1" style="width: 326px; ">
         <textarea name="p_t07" rows="4" cols="60" wrap="virtual" id="P3_NOTES" class="textarea" style="resize: none; ">
         </textarea>
         <div class="apex_size_bar">
              <div class="apex_size_grip">
         </div>
              </div>
    </fieldset>I have several questions...
    1. What is the "wrap" tag? This isn't CSS. What does it do? If it isn't valid CSS, should APEX be using it? What are the possible values besides "virtual"?
    2. How can I change this (or can I) so that it can only be resized in the vertical direction?
    Thanks,
    -Joe

    It was a Netscape only tag and, hence, it really is a bug that it is being generated by APEX. I think I will try to file that though support.
    Another very odd thing about TextArea resize functionality is that if, within the Page Item Attributes page, you can set the Resizable property to No. However, doing so only removes the little handle (apex_size_grip) but, it is still completely resizeable. It just moves the little "corner slashes" graphic into the control itself rather than in an additional handle. I can still use it to merrily stretch the control to my heart's content.
    I can set any css property using a little javascript but, specifically, what css could I set that would prevent it from being able to expand horizontally?

  • W3C Validation on textarea form element

    Whats the proper way to construct a textarea tag?
    here's my tag:
    <textarea name="message" id="message"></textarea>
    css to style it:
    #contactform textarea {
    margin-bottom:8px;
    width:350px;
    height:200px;
    When i run the page through the validator it gives me 2
    errors:
    required attribute "rows" not specified
    required attribute "cols" not specified
    Whats the proper way to avoid these errors when specifying
    width and height with CSS?
    Thanks,
    Jeremy

    Jeremy,
    Like so:
    <textarea name="message" rows="20" cols="80"
    id="message"></textarea>
    Ken Ford
    Adobe Community Expert
    "bigj9901" <[email protected]> wrote in
    message
    news:e7u449$8v1$[email protected]..
    > Whats the proper way to construct a textarea tag?
    >
    > here's my tag:
    > <textarea name="message"
    id="message"></textarea>
    >
    > css to style it:
    > #contactform textarea {
    > margin-bottom:8px;
    > width:350px;
    > height:200px;
    > }
    >
    > When i run the page through the validator it gives me 2
    errors:
    >
    > required attribute "rows" not specified
    > required attribute "cols" not specified
    >
    > Whats the proper way to avoid these errors when
    specifying width and
    > height
    > with CSS?
    >
    > Thanks,
    > Jeremy
    >
    >
    >

  • Reading RTF file content from JSP which stored in database as image format

    <%@page import="java.sql.*" %>
    <%@page import="java.net.*" %>
    <%@page import="java.io.*" %>
    <%@page import="java.*" %>
    <%@page import="javax.swing.*" %>
    <%@page import="javax.swing.text.*" %>
    <%@page import="javax.swing.text.rtf.*" %>
    <%
         Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    Connection con=DriverManager.getConnection("jdbc:sqlserver://local:1433;databaseName=database;user=sa");
         Statement st=con.createStatement();
         ResultSet rs=st.executeQuery("select Document from docrev where UniqeId ='199207' ");//("select data from rtfdata");227317
         rs.next();
         byte bt[]=rs.getBytes(1);
         InputStream fi = new ByteArrayInputStream( bt );
         RTFEditorKit rtf = new RTFEditorKit();
         JEditorPane editor = new JEditorPane();
         editor.setEditorKit( rtf );
         rtf.read( fi, editor.getDocument(), 0 );
         Document d=editor.getDocument();
         String str=d.getText(0,d.getLength());
         /*OutputStream fo=new FileOutputStream("temp3.rtf");
         fo.write(str.getBytes());*/
    %>
    <html>
    <body>
    <p><textarea name=myarea style="background:#FFCC99" cols=100 rows=50><%=str%></textarea>
    </body>
    </html>
    Edited by: Santhu538 on Oct 23, 2007 10:16 PM
    Edited by: Santhu538 on Oct 23, 2007 10:25 PM
    Edited by: Santhu538 on Oct 23, 2007 10:26 PM

    Please use code tags while posting code. See the code button above the text area?
    It's a good practise not to mix jdbc code in your jsp (mvc and all that you see)
    Finally you'll have to quickly decide on your front end - jsp or swing. It looks like the former, but then with the code you have posted, the server is apt to pop up some windows prompting the user who has logged on (to the server) to choose the files for the client :)
    ram.

  • Why won't this contact form work?

    Hi All,
    Ok so i decided to update the contact form of page below as i was using the out dated spry validation method. I inserted the new contact form using webassist dreamweaver extension but i am now having big problems with this page. I am now unable to even open the page, please use link below to see the page error and i have also pasted the code of this page.
    http://www.milesfunerals.com/contact.php
    <?php virtual("/webassist/form_validations/wavt_scripts_php.php"); ?>
    <?php virtual("/webassist/form_validations/wavt_validatedform_php.php"); ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Miles &amp; Daughters | Contact us by email or phone</title>
    <meta name="description" content="Contact us and speak to any of our friendly staff if you have any enquiries or if you would prefer you can contact us by email. You can also see pictures of all five of our branches. ">
    <meta name="keywords" content="contact, questions, enquiries, friendly, email, addresses, write, funeral home, branches, reading, wokingham, crowthorne, twyford, bracknell">
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link href="/stylesheet.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="fancyBox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript" src="fancyBox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $('.fancybox').fancybox();
    </script>
    <style type="text/css">
    #sprytextfield2{
               form input[type=text] {width: 75%}
    textarea {width: 85%}
    #sprytextfield1{
               form input[type=text] {width: 75%}
    textarea {width: 85%}
    </style>
    <LINK REL="SHORTCUT ICON" HREF="http://www.milesmemorials.com/favicon.ico">
    <script src="/webassist/progress_bar/jquery-blockui-formprocessing.js" type="text/javascript"></script>
    <link href="/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <script src="/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="/webassist/forms/wa_servervalidation.js" type="text/javascript"></script>
    <link href="/webassist/forms/fd_basic_default.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="container">
    <?php include('includes/header.php'); ?>
    <?php include('includes/navbar2.php'); ?>
    <?php include('includes/navbar.php'); ?>
    <?php include('includes/sidebar.php'); ?>
    <div id="maindiv" class="maindiv_scroll">
      <p> </p>
      <p> </p>
        <p class="subheading">Miles and Daughters - Contact us</p>
      <p class="sub2">Addresses and telephone numbers for our offices are:</p>
    <p class="maintext"> </p>
    <p class="wokingham"><span class="address"><a class="fancybox" href="images/Isabella house.jpg" title="Miles & Daughters Winnersh Premises"><img src="images/Isabella house.jpg" alt="Miles &amp; Daughters Wokingham premisesh" width="297" height="263" class="shop"/></a></span> </p>
    <p class="wokingham"> </p>
    <p class="wokingham">Wokingham</p>
    <p class="address">Isabella House  </p>
    <p class="address">498a Reading Road</p>
      <p class="address"> Winnersh </p>
      <p class="address">Berkshire</p>
      <p class="address"> RG41 5EX</p>
      <p class="address"> Telephone: 0118 979 3004</p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"><a class="fancybox" href="images/cav-1.jpg" title="Miles & Daughters Reading Premises"><img src="/images/cav-1.jpg" alt="Miles &amp; Daughters Reading premises" width="380" height="321" class="shop"/></a></p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="wokingham">Reading</p>
    <p class="address">Tamela House</p>
      <p class="address">157-161 Caversham Road</p>
      <p class="address">Reading</p>
      <p class="address">Berkshire</p>
      <p class="address">RG1 8BB</p>
      <p class="address">Telephone: 0118 959 0022</p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"><a class="fancybox" href="images/Ivydene2.jpg" title="Miles & Daughters Binfield Premises"><img src="images/Ivydene2.jpg" alt="Miles &amp; Daughters Bracknell premises" width="380" height="267" class="shop"/></a></p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham">Bracknell</p>
      <p class="address">Ivydene House</p>
      <p class="address">Forest Road</p>
      <p class="address">Binfield</p>
      <p class="address">Bracknell</p>
      <p class="address">RG42 4HP</p>
      <p class="address">Telephone: 01344 452020  </p>
      <p class="wokingham"><span class="address"><a class="fancybox" href="images/twford.jpg" title="Miles & Daughters Twyford Premises"><img src="images/twford.jpg" alt="Miles &amp; Daughters Twyford premises" width="263" height="317" class="shop"/></a></span></p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
      <p class="wokingham">Twyford</p>
    <p class="address">The Old Clock House</p>
      <p class="address">Station Road</p>
      <p class="address"> Twyford</p>
      <p class="address">Berkshire </p>
      <p class="address">RG10 9NS</p>
      <p class="address"> Telephone: 0118 934 5474</p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"><a class="fancybox" href="images/crowthorne.jpg" title="Miles & Daughters Crowthorne Premises"><img src="images/crowthorne.jpg" alt="Miles &amp; Daughters Crowthorne premises" width="362" height="239" class="shop"/></a></p>
      <p class="wokingham"> </p>
      <p class="wokingham"> </p>
        <p class="wokingham">Crowthorne</p>
    <p class="address">Alicya House</p>
      <p class="address">105 High Street</p>
      <p class="address"> Crowthorne</p>
      <p class="address">Berkshire </p>
      <p class="address">RG45 7AD</p>
      <p class="address"> Telephone: 01344 774932</p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="address"> </p>
      <p class="endtext"> </p>
      <p class="endtext"> </p>
      <p class="maintext">You may email us or alternatively use the form below to contact us, one of our members of staff will respond as soon as possible.  </p>
      <p> </p>
      <div id="SimpleContact_Basic_Default_ProgressWrapper">
        <form class="Basic_Default" id="SimpleContact_Basic_Default" name="SimpleContact_Basic_Default" method="post" action="form-to-email.php">
          <!--
    WebAssist CSS Form Builder - Form v1
    CC: Contact
    CP: Simple Contact
    TC: Basic
    TP: Default
    -->
          <ul class="Basic_Default">
            <li>
              <fieldset class="Basic_Default" id="Contact_me">
                <legend class="groupHeader">Contact</legend>
                <ul class="formList">
                  <li class="formItem"> <span class="fieldsetDescription"> Required * </span> </li>
                  <li class="formItem">
                    <div class="formGroup">
                      <div class="lineGroup">
                        <div class="fullColumnGroup">
                          <label for="Full_Name" class="sublabel" > Name:<span class="requiredIndicator"> *</span></label>
                          <div class="errorGroup">
                            <div class="fieldPair">
                              <div class="fieldGroup"> <span id="Full_Name_Spry"> <span>
                                <input id="Full_Name" name="Full_Name" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("formtoemail","Full_Name"):"")); ?>" class="formTextfield_Large" tabindex="1" onBlur="hideServerError('Full_Name_ServerError');">
                                <span class="textfieldRequiredMsg">Please enter your name</span> </span> </span>
                                <?php
    if (ValidatedField('formtoemail','formtoemail'))  {
      if ((strpos((",".ValidatedField("formtoemail","formtoemail").","), "," . "1" . ",") !== false || "1" == ""))  {
        if (!(false))  {
    ?>
                                  <span class="serverInvalidState" id="Full_Name_ServerError">Please enter your name</span>
                                  <?php //WAFV_Conditional form-to-email.php formtoemail(1:)
    }?>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="lineGroup">
                        <div class="fullColumnGroup">
                          <label for="Email_Address" class="sublabel" > Email:<span class="requiredIndicator"> *</span></label>
                          <div class="errorGroup">
                            <div class="fieldPair">
                              <div class="fieldGroup"> <span id="Email_Address_Spry"> <span>
                                <input id="Email_Address" name="Email_Address" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("formtoemail","Email_Address"):"")); ?>" class="formTextfield_Large" tabindex="2" onBlur="hideServerError('Email_Address_ServerError');">
                                <span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">Please enter a full email address</span> </span> </span>
                                <?php
    if (ValidatedField('formtoemail','formtoemail'))  {
      if ((strpos((",".ValidatedField("formtoemail","formtoemail").","), "," . "2" . ",") !== false || "2" == ""))  {
        if (!(false))  {
    ?>
                                  <span class="serverInvalidState" id="Email_Address_ServerError">Please enter a full email address</span>
                                  <?php //WAFV_Conditional form-to-email.php formtoemail(2:)
    }?>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="lineGroup">
                        <div class="fullColumnGroup">
                          <label for="Comments" class="sublabel" > Comments:</label>
                          <div class="errorGroup">
                            <div class="fieldPair">
                              <div class="fieldGroup"> <span>
                                <textarea name="Comments" id="Comments" class="formTextarea_Medium" rows="1" cols="1" tabindex="3"><?php echo((isset($_GET["invalid"])?ValidatedField("formtoemail","Comments"):"")); ?></textarea>
                              </span> </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </li>
                  <li class="formItem">
                    <div class="formGroup">
                      <div class="lineGroup">
                        <div class="fullColumnGroup">
                          <div class="fullColumnGroup">
                            <label for="Security_Code" class="sublabel" > </label>
                            <div class="errorGroup">
                              <div class="fieldPair">
                                <div class="fieldGroup"> <span> <img src="/webassist/captcha/wavt_captchasecurityimages.php?field=Security_Code&amp;noisefreq= 15&amp;noisecolor=060606&amp;gridcolor=080808&amp;font=fonts/MOM_T___.TTF&amp;textcolor=04 0404" alt="Security Code" class="Captcha"> </span> </div>
                              </div>
                            </div>
                          </div>
                          <div class="fullColumnGroup" style="clear:left;">
                            <label for="Security_Code" class="sublabel" > Security code:<span class="requiredIndicator"> *</span></label>
                            <div class="errorGroup">
                              <div class="fieldPair">
                                <div class="fieldGroup"> <span id="Security_Code_Spry"> <span>
                                  <input id="Security_Code" name="Security_Code" type="text" value="" class="formTextfield_Large" tabindex="4" onBlur="hideServerError('Security_Code_ServerError');">
                                  <span class="textfieldRequiredMsg">Entered text does not match; please try again</span> </span> </span>
                                  <?php
    if (ValidatedField('formtoemail','formtoemail'))  {
      if ((strpos((",".ValidatedField("formtoemail","formtoemail").","), "," . "3" . ",") !== false || "3" == ""))  {
        if (!(false))  {
    ?>
                                    <span class="serverInvalidState" id="Security_Code_ServerError">Entered text does not match; please try again</span>
                                    <?php //WAFV_Conditional form-to-email.php formtoemail(3:)
    }?>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="lineGroup">
                        <div class="fullColumnGroup">
                          <div class="fullColumnGroup">
                            <label for="Security_Answer_2" class="sublabel" > </label>
                            <div class="errorGroup">
                              <div class="fieldPair">
                                <div class="fieldGroup"> <span> <span class="precedingText">
                                  <?php virtual("/webassist/captcha/wavt_captchasecurityquestion.php"); ?>
                                </span> </span> </div>
                              </div>
                            </div>
                          </div>
                          <div class="fullColumnGroup" style="clear:left;">
                            <label for="Security_Answer" class="sublabel" > Answer:<span class="requiredIndicator"> *</span></label>
                            <div class="errorGroup">
                              <div class="fieldPair">
                                <div class="fieldGroup"> <span id="Security_Answer_Spry"> <span>
                                  <input id="Security_Answer" name="Security_Answer" type="text" value="" class="formTextfield_Large" tabindex="5" onBlur="hideServerError('Security_Answer_ServerError');">
                                  <span class="textfieldRequiredMsg">Incorrect
                                    response; please try again</span> </span> </span>
                                  <?php
    if (ValidatedField('formtoemail','formtoemail'))  {
      if ((strpos((",".ValidatedField("formtoemail","formtoemail").","), "," . "4" . ",") !== false || "4" == ""))  {
        if (!(false))  {
    ?>
                                    <span class="serverInvalidState" id="Security_Answer_ServerError">Incorrect
                                      response; please try again</span>
                                    <?php //WAFV_Conditional form-to-email.php formtoemail(4:)
    }?>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </li>
                  <li class="formItem"> <span class="buttonFieldGroup" >
                    <input id="Hidden_Field" name="Hidden_Field" type="hidden" value="<?php echo((isset($_GET["invalid"])?ValidatedField("formtoemail","Hidden_Field"):"")); ?>">
                    <input class="formButton" name="SimpleContact_submit" type="submit" id="SimpleContact_submit" value="Contact me"  onClick="clearAllServerErrors('SimpleContact_Basic_Default')">
                  </span> </li>
                </ul>
              </fieldset>
            </li>
          </ul>
        </form>
      </div>
      <div id="SimpleContact_Basic_Default_ProgressMessageWrapper" class="blockUIOverlay" style="display:none;">
        <script type="text/javascript">
    WADFP_SetProgressToForm('SimpleContact_Basic_Default', 'SimpleContact_Basic_Default_ProgressMessageWrapper', WADFP_Theme_Options['BigSpin:Slate']);
        </script>
        <div id="SimpleContact_Basic_Default_ProgressMessage" >
          <p style="margin:10px; padding:5px;" ><img src="/webassist/progress_bar/images/slate-largespin.gif" alt="" title="" style="vertical-align:middle;" />  Please wait</p>
        </div>
      </div>
      <p class="maintext"> </p>
    </div>
    <?php include('includes/footer.php'); ?>
    </div>
    <script type="text/javascript">
    var Full_Name_Spry = new Spry.Widget.ValidationTextField("Full_Name_Spry", "none",{validateOn:["blur"]});
    var Email_Address_Spry = new Spry.Widget.ValidationTextField("Email_Address_Spry", "email",{validateOn:["blur"]});
    var Security_Code_Spry = new Spry.Widget.ValidationTextField("Security_Code_Spry", "none",{validateOn:["blur"]});
    var Security_Answer_Spry = new Spry.Widget.ValidationTextField("Security_Answer_Spry", "none",{validateOn:["blur"]});</script>
    </body>
    </html>

    Might want to have a look at this form below. It's similar to yours but no styling - you'd need to use some css to style it up a bit. It's just the raw html/php coding. The form action="form_send.php" - basically save the code to a Dreamweaver document named form_send.php and send the information back to the page to be processed.
    <?php
    $number_1 = rand(1, 9);
    $number_2 = rand(1, 9);
    $answer = md5($number_1+$number_2);
    if(isset($_POST['submit'])) {
    // get the name from the form 'name' field
    $name = trim($_POST['name']);
    if (empty($name)) {
    $error['name'] = "<span>Please provide your name</span>";
    // get the email from the form 'email' field
    $email = trim($_POST['email']);
    if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
    $error['email'] = "<span>Please provide a valid email address</span>";
    // get the comments from the form 'comments' field 
    $comments = trim($_POST['comments']);   
    if (empty($comments)) {
    $error['comments'] = "<span>Please provide your comments</span>";
    // security against spam   
    $user_answer = trim(htmlspecialchars($_POST['user_answer']));
    $answer = trim(htmlspecialchars($_POST['answer']));
    if (md5($user_answer) != $answer) {
        $error['answer'] = "<span>Wrong answer - please try again</span>";
    // if no errors send the form   
    if (!isset($error) && md5($user_answer) == $answer) {
    $to = '[email protected]'; // send to recipient
    $from = '[email protected]'; // from your domain
    $subject = 'Response from website';
    $message = "From: $name\r\n\r\n";
    $message .= "Email: $email\r\n\r\n";
    $message .= "Comments: $comments";
    $headers = "From: $from\r\nReply-to: $email";
    $sent = mail($to, $subject, $message, $headers);
    echo 'Your message has been sent.';
    else {
    $number_1 = rand(1, 9);
    $number_2 = rand(1, 9);
    $answer = md5($number_1+$number_2);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Untitled Document</title>
    <style>
    #contactForm span {
        color: #900;
    </style>
    </head>
    <body>
    <form name="contactForm" id="contactForm" method="post" action="form_send.php">
    <p><label for="name">Name<input type="text" name="name" id="name" value="<?php if(isset($name)) {echo $name; } ?>" <?php if(isset($error['name'])) {echo 'style="background-color: #FCC;"'; } ?>></label><br>
    <?php if(isset($error['name'])) {echo $error['name']; } ?></p>
    <p><label for="email">Email<input type="text" name="email" id="email" value="<?php if(isset($email)) {echo $email; } ?>" <?php if(isset($error['email'])) {echo 'style="background-color: #FCC;"'; } ?>></label><br>
    <?php if(isset($error['email'])) {echo $error['email']; } ?></p>
    <p><label for="comments">Comments<textarea name="comments" id="comments" <?php if(isset($error['comments'])) {echo 'style="background-color: #FCC;"'; } ?>>
    <?php if(isset($comments)) { echo $comments; } ?></textarea></label><br>
    <?php if(isset($error['comments'])) {echo $error['comments']; } ?></p>
    <p>Spam prevention - please answer the question below:</p>
    <p><?php echo $number_1; ?> + <?php echo $number_2; ?> = ?<input type="text" name="user_answer" <?php if(isset($error['answer'])) {echo 'style="background-color: #FCC;"'; } ?>/>
    <input type="hidden" name="answer" value="<?php echo $answer; ?>" /><br>
    <?php if(isset($error['answer'])) {echo $error['answer']; } ?></p>
    <p><input type="submit" name="submit" id="sumbit"></p>
    </form>
    </body>
    </html>

  • Safari 2.0 textbox bug?

    I was using Safari 2.0 on MacOS 10.4.2. I loaded a page with a textbox that already contained several lines of text. The text was unreadable because all the characters appear to be piled up on top of one another. This happened on several different pages. It did not happen with Safari 1.3.1 on MacOS 10.3.9. Is this a new bug, and is there a workaround?
    I can't give you the URL because it's password-restricted, but here's part of the source code:
    <table style="height:40%; width:90%; margin-left:auto; margin-right:auto;">
    <tr>
    <td class="boldtext" style="font-size:16px; text-align:left;">Question Text</td>
    <td class="boldtext" style="font-size:16px; text-align:left;">Figures</td>
    </tr>
    <td style="width:50%; vertical-align:top; height:100%;">
    <table class="whiteTable" style="height:100%; width:100%; background-color:f6f7ed; vertical-align:top;">
    <tr><td style="width:100%; height:100%; padding-left:30px; padding-right:30px; padding-top:10px; padding-bottom:10px; vertical-align:top; text-align:center;">
    <textarea name="statement" style="height:150px; width:400px;">
    <script>document.write(getStatement());</script>
    </textarea>
    <script>
    document.problemform.statement.value=getStatement();
    </script>
    </td></tr></table>
    The textbox contents are set with document.write(getStatement()). Again, this all works in Safari 1.3.

    I can confirm this bug (isn't it irritating?). One solution is to use another browser; I've never had this problem in Firefox. Another would be to turn off AutoFill; even though you're not using an AutoFill entry, AutoFill seems to have this unfortunate effect on leading zeros entered manually.
    Next time you run across a page that won't take your zip code, click on Safari/Report bugs to Apple and send a bug report. Maybe if enough of us on the East Coast complain, someone will fix it.

  • Php form error?

    Hi. I've got php form from one of the templates but it doesn't work. Can anyone see an error?
    The code:
    <div id="content_item">
              <h1>Contact Us</h1>
              <p>Say hello, using this contact form.</p>
              <?php
                // Set-up these 3 parameters
                // 1. Enter the email address you would like the enquiry sent to
                // 2. Enter the subject of the email you will receive, when someone contacts you
                // 3. Enter the text that you would like the user to see once they submit the contact form
                $to = [email protected];
                $subject = Enquiry from the website;
                $contact_submitted = Your message has been sent.;
                // Do not amend anything below here, unless you know PHP
                function email_is_valid($email) {
                  return preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i',$email);
                if (!email_is_valid($to)) {
                  echo '<p style="color: red;">You must set-up a valid (to) email address before this contact page will work.</p>';
                if (isset($_POST['contact_submitted'])) {
                  $return = "\r";
                  $youremail = trim(htmlspecialchars($_POST['your_email']));
                  $yourname = stripslashes(strip_tags($_POST['your_name']));
                  $yourmessage = stripslashes(strip_tags($_POST['your_message']));
                  $contact_name = "Name: ".$yourname;
                  $message_text = "Message: ".$yourmessage;
                  $user_answer = trim(htmlspecialchars($_POST['user_answer']));
                  $answer = trim(htmlspecialchars($_POST['answer']));
                  $message = $contact_name . $return . $message_text;
                  $headers = "From: ".$youremail;
                  if (email_is_valid($youremail) && !eregi("\r",$youremail) && !eregi("\n",$youremail) && $yourname != "" && $yourmessage != "" && substr(md5($user_answer),5,10) === $answer) {
                    mail($to,$subject,$message,$headers);
                    $yourname = '';
                    $youremail = '';
                    $yourmessage = '';
                    echo '<p style="color: blue;">'.$contact_submitted.'</p>';
                  else echo '<p style="color: red;">Please enter your name, a valid email address, your message and the answer to the simple maths question before sending your message.</p>';
                $number_1 = rand(1, 9);
                $number_2 = rand(1, 9);
                $answer = substr(md5($number_1+$number_2),5,10);
              ?>
              <form id="contact" action="contact.php" method="post">
                <div class="form_settings">
                  <p><span>Name</span><input class="contact" type="text" name="your_name" value="<?php echo $yourname; ?>" /></p>
                  <p><span>Email Address</span><input class="contact" type="text" name="your_email" value="<?php echo $youremail; ?>" /></p>
                  <p><span>Message</span><textarea class="contact textarea" rows="5" cols="50" name="your_message"><?php echo $yourmessage; ?></textarea></p>
                  <p style="line-height: 1.7em;">To help prevent spam, please enter the answer to this question:</p>
                  <p><span><?php echo $number_1; ?> + <?php echo $number_2; ?> = ?</span><input type="text" name="user_answer" /><input type="hidden" name="answer" value="<?php echo $answer; ?>" /></p>
                  <p style="padding-top: 15px"><span> </span><input class="submit" type="submit" name="contact_submitted" value="send" /></p>
                </div>
              </form>
            </div>

    The only error I see is your text strings which are assigned to the php variables should be enclosed in "  " like below: (best not to post real email addresses as it attracts spam)
    $to = "[email protected]";
                $subject = "Enquiry from the website";
                $contact_submitted = "Your message has been sent.";
    Plus change the $return variable to a line break (as below) otherwise the information will come through in one continuous line.
    $return = "\n\n";

  • How to change index.template.html to put a HTML table side by side with Flex swf displayed in IE

    I created my own index.template.html using <object> tag to hold Flex swf file, but it only works for FireFox, not IE.
    I did not use the original FlexBuilder's index.template.html and the JavaScripts to generate the HTML wrapper.
    Here is my index.template.html:
    <html lang="en">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>My App</title>
        </head>
        <body scroll="yes">
        <table cellpadding="0" cellspacing="0" width="982px" border="0">
            <tr width="982px"><td>This app is still under development. Currently, you can... </td></tr>
        </table>
        <p>
        <table>
            <tr>
                <td>
                    <div style="width:192px;height:130px;border:1px solid rgb(0, 0, 0);">
                    <!-- div style="border-style:solid;" -->
                    <table align="left" border="0" >
                        <tr>
                              <td >
                                  <span style="color:#242F6D;font-weight:bold;font-size:12px;">Stock:</span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                  <select style="font-size:11px;">
                                      <option>ADBE - Adobe</option>
                                      <option>BAC - Bank of America</option
                                </select>
                              </td>
                        </tr>
                        <tr>
                            <td >
                                  <span style="color:#242F6D;font-weight:bold;font-size:12px;">Shares:</span>
                            </td>
                        </tr>
                        <tr>
                              <td>
                                  <input type="text" name="shares" style="font-size:11px;"/>
                              </td>
                        </tr>
                        <tr>
                              <td>
                                  <button type="button" style="color:#242F6D;font-weight:bold;font-size:10px;">Add To My App</button>
                              </td>
                        </tr>
                    </table>
                    </div>
                    <p>
                    <div style="width:192px;height:310px;border:1px solid rgb(0, 0, 0);">
                    <table border="0">
                        <tr>
                            <td style="color:#242F6D;font-weight:bold;font-size:10px;">
                                You may enter your values
                            </td>
                        </tr>
                        <tr>
                            <td >
    <textarea id="quoteShare" style="width:186px;font-weight:bold;font-size:11px;" rows="13" >
    </textarea>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <button onclick="callFlex()" type="button" style="color:#242F6D;font-weight:bold;font-size:10px;">Get Values of My App</button>
                              </td>
                        </tr>
                    </table>
                    </div>
                <td>
                <td>
                    <table align="left" border="0" >
                        <tr valign="top">
                            <td valign="top">
                                <object type="application/x-shockwave-flash" data="ComponentTester.swf" WIDTH="850" HEIGHT="460" />
                              </td>
                          </tr>
                    </table>
                <td>
            </tr>
        </table>   
        </body>
    </html>

    I just found 1 tricky solution.
    Declare a variable containing the asset URL in the HTML, before the <!--Adobe Edge Runtime--> part. (Sample below.)
    In the script (_edge.js), use this variable instead of the asset URL string . (replace the string constant with the variable)
    In the server script, generate the HTML by changing the variable definition.
    This is ugly...
    I would appreciate any help.
    Thanks.
    === HTML sample:
    <!DOCTYPE html>
    <html>
    <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
              <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
    <script>
    // Define the asset URL
    var cardImage = 'card_01.png';
    </script>
    <!--Adobe Edge Runtime-->
        <script type="text/javascript" charset="utf-8" src="animtest_edgePreload.js"></script>
        <style>
            .edgeLoad-EDGE-1381868 { visibility:hidden; }
        </style>
    <!--Adobe Edge Runtime End-->
    </head>
    ====

  • HTML links won't display in Dynamic Text Field

    I am loading external text files in dynamic text fields on my
    webage. These texts contain html links (<a href="page.html"
    target="_blank">Click Here</a> and I have "render as HTML"
    on and "selectable" off in my dynamic text field. Also, I am
    loading a CSS file. Not only do I not have a hand cursor, but I do
    not even have any of the text from that piece of html code down.
    What is going on with this? Please respond asap, as I have been
    struggling with this for a day now. Here is the Actionscript for
    loading the CSS:
    var flash_css = new TextField.StyleSheet();
    flash_css.load("styles.css");
    flash_css.onLoad = function(success:Boolean) {
    if (success) {
    zloc_txt.styleSheet = flash_css;
    } else {
    trace("Error loading CSS file.");
    var zloc_lv:LoadVars = new LoadVars();
    zloc_lv.load("zloc.txt");
    zloc_lv.onLoad = function(success:Boolean) {
    if (success) {
    zloc_txt.text = this.content;
    } else {
    trace("unable to load text file.");
    zloc_txt.html = true;
    zloc_txt.editable = false;
    _global.styles.TextArea.setStyle("backgroundColor" ,
    "transparent");
    _global.styles.TextArea.setStyle("border styles" , "solid");
    Here is a sample of the text file code:
    &content=<span class="headline">Northwest Arkansas
    Locations</span>
    121 Main St.
    Russellville, AK 77801
    (626) 111-1111<br />
    <html><a href="
    http://www.mapquest.com"
    target="_blank">Click Here for Driving
    Directions</a></html><br />
    Thanks for the help,
    Chuck

    The error is here:
    zloc_txt.text = this.content;
    Even if you rendered the textfield as HTML, you still need to
    tell flash that the variable you are inserting is HTML. Therefore
    you need to use the htmlText property.
    zloc_txt.htmlText = this.content;

  • Form submits

    I have following jsp page in struts. if you see, this page has four editable textfields and one submit button. when i edit four textfiled values and then try to press submit, I want to submit these four textfiled values to a stored procedure which updates the fields in database and then re-display this same jsp page, with those textfield values re-displayed. I do have a Form class which has get/set methods for these textfield values. i also have a Action class. I want to know how this whole submit thing works. which code gets invoked when.
    problem: No values get submitted after submit button is pressed.
    Same jsp page is not redisplayed.
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="http://jakarta.apache.org/taglibs/log-1.0" prefix="log" %>
    <%@ page import="com.mmm.is.PSS.pim.data.*" %>
    <html:html locale="true">
    <head>
    <link rel="stylesheet" href="../swa/c/cdc.css" type="text/css">
    <link rel="stylesheet" href="../swa/c/apps.css" type="text/css">
    </head>
    <body>
    <html:errors/>
    <html:form action="/company.do">
      <html:hidden property="update" value="false"/>
            <table border="0" cellspacing="0" cellpadding="0" width="100%" class="content">
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td colspan="2" ><span class="contenttitlealt"><bean:message key="PIMBeGeoinfo.businessinfo" /></span></td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" ><bean:message key="PIMBeGeoinfo.partnername"/><br>
                  (Legal Name)</td>
                <td width="74%"> <bean:write name="PIMBeGeoForm" property="partnerName" /></td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" ><bean:message key="PIMBeGeoinfo.countrygroup"/></td>
                <td width="74%"><bean:write name="PIMBeGeoForm" property="partnerCountry" /></td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" ><bean:message key="PIMBeGeoinfo.webaddress"/></td>
                <td width="74%">
                  <input type="text"  class="inputtext" value=<bean:write name="PIMBeGeoForm" property="partnerURL"/> >
                </td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" ><bean:message key="PIMBeGeoinfo.emaildomain"/></td>
                <td width="74%">
                  <input type="text"  class="inputtext" value=<bean:write name="PIMBeGeoForm" property="partnerEmailDomain" /> >
                </td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" ><bean:message key="PIMBeGeoinfo.dunsnumber"/></td>
                <td width="74%">
                  <input type="text"  class="inputtext" size="15" value=<bean:write name="PIMBeGeoForm" property="partnerDUNSNumber" /> >
                  <a class="contentlink" href="https://www.dnb.com">Request a DUNS
                  Number</a> from Dun & Bradstreet. </td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" ><bean:message key="PIMBeGeoinfo.description"/></td>
                <td width="74%">
                  <textarea  class="inputtext"  style="width:100%;" rows="4"><bean:write name="PIMBeGeoForm" property="partnerDescription"/> </textarea>
                </td>
              </tr>
              <tr bgcolor="#ffffff" valign="top" align="left" >
                <td width="26%" > </td>
                <td width="74%">
                 <input type="button"   value=<bean:message key="PIMBeGeoinfo.button" /> >
                </td>
              </tr>
            </table>
          <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td class="content" height="2"><img src="../swa/i/s.gif" width="1" height="3" alt=""></td>
            </tr>
            <tr>
              <td bgcolor="#cccccc" class="content"><img src="../swa/i/s.gif" width="1" height="3" alt=""></td>
            </tr>
          </table>
                   <span class="contenttitlealt">Important Information</span>
              <br>
              <br>
              <span class="content">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="appstablecolor">
              <tr>
                <td width="6"><img src="../swa/i/s.gif" width="6" height="26" alt=""></td>
                <td width="100%" nowrap><img src="../swa/i/s.gif" width="1" height="5" alt=""><br>
                  <span class="moduletitlerev">Other Details</span> <br>
                  <img src="../../images/spacer.gif" width="1" height="5" alt=""></td>
                <td width="7" align=head
                "right" valign="top"><img src="../swa/i/corner_ur_7.gif" width="7" height="7" alt=""></td>
              </tr>
            </table>
            <!-- // outer table supplies the 1px wide outline around the module -->
            <table border="0" cellpadding="0" cellspacing="0" class="appstablecolor" width="100%">
              <tr valign="top" align="left">
                <td width="100%"  >
                  <table border="0" cellspacing="1" cellpadding="3" width="100%" class="modulecontent">
                    <tr valign="top" align="left">
                      <td  width="40%" bgcolor="#ffffff" ><span class="modulesubhead"><bean:message key="PIMBeGeoinfo.hqaddress" /> </td></span></td>
                      <td  width="20%" bgcolor="#ffffff"> <span class="modulesubhead"><bean:message key="PIMBeGeoinfo.countrygroup"/></span>
                      </td>
                      <td  width="17%" bgcolor="#ffffff"><span class="modulesubhead"><bean:message key= "PIMBeGeoinfo.hqcam" /></span></td>
                      <td  width="23%" bgcolor="#ffffff"><span class="modulesubhead"><bean:message key= "PIMBeGeoinfo.partneradmin" /></span></td>
                    </tr>
                    <logic:iterate id="site" name="PIMSite">
                    <tr valign="top" align="left">
                      <td  width="40%" bgcolor="#ffffff" >
                      <bean:write name="site" property="headQuarter"/><br>
                        <bean:write name="site" property="siteAddress1"/> <bean:write name="site" property="siteAddress1"/> <bean:write name="site" property="siteAddress1"/> <br>
                         <bean:write name="site" property="siteCity"/>  <bean:write name="site" property="siteState"/>, <bean:write name="site" property="siteZipCode"/><br>
                        <bean:write name="site" property="sitePhone"/></td>
                      <td  width="20%" bgcolor="#ffffff"> <bean:write name="site" property="siteCountry"/></td>
                      <td  width="17%" bgcolor="#ffffff"><a href="mailto:[email protected]?subject=Email from mmm  Partner Self Service" class="modulecontentboldlink"><bean:write name="site" property="channelAcctMgr"/></a></td>
                      <td rowspan="2" bgcolor="#ffffff"  width="23%">Lisa Simpson<br>
                        Peter Parker
                      </td>
                    </tr>
                    </logic:iterate>
                  </table>
                </td>
              </tr>
            </table>  
              </span>
    </html:form>
    </body>
    </html:html>

    You didn't assign a name attribute your input field (< input type="text" name="myField" ...> ! The fields are submitted as request parameters in the form {$name}={$value}.
    It might help to read about ActionForms and replace the whole input html tags with html:text tags from struts.
    I'd recommend the articles on:
    http://www.fawcette.com/javapro/2002_10/online/servletsjsp_bkurniawan_10_28_02/
    http://www.fawcette.com/javapro/2003_01/online/servletsjsp_bkurniawan_01_28_03/
    (Both are articles in a series don't forget to look at the other parts, too)
    Yours,
    Stefan

  • Photo commenting not saving

    Ok, here is what I have. I created a web photo gallery
    through Photoshop CS2 and so all the code was produced for me (im
    not code dumb just not saavy yet). On the iamges pages you can
    leave feedback, there is a save feedback option and a email
    feedback option, the email works fine, but the save does not save.
    Here is the code that I believe deals with that area
    <div id="feedUpFeedback">
    <table width="496" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td colspan="3"> <table width="496" border="0"
    cellspacing="0" cellpadding="0">
    <tr>
    <td colspan="3"><img src="../images/popOpenT.gif"
    width="496" height="43"></td>
    </tr>
    <tr>
    <td><csobj al="" csclick="BAE16AF84,BAE16B085"
    h="18" ht="../images/popOpenImage-over.gif" t="Button"
    w="86"><a href="#" onMouseOver="return
    CSIShow(/*CMP*/'button3',1)" onMouseOut="return
    CSIShow(/*CMP*/'button3',0)" onClick="CSAction(new
    Array(/*CMP*/'BAE16AF84',/*CMP*/'BAE16B085'));
    top.BottomFrame.tabShowing = 'info'; return
    CSClickReturn()"><img src="../images/popOpenImage.gif"
    width="86" height="18" name="button3" border="0" alt="Image
    Info"></a></csobj></td>
    <td><img src="../images/popOpenFeedOn.gif"
    alt="Image Feedback" height="18" width="83"
    border="0"></td>
    <td><csobj al="" csclick="BAE16B256,BAE16B2E7"
    h="18" ht="../images/popOpenClose-over.gif" t="Button"
    w="327"><a href="#" onMouseOver="return
    CSIShow(/*CMP*/'button2',1)" onMouseOut="return
    CSIShow(/*CMP*/'button2',0)" onClick="CSAction(new
    Array(/*CMP*/'BAE16B256',/*CMP*/'BAE16B2E7'));
    top.BottomFrame.tabShowing = null; return
    CSClickReturn()"><img src="../images/popOpenClose.gif"
    width="327" height="18" name="button2" border="0"
    alt="Close"></a></csobj></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td width="12"
    background="../images/popOpenL.gif"><img
    src="../images/spacer.gif" height="12" width="12"
    border="0"></td>
    <td height="200" align="center" valign="top"
    bgcolor="#FFFFFF"> <div class="feedback">
    <form name="wpgFeedback">
    <table width="400" border="0" cellspacing="4"
    cellpadding="0">
    <tr>
    <td colspan="2"><input type="checkbox"
    name="approved" align="absmiddle"
    onClick="top.BottomFrame.setAsUnsaved();">
    <span
    class="checkBoxText">Approved</span>  <input
    type="checkbox" name="other" align="absmiddle"
    onClick="top.BottomFrame.setAsUnsaved();">
    <span class="checkBoxText">Other</span><span
    class="userAlert"><img name="saved"
    src="../images/spacer.gif" width="50"
    height="16"></span></td>
    </tr>
    <tr>
    <td height="10" colspan="2"><textarea
    name="comments" style="width:100%; height:80px;" class="caption"
    onChange="top.BottomFrame.setAsUnsaved();"></textarea></td>
    </tr>
    <tr>
    <td width="50%"><input name="button" type="button"
    class="button"
    onClick="top.BottomFrame.addComment('116285786-M.jpg')" value="
    Save Feedback "></td>
    <td width="50%"><input name="button" type="button"
    class="button"
    onClick="top.BottomFrame.removeFeedback('116285786-M.jpg')" value="
    Remove Feedback "></td>
    </tr>
    <tr>
    <td colspan="2"><input name="button" type="button"
    class="button"
    onClick="top.BottomFrame.sendFeedback('116285786-M.jpg')" value="
    E-Mail Feedback "></td>
    </tr>
    </table>
    </form>
    </div>
    so if anyone could help me I would greatly appriciate it
    Ben

    Those are the options in iPhoto's preferences such as background color when viewing the thumbnails, etc. If you didn't make any changes to them before then you don't have to worry about it.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

Maybe you are looking for

  • RFC error: SLD_UC program not registered

    Hello, I am having a problem connecting my Abap system to SLD. When I test the SLD_UC RFC connection, I get the error that the program is not registered. I did see other postings on this, but no real answers that I can tell. How can I troubleshoot th

  • Return free goods

    Hi experts, Is the only way to receive returns of free goods by using MB1C? U know, the goods is sent to customer without selling price, i.e. no A/R exists. When customer return those goods, it seems not proper to use return order. The return order w

  • Retrieving sales order info instead of the offer when creating a prod order

    Hi, I cannot create a production order refering to a sales order if this sales order has been created in reference to an offer. This is standard SAP and the following message is displayed: "account assignment cannot be carried out because of differen

  • G4 not connecting to the internet

    2002 PowerMac G4 Quicksilver (originally 933 mhz, now +/- 1.5 ghz)  I have been using a wireless connection to my internet.  I do not have the Airport hardware but I think I had an Airport icon on the top bar of my screen up with the speaker and the

  • Shipment cost - Europe VAT for carrier

    Hi All, I have problem in creating condition records for tax condition type. I am using below access sequence for tax determination in shipment costing country of departure ALAND , country of destination LLAND , country of service agent TDLNR_LND And