You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2009/12/01 23:49:20 UTC

[jira] Reopened: (TRINIDAD-1417) partialTriggers does not take String value

     [ https://issues.apache.org/jira/browse/TRINIDAD-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Robinson reopened TRINIDAD-1417:
---------------------------------------

      Assignee:     (was: Matthias Weßendorf)

Re-opening but will change it from a bug to a wish item as I believe it would be very useful to convert String to String[] at the component level instead of the tag level so that EL that points to a string or a string with EL in it will also be split into an array.

> 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.