| Summary: | Freemarker expressions not working on DomModelCreator created fragments | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Martin Weiler <mweiler> |
| Component: | JBossESB | Assignee: | Tom Fennelly <tom.fennelly> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.0 GA | CC: | tom.fennelly |
| Target Milestone: | --- | ||
| Target Release: | 5.2.0.ER5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-3065 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-04 12:54:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Martin Weiler
2011-05-13 09:56:31 UTC
I think there actually is a solution to this within FreeMarker, but it's a bit ugly. Read this... http://freemarker.org/docs/xgui_imperative_learn.html Anyway.. the freemarker syntax for nodemodel would be something like... ${item.personalnummer[0]!"not available"} Note the [0] Candiate, not commited. Can we deal with it in Smooks? Or if it requires an update to freemarker, then we need to punt. Tom C to investigate This can not be fixed within Smooks. It's a FreeMarker issue. There is a workaround however (see comment above). Ooops... sorry... shouldn't have closed that No ESB change or Freemarker change required here, the resolution should be to follow the steps outlined by Tom F and the workaround. No change, no verification needed. |