[
https://issues.apache.org/jira/browse/OFBIZ-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064064#comment-17064064 ]
ASF subversion and git services commented on OFBIZ-4035:
--------------------------------------------------------
Commit 322df2750c2cee965159573c6de279bff82f7a06 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=322df27 ]
Improved: Added unit testing, using JMockit, to ensure that form macros are
rendered using ids from ModelFormField#getCurrentContainerId.
(OFBIZ-4035)
Fixes a check issue (line too long)
Notice: on Windows I get 20 errors when compiling:
> Task :compileTestJava FAILED
C:\projectsASF\Git\ofbiz-framework\framework\widget\src\test\java\org\apache\
ofbiz\widget\renderer\macro\MacroFormRendererTest.java:134:
error: annotation type not applicable to this kind of declaration
@Mock
^
I guess the change in build.gradle are not enough for Windows, to be seen later...
> change the id Attribute for input fields in the model macro form renderer from String to FlexibleStringExpander
> ---------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-4035
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4035> Project: OFBiz
> Issue Type: Improvement
> Components: ALL COMPONENTS
> Affects Versions: Trunk
> Reporter: Sascha Schumann
> Assignee: Jacques Le Roux
> Priority: Major
> Labels: patch-available
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-4035_ModelFormField.java.patch
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> hi there,
> here a little useful improvement. i changed the ID Field of an input field in in the macro form renderer from a normal String to a flexible String expander.
> The advantage is that i can use ${} variables in the id description, that helps me for example creating automatically unique id's.
> Cheers
> Sascha
--
This message was sent by Atlassian Jira
(v8.3.4#803005)