-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override renderring attribute (#319)
* just build * BaseAttribute in progress * Added test for presentationBase atribute * Rename PresentationBaseAttribute to RenderTemplateOverrideAttribute * Repair override attribute. * Tests * Repair --------- Co-authored-by: blazej.kuhajda <blazej.kuhajda@mts.sk>
- Loading branch information
Showing
15 changed files
with
98 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...s/sandbox/AXSharp.RenderableContent.Tests/HtmlFiles/stTestRenderInnerOverridedStruct.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div name="testingProgram-testRenderInnerOverridedStruct" b-gswuladdww> | ||
<div name="testingProgram-testRenderInnerOverridedStruct-testInteger" class="w-100 form-group mb-2"> | ||
<label for:ignore="testingProgram.testRenderInnerOverridedStruct.testInteger_3b4ebb5d-d903-4f6e-9c71-b76767c52365">Test Integer</label> | ||
<input id:ignore="testingProgram.testRenderInnerOverridedStruct.testInteger_3b4ebb5d-d903-4f6e-9c71-b76767c52365" readonly="readonly" class="w-100 form-control " style="background-color:transparent" type="text" step="any" value="0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-custom-class="custom-tooltip" data-bs-title="testingProgram.testRenderInnerOverridedStruct.Test Integer" /> | ||
|
||
<div class="invalid-feedback"></div> | ||
</div><div name="testingProgram-testRenderInnerOverridedStruct-testString" class="w-100 form-group mb-2"> | ||
<label for:ignore="testingProgram.testRenderInnerOverridedStruct.testString_85ba0aca-0826-42fe-9359-ed4f0e630899">Test String</label> | ||
<input id:ignore="testingProgram.testRenderInnerOverridedStruct.testString_85ba0aca-0826-42fe-9359-ed4f0e630899" readonly="readonly" class="w-100 form-control " style="background-color:transparent" type="text" step="any" value="" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-custom-class="custom-tooltip" data-bs-title="testingProgram.testRenderInnerOverridedStruct.Test String" /> | ||
|
||
<div class="invalid-feedback"></div> | ||
</div> | ||
</div> |
13 changes: 13 additions & 0 deletions
13
.../sandbox/AXSharp.RenderableContent.Tests/HtmlFiles/stTestRenderOverridedSimpleStruct.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div name="testingProgram-testRenderOverridedSimpleStruct" b-gswuladdww> | ||
<div name="testingProgram-testRenderOverridedSimpleStruct-testInteger" class="w-100 form-group mb-2"> | ||
<label for:ignore="testingProgram.testRenderOverridedSimpleStruct.testInteger_01362a1b-a1c8-4457-9034-8c13c14efef7">Test Integer</label> | ||
<input id:ignore="testingProgram.testRenderOverridedSimpleStruct.testInteger_01362a1b-a1c8-4457-9034-8c13c14efef7" readonly="readonly" class="w-100 form-control " style="background-color:transparent" type="text" step="any" value="0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-custom-class="custom-tooltip" data-bs-title="testingProgram.testRenderOverridedSimpleStruct.Test Integer" /> | ||
|
||
<div class="invalid-feedback"></div> | ||
</div><div name="testingProgram-testRenderOverridedSimpleStruct-testString" class="w-100 form-group mb-2"> | ||
<label for:ignore="testingProgram.testRenderOverridedSimpleStruct.testString_53ce35dc-d0f3-41e1-9038-7f8000f58d6a">Test String</label> | ||
<input id:ignore="testingProgram.testRenderOverridedSimpleStruct.testString_53ce35dc-d0f3-41e1-9038-7f8000f58d6a" readonly="readonly" class="w-100 form-control " style="background-color:transparent" type="text" step="any" value="" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-custom-class="custom-tooltip" data-bs-title="testingProgram.testRenderOverridedSimpleStruct.Test String" /> | ||
|
||
<div class="invalid-feedback"></div> | ||
</div> | ||
</div> |
8 changes: 8 additions & 0 deletions
8
...zor/tests/sandbox/AXSharp.RenderableContent.Tests/HtmlFiles/stTestRenderOverridedTag.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div name="testingProgram-testRenderOverridedTag" b-gswuladdww> | ||
<div name="testingProgram-testRenderOverridedTag" class="w-100 form-group mb-2"> | ||
<label for:ignore="testingProgram.testRenderOverridedTag_97c217f7-ac06-4d99-83b6-e7fede582d01">testRenderOverridedTag</label> | ||
<input id:ignore="testingProgram.testRenderOverridedTag_97c217f7-ac06-4d99-83b6-e7fede582d01" readonly="readonly" class="w-100 form-control " style="background-color:transparent" type="text" step="any" value="0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-custom-class="custom-tooltip" data-bs-title="testingProgram.testRenderOverridedTag" /> | ||
|
||
<div class="invalid-feedback"></div> | ||
</div> | ||
</div> |
13 changes: 0 additions & 13 deletions
13
...sandbox/AXSharp.RenderableContent.Tests/HtmlFiles/stTestRenderTemplateOverrideStruct.html
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...ts/sandbox/AXSharp.RenderableContent.Tests/HtmlFiles/stTestRenderTemplateOverrideTag.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Custom/MachineWordStatusView.razor
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stRenderTemplateOverride.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{S7.extern=ReadWrite} | ||
CLASS stRenderTemplateOverride | ||
VAR PUBLIC | ||
{#ix-set:AttributeName = "<#Test Integer#>"} | ||
testInteger : INT; | ||
{#ix-attr:[RenderTemplateOverrideAttribute("ixBlazor.App.Custom.MySimplePrimitiveTag")]} | ||
{#ix-set:AttributeName = "<#Test String#>"} | ||
testString : STRING; | ||
END_VAR | ||
END_CLASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters