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

Andreas Sachs commented on WW-5149:
-----------------------------------

Sorry for all the changes. Now the order is wrong:

 

if (this.labelposition != null) {
uiBean.setLabelposition(this.labelposition);
}
uiBean.setLabelPosition(this.labelPosition);

 

If someone uses the old property it's overwritten with null

> labelposition and 2.5.27
> ------------------------
>
>                 Key: WW-5149
>                 URL: https://issues.apache.org/jira/browse/WW-5149
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Tags, Plugin - Tiles
>    Affects Versions: 2.5.27
>            Reporter: Andreas Sachs
>            Priority: Major
>             Fix For: 2.5.28
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> according to WW-5132 labelposition should be deprecated. But i get an error. 
>  
> With 2.5.26:
> checkbox with unknown attribute: ignored
> checkbox with labelposition:  ok
> checkbox with labelPosition: ignored
>  
> With 2.5.27:
> checkbox with unknown attribute: ignored
> checkbox with labelposition:  JasperException
> checkbox with labelPosition: ok
>  
> org.apache.jasper.JasperException: <file> (Zeile: [13], Spalte: [4]) Keine 
> Setter Methode für das Attribut [labelposition] gefunden.
> (Setter not found)
>  
> I'm using tiles.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to