Thnx very much Shing

dwi ardi irawan
http://dwiardiirawan.blogs.or.id

Shing Hing Man wrote:
In order to have a particular element selected when
the page is rendered,
you need to set the value parameter of your
PropertySelection model to the desired value.

You can try the following.
In the PageBeginRenderListener  method :

if (not rewinding){
  // In render mode
  desiredElement = get it from your IPropertyModel;
set value of PropertySelection model to desiredElement;

}

Shing


--- Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote:

i got a form that contain PropertySelection
i want when i change to edit Mode (DirectLink with
parameter)....
the PropertySelection automatically to be set based
on the parameter that i give in HTML

Grid(send the parameter) -> From (Edit Mode set the
selected of propertySelction)
example
paramater : "a"
propertySelection = {"a", "b", "c"}

when i klik the DirectLink the "a" would be the
selected of propertySelection

could anyone help me ?





Home page :
  http://uk.geocities.com/matmsh/index.html


                
___________________________________________________________ Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to