nitrogen_core icon indicating copy to clipboard operation
nitrogen_core copied to clipboard

Trouble wiring validators (or all events?) when TriggerID is a string

Open choptastic opened this issue 11 years ago • 0 comments

This is related to wf_render_actions:normalize_path, where if the id is a string, it won't prepend ."wfid_" to it for generating a class.

It should be smarter about prepending that, or further down the way, consider going the N2O route and go with simple HTML IDs for the element id. Due to the backwards incompatibility, this would need to be for Nitrogen 3 in order to be consistent with semver.

If going down that route, what would be the ramifications to the #bind{} element?

Also need to determine what will happen with respect to wf:q() and those string IDs. I suspect it won't be a problem and intstead it's just a problem with the wiring, but it needs to be considered.

choptastic avatar Jul 12 '13 15:07 choptastic