If I specify autoPagingContent as the for value... it gives same error asking 
for embedded component.

whats the definition of an embedded component?

Any ideas how to get around this?

Should I just get rid of using the Labels ?

kcola...@live.com
 



From: kcola...@live.com
To: users@tapestry.apache.org
Subject: Label component usage
Date: Mon, 1 Oct 2012 00:55:52 -0400





Folks,

I am using the Label component to model some space maintainers in between the 
postions of components. kinda like filling up empty table columns ?

<td colspan="0">
    <div style="font-weight:bold; text-align: center;">
        <t:Label for=""/>        
        
        <t:outputRaw value="${cursor} + 1"/>
        
        <t:Label for=""> to </t:Label>
        
        <t:if test="cursor">    
            <t:outputRaw value="${cursor} + min(collection.size,itemsPerPage) 
"/>
            <p:else>
                <t:outputRaw value="${cursor} + 
min(collection.size,itemsPerPage) "/>
            </p:else>                            
        </t:if>        
        
        <t:Label for=""> of </t:Label>
        <t:Label for="">collection.size</t:Label>
        <t:Label for=""/>
    </div>
</td>

But the Label component is being annoying. Why do I have to anchor it to an id 
with the for parameter. Is there some animation I am unexpectedly getting that 
it wants to do under the hood ?

All I want to do is animate some empty NOP label spots and use a few labels to 
render some text.

What do i do in the case where I dont have an ID?

Thanks in advance... 

kcola...@live.com
 

                                                                                
  

Reply via email to