You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tine <ch...@gmail.com> on 2006/11/17 11:15:19 UTC

Tapestry Dialog Component Problem 4.1.1

Hi Guys...

I try to use the new Dialog component.
I have a directLink which binds to this methood:

public void editTime(){
		Dialog dialog = ((Dialog)getComponent("addTimeDialog"));
		dialog.show();
	}

The dialog.show() execution results in this exception:
"
Exception invoking listener method editTime of component
frontend/Taetigkeitserfassung: Binding for parameter hidden
(ExpressionBinding[frontend/Taetigkeitserfassung true]) may not be updated.
"

Do I miss something or is there a bug in the current snapshot? 
Sadly the documentation of this component is not ready at this time.
So any hint would be very appreciated!

thx
Tine
-- 
View this message in context: http://www.nabble.com/Tapestry-Dialog-Component-Problem-4.1.1-tf2650605.html#a7396866
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: Tapestry Dialog Component Problem 4.1.1

Posted by Stefan Esterer <de...@gmail.com>.
Hi..

I have a similar problem.. can anybody lend us a helping hand?

greetz
Stefon


Tine wrote:
> 
> Hi Guys...
> 
> I try to use the new Dialog component.
> I have a directLink which binds to this methood:
> 
> public void editTime(){
> 		Dialog dialog = ((Dialog)getComponent("addTimeDialog"));
> 		dialog.show();
> 	}
> 
> The dialog.show() execution results in this exception:
> "
> Exception invoking listener method editTime of component
> frontend/Taetigkeitserfassung: Binding for parameter hidden
> (ExpressionBinding[frontend/Taetigkeitserfassung true]) may not be
> updated.
> "
> 
> Do I miss something or is there a bug in the current snapshot? 
> Sadly the documentation of this component is not ready at this time.
> So any hint would be very appreciated!
> 
> thx
> Tine
> 

-- 
View this message in context: http://www.nabble.com/Tapestry-Dialog-Component-Problem-4.1.1-tf2650605.html#a7402522
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


RE: Tapestry Dialog Component Problem 4.1.1

Posted by Stefan Esterer <de...@gmail.com>.
Hello Peter,

thanks for your hint! That was the problem.

I hadn't bound the parameter hidden, but when I bound it to an abstract
property it works!

thx Christine



Peter Beshai wrote:
> 
>>Binding for parameter hidden
> (ExpressionBinding[frontend/Taetigkeitserfassung true]) may not be
> updated.
> 
> Generally when that happens, it means that you have bound a constant to
> the 
> parameter hidden when you defined the component. Try binding hidden to a 
> property instead.
> 
> For instance
> @Component(bindings={"hidden=true"}) would give that error, but
> @Component(bindings={"hidden=dialogHidden"}) along with a public abstract 
> boolean getDialogHidden() / public abstract void setDialogHidden(boolean 
> hidden) may work.
> 
> If you haven't bound the hidden parameter, then I have no idea :-)
> 
> 
> --
> Peter Beshai - Using Tapestry 4.1.1
> 
> Pure Mathematics Student
> University of Waterloo
> 
> 
> 
> 
> 
>>From: Tine <ch...@gmail.com>
>>Reply-To: "Tapestry users" <us...@tapestry.apache.org>
>>To: users@tapestry.apache.org
>>Subject: Tapestry Dialog Component Problem 4.1.1
>>Date: Fri, 17 Nov 2006 02:15:19 -0800 (PST)
>>
>>
>>Hi Guys...
>>
>>I try to use the new Dialog component.
>>I have a directLink which binds to this methood:
>>
>>public void editTime(){
>>		Dialog dialog = ((Dialog)getComponent("addTimeDialog"));
>>		dialog.show();
>>	}
>>
>>The dialog.show() execution results in this exception:
>>"
>>Exception invoking listener method editTime of component
>>frontend/Taetigkeitserfassung: Binding for parameter hidden
>>(ExpressionBinding[frontend/Taetigkeitserfassung true]) may not be
updated.
>>"
>>
>>Do I miss something or is there a bug in the current snapshot?
>>Sadly the documentation of this component is not ready at this time.
>>So any hint would be very appreciated!
>>
>>thx
>>Tine
>>--
>>View this message in context: 
>>http://www.nabble.com/Tapestry-Dialog-Component-Problem-4.1.1-tf2650605.html#a7396866
>>Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>For additional commands, e-mail: users-help@tapestry.apache.org
>>
> 
> _________________________________________________________________
> Achetez ce que vous voulez, quand vous voulez sur Sympatico / MSN
> Magasiner 
> http://magasiner.sympatico.msn.ca/content/shp/?ctId=101,ptnrid=176,ptnrdata=081805
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Tapestry-Dialog-Component-Problem-4.1.1-tf2650605.html#a7438881
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


RE: Tapestry Dialog Component Problem 4.1.1

Posted by Peter Beshai <pb...@hotmail.com>.
>Binding for parameter hidden
(ExpressionBinding[frontend/Taetigkeitserfassung true]) may not be updated.

Generally when that happens, it means that you have bound a constant to the 
parameter hidden when you defined the component. Try binding hidden to a 
property instead.

For instance
@Component(bindings={"hidden=true"}) would give that error, but
@Component(bindings={"hidden=dialogHidden"}) along with a public abstract 
boolean getDialogHidden() / public abstract void setDialogHidden(boolean 
hidden) may work.

If you haven't bound the hidden parameter, then I have no idea :-)


--
Peter Beshai - Using Tapestry 4.1.1

Pure Mathematics Student
University of Waterloo





>From: Tine <ch...@gmail.com>
>Reply-To: "Tapestry users" <us...@tapestry.apache.org>
>To: users@tapestry.apache.org
>Subject: Tapestry Dialog Component Problem 4.1.1
>Date: Fri, 17 Nov 2006 02:15:19 -0800 (PST)
>
>
>Hi Guys...
>
>I try to use the new Dialog component.
>I have a directLink which binds to this methood:
>
>public void editTime(){
>		Dialog dialog = ((Dialog)getComponent("addTimeDialog"));
>		dialog.show();
>	}
>
>The dialog.show() execution results in this exception:
>"
>Exception invoking listener method editTime of component
>frontend/Taetigkeitserfassung: Binding for parameter hidden
>(ExpressionBinding[frontend/Taetigkeitserfassung true]) may not be updated.
>"
>
>Do I miss something or is there a bug in the current snapshot?
>Sadly the documentation of this component is not ready at this time.
>So any hint would be very appreciated!
>
>thx
>Tine
>--
>View this message in context: 
>http://www.nabble.com/Tapestry-Dialog-Component-Problem-4.1.1-tf2650605.html#a7396866
>Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>For additional commands, e-mail: users-help@tapestry.apache.org
>

_________________________________________________________________
Achetez ce que vous voulez, quand vous voulez sur Sympatico / MSN Magasiner 
http://magasiner.sympatico.msn.ca/content/shp/?ctId=101,ptnrid=176,ptnrdata=081805


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