Exactly, It's too messy to do it that way, and hence I had to post it here
to find an alternative for it.
We also need a decoupled solution. We thought of pub-sub but have no idea
on how to implement it (Cant find much about this topic). So if anyone
knows of such a way to do it , this would hel
Thanks everyone. I will try.
Duy.
On Sep 4, 2014 8:21 AM, "Geoff Callender" <
geoff.callender.jumpst...@gmail.com> wrote:
> How about making onActionFromALink() return a zone that contains a
> ProgressiveDisplay, and have the ProgressiveDisplay do "do something"?
>
>
> http://jumpstart.doublenega
How about making onActionFromALink() return a zone that contains a
ProgressiveDisplay, and have the ProgressiveDisplay do "do something"?
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/progressivedisplay
Cheers,
Geoff
On 4 Sep 2014, at 10:56 am, Chung Khanh Duy wrote
On Wed, 03 Sep 2014 19:29:36 -0300, Lance Java
wrote:
This topic had come up a few times. I agree that a serverside pub sub
mechanism would be great for decoupling.
I've got a few ideas for how it would work. It would be nice if
subscription handlers could be done via annotations or naming
On Wed, 03 Sep 2014 21:56:28 -0300, Chung Khanh Duy
wrote:
Thanks for your answers. Does any one have example for that ? I went
through all samples in jumpstart site but it looks like does not have any
sample that I am looking for.
For the non-async-request option, any Java solution will do
Thanks for your answers. Does any one have example for that ? I went
through all samples in jumpstart site but it looks like does not have any
sample that I am looking for.
Thanks.
Duy
On Wed, Sep 3, 2014 at 10:09 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 03 Sep 20
Yes, I may have hijacked my own thread ;-).
Yes, I wanted to do parameterized/using flash persisted session variables. Use
case being: first do query/search for a term using HTML interface to a
database, then print the result rendered also in PDF format using a
button/link. But realized th
Here's an example showing unique client ids being generated for zones.
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop
Geoff
On 4 Sep 2014, at 5:52 am, Thiago H de Paula Figueiredo
wrote:
> On Wed, 03 Sep 2014 16:31:50 -0300, John wrote:
>
>> doesn
This topic had come up a few times. I agree that a serverside pub sub
mechanism would be great for decoupling.
I've got a few ideas for how it would work. It would be nice if
subscription handlers could be done via annotations or naming conventions,
similar to event handlers.
On 3 Sep 2014 23:09,
I think the issue here is that he'd like one deeply nested component, let's
call it Z, to be refreshed when another deeply nested component, let's call it
N, that doesn't know about Z, is refreshed.
One way is to bubble up an event from N until it reaches a common parent, C,
which in this examp
On Wed, 03 Sep 2014 17:44:20 -0300, Net Dawg
wrote:
Well, the thread is still open ;-). Hopefully the tapestry framework
developers will see the "parameterized" streaming pattern to be equally
important as HTML (and not some sort of hack/gimmick that needs, as you
put it, to "abort the
Well, the thread is still open ;-). Hopefully the tapestry framework
developers will see the "parameterized" streaming pattern to be equally
important as HTML (and not some sort of hack/gimmick that needs, as you put it,
to "abort the goodness").
On Tuesday, September 2, 2014 10:07 PM, Chr
On Wed, 03 Sep 2014 16:31:50 -0300, John wrote:
doesn't the t:id need to be unqiue as well, or does the framework handle
this?
t:id must be unique inside the template, but that's the Tapestry
server-side component id, not the HTML client-side id. So t:id and id are
completely different t
As you are probably aware, there is only one instance of the zone
component. This one instance is rendered multiple times to produce many
clientside elements.
t:id is the serverside id, id is the clientside id(s). They don't need to
match.
On 3 Sep 2014 20:32, "John" wrote:
> doesn't the t:id ne
doesn't the t:id need to be unqiue as well, or does the framework handle this?
- Original Message -
From: Lance Java
To: Tapestry users
Sent: Wednesday, September 03, 2014 8:05 PM
Subject: Re: dynamic ids for zones
Yes, and id="prop:myClientId" can produce a different, but pre
Yes, and id="prop:myClientId" can produce a different, but predictable, id
each time through the loop.
On 3 Sep 2014 19:36, "John" wrote:
> Hi,
>
> Because the zone is reused elsewhere in the page I don't want to
> explicitly name the Id because that does not generate a unique Id for
> rerenderi
Hi,
Because the zone is reused elsewhere in the page I don't want to explicitly
name the Id because that does not generate a unique Id for rerendering. I need
a fresh Id for each successive render, and O need to know that Id in my
javascript and the page.
John
- Original Message -
On Wed, 03 Sep 2014 13:40:53 -0300, Sumanth
wrote:
Hello Experts,
Hi!
I have encountered one more hurdle now regarding zones,
I have a layout
component>componentA>componentB>componentC>NotificationComponent>Zone
This zone is a count zone and is updated using a mixin
(periodiczonerefr
I've never fully understand tapestry's whacky url encoding. I'm sure
there's a reason for it.
I'm pretty sure you can override the tapestry URLEncoder to use the more
normal java.net.URLEncoder and java.net.URLDecoder
http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/URLEncoder
Thanks Thiago, I'm aware I have to add MyActivationRequestParameter, just
wanted to be sure I was using public static void provideTransformWorkers in
my app module the same as Tapestry is using it in there module.
Yes lance, it would be a great feature especially when working with multi
facet sear
zone="^" is a clientside concept and means find the first parent zone to
the element which fired the event.
I'm assuming you know you can explicitly define the zone id using:
Hello Experts,
I have encountered one more hurdle now regarding zones,
I have a layout
component>componentA>componentB>componentC>NotificationComponent>Zone
This zone is a count zone and is updated using a mixin (periodiczonerefresh
mixin).
I have a notification page in which i have a Zone(a ta
I have a zone in a component that appear multiple times on a page so it needs
unqiue ids each time.
I was thinking not to assign an id for thew zone and let the framework provide
one.
How do I access this unqiue id when I want to rerender the zone. I see some
compnents take the ^ value for teh
> Aren't you talking about different things: ActivationRequestParameter vs.
PageActivationContext ?
Yes, my mistake. I can see this being a nice feature for
ActivationRequestParameter.
I'm guessing a proper fix will need to look at the generic type of the
field to properly support type coercion f
On Wed, 03 Sep 2014 12:36:15 -0300, George Christman
wrote:
So would I just add that exact method to my AppModule along with my owe
annotation annotation instance?
You'll need to write your own worker and annotation, so you'll need to
adapt the line you posted here.
If you add this to y
So would I just add that exact method to my AppModule along with my owe
annotation annotation instance?
On Wed, Sep 3, 2014 at 11:33 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 03 Sep 2014 12:30:14 -0300, George Christman <
> gchrist...@cardaddy.com> wrote:
>
> Thank
On Wed, 03 Sep 2014 12:30:14 -0300, George Christman
wrote:
Thanks Thiago, what would I need to do to get tapestry to see my
annotation. I see this in the tapestry app module.
@Contribute(ComponentClassTransformWorker2.class) @Primary public
static
void provideTransformWorkers( Ordered
Thanks Thiago, what would I need to do to get tapestry to see my
annotation. I see this in the tapestry app module.
@Contribute(ComponentClassTransformWorker2.class) @Primary public static
void provideTransformWorkers( OrderedConfiguration<
ComponentClassTransformWorker2> configuration, MetaWo
Could this be a case for ProgressiveDisplay?
--
Chris
On Wed, Sep 3, 2014 at 5:09 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 03 Sep 2014 08:51:29 -0300, Chung Khanh Duy <
> chungkhanhduy1...@gmail.com> wrote:
>
> Hi experts,
>>
>
> Hi!
>
>
> So now I would like t
On Wed, 03 Sep 2014 11:58:33 -0300, Dmitry Gusev
wrote:
Aren't you talking about different things: ActivationRequestParameter vs.
PageActivationContext ?
Yeah, Lance is talking about activation context, while George about
request parameters.
https://issues.apache.org/jira/browse/TAP5-14
Yes, but I get what he was saying. I'll take a look at the tap worker
method tonight and see if I can't figure out how to get a custom one
working. Dmitry, do you know what I'll need to do in my app module to get
my custom annotation working?
On Wed, Sep 3, 2014 at 10:58 AM, Dmitry Gusev
wrote:
On Wed, 03 Sep 2014 08:51:29 -0300, Chung Khanh Duy
wrote:
Hi experts,
Hi!
So now I would like to do something in another thread and after this
thread completed, I will render resultZone. Is that possible ?
Yes and no. Yes if you don't mind the AJAX request being blocked until the
ot
Aren't you talking about different things: ActivationRequestParameter vs.
PageActivationContext ?
On Wed, Sep 3, 2014 at 5:31 PM, George Christman
wrote:
> I'd like to just create my own then since it handles the urls so well. How
> would I go about doing that lance?
>
>
> On Wed, Sep 3, 2014 a
Thanks for your help.
I just changed the port from 8080 to 8081 and it works now.
Sem
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Hi experts,
I am facing the problem :
- I have one action link in tml with its name is alink binding with zone
- in Java code I have:
onActionFromALink() {
// do something
if (request.isXHR()) {
return resultZone;
}
}
So now I would like to do something in another thread and after this
I'd like to just create my own then since it handles the urls so well. How
would I go about doing that lance?
On Wed, Sep 3, 2014 at 2:23 AM, Lance Java
wrote:
> @PageActivationContext is a convenience annotation that ultimately creates
> onActivate(..) and onPassivate() methods on your page. I
I was wondering if you'd want to get the last word in Net Dawg ;)
On Wed, Sep 3, 2014 at 5:26 PM, Net Dawg wrote:
> Thanks Chris. The intent of this question was to get a start toward
> streaming "pure content" - not just text, but also (and especially PDF),
> XML, imagery - whatever - anythin
Thanks Chris. The intent of this question was to get a start toward streaming
"pure content" - not just text, but also (and especially PDF), XML, imagery -
whatever - anything except HTML. My solution finally was to mimic a previously
coded button press on an HTML page. Why? Because that is
38 matches
Mail list logo