Ben Gunter seems to be on to a "half-fix"... half-fix because options-enumeration is empty, no tag body. I'm stuck with re-encoded entities. No good.
Tim > -----Original Message----- > From: Newman, John W [mailto:[email protected]] > Sent: Wednesday, May 20, 2009 4:42 PM > To: Stripes Users List > Subject: Re: [Stripes-users] Filtering output from options-enumeration > > I think this one > http://www.stripesframework.org/jira/browse/STS-251 is related ... > > -----Original Message----- > From: Stone, Timothy [mailto:[email protected]] > Sent: Wednesday, May 20, 2009 3:58 PM > To: Stripes Users List > Subject: [Stripes-users] Filtering output from options-enumeration > > I need to get the output of an options-enumeration "un-encoded". > > Consider the following: > > public enum GPA { > F ("1", "<2.00"), > D ("2", "2.00–2.49"), > C ("3", "2.50–2.99"), > B ("4", "3.00–3.49"), > A ("5", "3.50–3.99"), > A_PLUS ("6", "4.00"), > OTHER ("0", "Other"); > > ... > > public String getGpa() { return this.gpa; } > > ... > > > The output from the options-enumeration results in: > > <option value="F">&lt;2.00</option> > <option value="D">2.00&#8211;2.49</option> > ... > ... > > This might be good for most users, but bad for me/us, as we are using > entity notations like the endash to express ranges, e.g., > "–" (the > correct use of endashes*). > > Any ideas for a workaround? I'm considering something in the return > method, but I think something is happening in the tag itself > that would > defeat me. > > Thanks, > Tim > > PS. "–" is an endash. It is specifically used to indicate ranges > (http://www.alistapart.com/articles/emen/) > > -- > > Timothy Stone | Application Developer Technical Lead > Strategic Development, Business Technology Group | Barclaycard US > direct 302.255.8044 | cell 410.441.9450 > > COMPANY CONFIDENTIAL > > > > Barclays www.barclaycardus.com > > This e-mail and any files transmitted with it may contain > confidential and/or proprietary information. It is intended > solely for the use of the individual or entity who is the > intended recipient. Unauthorized use of this information is > prohibited. If you have received this in error, please > contact the sender by replying to this message and delete > this material from any system it may be on. > > > > -------------------------------------------------------------- > ---------------- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > -------------------------------------------------------------- > ---------------- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > Barclays www.barclaycardus.com This e-mail and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
