|
I did a review of the code, and it looks good to me! Good correction on the findAncestor() recommendation I made. I wrote it up on the whiteboard incorrectly (not realizing that search() returns 1 for the top of the stack).
Thanks for your work on this! Brian,
so, can this issue be closed? Yeah, from my perspective it looks good to go :)
missed out to call pop the iterator component in IteratorComponent's start(Writer) method when the body of the iterator is not rendered. Found this when writing some test cases for IteratorComponent. added the above mentioned issue and more test cases. changes are as follows: src/test/com/opensymphony/webwork/components/UIComponentTest.java src/test/com/opensymphony/webwork/components/tempo.properties src/test/com/opensymphony/webwork/components/ComponentTest.java src/java/com/opensymphony/webwork/components/IteratorComponent.java |
|||||||||||||||||||||||||||||||||||||||||
changes are
src/java/com/opensymphony/webwork/components/ActionComponent.java
src/java/com/opensymphony/webwork/components/Component.java
src/java/com/opensymphony/webwork/components/ElseIf.java
src/java/com/opensymphony/webwork/components/Form.java
src/java/com/opensymphony/webwork/components/IteratorComponent.java
src/java/com/opensymphony/webwork/components/UIBean.java
src/test/com/opensymphony/webwork/views/jsp/ui/FormTagTest.java
src/test/com/opensymphony/webwork/components/ComponentTest.java
Brian, if you don't mind cross check the code. Thx & Cheers ! :-)