Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

[09:09:29 CDT(-0500)] <Arvids> hey, EricDalquist

[09:09:41 CDT(-0500)] <EricDalquist> good morning/evening Arvids

[09:09:49 CDT(-0500)] <Arvids> (smile)

[09:09:58 CDT(-0500)] <Arvids> I wanted to ask regarding AJAX portlets

[09:10:12 CDT(-0500)] <Arvids> is https://wiki.jasig.org/display/PLT/AJAX+in+a+Portlet still applicable to v4.0?

[09:10:37 CDT(-0500)] <Arvids> I'm trying to figure out the basic architecture for translation portlet

[09:10:38 CDT(-0500)] <EricDalquist> no, in 4.0 just use the Resource support in the portlet 2.0 spec

[09:10:55 CDT(-0500)] <Arvids> i've no experience with it (sad)

[09:10:55 CDT(-0500)] <EricDalquist> that approach will still work, since it is completely within the 1.0 spec

[09:11:12 CDT(-0500)] <EricDalquist> its pretty easy, let me find an exampl

[09:11:22 CDT(-0500)] <Arvids> that whould help me a lot

[09:11:49 CDT(-0500)] <EricDalquist> the calendar portlet does it: https://source.jasig.org/portlets/CalendarPortlet/trunk

[09:12:14 CDT(-0500)] <EricDalquist> finding specific files ....

[09:13:23 CDT(-0500)] <EricDalquist> so in this JSP: https://source.jasig.org/portlets/CalendarPortlet/trunk/src/main/webapp/WEB-INF/jsp/calendarWideView.jsp

[09:13:43 CDT(-0500)] <EricDalquist> look for the <portlet:resourceURL/> tag

[09:13:50 CDT(-0500)] <EricDalquist> that generates a URL that will result in a resource request

[09:14:10 CDT(-0500)] <EricDalquist> then here is the spring 3.0 annotated controller that handles the resource request: https://source.jasig.org/portlets/CalendarPortlet/trunk/src/main/java/org/jasig/portlet/calendar/mvc/controller/AjaxCalendarController.java

  • No labels