Re: Calling a business service from a form

2006-03-14 Thread Patrick Refondini
Duncan McLean wrote: Thanks very much for your detailed advice! Hope it will help ! Do not hesitate to post back if you notice some wrong information. Patrick Duncan Patrick Refondini wrote: Duncan McLean wrote: Hi Patrick Thanks for this... Not too sure what you mean by uniqueAttrib

Re: Calling a business service from a form

2006-03-14 Thread Duncan McLean
Thanks very much for your detailed advice! Duncan Patrick Refondini wrote: Duncan McLean wrote: Hi Patrick Thanks for this... Not too sure what you mean by uniqueAttributeNameConstraint(event) - can you explain a bit further please? Yes, the uniqueAttributeNameConstraint(event) is totally

Re: Calling a business service from a form

2006-03-13 Thread Patrick Refondini
Duncan McLean wrote: Hi Patrick Thanks for this... Not too sure what you mean by uniqueAttributeNameConstraint(event) - can you explain a bit further please? Yes, the uniqueAttributeNameConstraint(event) is totally specific to one of my use case I simply "cut and pasted", not very generic in

Re: Calling a business service from a form

2006-03-13 Thread Duncan McLean
Hi Patrick Thanks for this... Not too sure what you mean by uniqueAttributeNameConstraint(event) - can you explain a bit further please? Thanks Duncan > Hi Duncan, > > If onChange can be used instead of onBlur in your senario you might be > able to use something as follow in you CForm model (f

Re: Calling a business service from a form

2006-03-12 Thread Patrick Refondini
Hi Duncan, If onChange can be used instead of onBlur in your senario you might be able to use something as follow in you CForm model (fd): uniqueAttributeNameConstraint(event); I have used this with Cocoon 2.1.8 with AJAX block enable

Calling a business service from a form

2006-03-12 Thread Duncan McLean
Hi We have a rather complicated scenario where we would like to effectively call a business service which does some detailed calculations involving a value from a text field on a form and then updating the same form with the value. Effectively, the users would like the service calculation to