Re: [Chiba-users] problem with load action with bind or ref inside of a repeat
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: joern t. <joe...@we...> - 2004-04-21 08:41:41
|
anja lehmann wrote: > hi karla, > > first, i believe, if you have an ev:event="..." on your xf:load you don't > need the xf:action-tags around it. very well pointed out. it's even worse; the event on the inner 'load' will never get triggered cause it's the action element here receiving the events. when you're using one the event will never reach the handler (the load in this case) directly. you can find an explanation of this in the XForms spec in chapter 10. > > other then that, i'm using the latest chiba-code from cvs, maybe you should > give that a try. yes. right. there have been modifications on load since 0.9.5 although i'm not sure if they're related to this problem exactly. but generally its best to use the latest CVS code unless you don't have any production code relying on it. it will always contain the most bug-fixed version. Joern > > good luck! :) > > anja > > > ----- Original Message ----- > From: <kar...@ve...> > To: <chi...@li...> > Sent: Tuesday, April 20, 2004 5:57 PM > Subject: Re: [Chiba-users] problem with load action with bind or ref inside > of a repeat > > > >>Thank you Anja and Joern for your replies. I'm still having difficulty >> getting the load to work with bind or ref and have an additional ?. >> >> I'm using the chiba-0.9.5 war file. For the code shown below, >> if xforms:load resource is used the ChibaServlet loads >> the Form specified in the resource. >> When using xforms:bind with the exact same url as specified >> in the working resource the load does not appear to work, namely >> the ChibaServlet does not load the form specified in BATCH_LINK. >> >> Any suggestions you can make regarding the following xhtml will >> be greatly appreciated. >> >> ----------------------------------------------------------------- >> >> <!-- working load action using resource --> >> <xforms:trigger appearance="compact"> >> <xforms:label>Batches</xforms:label> >> <xforms:action> >> <xforms:load resource="/chiba-0.9.5/XFormsServlet?form=/forms/ >> WarehouseBatchSummary.xhtml" >> ev:event="DOMActivate" >> show="replace"/> >> </xforms:action> >> </xforms:trigger> >> >> <!-- non-working load action using bind --> >> <xforms:trigger appearance="compact"> >> <xforms:label>Batches</xforms:label> >> <xforms:action> >> <xforms:load bind="BatchLink" >> ev:event="DOMActivate" >> show="replace"/> >> </xforms:action> >> </xforms:trigger> >> >><!-- model bindings --> >><xforms:bind id="BatchLink" nodeset="BATCH_LINK" xforms:type="anyURI"/> >> >><!-- instance data --> >> > <BATCH_LINK>/chiba-0.9.5/XFormsServlet?form=/forms/WarehouseBatchSummary.xht > >>ml</BATCH_LINK> >> >>----------------------------------------------------------------- >> >>Thanks very much. >> Karla >> >>VECTORsgi - leading provider of check image exchange software. >>VECTORsgi's Consulting Services - image exchange strategy development and >>deployment. >>Image Exchange - VECTORsgi Gets You There! >> >> >>Learn about VECTORsgi by using http://www.VECTORsgi.com >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Chiba-users mailing list > Chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiba-users > |