
jatl - issue #3
Text Area tag does not work properly if it is the inner most tag of a div
What steps will reproduce the problem? 1. div().textarea().cols("1").rows("1").end().text("Message:").end(); 2. 3.
What is the expected output? The expected output for html would be <textarea cols="1" rows="1"></textarea>
What do you see instead? But because of the jatl engine, the inner most tag is closed with /> which the text area tag does not like and actually displays all of the following html as text inside of the text area.
What version of the product are you using? On what operating system? Jatl 0.1.0, Windows, Chrome browser, Firefox browser
Please provide any additional information below. I have actually forced a work around by creating an empty text("") tag directly after the textarea(), but would consider this to be something to look into with other tags as well.
Comment #1
Posted on May 29, 2011 by Grumpy MonkeyYou are correct. It looks like the XHTML schema is vague on this but it should not be self closing. I'll change the tag closing policy on it.
Comment #2
Posted on May 29, 2011 by Grumpy Monkey(No comment was entered for this change.)
Comment #3
Posted on May 29, 2011 by Grumpy MonkeyShould be in 0.1.1
Comment #4
Posted on May 29, 2011 by Grumpy MonkeyNow in 0.1.1 which should be in the maven central repo. Please verify the bug is fixed when you get a chance.
Thanks a ton for the find!
Status: Fixed
Labels:
Type-Defect
Priority-Medium