You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jeff Emminger <ma...@jeffemminger.com> on 2005/07/27 20:09:03 UTC

how to select option in PropertySelection from querystring?

hi all,

i have a page with a PropertySelection that renders a table of data 
depending on which option is selected.  the table headers have 
DirectLinks to do sorting of the data.  i'm passing the id of the 
selected option as a parameter in the DirectLink.

i'm having trouble figuring out how to set the selected option when the 
sort links are clicked, without making the PropertySelection persistent.

.page goes something like this:
  <component id="select" type="PropertySelection">
	<binding name="model" expression="model"/>
	<binding name="value" expression="selectedId"/>
  </component>

  <component id="link" type="DirectLink">
	<binding name="listener" expression="listeners.linkClicked"/>
	<binding name="parameters" expression="selectedId"/>
  </component>


thanks,
jeff


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