[
https://issues.apache.org/jira/browse/OFBIZ-11957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180554#comment-17180554 ]
Dennis Balkir edited comment on OFBIZ-11957 at 8/19/20, 1:36 PM:
-----------------------------------------------------------------
You are right, somehow my added ID field in the {{renderSubmitField}} declaration is missing in this.
These lines (I made a patch previously for this, to not loose some of my changes) are missing:
{noformat}
-<#macro renderSubmitField buttonType className alert formName action imgSrc ajaxUrl title="" name="" event="" confirmation="" containerId="" tabindex="">
+<#macro renderSubmitField buttonType className alert formName action imgSrc ajaxUrl id title="" name="" event="" confirmation="" containerId="" tabindex="">{noformat}
The other change in this fileĀ {{HtmlFormMacroLibrary.ftl}} has made it's way in my pull request. I am sorry for the inconvinience
was (Author: dennis balkir):
You are right, somehow my added ID field in the {{renderSubmitField}} declaration is missing in this.
These lines (I made a patch previously for this, to not loose some of my changes) are missing:
{noformat}
-<#macro renderSubmitField buttonType className alert formName action imgSrc ajaxUrl title="" name="" event="" confirmation="" containerId="" tabindex="">
+<#macro renderSubmitField buttonType className alert formName action imgSrc ajaxUrl id title="" name="" event="" confirmation="" containerId="" tabindex="">{noformat}
> Form-Fields of certain types won't render IDs
> ---------------------------------------------
>
> Key: OFBIZ-11957
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11957> Project: OFBiz
> Issue Type: Improvement
> Affects Versions: Trunk
> Reporter: Dennis Balkir
> Assignee: Dennis Balkir
> Priority: Minor
>
> While implementing some OFBiz-Forms, I noticed, that certain types of form-fields will not render the set ID.
> Field-Types that won't work for sure are {{submit}} and {{hyperlink}} where the set name for the parameter {{id-name}} simply will not be rendered in the HTML-Code that is generetad by OFBiz.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)