Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-26 Thread Thiago H de Paula Figueiredo
Code could be a factor here, so please post it. On Fri, 25 Apr 2014 15:05:46 -0300, Jon Williams williams.jonat...@gmail.com wrote: Nope, just 1. This is a very simple SPA. So there's only 1 page template involved, doesn't even use a Layout component. There's 1 page, 1 zone, 1 form 1

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-26 Thread Jon Williams
Thanks for having a look at this. As per Thiago's request for code I'm using the latest 3.1.1 bootstrap... from AppModule class @Contribute(SymbolProvider.class) @ApplicationDefaults public static void setupEnvironment(MappedConfigurationString, Object configuration) {

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-25 Thread Howard Lewis Ship
Is there any possibility that there are two different Alerts components on the page? On Thu, Apr 24, 2014 at 2:20 PM, Jon Williams williams.jonat...@gmail.comwrote: Still broken in the beta5. Pretty sure this is a bug, i'll make a JIRA issue. -- Howard M. Lewis Ship Creator of Apache

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-25 Thread Jon Williams
Nope, just 1. This is a very simple SPA. So there's only 1 page template involved, doesn't even use a Layout component. There's 1 page, 1 zone, 1 form 1 alerts component. I thought about making a simpler test case, but it's already super simple, i can't see how I could really get any simpler.

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-24 Thread Jon Williams
Still broken in the beta5. Pretty sure this is a bug, i'll make a JIRA issue.

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-14 Thread Thiago H de Paula Figueiredo
On Fri, 11 Apr 2014 09:39:05 -0300, Jon Williams williams.jonat...@gmail.com wrote:hi,Hi! private Object onSelectedFromRegister() {if (registerForm.getHasErrors()) { return this;}I'm not sure that's related to your problem, but don't return "this" in event handler methods unless you

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-14 Thread Jon Williams
Thanks for the style pointers Thiago. Unfortunately not a fix, the problem remains the same. On Mon, Apr 14, 2014 at 6:24 AM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Fri, 11 Apr 2014 09:39:05 -0300, Jon Williams williams.jonat...@gmail.com wrote: hi, Hi!

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-13 Thread Jon Williams
Now I'm wondering if this is a bug somewhere in the pageinit javascript? Every time the Alerts component renders an individual alert, tapestry uses the javascript alert function (in alert.js) like so... 1) (from Alerts.java) javaScriptSupport.require(t5/core/alert).with(alert.toJSON()); I don't

Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-11 Thread Jon Williams
hi, Why is my alerts component rendering all alerts twice, first in order then once again in reversed order? w/ tap 5.4 beta 3, my tapestry alerts component is rendering all the org.apache.tapestry5.alerts.Alert objects twice. 1st in the correct order, and then once again in the reverse order.