Can labelValueBean be used in S2 select

2007-04-11 Thread McKinley, Kevin
I am converting a Struts1 page to Struts2. Can I reuse the
labelValueBeans used in the optionsCollection tag in the S2 select tag
or must I convert my list to a map?

I tried  using the labelValueBean in S2 but got the error: The requested
list key 'countryInfoList' could not be resolved as a
collection/array/map/enumeration/iterator type.

 

 

 

Thanks,

Any help will be appreciated



The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above.  If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited.  If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.


Exception starting filter struts2

2007-04-09 Thread McKinley, Kevin
I am attempting to add a struts2 page to an existing struts1
application.  I get an exception starting filter on deploy (see stack
trace below). Anyone have idea on how to resolve. My struts2 entry in
web.xml is:

 

filter

filter-namestruts2/filter-name

filter-class

org.apache.struts2.dispatcher.FilterDispatcher

/filter-class

/filter

 

filter-mapping

filter-namestruts2/filter-name

url-pattern/*/url-pattern

/filter-mapping

   filter

 

 

07:13:08,750 INFO  [TilesPlugin] Tiles definition factory loaded for
module ''.

07:13:18,484 INFO  [TomcatDeployer] deploy, ctxPath=/query-tool,
warUrl=.../tmp/deploy/tmp27603query-tool-exp.war/

07:13:20,234 ERROR [[/query-tool]] Exception starting filter struts2

Class: net.sf.saxon.event.SerializerFactory

File: SerializerFactory.java

Method: getReceiver

Line: 154 - net/sf/saxon/event/SerializerFactory.java:154:-1

at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadCo
nfigurationFiles(XmlConfigurationProvider.java:791)

at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDo
cuments(XmlConfigurationProvider.java:132)

at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(X
mlConfigurationProvider.java:100)

at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultC
onfiguration.java:130)

at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Con
figurationManager.java:52)

at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispa
tcher.java:398)

at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)

at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.jav
a:201)

at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi
lterConfig.java:225)

at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio
nFilterConfig.java:308)

at
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilte
rConfig.java:79)

at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
a:3540)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4110
)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

 



The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above.  If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited.  If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.