[MAGNOLIA-501] custom tag 'IfExisting' and 'IfNotExisting' Created: 24/Jul/05 Updated: 17/Mar/09 Resolved: 26/Jul/05 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | taglibs |
| Affects Version/s: | 2.1 Final |
| Fix Version/s: | 2.1 Final |
| Type: | New Feature | Priority: | Major |
| Reporter: | Michael Aemisegger | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
all |
||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
The custom tags IfEmpty and IfNotEmpty are very slow when evaluating binary data. Because these tags load the binary data into memory they also consum a lot of resources. This effect is severed with increasing sizes of binary data. The attached custom tag java classes check only for existence of nodes and therefore are much faster and less resource hungry. The taglib definition snippets are: <tag> |
| Comments |
| Comment by Philipp Bracher [ 25/Jul/05 ] |
|
commited. Thanks |
| Comment by Boris Kraft [ 26/Jul/05 ] |
|
reassigned to RC3 |