You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ma...@sqs.de on 2005/06/22 11:50:06 UTC

Component PropertySelection

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've just a litte question. Is it possible to pre-select the component
PropertySelection?

For example i want by initalization the 2nd option selected like this:
<select>
  <option value="0"></option>
  <option value="1" selected="selected"></option>
  <option value="2"></option>
<select>

Best Regards,

Mathias

- --
Mathias Herkt (Diplomand)    | SQS Software Quality Systems AG
                             | Stollwerckstrasse 11
Phone:+49 2203/9154-7110     | D-51149 Cologne, GERMANY
Fax:+49 2203/9154-15         | http://www.sqs.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCuTRO8hWAS3IShqURAr33AJ9qGQCKrZxf38gvlkhROIqQAiZcFgCfZThO
xAPj4M1l2ZiyfNCcE7IZ/vI=
=I+A/
-----END PGP SIGNATURE-----

Re: Component PropertySelection

Posted by Jacob von Eyben <je...@nordija.dk>.
Hi,

The property that you have bound to the value attribute for your
propertySelection is set to the same value as the 2nd entry in your
propertySelection.

That should initialise the select-box to show the second entry.

/Jacob von Eyben

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I've just a litte question. Is it possible to pre-select the component
> PropertySelection?
>
> For example i want by initalization the 2nd option selected like this:
> <select>
>   <option value="0"></option>
>   <option value="1" selected="selected"></option>
>   <option value="2"></option>
> <select>
>
> Best Regards,
>
> Mathias
>
> - --
> Mathias Herkt (Diplomand)    | SQS Software Quality Systems AG
>                              | Stollwerckstrasse 11
> Phone:+49 2203/9154-7110     | D-51149 Cologne, GERMANY
> Fax:+49 2203/9154-15         | http://www.sqs.de
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
>
> iD8DBQFCuTRO8hWAS3IShqURAr33AJ9qGQCKrZxf38gvlkhROIqQAiZcFgCfZThO
> xAPj4M1l2ZiyfNCcE7IZ/vI=
> =I+A/
> -----END PGP SIGNATURE-----
>


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