Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Ravichandra Ravi

Greenhorn
+ Follow
since Jun 20, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ravichandra Ravi

My code is

jQuery(function() {
jQuery("#fromDatepicker").datepicker({
changeMonth : true,
changeYear : true,
dateFormat: 'mm/dd/yy'
});

jQuery("#toDatepicker").datepicker({
changeMonth : true,
changeYear : true,
dateFormat: 'mm/dd/yy'
});
});

and input fields are

<input type="text" id="fromDatepicker" name="searchStartDate" size="20">
<input type="text" id="fromDatepicker" name="searchStartDate" size="20">



i am using

jquery-1.6.2.js
jquery-1.6.2.min.js
jquery.ui.core.js
jquery.ui.datepicker.js
jquery.ui.datepicker.css


the calender is displaying but,

when I select a date on the calendar, the date is not selecting and not entering into the text field(searchStartDate and searchStartDate ).
Please Help me how to resolve this problem.
JSON Portlets Java AJax Jquery getJSON serveResource JSR286 portlet:resourceURL portlet.xml GenericPortlet


1. Requirement:-
The requirement is to fire an AJAX call when the user mouse over a div section .A dynamic Id value has to be passed as a request parameters .

2. How we are doing it?
The mouseover event of the div section is bound to a JQUERY function. This JQUERY method fires an AJAX request using the “getJSON” method. The JSON url is a resource handler request.
We have written a class which extends GenericPortlet to serve this request(JSR286 Spec). We have overridden serveResource method.But the AJAX call is not reaching the resource handler method.

We are using <portlet:resourceURL> to generate the resource URL.

Can you please tell me the configurations(web.xml, portlet.xml) involved in using a resource handler portlet class.

We are using Open portal server on Weblogic.



10 years ago