hi,

that's true... but it's only the template... it is more important how
your generated page looks like. the spans disappear in the
generated page.

g,
kries


                                                                           
             Blackwings                                                    
             <[EMAIL PROTECTED]                                             
             mail.com>                                                  An 
                                        "Tapestry users"                   
             17.07.2006 11:13           <users@tapestry.apache.org>        
                                                                     Kopie 
                                                                           
              Bitte antworten                                        Thema 
                    an                  Template header DOCTYPE            
             "Tapestry users"                                              
             <[EMAIL PROTECTED]                                             
                pache.org>                                                 
                                                                           
                                                                           
                                                                           




Hi,

I noticed something interresting about DOCTYPE. In fact, if a designer give
me a XHTML1.0 transitional compliant html template, when I mark the tag and
add some tags <span> the html is not anymore compliant :

<select jwcid="[EMAIL PROTECTED]" id="searchCriteria.requester" name="
searchCriteria.requester" size="1" tabindex="6" class="comboBox9pt">
   <span jwcid="@Foreach" source="ognl:requesters" value="ognl:
searchCriteria.requester">
      <option value="1" jwcid="@Option"
label="ognl:requesters.requesterCode
">elem1</option>
      <option value="2" jwcid="$remove$">elem2</option>
      <option value="3" jwcid="$remove$">elem3</option>
      <option value="4" jwcid="$remove$">elem4</option>
    </span>
  </select>

The <span> cannot be place after a <select> and this is warned.

I have the same problem when I want to mark a bloc of <tr>, not all, in a
<table>. I have to put a <span> tag between to a </tr> and a <tr> that is
not "permit" by the DOCTYPE definition, normally.

Is there another DOCTYPE that manage "Tapestry template" or do we have to
let the warn like that?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to