struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Cheung" <peter.s.che...@home.com>
Subject options tag
Date Fri, 30 Jun 2000 04:50:58 GMT
    I noticed that subscription.jsp in the example uses a "options" tag (see
the code below):

      <struts:select property="type">
        <struts:options name="serverTypeValues"
                   labelName="serverTypeLabels"/>
      </struts:select>

    After I read thru the tag.html, I am still not understand of how to
provide the collection of the label and value to this tag, esp. I cannot
locate the piece of code that creates the "serverTypeValues" or the
"serverTypeLabels" objects. I wonder if anyone explain to me how those 2
objects are being created. Thx in advance.


Mime
View raw message