On Apr 2, 2011, at 11:51 AM, Grzegorz Krugły wrote: > W dniu 2011-04-02 19:43, Thomas Menke pisze: >> As you can see I am trying to call the isSelected method which is as I >> know (and as far as error messages and google tell me) not possible in >> EL. But how to deal with this then? I guess that it is not such a seldom > > You can also create a method in your action bean that will return a > Map<SomePropertyType, Boolean>, let's say it's called getSelectedMap. > Then you can do <c:if test="${actionBean.selectedMap[p]}">. > It's usually not very expensive to do it that way, as long as you only > compute the map once (using lazy initialization and storing it in an > action bean field for later use).
Yea, this is straight from the Mongus Playbook of Mad Hackery. It works, it works pretty well, but it's certainly tainted in its own way. Regards, Will Hartung ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users