I'm trying to do a minimal webapp with the various things needed from
orbeon, just I can just filter my jsp pages through them. I had some issues the prevented me from using orbeon as a separate war deployment. So I moved the needed libraries into my webapp, and enabled the orbeon-filter. The problem I seem to be having comes from tryingto find the right resources, and Im not quite sure what that flow is like that will tell orbeon where to look for the files/data it needs. Things more lor less seem to be working until I get to any /xbl requests. What controls where these are searched for? I'm currently using the WebResourceManager, but perhaps I should be using the ClassLoader or something. thanks for any pointers. stack trace: oxf:/ops/pfc/xforms-epilogue.xpl 111 67 reading processor output name → data id → widgeted-view <p:output name="data" id="widgeted-view"/> oxf:/ops/pfc/xforms-epilogue.xpl 140 60 reading processor output name → document id → xhtml-data <p:output name="document" id="xhtml-data"/> oxf:/ops/pfc/xforms-epilogue.xpl 151 59 reading processor output name → data ref → xformed-data <p:output name="data" ref="xformed-data"/> oxf:/config/epilogue.xpl 44 58 reading processor output name → xformed-data id → xformed-data <p:output name="xformed-data" id="xformed-data"/> oxf:/config/epilogue-servlet.xpl 31 48 reading processor output name → xformed-data <p:param type="input" name="xformed-data"/> oxf:/config/epilogue.xpl 65 46 executing processor name → {http://www.orbeon.com/oxf/processors}pipeline <p:processor name="oxf:pipeline">...</p:processor> oxf:/ops/xforms/xforms-renderer.xpl 72 46 executing processor name → {http://www.orbeon.com/oxf/processors}pipeline <p:processor name="oxf:pipeline">...</p:processor> -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
I am trying to format the <xforms:select> label differently other labels. The class attribute isn't being translated into the HTML in the browser. Is there either a way to force the 'class' attribute to be translated or another way to format labels differently depending on the control? Original Code: <p class="select"> <xforms:select1 ref="instance('TransferRequest-instance')/era:AgencyIdentifier/era:HasAssociatedManual" appearance="full" default="false"> <xforms:label>Does the Agency Have a Manual</xforms:label> <xforms:item> <xforms:label class="select">Yes</xforms:label> <xforms:value>true</xforms:value> </xforms:item> <xforms:item> <xforms:label class="select">No</xforms:label> <xforms:value>false</xforms:value> </xforms:item> </xforms:select1> </p> HTML Result: <p class="select"> <label class="xforms-label" id="xf-101-label">Does the Agency Have a Manual</label> <span id="xf-101" class="xforms-control xforms-select1 xforms-incremental xforms-select1-appearance-full xforms-invalid"> <span class="xforms-deselected"> <span> <input id="xf-101-opsitem0" type="radio" name="xf-101" value="RF3uMliN1+I="> </span> <label id="xf-101-opsitem0-label" for="xf-101-opsitem0">Yes</label> </span> <span class="xforms-deselected"> <span> <input id="xf-101-opsitem1" type="radio" name="xf-101" value="FlQI8oHjzIQ="> </span> <label id="xf-101-opsitem1-label" for="xf-101-opsitem1">No</label> </span> </span> </p> Thanks! Betty /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | [hidden email] | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Jeremiah Jahn-4
Jeremiah,
The XBL are bundled in the jar files, so you do need to use the ClassLoaderResourceManagerFactory too. Usually you would set it with the lowest priority (high priority number), so the resources are first looked in the place where you put your resources, and then, if not found there in jar files. Alex |
Administrator
|
In reply to this post by Betty Harvey
Betty,
Yes, this make sense. And this is a good timing for bringing this up as we are working on improving the markup we generate. I created an RFE for this and we'll update you on this one. http://forge.ow2.org/tracker/index.php?func=detail&aid=314185&group_id=168&atid=350207 Alex |
In reply to this post by Alessandro Vernet
turns out this was nightly build issue. missing accordion.xbl. All better now
On Sun, Aug 30, 2009 at 7:21 PM, Alessandro Vernet<[hidden email]> wrote: > > Jeremiah, > > > Jeremiah Jahn-4 wrote: >> >> I'm trying to do a minimal webapp with the various things needed from >> orbeon, just I can just filter my jsp pages through them. >> >> I had some issues the prevented me from using orbeon as a separate war >> deployment. So I moved the needed libraries into my webapp, and >> enabled the orbeon-filter. >> The problem I seem to be having comes from tryingto find the right >> resources, and Im not quite sure what that flow is like that will tell >> orbeon where to look for the files/data it needs. Things more lor less >> seem to be working until I get to any /xbl requests. What controls >> where these are searched for? I'm currently using the >> WebResourceManager, but perhaps I should be using the ClassLoader or >> something. thanks for any pointers. >> > > The XBL are bundled in the jar files, so you do need to use the > ClassLoaderResourceManagerFactory too. Usually you would set it with the > lowest priority (high priority number), so the resources are first looked in > the place where you put your resources, and then, if not found there in jar > files. > > Alex > > ----- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > Orbeon's Blog: http://www.orbeon.com/blog/ > Personal Blog: http://avernet.blogspot.com/ > Twitter - http://twitter.com/avernet > -- > View this message in context: http://www.nabble.com/Cannot-load-%22-xbl-orbeon-accordion-accordion.xbl%22-with-webapp-loader-tp25107271p25216960.html > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Alessandro Vernet
Unfortunately this one didn't make it in the batch of changes we just did to improve the HTML markup Orbeon Forms generates. But we are definitely keeping this one on the back burner! Alex |
Free forum by Nabble | Edit this page |