Hi,
I know you probably do not support these unstable builds, but I was hoping there was an easy workaround for a couple of issues that I have. Perhaps this could be of use as a bugreport, at least? 1. There seems to be no more log output to the tomcat console. Instead, I am getting repeated lines with '...' only 2. Attempting to use the new autocomplete xforms control, I get a duplicate box below with the name $xforms-label-value$ :
Here is the code: <?xml version='1.0' encoding='utf-8' ?> <xhtml:html xmlns=" " xmlns:aspic="http://www.cruk.com/aspic/editor/v1" xmlns:ev=" http://www.w3.org/2001/xml-events" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xforms=" http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xi="http://orbeon.org/oxf/xml/xinclude " xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xxforms=" http://orbeon.org/oxf/xml/xforms" xsl:version="2.0" > <xhtml:head> <xhtml:meta content="text/html; charset=UTF-8" http-equiv="Content-Type" ></xhtml:meta> <xhtml:title> Expression Editor </xhtml:title> <xforms:model> <xforms:instance id="expression" > <aspic:claim> <aspic:id>-1</aspic:id> <aspic:expression></aspic:expression> <aspic:nextToken> <aspic:token>NEG</aspic:token> <aspic:token>IDN</aspic:token> </aspic:nextToken> <aspic:identifier>aLocalidentifier</aspic:identifier> <aspic:identifier>aCat</aspic:identifier> <aspic:identifier>aDog</aspic:identifier> <aspic:variable>MyVariable</aspic:variable> <aspic:variable>VariableB</aspic:variable> </aspic:claim> </xforms:instance> <xforms:instance id="update-expression" > <aspic:claim> <aspic:expression></aspic:expression> <aspic:selectedToken></aspic:selectedToken> <aspic:identifier></aspic:identifier> <aspic:variable></aspic:variable> </aspic:claim> </xforms:instance> <xforms:submission action="/expression/next" id="next-token" instance="update-expression" method="post" replace="instance" ></xforms:submission> </xforms:model> </xhtml:head> <xhtml:body> <div id="expression" > <h2>Expression: <xforms:output ref="instance('expression')/aspic:expression" ></xforms:output></h2> </div> <div id="next-token" > <h2>Next Tokens:</h2> <table> <xforms:repeat id="token-repeat" nodeset="instance('expression')/aspic:nextToken" > <tr> <td> <xforms:submit appearance="xxforms:link" ref="aspic:token[text()='NEG']" submission="next-token" > <xforms:label>Negation</xforms:label> <xforms:help>negation is a way to say 'not'</xforms:help> <xforms:setvalue ref="instance('update-expression')/aspic:selectedToken" value="NEG" ></xforms:setvalue> <xforms:send ev:event="token-added-event" submission="next-token" ></xforms:send> </xforms:submit> </td> </tr> <xforms:group ref="aspic:token[text()='IDN']" id="identifier"> <tr> <td> <xforms:submit appearance="xxforms:link" submission="next-token" > <xforms:label>Identifier : </xforms:label> <xforms:setvalue ref="aspic:selectedToken" value="IDN" ></xforms:setvalue> <xforms:send ev:event="token-added-event" submission="next-token" ></xforms:send> </xforms:submit> <xforms:select1 ref="instance('expression')/aspic:identifier" selection="open" incremental="true" appearance="xxforms:autocomplete"> <xforms:help>Please enter the name of your identifier. It must start with a lowercase letter.... Note to self: Bind this field</xforms:help> <xforms:itemset nodeset="instance('expression')/aspic:identifier"> <xforms:label ref="."/> <xforms:value ref="."/> </xforms:itemset> </xforms:select1> </td> </tr> </xforms:group> <tr></tr> <tr></tr> <!--tr> <td valign="top"> Identifier: </td> <td> <xforms:select ref="instance('update-expression')/aspic:identifier" appearance="compact"> <xforms:itemset nodeset="instance('expression')/aspic:identifier"> <xforms:label ref="."/> <xforms:value ref="."/> </xforms:itemset> </xforms:select> </td> <td> <xforms:submit submission="next-token" appearance="xxforms:link" > <xforms:label>go</xforms:label> <xforms:setvalue ref="instance('update-expression')/aspic:expression" value=""/> <xforms:setvalue ref="instance('update-expression')/aspic:selectedToken" value="IDN"/> <xforms:send submission="next-token" ev:event="token-added-event"/> </xforms:submit> </tr> </tr> <tr> <td></td> <td> <xforms:input ref="instance('update-expression')/aspic:selectedToken"/></td> </td> </tr--> </xforms:repeat> </table> </div> </xhtml:body> </xhtml:html> Any insight would be greatly appreciated :-) Thanks! Henrik Pettersen Advanced Computation Laboratory Cancer Research UK -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Henrik,
You probably got a bad build. I just downloaded the latest nightly, and things seem to work quite well. The "..." was clearly a temporary glitch. -Erik Henrik Pettersen wrote: > Hi, > > I know you probably do not support these unstable builds, but I was > hoping there was an easy workaround for a couple of issues that I have. > Perhaps this could be of use as a bugreport, at least? > > 1. There seems to be no more log output to the tomcat console. Instead, > I am getting repeated lines with '...' only > 2. Attempting to use the new autocomplete xforms control, I get a > duplicate box below with the name $xforms-label-value$ : > > Identifier : <http://localhost:8080/editor/expression/new> > > $xforms-label-value$ <http://localhost:8080/editor/expression/new> > > > Here is the code: > > <?xml version='1.0' encoding='utf-8' ?> > <xhtml:html xmlns=" " > xmlns:aspic="http://www.cruk.com/aspic/editor/v1" xmlns:ev=" > http://www.w3.org/2001/xml-events" > xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xforms=" > http://www.w3.org/2002/xforms" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xi="http://orbeon.org/oxf/xml/xinclude > <http://orbeon.org/oxf/xml/xinclude>" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xxforms=" > http://orbeon.org/oxf/xml/xforms" xsl:version="2.0" > > <xhtml:head> > <xhtml:meta content="text/html; charset=UTF-8" > http-equiv="Content-Type" ></xhtml:meta> > > <xhtml:title> Expression Editor </xhtml:title> > > <xforms:model> > <xforms:instance id="expression" > > <aspic:claim> > <aspic:id>-1</aspic:id> > <aspic:expression></aspic:expression> > <aspic:nextToken> > <aspic:token>NEG</aspic:token> > <aspic:token>IDN</aspic:token> > </aspic:nextToken> > > <aspic:identifier>aLocalidentifier</aspic:identifier> > <aspic:identifier>aCat</aspic:identifier> > <aspic:identifier>aDog</aspic:identifier> > <aspic:variable>MyVariable</aspic:variable> > <aspic:variable>VariableB</aspic:variable> > </aspic:claim> > </xforms:instance> > > <xforms:instance id="update-expression" > > <aspic:claim> > <aspic:expression></aspic:expression> > <aspic:selectedToken></aspic:selectedToken> > <aspic:identifier></aspic:identifier> > <aspic:variable></aspic:variable> > </aspic:claim> > </xforms:instance> > > <xforms:submission action="/expression/next" id="next-token" > instance="update-expression" method="post" replace="instance" > ></xforms:submission> > </xforms:model> > </xhtml:head> > > <xhtml:body> > <div id="expression" > > <h2>Expression: <xforms:output > ref="instance('expression')/aspic:expression" ></xforms:output></h2> > </div> > <div id="next-token" > > <h2>Next Tokens:</h2> > <table> > <xforms:repeat id="token-repeat" > nodeset="instance('expression')/aspic:nextToken" > > <tr> > <td> > <xforms:submit appearance="xxforms:link" > ref="aspic:token[text()='NEG']" submission="next-token" > > > <xforms:label>Negation</xforms:label> > <xforms:help>negation is a way to say > 'not'</xforms:help> > <xforms:setvalue > ref="instance('update-expression')/aspic:selectedToken" value="NEG" > ></xforms:setvalue> > <xforms:send > ev:event="token-added-event" submission="next-token" ></xforms:send> > </xforms:submit> > </td> > </tr> > <xforms:group ref="aspic:token[text()='IDN']" > id="identifier"> > <tr> > <td> > <xforms:submit appearance="xxforms:link" > submission="next-token" > > <xforms:label>Identifier : > </xforms:label> > <xforms:setvalue > ref="aspic:selectedToken" value="IDN" ></xforms:setvalue> > <xforms:send > ev:event="token-added-event" submission="next-token" ></xforms:send> > </xforms:submit> > > <xforms:select1 > ref="instance('expression')/aspic:identifier" selection="open" > incremental="true" appearance="xxforms:autocomplete"> > <xforms:help>Please enter the name > of your identifier. It must start with a lowercase letter.... Note to > self: Bind this field</xforms:help> > <xforms:itemset > nodeset="instance('expression')/aspic:identifier"> > <xforms:label ref="."/> > <xforms:value ref="."/> > </xforms:itemset> > </xforms:select1> > > </td> > </tr> > </xforms:group> > <tr></tr> > <tr></tr> > <!--tr> <td valign="top"> Identifier: </td> <td> > <xforms:select ref="instance('update-expression')/aspic:identifier" > appearance="compact"> <xforms:itemset > nodeset="instance('expression')/aspic:identifier"> <xforms:label > ref="."/> <xforms:value ref="."/> </xforms:itemset> </xforms:select> > </td> <td> <xforms:submit submission="next-token" > appearance="xxforms:link" > <xforms:label>go</xforms:label> > <xforms:setvalue ref="instance('update-expression')/aspic:expression" > value=""/> <xforms:setvalue > ref="instance('update-expression')/aspic:selectedToken" value="IDN"/> > <xforms:send submission="next-token" ev:event="token-added-event"/> > </xforms:submit> </tr> </tr> <tr> <td></td> <td> <xforms:input > ref="instance('update-expression')/aspic:selectedToken"/></td> </td> > </tr--> > </xforms:repeat> > </table> > </div> > </xhtml:body> > </xhtml:html> > > Any insight would be greatly appreciated :-) > > Thanks! > > Henrik Pettersen > Advanced Computation Laboratory > Cancer Research UK > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
ah, found the problem.
In WEB-INF/resources/config/log4j.xml: <root> <priority value="info"/> <!--<appender-ref ref="ConsoleAppender"/>--> <!--<appender-ref ref="ChainsawAppender"/>--> <!--<appender-ref ref="FileAppender"/>--> <appender-ref ref="OPSMonitor"/> </root> Needed to enable the console appender. Thanks for your help, Erik :-) Henrik On 8/18/06, Erik Bruchez <[hidden email]> wrote:
Henrik, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |