If I have a property such as

private List<String> myList;
....
....

Is there a way that I can initialize the list through action configuration? I 
have tried the following:

#action name="queueContent" class="ccol.action.queue.QueueRead"   
method="getMyQueueContent"#           
    #param name="myList"#  {Alarmed,Open} #/param#
    #result name="success"#  myQueueContent  #/result#
 #/action#

and

#action name="queueContent" class="ccol.action.queue.QueueRead"   
method="getMyQueueContent"#           
    #param name="myList"#  Alarmed #/param#
    #param name="myList"#  Open     #/param#
    #result name="success"#myQueueContent#/result#
 #/action#

For the last case, the list is initialized with Open [which makes sense as 
Alarmed gets overwritten, but I just wanted to try].


      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to