Hi,
I am rebuilding a nice BootStrap theme with Appex. When doing something like: buildHtml() { var body = document.body; body.className=« front no-trans"; The generated html shows: <body class="front"> <!-- BEGIN body:100 - AppeX.Application class>>#bodyInstallApplication --> <script>(new $t.AppeX.SerendipityClient()).install();</script><div id="page-wrapper" class="page-wrapper"><div id="container" class="container"><div id="row" class="row"><p id="col-sm-6" class="col-sm-6">hi joh how are you</p></div></div></div> <!-- END body:100 --> </body> Is there some sort of workaround ? Regards, @+Maarten, _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Notice that putting this on the Application side with: headBodyToNoTrans <body: 99> ^'<body class="hekko "> ‘ Will show: <body class="hekko"> ??? Regards, @+Maarten,
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Olé finally the following did it,
buildHtml() { var body = document.body; body.className="front"; var aClassName = body.className; body.className =aClassName + » "+ "no-string"; The problem was the - sign which seems to provoke some coercing problems on concatenating string names. @+Maarten,
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Thank you Maarten, for letting us know. I’ll open a ticket for this.
Jerry Kott Smalltalk Development, Cincom Systems PGP fingerprint: 07D0987E142BE7D39A3F99D71DAF1CF392A9236F On 28-02-2015, at 8:02 AM, Maarten Mostert <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc signature.asc (507 bytes) Download Attachment |
Free forum by Nabble | Edit this page |