Search found 4 matches

by jonathanboldt
Fri Jan 13, 2017 9:31 am
Forum: Questions & Answers
Topic: Generically Reference Visual Styles
Replies: 7
Views: 13130

Re: Generically Reference Visual Styles

Greg, I've coded pre-defined visual styles that represent a "theme" the users can then opt to apply. Dynamically applying those themes is not an issue so long as I hard-code every permutation and combination of distinct visual styles that are defined in the repository of which there are hundreds. So ...
by jonathanboldt
Fri Jan 13, 2017 8:40 am
Forum: Questions & Answers
Topic: Generically Reference Visual Styles
Replies: 7
Views: 13130

Re: Generically Reference Visual Styles

Well, not really, the example form I provided is really just a simple explanation of the concept I would like to take and apply elsewhere (not for the web). If my form worked then the more complicated implementation I would like to apply would work as well. Regardless, thanks for your feedback.
by jonathanboldt
Fri Jan 13, 2017 7:37 am
Forum: Questions & Answers
Topic: Generically Reference Visual Styles
Replies: 7
Views: 13130

Re: Generically Reference Visual Styles

Using a collection is an approach I'm considering that will solve 50% of the "generic" problem. I'm really hoping there's a dynamic and generic solution but I don't see a way, i.e. LANSA requires a hard-coded visual style reference name *somewhere* and cannot instantiate a reference to a visual ...
by jonathanboldt
Fri Jan 13, 2017 4:18 am
Forum: Questions & Answers
Topic: Generically Reference Visual Styles
Replies: 7
Views: 13130

Generically Reference Visual Styles

Hi,
Trying to determine whether it's feasible to generically reference a visual style. The idea being to provide a data-driven or generic way to switch many components to a set of possible user-defined "themes". So, something like the following below (which doesn't work). Any ideas? Much appreciated ...