Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The tribe module is a good way of showing how an attribute can have a pull down menu of options, for the case that the concept is coded
  2. This is in shortpatient.jsp, use Concept FieldGen web-inf/view/fieldgen.jsp
    Code Block
    <spring:bind path="value">
    
    <openmrs:fieldGen type="${personAttribute.attributeType.format}" formFieldName="${status.expression}" 
    val="${personAttribute.hydratedObject}" parameters="optionHeader=\[blank\]\|showAnswers=${personAttribute.attributeType.foreignKey}\|isNullable=false" />
    <%-\- isNullable=false so booleans don't have 'unknown' radiobox --%>
     </spring:bind>
    <spring:bind path="value">
    <openmrs:fieldGen type="${personAttribute.attributeType.format}" formFieldName="${status.expression}" val="${personAttribute.hydratedObject}" parameters="optionHeader=\[blank\]\|showAnswers=${personAttribute.attributeType.foreignKey}\|isNullable=false" /> <%-\- isNullable=false so booleans don't have 'unknown' radiobox --%>
     <%></spring:bind>

Questions

  1.  
  2.  

Next Phases of Development

...