]
Pete Muir updated JBSEAM-2471:
------------------------------
Fix Version/s: 2.1.x
(was: 2.1.0.GA)
add s:concat and s:range functions
----------------------------------
Key: JBSEAM-2471
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2471
Project: Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.0.1.CR1
Reporter: Dan Allen
Assigned To: Dan Allen
Priority: Minor
Fix For: The future
Attachments: JBSEAM-2471-v1.txt
Original Estimate: 30 minutes
Remaining Estimate: 30 minutes
My #1 EL pet peeve is that there is no way to concatenate a string. This is like serious
basic stuff and it is perfectly reasonable to want to perform this task in EL. I realize I
could invent my own solution (and I have), but we want to sweep those common cases under
the rug like what was done with the magic collection functions (size, isEmpty, etc).
How about s:concat('one', 'two')?
I am going to squeeze one more in here. I can't tell you the number of times I have
needed to quickly create an iteration loop in the UI over a range of numbers, only to
realize that there isn't an easy way aside from creating a component. Can we add an
s:range() function that creates a collection on the fly?
s:range(1, 5)
This is somewhat of a precedence since the only two functions in s: right now are
security related.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: