You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Edward Scanzano <es...@yahoo.com> on 2005/10/11 23:05:51 UTC
Tacos question
Hi All,
In the PartialPrototype example this piece of
javascript is in the HTML. What does this do and do I
need this in my code?
Thanks
E
<script type="text/javascript">
var responseObject = new Object();
responseObject.ajaxUpdate =
function(ajaxElement, responseElement, elementId) {
if (elementId != "selectedCountries")
Effect.Appear(elementId);
else
new
Effect.Highlight('selectedCountries', {endcolor:
"#eeeee0"} );
$('partialWait').style.display="none";
}
responseObject.beforeAjaxUpdate = function() {
$('partialWait').style.display="block";
}
</script>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tacos question
Posted by Markus Joschko <ma...@gmail.com>.
the most current version from tacos cvs available via a cvs client.
For detailed instructions how to obtain that code look at the tacos
site. You have to build the code yourself but that should be no
problem because of the build script.
On 10/12/05, Edward Scanzano <es...@yahoo.com> wrote:
> Hi Markus,
>
> What do you mean by tacos HEAD?
>
> Thanks
> E
>
> --- Markus Joschko <ma...@gmail.com> wrote:
>
> > Have a look at the updateObject parameter in the
> > AjaxDirectLink tag.
> > This javascript object has methods which are called
> > by the ajax logic
> > after the request is returned and allows for
> > additional manipulation
> > and effects. Eg. highlight the new element, or
> > manipulate a list.
> >
> > You don't need it unless you are doing a little bit
> > advanced stuff. If
> > you want to use it make sure you are using tacos
> > HEAD as there are a
> > few changes related to when/how the methods of the
> > update object are
> > called.
> >
> > markus
> >
> > On 10/11/05, Edward Scanzano <es...@yahoo.com>
> > wrote:
> > > Hi All,
> > >
> > > In the PartialPrototype example this piece of
> > > javascript is in the HTML. What does this do and
> > do I
> > > need this in my code?
> > >
> > > Thanks
> > > E
> > >
> > > <script type="text/javascript">
> > > var responseObject = new Object();
> > > responseObject.ajaxUpdate =
> > > function(ajaxElement, responseElement, elementId)
> > {
> > > if (elementId != "selectedCountries")
> > > Effect.Appear(elementId);
> > > else
> > > new
> > > Effect.Highlight('selectedCountries', {endcolor:
> > > "#eeeee0"} );
> > >
> > > $('partialWait').style.display="none";
> > > }
> > >
> > > responseObject.beforeAjaxUpdate =
> > function() {
> > >
> > $('partialWait').style.display="block";
> > > }
> > > </script>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tacos question
Posted by Edward Scanzano <es...@yahoo.com>.
Hi Markus,
What do you mean by tacos HEAD?
Thanks
E
--- Markus Joschko <ma...@gmail.com> wrote:
> Have a look at the updateObject parameter in the
> AjaxDirectLink tag.
> This javascript object has methods which are called
> by the ajax logic
> after the request is returned and allows for
> additional manipulation
> and effects. Eg. highlight the new element, or
> manipulate a list.
>
> You don't need it unless you are doing a little bit
> advanced stuff. If
> you want to use it make sure you are using tacos
> HEAD as there are a
> few changes related to when/how the methods of the
> update object are
> called.
>
> markus
>
> On 10/11/05, Edward Scanzano <es...@yahoo.com>
> wrote:
> > Hi All,
> >
> > In the PartialPrototype example this piece of
> > javascript is in the HTML. What does this do and
> do I
> > need this in my code?
> >
> > Thanks
> > E
> >
> > <script type="text/javascript">
> > var responseObject = new Object();
> > responseObject.ajaxUpdate =
> > function(ajaxElement, responseElement, elementId)
> {
> > if (elementId != "selectedCountries")
> > Effect.Appear(elementId);
> > else
> > new
> > Effect.Highlight('selectedCountries', {endcolor:
> > "#eeeee0"} );
> >
> > $('partialWait').style.display="none";
> > }
> >
> > responseObject.beforeAjaxUpdate =
> function() {
> >
> $('partialWait').style.display="block";
> > }
> > </script>
> >
> >
> >
> >
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tacos question
Posted by Markus Joschko <ma...@gmail.com>.
Have a look at the updateObject parameter in the AjaxDirectLink tag.
This javascript object has methods which are called by the ajax logic
after the request is returned and allows for additional manipulation
and effects. Eg. highlight the new element, or manipulate a list.
You don't need it unless you are doing a little bit advanced stuff. If
you want to use it make sure you are using tacos HEAD as there are a
few changes related to when/how the methods of the update object are
called.
markus
On 10/11/05, Edward Scanzano <es...@yahoo.com> wrote:
> Hi All,
>
> In the PartialPrototype example this piece of
> javascript is in the HTML. What does this do and do I
> need this in my code?
>
> Thanks
> E
>
> <script type="text/javascript">
> var responseObject = new Object();
> responseObject.ajaxUpdate =
> function(ajaxElement, responseElement, elementId) {
> if (elementId != "selectedCountries")
> Effect.Appear(elementId);
> else
> new
> Effect.Highlight('selectedCountries', {endcolor:
> "#eeeee0"} );
>
> $('partialWait').style.display="none";
> }
>
> responseObject.beforeAjaxUpdate = function() {
> $('partialWait').style.display="block";
> }
> </script>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org