[jifty-devel] How to do multiple onclick region actions

jpollack at gmail.com jpollack at gmail.com
Thu Mar 1 17:01:28 EST 2007


Yep, that works as expected.  Thanks.
I've attached a minimal 2-line doc patch.

Joshua

On 2/28/07, Andrew Sterling Hanenkamp <andrew.hanenkamp at boomer.com> wrote:
> I believe this will do the job. It's not well-documented... maybe I'll
> work on that tomorrow... ;)
>
> Jifty->web->link(
>    ...,
>    onclick => [
>       { region => 'foo', replace_with => '/fragments/foo2' },
>       { region => 'bar', replace_with => '/fragements/bar2' },
>    ],
> );
>
>
> --
> Andrew Sterling Hanenkamp
> Interaction Developer
> Boomer Consulting, Inc.
>
> 1.785.537.2358 ext. 17
> 1.888.266.6375 ext. 17
> 1.785.537.4545 (fax)
>
> 610 Humboldt
> Manhattan, KS 66502
>
> http://www.boomer.com/about/team/andrew-hanenkamp.html
> andrew.hanenkamp at boomer.com
>
> -----Original Message-----
> From: jifty-devel-bounces at lists.jifty.org
> [mailto:jifty-devel-bounces at lists.jifty.org] On Behalf Of
> jpollack at gmail.com
> Sent: Wednesday, February 28, 2007 4:04 PM
> To: Nifty apps in a Jiffy
> Subject: [jifty-devel] How to do multiple onclick region actions
>
> Hi,
>
> How do I specify more than one region to 'onclick' in
> Jifty->web->link?  What I'm trying to do is have a link that onclick,
> does both a region replacement, and a refresh on a separate region.
> Or two replacements, or two refreshes, &c.  I looked through the
> documentation on how to do this, sorry if it's obvious and I missed it.
>
> Thanks,
> Joshua
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mypatch
Type: application/octet-stream
Size: 628 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070301/1c0a02e4/mypatch.obj


More information about the jifty-devel mailing list