Presuming that "item" is a Concept, you can do:
<openmrs:format concept="${ item }"/>

-Darius

On Fri, Aug 12, 2011 at 12:32 PM, Barbara Lerner <[email protected]>wrote:

> I am trying to display the name of a concept in a jsp page.  I can do this
> using:
>
> <form:form ... modelAttribute="item" >
>    <form:input path="conceptName" />
>
> I don't want the value to be editable, so I have tried the following, but
> it doesn't display anything:
>
>    <c.out value="${item.conceptName}" />
>
> This strategy has allowed me to display the concept id, but I can't seem to
> get the name that way.  How do I fix this, or is there a better way for me
> to do what I want?
>
> Thanks,
>   Barbara
>
>  ------------------
>
> Barbara Lerner
> Associate Professor
> Computer Science Dept.
> Mt. Holyoke College
>
>
>
>
>
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to