Thanks! ...ant
On Dec 12, 2007 5:11 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: > Please use XMLStringDataBinding.NAME instead. The current name is > "java.lang.String" but we may change it. > > Thanks, > Raymond > > ----- Original Message ----- > From: "ant elder" <[EMAIL PROTECTED]> > To: "tuscany-dev" <[email protected]> > Sent: Wednesday, December 12, 2007 8:58 AM > Subject: Re: How to set a specific data binding to be used by a binding? > > > > And a vaguely related supplementary question...what is (or is there) a > > data > > binding for getting xml text. I thought there was and have been trying > to > > use "xml.string" but that doesn't seem to work as getTransformerChain in > > MeadiatorImpl always throws a "No path found for the transformation:" > > exception. Do we have a databinding for this? > > > > ...ant > > > > On Dec 12, 2007 3:23 PM, ant elder <[EMAIL PROTECTED]> wrote: > > > >> I'm probably not going to provide enough information to get much of an > >> answer but I'll ask now anyway in case anyone has an obvious answer > right > >> away... > >> > >> Is there a simple way for a binding to say what data binding it wants > >> used? > >> > >> I know there's Interface.resetDataBinding but to use that you need the > >> same Interface object that is used by the > >> DataBindingRuntimeWireProcessor > >> when working out if a transformation is required and that doesn't seem > to > >> be > >> the one thats use by the RuntimeComponentReference/Service which is > >> passed > >> in to a Service or Reference BindingProvider. Even in a simple testcase > >> with > >> a component using a reference there seems to be about 6 instances of > >> JavaInterface instantiated for the interface class used by the > reference > >> so > >> making sure resetDataBinding is called on the correct one doesn't seem > >> straight forward. > >> > >> ...ant > >> > >> > >> > >> > > > >
