[ https://issues.apache.org/jira/browse/TRINIDAD-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679625#action_12679625 ]
Bart Kummel commented on TRINIDAD-1417: --------------------------------------- As a work around, you can use an EL expression, as mentioned. To make this a bit easier, you could register a Facelets function: The function: package com.company.my public class FaceletsFunctions public static String[] getStringArray(String string) { return string.split(" "); } } my.taglib.xml: <function> <function-name>getStringArray</function-name> <function-class>com.company.my.FaceletsFunctions</function-class> <function-signature>java.lang.String[] getStringArray(java.lang.String)</function-signature> </function> Usage: partialTriggers="#{my:getStringArray('selectedReaction')}" > partialTriggers does not take String value > ------------------------------------------ > > Key: TRINIDAD-1417 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1417 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Components, Facelets > Affects Versions: 1.2.10-core > Environment: Facelets 1.1.14, Trinidad 1.2.10, MyFaces core 1.2.4, > Glassfish v2 > Reporter: Bart Kummel > > When using the partialTriggers attribute, it does not take a literal String > (even if it only contains a single id). The only way to get partialTriggers > to work is to use a EL expression that returns a String[]. When using a > literal string, I get the following exception: > java.lang.IllegalArgumentException: Cannot convert selectedReaction of type > class java.lang.String to class [Ljava.lang.String; > I see some relation with bug #TRINIDAD-60. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.