FYI, in order to make this work in OpenMRS 1.7+ (which include jQuery in
their standard page header), you'll need to add this line before you include
header.jsp:

<c:set var="DO_NOT_INCLUDE_JQUERY" value="true"/>

-Darius

On Thu, Aug 11, 2011 at 1:13 PM, Barbara Lerner <[email protected]>wrote:

> Perfect!  This does the trick.  Now both the things using jquery and the
> concept id widget work on the same page.
>
> Thanks!
>   Barbara
>
> On Aug 11, 2011, at 3:37 PM, Darius Jazayeri wrote:
>
> Some of our widgets still use dojo. (All of them pre-OpenMRS-1.8.)
>
> Dojo and jQuery both try to take over $. jQuery does it in a nicer way,
> though, so if you include jquery, but then do $j = jQuery.noConflict(),
> they'll be able to play together. But you'll need to do $j() rather than $()
> for jquery.
>
> -Darius
>
> On Thu, Aug 11, 2011 at 12:09 PM, Barbara Lerner <[email protected]>wrote:
>
>> After looking at much other code that uses the concept id search widget, I
>> couldn't find anything that I needed to do differently, so I decided to see
>> if something else might be interfering with this widget.  It turns out that
>> if I remove the include of jquery, the search widget then works.  Does this
>> make sense?  It does not seem to have broken the page in other ways.
>>
>> Barbara
>>
>> ------------------
>>
>> Barbara Lerner
>> Associate Professor
>> Computer Science Dept.
>> Mt. Holyoke College
>>
>> _________________________________________
>>
>> 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]
>>
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list
>
>
>   ------------------
>
> 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