my bad on the second error put in a extra character. ========================= BJ Freeman Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/control/automation?forumId=SUPPLYCHAIN>
Specialtymarket.com <http://www.specialtymarket.cos> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man BJ Freeman sent the following on 6/15/2011 6:44 PM: > thanks now to figure out the errors > > 2011-06-15 18:16:43,200 (TP-Processor13) [ UtilXml.java:1043:ERROR] > XmlFileLoader: File > file:/opt/apache/businessesnetwork/specialpurpose/publicface/widget/businessesnetwork/ForumScreens.xml > process error. Line: 151. Error message: cvc-complex-type.2.3: Element > 'condition' cannot have character [children], because the type's content > type is element-only. > > 2011-06-15 18:16:43,637 (TP-Processor13) > [FlexibleStringExpander.java:692:ERROR] Error evaluating expression > ${StringUtil.wrapString(contentText)}: javax.el.ELException: Error > parsing '${StringUtil.wrapString(contentText)}': syntax error at > position 23, encountered '(', expected '}' > > my guess is that contentText is not a string and or the html content in > contentText is causing a problem. > > also check the trunk demo just to be sure, that the code had not been > changed since my version. > http://demo-trunk.ofbiz.apache.org/ecommerce/control/ViewForumMessage?forumId=10003&responseContentId=10004&threadContentId=10003 > > ========================= > BJ Freeman > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/control/automation?forumId=SUPPLYCHAIN> > > Specialtymarket.com <http://www.specialtymarket.cos> > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > > Scott Gray sent the following on 6/15/2011 2:02 PM: > > >> ${StringUtil.wrapString(contentText)} >> >> or something like that anyway, a search for wrapString will find you some >> examples. >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 16/06/2011, at 6:54 AM, BJ Freeman wrote: >> >>> mind went blank >>> have this from showforummessage >>> <container style="forumtext"> >>> <label>${contentText}</label> >>> it generates a escaped test of the html. >>> I can remember how to make this html without escape. >>> http://www.businessesnetwork.com/control/ViewForumMessage?forumId=SPO&threadContentId=SPO&responseContentId=10012&contentAssocTypeId=RESPONSE >>> >>> >>> >>> >>> ========================= >>> >>> BJ Freeman >>> Strategic Power Office with Supplier Automation >>> <http://www.businessesnetwork.com/control/automation?forumId=SUPPLYCHAIN> >>> >>> Specialtymarket.com <http://www.specialtymarket.cos> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> >> >
