From: Kieran K. <kie...@ma...> - 2009-02-19 23:45:22
|
OK. For consistency with general functionality of 'value' (for example WOHyperlink), I will do a patch tomorrow. Cheers, Kieran On Feb 19, 2009, at 6:32 PM, Chuck Hill wrote: > > On Feb 19, 2009, at 2:41 PM, Kieran Kelleher wrote: > >> Is it bug that the 'value' binding on the wonderful AjaxUpdateLink >> generates a value attribute in the 'a' element instead of using the >> 'value' binding for the link contents? >> >> If it's a bug, I can send a patch ....... > > > Looks like a bit of a bifurcated API. The string binding does what > you want. The value binding is for when this is rendered as a > button. Clearly, having the value as an attribute on the a tag is > wrong. I suppose if there is a value binding and no string binding, > and a link is getting rendered that this could go inside the a tag. > > > Chuck > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their > overall knowledge of WebObjects or who are trying to solve specific > problems. > http://www.global-village.net/products/practical_webobjects > > > > > > |