Re: t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-25 Thread Jesse Kuhnert

Even with client side debugging turned on you don't see any problems? (ie
debugEnabled=true for Shell or equivalent)

If you are targeting elements="someId" I guess things could get a little
squirrelly as I don't personally do that very often.

There should be ~something~ that comes out of the client side debugging
(which works in a slightly less friendly way in IE - but still works).

I like to use fiddler for IE development as well - www.fiddler2.com.  I
think some of the microsoft developers use it for ie development too so you
know it has to be good. ;)  (it shows various kinds of information in the
request / response on the browser side - just to give you a sanity check on
what content exactly is being returned by the server and such)

The combination of fiddler && client side debugging being turned on
(preferably with a log level of  DEBUG) should reveal whether there is a
problem on the server or the client side.  It's probably on the server but I
guess it's possible it's on the client in core.js .

On 7/24/07, Anna Vo <[EMAIL PROTECTED]> wrote:


I've been using IE Developer Toolbar and there are no script errors and
the elements with the proper IDs are found on the page using the @Any
component.

I noticed Shing sent this link out in his reply to tabs supporting
listeners post (sent 7/23/07 "The following has an example (in Tap
4.1.2).") and this example also does not work in IE7.

http://lombok.demon.co.uk/tapestry41Demo/pages/eventlistener/TestELOncli
ck.html

Using SysOuts the page parameters are set and persisted, the
BrowserEvent sends back the right target id and the event name and it
does another sysout when it gets past the
cycle.getResponseBuilder().updateComponent("blah") so it seems like IE
is doing everything except updating the component. I also tried adding a
submitForm="formName) to the EventListener in case there was a
regression (saw that in some other post) but that did not help either.

Any other things I can try?

Anna


-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Friday, July 20, 2007 6:47 PM
To: Tapestry users
Subject: Re: t4.1.2 internet explorer only issue with
cycle.getResponseBuilder().updateComponent("foo")

Nothing would change on the server side for any specific browser (except
maybe with asset cache handling) - so I'd turn on client side debugging
and
see what happens?  (and also install micro$oft script debugger -
http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4
569-b3c4-dffdf19ccd99&displaylang=en)

On 7/20/07, Anna Vo <[EMAIL PROTECTED]> wrote:
>
> I have a property selection that when selected updates a page property
> and then a few components. In Safari and FF (mac and pc) everything
> works, but when I test in IE7 and IE6 it does everything (sets the
page
> property) but then fails to update the specified components (some text
> and some form elements). Basically it seems to not be doing anything
> with cycle.getResponseBuilder().updateComponent(). Has anyone run into
> this?
>
> Sample Code:
> @EventListener(targets="theSelectId", events="onchange")
> public void doFooSelected(IRequestCycle cycle)
> {
> setSomeId(getCurrentOptionValue().getId());
> cycle.getResponseBuilder().updateComponent("someId");
> cycle.getResponseBuilder().updateComponent("someId2");
> }
>
> 
> Some text
> 
>
> 
> Form component
> 
>
>  success="listener:doFooSelected">
> 
>  value="ognl:currentOptionValue" model="ognl:someModel" />
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


RE: t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-24 Thread Anna Vo
I've been using IE Developer Toolbar and there are no script errors and
the elements with the proper IDs are found on the page using the @Any
component. 

I noticed Shing sent this link out in his reply to tabs supporting
listeners post (sent 7/23/07 "The following has an example (in Tap
4.1.2).") and this example also does not work in IE7. 

http://lombok.demon.co.uk/tapestry41Demo/pages/eventlistener/TestELOncli
ck.html

Using SysOuts the page parameters are set and persisted, the
BrowserEvent sends back the right target id and the event name and it
does another sysout when it gets past the
cycle.getResponseBuilder().updateComponent("blah") so it seems like IE
is doing everything except updating the component. I also tried adding a
submitForm="formName) to the EventListener in case there was a
regression (saw that in some other post) but that did not help either.

Any other things I can try?

Anna


-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 20, 2007 6:47 PM
To: Tapestry users
Subject: Re: t4.1.2 internet explorer only issue with
cycle.getResponseBuilder().updateComponent("foo")

Nothing would change on the server side for any specific browser (except
maybe with asset cache handling) - so I'd turn on client side debugging
and
see what happens?  (and also install micro$oft script debugger -
http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4
569-b3c4-dffdf19ccd99&displaylang=en)

On 7/20/07, Anna Vo <[EMAIL PROTECTED]> wrote:
>
> I have a property selection that when selected updates a page property
> and then a few components. In Safari and FF (mac and pc) everything
> works, but when I test in IE7 and IE6 it does everything (sets the
page
> property) but then fails to update the specified components (some text
> and some form elements). Basically it seems to not be doing anything
> with cycle.getResponseBuilder().updateComponent(). Has anyone run into
> this?
>
> Sample Code:
> @EventListener(targets="theSelectId", events="onchange")
> public void doFooSelected(IRequestCycle cycle)
> {
> setSomeId(getCurrentOptionValue().getId());
> cycle.getResponseBuilder().updateComponent("someId");
> cycle.getResponseBuilder().updateComponent("someId2");
> }
>
> 
> Some text
> 
>
> 
> Form component
> 
>
>  success="listener:doFooSelected">
> 
>  value="ognl:currentOptionValue" model="ognl:someModel" />
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-20 Thread Jesse Kuhnert

Nothing would change on the server side for any specific browser (except
maybe with asset cache handling) - so I'd turn on client side debugging and
see what happens?  (and also install micro$oft script debugger -
http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&displaylang=en)

On 7/20/07, Anna Vo <[EMAIL PROTECTED]> wrote:


I have a property selection that when selected updates a page property
and then a few components. In Safari and FF (mac and pc) everything
works, but when I test in IE7 and IE6 it does everything (sets the page
property) but then fails to update the specified components (some text
and some form elements). Basically it seems to not be doing anything
with cycle.getResponseBuilder().updateComponent(). Has anyone run into
this?

Sample Code:
@EventListener(targets="theSelectId", events="onchange")
public void doFooSelected(IRequestCycle cycle)
{
setSomeId(getCurrentOptionValue().getId());
cycle.getResponseBuilder().updateComponent("someId");
cycle.getResponseBuilder().updateComponent("someId2");
}


Some text



Form component







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com