Closed GoogleCodeExporter closed 9 years ago
Prado is using TComponent::getSubProperty() calls on the current naming
container where references to any controls (include those referrable with
"Parent" or "Page") are needed and/or allowed. TControl::findControl() is just
fine as it is (ie. finding only subcontrols), because not every property that
references controls through their ids should be allowed to reference controls
outside of the current container.
Original comment by google...@pcforum.hu
on 2 Mar 2012 at 3:14
[deleted comment]
Thanks for the anwser.
Why it shouldn't be allowed to reference controls outside of the current
container for properties like ControlToValidate and ControlToCompare?
Original comment by patricel...@gmail.com
on 2 Mar 2012 at 3:59
I didn't say it should be allowed - just that there's already a method to
resolve both Parent- and Page-relative references, if and where needed.
On the other side references outside of the current container cause issues with
caching and can't be used reliable. That's the primary reason why references to
Parent and Page aren't allowed in most properties that references other
controls or their properties through IDs.
Original comment by google...@pcforum.hu
on 5 Mar 2012 at 12:47
Original comment by ctrlal...@gmail.com
on 25 Jun 2012 at 1:56
Original comment by ctrlal...@gmail.com
on 21 Jan 2013 at 7:03
Original comment by ctrlal...@gmail.com
on 24 Jul 2013 at 1:46
Moved to github: https://github.com/pradosoft/prado/issues
Original comment by ctrlal...@gmail.com
on 1 Oct 2013 at 10:14
Original issue reported on code.google.com by
patricel...@gmail.com
on 17 Nov 2011 at 7:20