Hello

Could you please specify Jira issue identificator, cant't find it.



Thursday, July 19, 2007, 8:06:18 AM, you wrote:

JK> There's a JIRA report open for it....I guess I'll work on that next after I
JK> finish what is bugging me first. ;)

JK> On 7/18/07, Patrick Klein <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> I can confirm this behavior. This problem was bugging me for at least
>> two days now. Thanks for this info :)
>>
>> Regards,
>>     Patrick
>> > Hello
>> >
>> > I'm found one strange bug in EventListener,
>> > EventListener method not execute if '_' symbol occurs in in the name
>> > of element, pageBeginRender method in that situation executed. Ajax
>> > create request for onchange request.
>> >
>> > Usally i'm use '_' symbol in beanform for custom input, there for it
>> > very usefull.
>> >
>> > Sample 1:
>> > If I not use '_' in component id all work fine
>> >
>> ---------------------------------------------------------------------------------------------------
>> > HTML template:
>> >    Make ajax :
>> >    <select jwcid="[EMAIL PROTECTED]" value="ognl:make"
>> model="ognl:makes" ></select> &nbsp;
>> >    Bike Model ajax :
>> >    <select jwcid="[EMAIL PROTECTED]" value="ognl:bike"
>> model="ognl:model" ></select> &nbsp;
>> >
>> > Java action:
>> >   @EventListener(targets = "makeAjax", events = "onchange")
>> >   public void makeSelected(IRequestCycle cycle){
>> >     ....
>> >     cycle.getResponseBuilder().updateComponent("bikeAjax");
>> >     System.out.println("test ajax select");
>> >   }
>> >
>> ---------------------------------------------------------------------------------------------------
>> > Sample 2:
>> > If I use '_' in component id, makeSelected method not executed
>> >
>> ---------------------------------------------------------------------------------------------------
>> > HTML template:
>> >    Make ajax :
>> >    <select jwcid="[EMAIL PROTECTED]" value="ognl:make"
>> model="ognl:makes" ></select> &nbsp;
>> >    Bike Model ajax :
>> >    <select jwcid="[EMAIL PROTECTED]" value="ognl:bike"
>> model="ognl:model" ></select> &nbsp;
>> >
>> > Java action:
>> >   @EventListener(targets = "make_Ajax", events = "onchange")
>> >   public void makeSelected(IRequestCycle cycle){
>> >     ....
>> >
>> >     cycle.getResponseBuilder().updateComponent("bike_Ajax");
>> >     System.out.println("test ajax select");
>> >   }
>> >
>> ---------------------------------------------------------------------------------------------------
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>





-- 
Best regards,
 Sergey                            mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to