You might want to try looking at the actual html source generated by  
your application, and see what "${pageContext.request.contextPath}/ 
jquery-ui-1.7.1.datepicker/js/jquery-1.3.2.min.js" actually turns into.

Once you know what it becomes, try opening that in your web browser,  
and see if it can get anything, or generates an error.  Since your  
application is not working when hosting the files locally, I'm  
guessing that this is generating an error, and perhaps your server  
logs will tell you more.

Just a thought.

-Joe

On Apr 5, 2009, at 11:04 AM, Laird Nelson wrote:

>
> Hello; I have a newbie question.
>
> I want to include only the JQuery UI DatePicker in my application.
>
> When I write my Javascript code to refer to the JQuery UI libraries
> hosted at jquery.com, everything works fine.  The relevant javascript
> source looks like this:
>
>  <link type="text/css" href="http://jqueryui.com/latest/themes/base/
> ui.all.css" rel="stylesheet" />
>  <script type="text/javascript" src="http://jqueryui.com/latest/
> jquery-1.3.2.js"></script>
>  <script type="text/javascript" src="http://jqueryui.com/latest/ui/
> ui.core.js"></script>
>  <script type="text/javascript" src="http://jqueryui.com/latest/ui/
> ui.datepicker.js"></script>
>
> When I download and attempt to host those .js and .css files locally--
> and when, obviously, I refer to them from inside my HTML pages--
> nothing works.  Firebug indicates that basically the selector code ($
> (".dp)) never finds my input type=text with class of "dp".  I don't
> know why.  The relevant source (from within my Java application) looks
> like this:
>
>  <link type="text/css" href="${pageContext.request.contextPath}/
> jquery-ui-1.7.1.datepicker/css/smoothness/jquery-ui-1.7.1.custom.css"
> rel="stylesheet" />
>  <script type="text/javascript" src="$
> {pageContext.request.contextPath}/jquery-ui-1.7.1.datepicker/js/
> jquery-1.3.2.min.js" />
>  <script type="text/javascript" src="$
> {pageContext.request.contextPath}/jquery-ui-1.7.1.datepicker/js/ 
> jquery-
> ui-1.7.1.custom.min.js" />
>
> The download configurator seems to be blissfully unaware of any
> required dependencies I might need, so I'm shooting blind in the
> dark.  I deselected everything, selected the DatePicker component, and
> selected the UI core component.  I didn't select anything else.  I
> downloaded the result and placed it within my (Java) web application.
>
> I am happy to go into as much detail as is necessary, but perhaps I am
> making a simple boneheaded pilot error?  It certainly wouldn't be the
> first time.
>
> Thanks,
> Laird
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to