I share Lance's preference for generating markup server-side. Have you
considered putting a Zone in the modal and having the server-side return that
instead of a JSONObject?
On 11/03/2014, at 7:24 AM, Lance Java wrote:
I'm not entirely sure what you're doing but this might help.
No problem Kalle, make sure to give credit to Janne though, most of the
work is his.
I wouldn't make this the default Serializer just yet, because it will
invalidate existing cookies for clients that will upgrade to the new
version. I would offer it as an optional Serializer implementation
Hi guys, if there is a better way to do it, I'm all ears. I wasn't aware of
a way to use zones inside of a js module. Here is a code snippet of what
I'm trying to accomplish. As you can see I'm using pure js, may be
alternate solutions, and I'm trying to inject content into my bootstrap
modal
Answering in the users mailing list, as it's the right place for this
discussion.
On Tue, 11 Mar 2014 10:09:59 -0300, Swapna swapna_n...@yahoo.com wrote:
I have an eventLink inside the table, the event link id gets changed
once the table zone is refreshed. once zone refreshed, event handler
I noticed bootstrap is included in T5.4...
I hope this is the trend with meaningful libraries.
I think there needs to be more definition in the area of layouts and
components. And I see a push and pull with regard to javascript vs java. The
pure javascript folks are happy to leave java in the
I guess what I am trying to say is... that javascript libraries bundled up with
tapestry I interpret to be canonical in nature. And I am hoping to see more
canonical libraries that truely belong in this space forthcoming. I cant say I
am impressed with the object oriented nature of javascript
Thank you for the suggestions. I have made the changes.
But it didn't solve my issue, as my problem is , everything works fine
initially, but once the table gets refreshed (with the filters) , the event
link doesn't work, the method never gets called.
That because the event link id gets changed.
Your suggestions did solve the issue of event link getting fired. I had some
other code which was stopping it to fire.
Thank you.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands,
On Tue, 11 Mar 2014 16:27:32 -0300, Swapna swapna_n...@yahoo.com wrote:
Thank you for the suggestions. I have made the changes.
But it didn't solve my issue, as my problem is , everything works fine
initially, but once the table gets refreshed (with the filters) , the
event link doesn't
Hi George,
Writing the modal with Tapestry can go something like this (none of this has
been tested)... (It builds on the work at
http://readyareyou.blogspot.com.au/2012/11/tapestry5-bootstrap-modal-dialog.html)
Create a component that does its work in a modal. Eg. PersonCreateModal.
Hi George,
As I said, I prefer to restrict JS to handling client-user interactions, not
client-server interactions, and leave Tapestry to do the client-server stuff.
However, if you really want your JS to initiate AJAX calls, you can do so and
still avoid burdening the client with writing
11 matches
Mail list logo