You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by barou <ZS...@gmail.com> on 2016/03/14 10:10:35 UTC
screen design errors problem
I am designing a screen.
2016-03-14 10:32:29,752 (http-bio-0.0.0.0-8080-exec-20) [
UtilXml.java:1060:ERROR] XmlFileLoader: File
file:/home/Testers/Tester/Test/hot-deploy/osafe/widget/CustomScreens.xml
process error. Line: 24. Error message: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'decorator-section'. One of
'{AllWidgets}' is expected.
here is my screen.xml
<screen name="validationComplete">
<section>
<actions>
</actions>
<widgets>
<decorator-section name="body">
<platform-specific>
<html>
<html-template
location="component:/osafe/webapp/osafe/common/entry/test/validationComplete.ftl"/>
</html>
</platform-specific>
</decorator-section>
</widgets>
</section>
</screen>
--
View this message in context: http://ofbiz.135035.n4.nabble.com/screen-design-errors-problem-tp4677776.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: screen design errors problem
Posted by barou <ZS...@gmail.com>.
Thanks very much
Deepak Dixit-3
That did the trick.
Tks
On Mon, Mar 14, 2016 at 10:50 AM, Deepak Dixit-3 [via OFBiz] <
ml-node+s135035n4677777h19@n4.nabble.com> wrote:
> Hi barou,
>
> Please use decorator-screen tag or remove decorator-section tag.
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
>
> On Mon, Mar 14, 2016 at 2:40 PM, barou <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4677777&i=0>> wrote:
>
> > I am designing a screen.
> > 2016-03-14 10:32:29,752 (http-bio-0.0.0.0-8080-exec-20) [
> > UtilXml.java:1060:ERROR] XmlFileLoader: File
> > file:/home/Testers/Tester/Test/hot-deploy/osafe/widget/CustomScreens.xml
> > process error. Line: 24. Error message: cvc-complex-type.2.4.a: Invalid
> > content was found starting with element 'decorator-section'. One of
> > '{AllWidgets}' is expected.
> >
> > here is my screen.xml
> >
> > <screen name="validationComplete">
> > <section>
> > <actions>
> > </actions>
> > <widgets>
> > <decorator-section name="body">
> > <platform-specific>
> > <html>
> > <html-template
> >
> >
> location="component:/osafe/webapp/osafe/common/entry/test/validationComplete.ftl"/>
>
> > </html>
> > </platform-specific>
> > </decorator-section>
> > </widgets>
> > </section>
> > </screen>
> >
> >
> >
> > --
> > View this message in context:
> >
> http://ofbiz.135035.n4.nabble.com/screen-design-errors-problem-tp4677776.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://ofbiz.135035.n4.nabble.com/screen-design-errors-problem-tp4677776p4677777.html
> To start a new topic under OFBiz - User, email
> ml-node+s135035n135036h48@n4.nabble.com
> To unsubscribe from screen design errors problem, click here
> <http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4677776&code=WlNCYXJvdUBnbWFpbC5jb218NDY3Nzc3NnwyODg0MTYxMDc=>
> .
> NAML
> <http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://ofbiz.135035.n4.nabble.com/screen-design-errors-problem-tp4677776p4677782.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: screen design errors problem
Posted by Deepak Dixit <de...@hotwaxsystems.com>.
Hi barou,
Please use decorator-screen tag or remove decorator-section tag.
Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
On Mon, Mar 14, 2016 at 2:40 PM, barou <ZS...@gmail.com> wrote:
> I am designing a screen.
> 2016-03-14 10:32:29,752 (http-bio-0.0.0.0-8080-exec-20) [
> UtilXml.java:1060:ERROR] XmlFileLoader: File
> file:/home/Testers/Tester/Test/hot-deploy/osafe/widget/CustomScreens.xml
> process error. Line: 24. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'decorator-section'. One of
> '{AllWidgets}' is expected.
>
> here is my screen.xml
>
> <screen name="validationComplete">
> <section>
> <actions>
> </actions>
> <widgets>
> <decorator-section name="body">
> <platform-specific>
> <html>
> <html-template
>
> location="component:/osafe/webapp/osafe/common/entry/test/validationComplete.ftl"/>
> </html>
> </platform-specific>
> </decorator-section>
> </widgets>
> </section>
> </screen>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/screen-design-errors-problem-tp4677776.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>