You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ca...@usitc.gov on 2006/11/20 15:56:58 UTC

MultiplePropertySelection - informal params - best practice

I need a select list that supports multiple selections.

Using the MultiplePropertySelection component I need to create a "select
list" impl of IMultiplePropertySelectionRenderer.

What is the best way to pass arbitrary HTML attributes (e.g. informal
parameters) to the renderer?

Currently, my renderer has an "attributes" property (map<String,
String>).  When beginRender() is invoked, the renderer will output all
of the entries in the "attributes" map.

This seems pretty obvious . . . But I wanted to double check with the
collective - I couldn't find an already created impl of the renderer
that did this.

Carlos

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


RE: MultiplePropertySelection - informal params - best practice

Posted by Peter Beshai <pb...@hotmail.com>.
Do you mean something like AbstractComponent's renderInformalParameters ?

http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/AbstractComponent.html#renderInformalParameters(org.apache.tapestry.IMarkupWriter,%20org.apache.tapestry.IRequestCycle)



--
Peter Beshai - Using Tapestry 4.1.1

Pure Mathematics Student
University of Waterloo





>From: <Ca...@usitc.gov>
>Reply-To: "Tapestry users" <us...@tapestry.apache.org>
>To: <us...@tapestry.apache.org>
>Subject: MultiplePropertySelection - informal params - best practice
>Date: Mon, 20 Nov 2006 09:56:58 -0500
>
>I need a select list that supports multiple selections.
>
>Using the MultiplePropertySelection component I need to create a "select
>list" impl of IMultiplePropertySelectionRenderer.
>
>What is the best way to pass arbitrary HTML attributes (e.g. informal
>parameters) to the renderer?
>
>Currently, my renderer has an "attributes" property (map<String,
>String>).  When beginRender() is invoked, the renderer will output all
>of the entries in the "attributes" map.
>
>This seems pretty obvious . . . But I wanted to double check with the
>collective - I couldn't find an already created impl of the renderer
>that did this.
>
>Carlos
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>For additional commands, e-mail: users-help@tapestry.apache.org
>

_________________________________________________________________
Achetez ce que vous voulez, quand vous voulez sur Sympatico / MSN Magasiner 
http://magasiner.sympatico.msn.ca/content/shp/?ctId=101,ptnrid=176,ptnrdata=081805


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