Ah, forget the response, I didn't realized what the problem was. Of 
course this should be fixed. Component use check is application setting 
and it's not right to turn it on / off in AjaxRequestTarget.

-Matej

Matej Knopp wrote:
> So?
> 
> There's a reason for turning of the render check during ajax rendering. 
> Because only certain components are going to be rendered, not whole 
> page. Therefore the render check is disabled. (Otherwise it would always 
> fail).
> 
> -Matej
> 
> SourceForge.net wrote:
>> Bugs item #1556190, was opened at 2006-09-11 08:55
>> Message generated for change (Tracker Item Submitted) made by Item Submitter
>> You can respond by visiting: 
>> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1556190&group_id=119783
>>
>> Please note that this message will contain a full copy of the comment thread,
>> including the initial issue submission, for this request,
>> not just the latest update.
>> Category: None
>> Group: None
>> Status: Open
>> Resolution: None
>> Priority: 5
>> Submitted By: Tomer (tomermevo)
>> Assigned to: Nobody/Anonymous (nobody)
>> Summary: check rendering fails due to ajax
>>
>> Initial Comment:
>> If we work in development mode, by default
>> Page.checkRendering() 
>> verifies that all page components were indeed rendered.
>> When each component is rendered it calls
>> Page.componentRendered().
>> This method is responsible for adding the calling
>> component to the list 
>> of rendered components, if debug settings require that
>> (again, true in 
>> development mode).
>>
>> However, if during this checkRendering an AJAX request
>> has been sent, it 
>> turns componentUseCheck to false.
>> This causes to all components that were not yet check
>> to be marked as 
>> unredered which causes a WicketRuntimeException - "The
>> component(s) 
>> below failed to render..."
>>
>>
>> Moreover, it seems that working in deployment mode will
>> never reveal 
>> this problem.
>>
>> ----------------------------------------------------------------------
>>
>> You can respond by visiting: 
>> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1556190&group_id=119783
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-develop mailing list
>> Wicket-develop@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>>
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to