View Full Version : PortletRequestDataBinder
Sanika
May 19th, 2005, 07:36 AM
Where can I find org.springframework.web.bind.PortletRequestDataBin der?
I could not find it in spring-web.jar (1.2 rc2)
Keith Donald
May 19th, 2005, 12:04 PM
Portlet MVC is in spring-webflow-support.jar.
Sanika
May 20th, 2005, 12:38 AM
True.
But I was generally going thru the source code.. trying to compile and one of the portlet mvc classes org.springframework.web.portlet.SimplePortletFormC ontroller
where it could not find org.springframework.web.bind.PortletRequestDataBin der
eruiz
May 21st, 2005, 10:22 AM
Hi Sanika, I'm not sure what you are asking for, but anyway:
You can find the PRDB source code at sandbox: sandbox/src/org/springframework/web/bind/PortletRequestDataBinder.java
The build script of Spring doesn't have the needed tasks to package the Portlet MVC in its own jar file. We have added those tasks to our local copy, I have pasted them below.
<!--
- TARGETS FOR PORTLET MVC RELEASE GENERATION
-->
<target name="portlet.jar" depends="sandbox.build,initdist"
description="Create jar with Portlet MVC classes only">
<delete file="${dist.dir}/spring-portletmvc.jar"/>
<jar jarfile="${dist.dir}/spring-portletmvc.jar">
<fileset dir="${sandbox.target.classes.dir}">
<include name="META-INF/**"/>
<include name="org/springframework/web/portlet/**"/>
</fileset>
<manifest>
<attribute name="Implementation-Title" value="${spring-webflow-title}"/>
<attribute name="Implementation-Version" value="${spring-version}"/>
<attribute name="Spring-Version" value="${spring-version}"/>
</manifest>
</jar>
</target>
<target name="portlet.support.jar" depends="sandbox.build,initdist"
description="Create jar with Portlet MVC support classes">
<delete file="${dist.dir}/spring-portletmvc-support.jar"/>
<jar jarfile="${dist.dir}/spring-portletmvc-support.jar">
<fileset dir="${sandbox.target.classes.dir}">
<include name="META-INF/**"/>
<include name="org/springframework/web/bind/**"/>
<include name="org/springframework/web/multipart/**"/>
</fileset>
<manifest>
<attribute name="Implementation-Title" value="${spring-webflow-title}"/>
<attribute name="Implementation-Version" value="${spring-version}"/>
<attribute name="Spring-Version" value="${spring-version}"/>
</manifest>
</jar>
</target>
johnalewis
Jun 9th, 2005, 04:18 PM
The latest release of the Portlet MVC Framework code is available at:
http://opensource.atlassian.com/confluence/spring/display/JSR168/Home
The contents of the sandbox are horribly out of date.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.