tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "F. Da Costa Gomez" <daco...@xsall.nl>
Subject Re: dynamic component, may not appear inside an ignored block?
Date Mon, 08 Dec 2003 06:21:48 GMT
Geoff Longman wrote:

>check the "allow-body" attribute of the outer component. If its false,
>Tapestry ignores the markup it wraps.
>  
>
Thx, resolved it and I guess it indeed had to do with the allow-body 
attribute (maybe its a good thing to step away from the old machine for 
one or to days a week).

Fermin

>Geoff
>----- Original Message -----
>From: "F. Da Costa Gomez" <dacosta@xsall.nl>
>To: "Tapestry users" <tapestry-user@jakarta.apache.org>
>Sent: Saturday, December 06, 2003 11:35 AM
>Subject: dynamic component, may not appear inside an ignored block?
>
>
>  
>
>>Following is an error I get based on the two snippets of code shown below.
>>
>>Could not parse template
>>classpath:/org/dcg/tests/treetable/TreeTableTestFlexible.html.
>>location:
>>classpath:/org/dcg/tests/treetable/TreeTableTestFlexible.html, line 22
>>
>>org.apache.tapestry.parse.TemplateParseException
>>Tag <span> on line 22 is a dynamic component, and may not appear inside
>>an ignored block.
>>location:
>>classpath:/org/dcg/tests/treetable/TreeTableTestFlexible.html, line 22
>>
>>
>>.html:
>>                <colgroup jwcid="nrOfCols">
>>*error*=>  <span jwcid="colDefinitions">
>>                    <col jwcid="columnClassName" />
>>                  </span>
>>                </colgroup>
>>
>>.java
>>  public int getNrOfCols() {
>>    return _columnDescriptions.size();
>>  }
>>
>>.jwc
>>  <component id="colDefinitions" type="Foreach">
>>    <binding name="source" expression="headerColumns"></binding>
>>    <binding name="value" expression="headerColumn"></binding>
>>  </component>
>>
>>  <component id="columnClassName" type="Insert">
>>    <binding name="class"
>>expression="getColumnClassName(components.colDefinitions.value)" />
>>  </component>
>>
>>I guess its normal but I haven't seen this one before and just don't
>>know where to look.
>>Tried to switch lines as well, work with span(s)  but it just does not
>>go away (yet).
>>
>>Any pointer(s) would be appreciated.
>>
>>TIA
>>Fermin DCG
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
>__________ NOD32 1.574 (20031206) Information __________
>
>This message was checked by NOD32 Antivirus System.
>http://www.nod32.com
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Mime
View raw message