On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
Smart list automatically logs results to source
This is in a JSP file, using the JSTL tag <c:forEach to iterate through the component results:<script> <c:forEach items="${component.results}" var="content"> var Data = { text1: "${content.text1}", text2: "${content.text2}", text3: "${content.text3}" };
This is just done so I can access the different types (text1, text2, text3) of the component results later.
For some reason the page source is printing out
var Data = { | |
text1: "[Whatever text 1 is]", | |
text2: "[Whatever text 2 is]", | |
text3: "[Whatever text 3 is]" | |
}; |
for each of the results, which makes my source page 20,000+ lines long. Anyway to prevent this? Or does anyone know if this is even a WEM issue and not a Javascript/JSP issue?
Any input would be appreciated.
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax