Hello Everybody,
something new or maybe trivial. This time I have some troubles with the Tab
JavaScript Component of Bootstrap. Or maybe the way Tapestry handles it. The
Situation is as follows:
I have a Component that shows a jqplot via JavaScript as follows
public void afterRender() {
I'm not sure if I did this right but I introduced a getter in my page
class returning object array like this:
public Object[] getFoo() {
return new Object[] { tx.id, true };
}
So this allows me to have a context that is partially dynamic
(transaction id) and partially static (literal):
public v
Hi,
I have the following event link which works (with single context parameter)
raw
In my page class I have the associated handler:
public void onDoAjax(boolean format) {
log.debug("{}", format);
}
Now, I'd like to add a second (dynamic) context parameter. By dynamic
I mean a p
Check to see what "this" refers to in the handler? Isn't that often the
element that triggered the event?
On Sat, Sep 17, 2016 at 12:25 PM, Adam X wrote:
> Thanks for the suggestion about t5atmosphere. I will definitely look into
> it.
>
> I do not want to send ids back to the server. I simply w
Thanks for the suggestion about t5atmosphere. I will definitely look into it.
I do not want to send ids back to the server. I simply want my client
side javascript get invoked after zone is updated (after zone
javascript update executed) and I would like to receive an id of the
zone that was just
Where do you want to pass this id? Back to the server? If so, maybe it
would be more efficient to log this info on the server while you are
rendering the new html for the updated zone, before the response is even
sent (instead of waiting for the zone to be updated, then sending a new
request to the
If you want streaming updates to a page you might be interested in
tapestry-atmosphere or tapestry-cometd rather than 12 periodic updates on a
page.
https://github.com/uklance/tapestry-atmosphere
http://t5atmosphere-lazan.rhcloud.com/
https://github.com/uklance/tapestry-cometd
http://t5cometd-laz
Hi,
I'm trying to wrap my head around the new 5.4 JS support. I have the
following module which gets invoked whenever a zone is updated,
however, I have 12 zones on my page periodically updated. I don't know
at runtime which zone is updated, but I need to be notified about it.
So I have the follo