You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Aleksandr Mashchenko <am...@apache.org> on 2016/05/06 08:19:22 UTC

Struts 2.5

Some strange issue here with 2.5.

Required labels are shown on both sides of the label. Seems like both 
if-s in xhtml controlheader-core.ftl evaluate to true.

https://github.com/apache/struts/blob/master/core/src/main/resources/template/xhtml/controlheader-core.ftl#L65
and
https://github.com/apache/struts/blob/master/core/src/main/resources/template/xhtml/controlheader-core.ftl#L69


Also following commit declared var in Set tag as required which breaks 
some of the use cases with Set. Going to change it back to optional.

https://github.com/apache/struts/commit/f8718f9187028c20bf1c042a6a7bfaaadd4ec8b8

---
Regards,
Aleksandr

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Struts 2.5

Posted by Lukasz Lenart <lu...@apache.org>.
2016-05-06 10:19 GMT+02:00 Aleksandr Mashchenko <am...@apache.org>:
> Some strange issue here with 2.5.
>
> Required labels are shown on both sides of the label. Seems like both if-s
> in xhtml controlheader-core.ftl evaluate to true.
>
> https://github.com/apache/struts/blob/master/core/src/main/resources/template/xhtml/controlheader-core.ftl#L65
> and
> https://github.com/apache/struts/blob/master/core/src/main/resources/template/xhtml/controlheader-core.ftl#L69

Hm... really strange, do you have an example?

> Also following commit declared var in Set tag as required which breaks some
> of the use cases with Set. Going to change it back to optional.
>
> https://github.com/apache/struts/commit/f8718f9187028c20bf1c042a6a7bfaaadd4ec8b8

but only for Set, right?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org