Hi André,
Do you mean adding an attribute to specify the name of the "key" field?
That can be done. The "label" attribute is a different thing, it is the
text that is displayed in front of the autocompleter and it is not
submitted to the server.
regards
musachy
André Faria wrote:
Hi Musachy Barroso,
/* "Required properties: Two properties must be defined on the target
action for each autocompleter, one for the displayed text (its name is
the value of the "name" attribute), and one for the key or value (its
name is the value of the "name" attribute plus "Key")." */
Could you put a another column to specify whats the column for label?
Because If yoy have beans that don't follow the pattern (name and name
plus Key) you will probally have problems like me...
That's my idea:
<s:autocompleter
label="Bank" name="account.agency.bank.bankKey"
******* labelName="account.agency.bank.bankName" *******
href="account.listJson.action"
loadOnTextChange="true"
loadMinimumCount="3"
autoComplete="true" />
Thank's,
André Faria
from Brazil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]