D
davidmknoble
Guest
I have done many an if statement with the lua programming language for lightroom. The most common item I use is to include another xxxx.html page if a user checked a box. For example:
<% if model.metatdata.checkedbox then%>
<%@ include checkboxStuff.html %>
<% end %>
I am working on an XML gallery and I want to accomplish the same thing, but it keeps bombing. I have limited it to a) just an if statement and b) just an include statement, but in a) the if statements executes each time and in b) it just shows the include statement but won't draw in the file.
I noticed that some of the conventions change from lua to xml, for example
lua: $model.metadata.textItem.value
xml: %metatdata.textItem.value%
Does anyone know the xml convention for:
a) an simple if statement with a checkbox value
b) a simple include *.html page
Thanks!!!
<% if model.metatdata.checkedbox then%>
<%@ include checkboxStuff.html %>
<% end %>
I am working on an XML gallery and I want to accomplish the same thing, but it keeps bombing. I have limited it to a) just an if statement and b) just an include statement, but in a) the if statements executes each time and in b) it just shows the include statement but won't draw in the file.
I noticed that some of the conventions change from lua to xml, for example
lua: $model.metadata.textItem.value
xml: %metatdata.textItem.value%
Does anyone know the xml convention for:
a) an simple if statement with a checkbox value
b) a simple include *.html page
Thanks!!!
