Re: ConnectedParameterException using Block

[email protected]
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
bindings.buttonBlock references the IBinding instance "buttonBlock" for the 
component.

You want to use:

<inherited-binding name="block" parameter-name="buttonBlock"/>

This sets the block binding of the component to the exact same value as the 
butotnBlock parameter of its container.  The block binding is then used to set 
the block property of the component.

--
[email protected]

http://tapestry.sf.net
> Hi all,
>             I posted about this earlier and no one had any suggestions..
> but I think I posted during American thanksgiving so I figure no one saw
> it.. so I figured I'd try again.. 
>  
> I am trying to pass a block into a component I have made.. I specified
> java-type="net.sf.tapestry.components.Block" in the component and
> type="Block" in  the page containing the two.. but I am getting :
> Parameter block (ExpressionBinding[QuarantineUsersList
> components.buttonBlock]) is not type net.sf.tapestry.components.Block.
>  
> I checked, and I haven't defined my own "Block" component that might be
> conflicting... so what am I doing wrong? I am binding using
> "bindings.buttonBlock".. 
>  
> Any help would be appreciated. 
>  
>  
> Luke Galea 
> Software Development
> BlueCat <http://www.bluecatnetworks.com/>  Networks
> 905-762-5225
>  
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.