cWebTagForms and when UpdateTags can be used (different in 25.0 to 24.0)
There's a difference in behaviour between DataFlex 24.0 and DataFlex 25.0 Alpha 1 when it comes to using UpdateTags with a cWebTagForm.
I simply dragged on a cWebTagsForm to Order.wo
Code:
Object oWebTagsForm1 is a cWebTagsForm
Set piColumnSpan to 0
Set psLabel to "Tags:"
Set pbAllowCreate to True
Object oSelectionSource is a cSelectionSource
End_Object
End_Object
and then in the oOrder view I add the following:
Code:
Procedure OnBeforeShow
String[] aTags
Move 'One' to aTags[-1]
Move 'Two' to aTags[-1]
Send UpdateTags of oWebTagsForm1 aTags
Forward Send OnBeforeShow
End_Procedure
In 24.0 when the view is opened, so the Tag values are shown. In 25.0 this is no longer the case, and the Tag values are not shown. Nor is there any error.
Sadly this change has (hopefully only temporarily) broken my WebApp. I'm hoping that this is a bug that can be fixed, as opposed to a deliberate change in behaviour?
(I think I noted something similar when trying to use UpdateHtmlArray and a cWebHtmlBox.)
"My wife thinks I over-analyse our marriage, which, to be frank completely contradicts the findings of my report." - @MooseAllain