Replies: 3 comments 4 replies
-
|
what brought you to the idea that ready fires before model-construct-done? see here - https://jinntec.github.io/Fore/demo/hello-fonto.html the order of init events is:
The second issue is a different topic. What do you mean exactly by
? I guess you mean if there's no node found in your xml for a given ref? This should actually behave as if it's 'relevant' constraint evaluating to false and be hidden from view. Haven't checked yet but if that's not the case it's a bug. |
Beta Was this translation helpful? Give feedback.
-
|
btw - we've also already ported some legacy betterFORM forms to Fore |
Beta Was this translation helpful? Give feedback.
-
|
I can report an similar porting problem with . Is there a canonical or preferred solution in Fore? The handling of fx-group (extended from fx-container) relevance seems to be different from abstract-control. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working to port an existing form from XForms 1.1 to Fore, and most things seems quite intuitive. However, I have noticed a couple of "gotchas."
readyevent seems to fire onfx-forebeforemodel-construct-done, whereas in XForms, it fires onxf:modelaftermodel-construct-done. What are the semantics ofreadyin Fore? Is it basically the same as jQuery's$(document).ready()?fx-groupto create logical groupings in a form. In XForms (or at least in the XSLTForms implementation!), when a node bound toxf:groupevaluates tofalse, the nested contents of the group are not displayed. In Fore, only the node that is bound seems to be affected. Is this intended behavior?Example showing these two issues:
Beta Was this translation helpful? Give feedback.
All reactions