Thanks, that was an interesting read, but it doesn't help solve my problem. I still don't see how I would pass a persisted property-bound parameter to the implementation mixin. The only related code I've seen is like

@Component(parameters={"hidden=hide"})

but using that like this doesn't work for obvious reasons, since its a Mixin not a Component

@Component(parameters={"hidden=hide"}) @Mixin("HideShowSearch")
    private HideShowSearch hss;



On 04/05/2011 08:51 PM, Taha Hafeez wrote:
Hi

There was a discussion related to 'Parameters in Implementation Mixins'...
http://tapestry.1045711.n5.nabble.com/Parameters-in-implementation-mixins-td3395407.html

Hope it helps

<http://tapestry.1045711.n5.nabble.com/Parameters-in-implementation-mixins-td3395407.html>
regards
Taha

On Wed, Apr 6, 2011 at 2:22 AM, Rich M<rich...@moremagic.com>  wrote:

Hi,

I have a Page and it has a search form, contained within an ID'ed DIV. I
made an implementation mixin that initializes an Event observer on the on
click event of a 'button' in the Page's HTML. The event triggers javascript
that hides/shows the search form.

That works fine, but I want to add functionality so there is persistence of
the hide/show state between page refreshes. Documentation recommends to
delegate persistence to the container using parameters, but I haven't seen
any documentation that indicates it is possible to use parameters on an
implementation mixin. At any rate, what would be the concept to achieving
this, having the javascript hide/show event return an XHR request to the
server that it in turn uses to set the persistent field?

Thanks,
Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to