[ https://issues.apache.org/jira/browse/TAP5-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-340: -------------------------------------- Your best bet is to define a single parameter of type EventContext; from this you can extract parameters of any type, and it does appropriate type coercion and value decoding for you. > Exception if onActivate has arg of type String[] > ------------------------------------------------ > > Key: TAP5-340 > URL: https://issues.apache.org/jira/browse/TAP5-340 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.0.15 > Reporter: Franz Amador > Priority: Minor > > It works fine for a page to have an onPassivate that returns String[]. > However, if a page has an onActivate whose arg is String[], Tapestry throws > an exception saying it cannot coerce String to String[]. The easy workaround > is to use an arg of type List<String> instead, but it would still be nice to > maintain the symmetry between onPassivate and onActivate. I presume all > that's needed is a Coercer from String to String[]. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]