On 8/16/06, Murray Collingwood <
[EMAIL PROTECTED]> wrote:
Help
I've been following this discussion with interest as I'm experiencing the same problem. I
have even downloaded Firefox and Firebug in order to find out what is happening.
Similarly to Kevin if I right click and open the AjaxDirectLink in a new window the correct
information is displayed so I know all of my logic is correct and the link is doing what it is
supposed to, despite this I can't get the content to dynamically update on the current page.
I tried changing <div jwcid="@Any" id="label"> to <div jwcid="[EMAIL PROTECTED]" id="label"> but this
didn't make any difference. With the original format I am rendering <div id="label"> so I don't
think there is any problem in this respect.
I have also been through my html checking for any invalid HTML - I did have a couple of <br>
tags however these were not in the component to be updated and didn't seem to be causing
any problem. However, I have corrected them and Firebug is not complaining about any
HTML / XML errors that I can tell.
What I do notice from Firebug is that the response from the server doesn't include the html
I'm wanting to update. I get the "scriptblock" and "jsincludes" but nothing else.
A couple of other things Firebug tells me and I'm not sure whether they are correct or not:
GET
http://localhost:8080/silver/ajaxdirect.svc?component=setUrllarge&page=productMyList&rand
=1590326010&session=T&sp=1&updatedirect=false&updateid=product_1&dojoRequest=true
&processScripts=true&uuid=Wed%20Aug%2016%202006%2009%3A40%20GMT%2B1000
&widgetids= dojo.js (line 2715)
This mostly concurs with the .page file:
<component id="setUrllarge" type="tacos:AjaxDirectLink">
<binding name="listener" value="listener:setUrllarge"/>
<binding name="title" value="ognl:product.fullsize.printsize"/>
<binding name="parameters" value="product.id"/>
<binding name="updateComponents" value="ognl:{'product_1'}"/>
</component>
However, that reference to "dojo.js (line 2715)" seems a little strange. When I click this it
opens 'dojo.js' to line 2715 which reads:
http.send(null);
Is this normal behaviour? Is this the problem?
How should I go about solving it?
Cheers
mc
On 14 Aug 2006 at 13:14, Frederic Barnabe wrote:
>
> Hi Kevin,
>
> Try downloading the Firebug Firefox plugin. It's really great for debugging Ajax requests. It would
> have show you the <br> error right away.
>
> Fred
>
>
> On 8/14/06, Kevin Fightmaster <[EMAIL PROTECTED]> wrote:
> My problem was a relaxed html coding style <br> works great for browsers... but xml
> expects there to be an open and close tag or a </>. Since ajax requests use xml it saw the
> <br> as an invalid tag since there was no closing tag.
>
> On 8/14/06, Karthik N < [EMAIL PROTECTED]> wrote:
>
> kevin,
>
> i'm also having some bizzare experiences related to multiple request-responses.
>
> http://www.nabble.com/Tacos-Bug----AjaxSubmit-posts-all-the-AjaxLinkSubmits-before-it.-
> tf2090076.html
>
> somehow the feeling i got was that the @If and such other conditionals, cause multiple requests
> to be fired. i'm not able to pinpoint why this is going on ..
>
> are there other AjaxLinks/AjaxSubmits in your page?
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>
>
>
FOCUS Computing - web design
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 15/08/2006
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
--
Thanks, Karthik
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
