In our application, many ajax requests are processed in the same
session, sometimes causing conflicts when they update shared session
information. I found synchronizing the logic within my event handlers to
be useless since many components access shared objects from property
bindings within the
Live Class and Template Reloading
One of the great features of Tapestry 5 is automatic reloading of changed
classes and templates. Page and component classes will automatically reload
when changed. Likewise, changes to component templates and other related
resources will also be picked up immediate
Not sure how tapestry-jpa handles un-persisted instances. That is certainly
another area where tapestry-hibernate does not give you a useable ValueEncoder.
To clarify my last post: tapestry-hibernate will give you a functional default
value encoder if:
1) The entity has a single column pk
2)
Thanks Robert for your reply. Yes I was referring to custom value encoders,
perhaps I'm misusing them. I seem to be writing custom value encoders for
components like the AjaxAddRow which is nothing more than a single column
pk. The reason I use them is to generate a temp id 's for the component to
Disclaimer: I haven't used tapestry-jpa. :)
But, Tapestry uses value encoders. tapestry-hibernate uses them, tapestry-jpa
uses them.
Tapestry uses them. The only question is whether you need to write custom value
encoders.
tapestry-hibernate will provide default encoders for entities with a singl
Hello everyone, I figured it's been a while since this topic has been brought
up, so I'd like to come back to it again. I've finally managed to find some
free time to play with my personal project "yay", which means I'll be doing
a full rewrite. I'd like to hear what Tapestry-JPA users have to say
Hi guys,
I have a query about how to capture data from a tml page and pass it back
into it's corresponding java file so that it can be processed and displayed
on another new page (or even on the same page after redrawing the same
page).
I have 2 pages currently, Page1.java and Page2.java where Pa
like i said, this could be a bug. why not log it in jira and see what
the big heads think?
On 15/03/2012 1:44 AM, nquirynen wrote:
Found a solution for my problem (not sure if it's a good solution, but it
works):
In the update event of the parent zone (zone1 in my example) I added an if
state
Greetings to this magnificent mailing list and tapestry developers :)
I have a perfectly operating ajax form loop but I'm trying to find a way to
prevent the user from removing the last row in the form.
In an annotated method to handle the remove row events from the ajax form
loop, I've done the p
How about this, instead:
JAVA *component*
@Import(library="../dimitriy/bogdanov/bootstrap-dropdown.js")
and
TML *component*
If your component is rendered multiple times in a page, then the TML
method will import the JS repeatedly. Tapestry is smart enough, even
in the Java component, to know i
Hi, as title denotes, I would like to know what is the difference between tml
and java importing javascript. Examples shown below.
JAVA page
@Import(library="../dimitriy/bogdanov/bootstrap-dropdown.js")
and
TML page
Discussion about this topic is appreciated. :)
--
View this message in c
I've added a wiki page here
http://wiki.apache.org/tapestry/Tapestry5HowToGetAnHTMLStringFromARenderCommandParameter
On Wednesday, 14 March 2012, Lenny Primak wrote:
> Can you put this up in the Tapestry Wiki?
> It's trivial to do and IMHO very useful
> On Mar 14, 2012, at 8:11 AM, Lance Java wro
Hi David, I created a jira issue related to this bug.
https://issues.apache.org/jira/browse/TAP5-1875
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5565297.html
Sent from the Tapestry - User mailing list archive at Na
Can you put this up in the Tapestry Wiki?
It's trivial to do and IMHO very useful
On Mar 14, 2012, at 8:11 AM, Lance Java wrote:
> Hi people, there have been a few threads around lately about getting the
> HTML string from a block / render command on the serverside including:
>
> http://tapestry.
Found a solution for my problem (not sure if it's a good solution, but it
works):
In the update event of the parent zone (zone1 in my example) I added an if
statement to know if it's not just an inner zone that's getting updated:
$('#zone1').bind(Tapestry.ZONE_UPDATED_EVENT, function(event) {
Ok,
thanks for the explanation, also on the constructing of zone updates.
I tested it with the time and your right. Is there any way I can know if in
the ZONE_UPDATED_EVENT of the inner zone (zone1) comes from a zone1 or zone2
update? Because I have javascript code in the zone1 update event, that
pieter...you are my hero
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-jquery2-6-0-jquery-dialog-close-from-included-component-tp5564657p5564817.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Just put your form in a zone, on error -> return zone
On success -> return page
-Original Message-
From: resign [mailto:sergejb...@yahoo.de]
Sent: Wednesday 14 March 2012 14:29
To: users@tapestry.apache.org
Subject: RE: T5.2.6 jquery2.6.0 jquery dial
hi Manu,
in my component i have a form.
And onFail the dialog should stay on top, onSuccess the dialog should
disappear.
Thanks,
resign
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-jquery2-6-0-jquery-dialog-close-from-included-component-tp5564657p5564685.html
Se
How do you want to close it ? with a link ?
$("'selector"). .dialog( "close" ) in JavaScript
http://jqueryui.com/demos/dialog/
Manu
-Message d'origine-
De : resign [mailto:sergejb...@yahoo.de]
Envoyé : mercredi 14 mars 2012 14:19
À : users@tapestry.apache.org
Objet : T5.2.6 jquery2.6.
Hi,
is it possible to close the jquery dialog from included coponent?
...
...
Thanks,
resign
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-jquery2-6-0-jquery-dialog-close-from-included-component-tp5564657p5564657.
See
http://tapestry.1045711.n5.nabble.com/Getting-the-HTML-markup-string-from-a-RenderCommand-td5564418.html
On Friday, 24 February 2012, Lance Java wrote:
> I am writing a google maps component which can display markers on a map,
each marker has an info window when it is clicked on. I'd like to
See
http://tapestry.1045711.n5.nabble.com/Getting-the-HTML-markup-string-from-a-RenderCommand-td5564418.html
On Thursday, 8 March 2012, Magnus Kvalheim wrote:
> Thanks Kalle,
>
> For alerts I created issue:
https://issues.apache.org/jira/browse/TAP5-1863
>
>
> For the more general renderer for bl
Hi people, there have been a few threads around lately about getting the
HTML string from a block / render command on the serverside including:
http://tapestry.1045711.n5.nabble.com/Rendering-components-in-Alerts-td5543434.html
http://tapestry.1045711.n5.nabble.com/How-does-MultiZoneUpdateEventRes
I'm not sure why you would want to pass an index around... surely an id is
better?
eg
If you NEED to pass the index (I strongly advise against this, what happens
if you decide to let the user sort the list) then you could do the
following:
As suggested in this thread, I think that
25 matches
Mail list logo