IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

bug: xapp:select tag sets wrong value of selected attribute

  • 1.  bug: xapp:select tag sets wrong value of selected attribute

    Posted Thu February 06, 2003 02:35 PM

    X-Application Version: 3.1.3

    The X-Application tag

    <xapp:select></pre>does not set the correct value for the attribute selected in the <pre class="ip-ubbcode-code-pre"><option></pre> tag. Thus the resulting html page is not xhtml 1.0 conform.<BR><BR>bug: <pre class="ip-ubbcode-code-pre"><option selected="true"></pre><BR><BR>correct: <pre class="ip-ubbcode-code-pre"><option selected="selected">



    Best regards,


    Jan Harmsen
    Software Engineer
    Software AG

    [This message was edited by Christian Freytag on 21 Mar 2003 at 12:33.]


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: bug: xapp:select tag sets wrong value of selected attribute

    Posted Thu February 06, 2003 02:44 PM

    Hello,

    yes. It is a bug: X-Application inserts or replaces attributes as ‘disabled’, ‘selected’ or ‘checked’ and sets their value with “true”, e.g.

    <select name="foo"> 
    <option selected="true">...</option>
    ...
    </select>
    </pre><BR><BR>The correct form for this example according to the dtd of XHTML 1.0 (<A HREF="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" TARGET=_blank>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</A>) is<BR><BR><pre class="ip-ubbcode-code-pre">
    <select name="foo"> 
    <option selected="selected">...</option>
    ...
    </select>



    Also for the other attributes mentioned before the value “true” is not correct. We fixed this bug for the next version.

    If a fix for X-Application 3.1.3 is required, please send a post to the community.

    Thanks,
    Christian.


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: bug: xapp:select tag sets wrong value of selected attribute

    Posted Fri March 21, 2003 11:24 AM

    Hello,

    this bug is fixed with X-Application 4.1.1.

    Bye,
    Christian.


    #webMethods
    #API-Management
    #Tamino