[ 
https://issues.apache.org/jira/browse/OFBIZ-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Blas Rodriguez Somoza updated OFBIZ-3628:
-----------------------------------------

    Description: 
htmlTreeMacroLibrary.ftl

Tree widget renders unclosed <li> tags. 
Example from Accounting -> Global GL settings -> Navigate accounts

<ul class="basic-tree">
<li><ul class="basic-tree">
<li>
<li><a class="collapsed" 
href="/accounting/control/GlAccountNavigate?trail=null|100000">&nbsp;</a><a 
href="/accounting/control/GlAccountNavigate?glAccountId=100000&amp;trail=null">100000
 

htmlFormMacroLibrary (macro renderDateTimeField)

selected attribute without value
<option value="AM" selected>

input inside ul
<ul>
......
<input type="hidden" name="${compositeType}" value="Timestamp"/>
</ul>


Patch attached

  was:
htmlTreeMacroLibrary.ftl

Tree widget renders unclosed <li> tags. 
Example from Accounting -> Global GL settings -> Navigate accounts

<ul class="basic-tree">
<li><ul class="basic-tree">
<li>
<li><a class="collapsed" 
href="/accounting/control/GlAccountNavigate?trail=null|100000">&nbsp;</a><a 
href="/accounting/control/GlAccountNavigate?glAccountId=100000&amp;trail=null">100000
 

htmlFormMacroLibrary (macro renderDateTimeField)

selected attribute without value
<option value="AM" selected>

input inside ul
<ul>
......
<input type="hidden" name="${compositeType}" value="Timestamp"/>
</ul>


> XHTML validation errors (framework) Tree widget and Date time field rendering 
> issues
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3628
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3628
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Blas Rodriguez Somoza
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3628_framework_widget_xhtml.diff
>
>
> htmlTreeMacroLibrary.ftl
> Tree widget renders unclosed <li> tags. 
> Example from Accounting -> Global GL settings -> Navigate accounts
> <ul class="basic-tree">
> <li><ul class="basic-tree">
> <li>
> <li><a class="collapsed" 
> href="/accounting/control/GlAccountNavigate?trail=null|100000">&nbsp;</a><a 
> href="/accounting/control/GlAccountNavigate?glAccountId=100000&amp;trail=null">100000
>  
> htmlFormMacroLibrary (macro renderDateTimeField)
> selected attribute without value
> <option value="AM" selected>
> input inside ul
> <ul>
> ......
> <input type="hidden" name="${compositeType}" value="Timestamp"/>
> </ul>
> Patch attached

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to