Loading ...
Sorry, an error occurred while loading the content.
 

Re: [ydn-javascript] Re: Error in Connection Object in IE7

Expand Messages
  • Adam Moore
    This could be a scope problem, but what we really need to see is the code that was generated from your template. -Adam ... --
    Message 1 of 5 , Jan 30, 2009
      This could be a scope problem, but what we really need to see is the
      code that was generated from your template.

      -Adam

      On Fri, Jan 30, 2009 at 07:51:06PM -0000, arambulo81 wrote:
      > We use Tapestry5.
      >
      > Java:
      > @SetupRender
      > void setupRender() {
      > yuiLoader.yuiLoader(
      > "animation,button,connection,autocomplete,
      > datasource",
      > String.format( "function(){initComboBox('%s', '%s',
      > '%s', '%s');}", initUrl , inputId,
      > containerId, toggleId ) );
      > }
      >
      > tml:
      > <div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
      > <div id="tAutoComplete">
      > <input id="${inputId}" name="${boxName}"
      > type="text" style="${boxStyle}"/>
      > <div id="${containerId}"></div>
      > <div id="${toggleId}" style="float:right"/>
      > <div style="clear:both;height:0px;width:100%" />
      > </div>
      > </div>
      >
      > JS:
      > function initComboBox(url, inputid, containerid, toggleid ) {
      > alert("*HELLO*");
      > inputId = inputid;
      > containerId = containerid;
      > toggleId = toggleid;
      > var onFailure = function( callbackResponse ) {
      > alert( "OOPS: " + callbackResponse );
      > }
      > YAHOO.util.Connect.asyncRequest('GET', url,
      > {success:loadTalk,failure:onFailure}, null);
      > }
      >
      > The alert in the JS's first line never fires in IE7, but it does in FF3.
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >

      --
    Your message has been successfully submitted and would be delivered to recipients shortly.