[ 
https://issues.apache.org/jira/browse/TAP5-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14805109#comment-14805109
 ] 

Jochen Kemnade commented on TAP5-2489:
--------------------------------------

No, I don't. The JavaDoc of {{Parameter.value()}} says: "The default value for 
the parameter if not bound", so if you don't specify the parameter, the value 
returned from {{value()}} is used.
That's how Tapestry interprets the annotation, and after all, the Palette 
component does work if you don't specify those parameters.

> Palette component parameter availableLabel and selectedLabel should have 
> required = false 
> ------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2489
>                 URL: https://issues.apache.org/jira/browse/TAP5-2489
>             Project: Tapestry 5
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Svein
>            Priority: Minor
>              Labels: component
>
> Having value = "message:core-palette-available-label" and value = 
> "message:core-palette-selected-label" then @Parameter(required = false) is 
> better! My IDE gives me error when selectedLabel or availableLabel is skipped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to