Normally you would return an Object[] from passivate and tapestry will
coerce it into the correct result.
--
Chris
On Mon, Nov 28, 2016 at 6:41 PM, Adam X wrote:
> Okay, I tried @Persist(FLASH) EventContext ec storing it in activation
> and simply returning in passivation and it works.
>
> Thi
FYI, this is mentioned in the docs here:
http://tapestry.apache.org/ajax-and-zones.html
(about half way down -- search for the word "carat")
On Mon, Nov 28, 2016 at 10:54 AM, Adam X wrote:
> Thanks !
>
> On Mon, Nov 28, 2016 at 4:53 PM, Peter Hvass
> wrote:
>> Hey there Adam! It means it ta
Okay, I tried @Persist(FLASH) EventContext ec storing it in activation
and simply returning in passivation and it works.
This came up as I was trying to solve a different problem which is
still haunting me. Essentially, I did a modal feature just like in the
jumpstart and it all works very nice:
I'm trying to passivate large number (and dynamic) contexts. The
signature of my activation looks like this:
@OnEvent(value=EventConstants.ACTIVATE)
void parseContext(EventContext ec) {
and there is a lot going on in there as far as parsing the context. So
I'm trying to do this to passiva
Hey again!
Are you trying to pass a value to the context parameter of an eventlink by
any chance?
You can just use any old properties in Java classes - either the Tapestry
way with an @Property attached to a field or a public getter of any old
type. If it's anything beyond standard Java types (i.
Howdy again!
So what's the approved Tapestry way to create an instance of this interface?
Adam
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Thanks !
On Mon, Nov 28, 2016 at 4:53 PM, Peter Hvass wrote:
> Hey there Adam! It means it targets the nearest containing zone!
>
> i.e.:
>
>
>>
>
> Bob
>
>
>>
>
>
> In this example the eventlink targets zone2.
>
> Hope this helps!
>
> Peter
>
> On 28 November 2016 at 17:48, A
Hey there Adam! It means it targets the nearest containing zone!
i.e.:
>
Bob
>
In this example the eventlink targets zone2.
Hope this helps!
Peter
On 28 November 2016 at 17:48, Adam X wrote:
> Hi,
>
> This jumpstart example uses zone attribute as in the title:
>
> htt
Hi,
This jumpstart example uses zone attribute as in the title:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/modal/1
What does this notation mean? I can't find any documentation on this.
Adam
-
To unsu