On Thu, Jul 7, 2011 at 11:39 AM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
>> I was thinking that there should be a way to do it with just a string,
>> but I guess that won't work because a string will try to send the
>> browser to a new page instead of just updating the part that needs to
>> be updated.
>
> Just implement a StringRenderCommand. :)


I tried:

 return new StringRenderable("<b>" + person.getName() + "</b>");

But it gives me an error saying:

Ajax failure: Status 500 for
http://localhost:8080/register/register.moreinfo:showdialog/2?t:ac=1:
A component event handler method returned the value Renderable[<b>$50
Ticket</b>]. Return type
org.apache.tapestry5.internal.util.StringRenderable can not be
handled.

Mark

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

Reply via email to