Hi Mark,

I need a way of submitting the dynamic content back to the server as
part of an ajax request I'm not clear how I would be able to do this in
the manner you suggest. 

- Joel

On Mon, 2011-03-28 at 15:43 -0500, Mark wrote:
> Normally the context is going to be used to figure out the state when
> the link was rendered.  This is particularly useful in a loop were you
> need to figure out which eventlink was actually clicked.  It sounds
> like you want to make the eventlink do different things based on some
> type of ajax event on another part of the page.
> 
> If that is what you are trying to do, are you sure you even need to
> use an eventlink context?  Can you just have the other Ajax event
> update a persistent variable on the page and read it (instead of the
> context) when the eventlink is triggered?
> 
> Mark
> 
> On Mon, Mar 28, 2011 at 1:46 PM, Joel Halbert <j...@su3analytics.com> wrote:
> > Hi,
> >
> > I have a typical ajax event link e.g.
> >
> > <a t:type="eventlink" t:id="ignore" zone="resultsZone">
> >
> > I want to be able to update the context on the clientside using
> > javascript, dynamically.
> > (or alternatively attach a request parameter and have this submitted
> > with the link).
> >
> > What's the easiest way to accomplish this?
> >
> > I can modify the link to change the url to append my context (or request
> > parameter)  but it seems these post page-load modifications to the
> > anchor href are ignored when the links is submitted.
> >
> > Thanks,
> > Joel
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to