portlet 1 « MVC « Spring Q&A





1. Using Spring in a portlet without Spring MVC    stackoverflow.com

Is there a way to develop portlets with spring without using the DispatcherPortlet? I want to use other technologies for the UI, mainly Vaadin. Spring is used for DI and other ...

2. Spring Portlet MVC - how to catch mapping exceptions    stackoverflow.com

is there a way to provide my spring portlets a default state which is resolved if a unavailable expcetion occurs? I recieve this exception

10:24:53,187 ERROR [517: org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl] The portlet threw an exception
javax.portlet.UnavailableException: ...

3. Spring MVC development process - best practices    stackoverflow.com

What is the right development process of Spring MVC / portlet-MVC application using JSPs as a view layer, when we don't take service/DAO layer in account - it is usually done ...

4. Spring portlet mvc: @Valid does not seem to work    stackoverflow.com

I created a bean class and use it in my controller but it does not seem to work. Namely even though I enter an invalid age, result.hasErrors is still false. Bean class:

public class ...

5. spring portlet mvc: model attribute is null despite being modelAttribute?    stackoverflow.com

In my rendermapping I put a User object in my model(model.addAttribute). In the coupled JSP I do:

<form:form action="x" method="post" modelAttribute="user">
Username: ${user.username}
Age: ${age}
This information is correct: <input type="checkbox" id="correctInformation"/>
<input type="submit" value="Submit"/>
</form:form>
However in the ...

6. Spring mvc: what is the params separator    stackoverflow.com

I was wondering what the seperator is for params (@ActionMapping(params ="...");) I'd like to place a back button inside a form which already has a next button, and I've read in the ...

7. Spring portlet @ActionMapping usage    stackoverflow.com

could please anybody explain, how POST request should be mapped properly ? it is not clear from API documentation. value should be assigned with the value of the action parameter javax.portlet.action

@ActionMapping(value ...

8. WSRP portlets using Spring portlet MVC    stackoverflow.com

Can we create WSRP portlets using Spring portlet MVC ? if so, how procedre?

9. Spring portlet MVC. Validation before @ResourceMapping. @ResourceMapping -> @RenderMapping    stackoverflow.com

My case: a user can download files. There is a list of files he can select. There is a spring mapping:

@ResourceMapping(DOWNLOAD)
public void downloadSelected(ResourceRequest request, ResourceResponse response, AuditView auditView, BindingResult bindingResult) {
}
auditView ...





10. How to call custom interseptor in spring portlet?    stackoverflow.com

I have added my own interceptor in spring portlet i.e.

<bean id="portletModeParameterHandlerMapping"     class="org.springframework.web.portlet.handler.PortletModeParameterHandlerMapping">
            <property name="interceptors">
   ...

11. Spring portlet mvc Validation fails during submission of the editted form    stackoverflow.com

Hi I have a form with few validations on it. During new form submission, if validation fails I can see those error messages. but, during editing the form when I change the field to ...

12. its about downloading file using spring mvc portlet    stackoverflow.com

I want to allow the user to save file using mvc portlet. In my code i am making an ajax call hence it has to be a resource response.

response.setContentType( "application/octet-stream" ...

13. EXTJS and Spring MVC Portlet File Upload    stackoverflow.com

I have successfully been able to upload a file to my ActionResponse method in my controller for my spring portlet using extjs. My problem is that extjs is expecting a ...

14. WSRP portlets using Spring portlet MVC    forum.springsource.org

15. Help with Spring MVC + Facelets + Portlets    forum.springsource.org

Mar 24th, 2011, 06:30 PM #1 monster910 View Profile View Forum Posts Private Message Junior Member Join Date Jul 2010 Location Chicago, IL Posts 9 Help with Spring MVC + Facelets ...

16. Sprin 3 Portlet mvc event firing issue    forum.springsource.org

Sprin 3 Portlet mvc event firing issue Hi, I am using spring3.0.3Release version for my spring3 portlet mvc dvelopment. I am trying to do inter-portlet communication using events functionality. I am ...





17. Spring 3 MVC Annotation Portlet submission NoHandlerFoundException    forum.springsource.org

Aug 31st, 2011, 02:02 PM #1 WebCenterGuy View Profile View Forum Posts Private Message Junior Member Join Date Aug 2011 Posts 2 Spring 3 MVC Annotation Portlet submission NoHandlerFoundException Hi ...

18. Can it be done web MVC and portlet MVC in same war file?    forum.springsource.org

Can it be done web MVC and portlet MVC in same war file? I want a single war file that can be deployed to a Servlet container as a stand alone ...

19. Spring Portlet MVC, Ajax - using the ResourceAwareController Interface.    forum.springsource.org

Spring Portlet MVC, Ajax - using the ResourceAwareController Interface. Hello, I am attempting to use Spring MVC Portal and Ajax (using liferay 6, tomcat). Am new to Liferay and Spring Portlet ...

20. Suiggestion - portlet mvc setup    forum.springsource.org

Suiggestion - portlet mvc setup It sure would be nice if Roo could generate a Spring Portlet MVC Framework based app in the same way "web mvc setup" and "web mvc ...

21. Spring portlet MVC: java.io.InvalidClassException local class incompatible    forum.springsource.org

Oct 11th, 2011, 12:27 AM #1 javafreshman View Profile View Forum Posts Private Message Junior Member Join Date Oct 2011 Posts 2 Spring portlet MVC: java.io.InvalidClassException local class incompatible I am ...

22. Spring 3.0 Portlet MVC Sample Application?    forum.springsource.org

Hi, I was searching around for a sample application (showcase) for spring portlet mvc 3. My attempts @ https://github.com/SpringSource/ and https://src.springframework.org/svn/spring-samples/ have not yielded much results. The Spring 3 Portlet reference ...

23. File Upload in Sprint MVC Portlet    forum.springsource.org

I am able to get my file upload to hit my request method with no issue. This issue is I am needing a way for my returned results to only be ...

24. Methods not being called in a Spring MVC Portlet Form    forum.springsource.org

I have a form in a portlet which has the ACTION defined by this variable: However, the only method in my SimpleFormController ...

25. Spring Portlet MVC    forum.springsource.org

Hi We are going to develop Web Center Portal Application using Spring Framework. Is it possible to use Spring Framework in WebCenter Portal? If yes, then share me the reference guide ...

26. Spring MVC portlet development problem    forum.springsource.org

Spring MVC portlet development problem I keep getting the following error while trying to deploy my helloWorld portlet: javax.portlet.UnavailableException: The portlet "helloWorld" is not available. The portlet class org.springframework.web.portlet.DispatcherPortlet does not ...

27. Separate Forum for Portlet MVC?    forum.springsource.org

I think it would be helpful if there was a separate forum for the Spring Portlet MVC framework at this point. I am having a lot of direct email conversations with ...

28. Portlet MVC/VAP hitting JSPs problem    forum.springsource.org

Portlet MVC/VAP hitting JSPs problem Hey, Not sure if anyone will be able to help as this problem may be specific to the portal that i'm deploying too (VAP 7.0), but ...

29. Article On Spring Portlet MVC    forum.springsource.org

Ashik, The Spring Portlet MVC framework will be part of the upcoming Spring 2.0 release. At that point, there will be a full chapter in the Reference Docs on Spring Portlet ...

30. Spring Portlet MVC - cross portlet communication    forum.springsource.org

Spring Portlet MVC - cross portlet communication Hello all, I am trying to develop a simple test: 2 spring-portlet-mvc-based portlets should "talk" to each other - via an attribute, stored in ...

31. Integrating SiteMesh with Spring portlet MVC    forum.springsource.org

Integrating SiteMesh with Spring portlet MVC Has anyone made any attempts to use SiteMesh with Spring's portlet MVC extensions? Obviously, the standard approach (registering a page filter in web.xml) doesn't apply ...

32. Portlet MVC: Problem with file upload    forum.springsource.org

Portlet MVC: Problem with file upload Did anybody face following problem: I'm trying to upload the file using CommonsMultipartResolver. All works fine, if form contains only one input field (). ...

33. Portlet MVC - Production Ready?    forum.springsource.org

Portlet MVC - Production Ready? Hi Our development team is looking at making use of the Spring Portlet MVC for our future portal development projects, but currently we have an internal ...

34. Spring Portlet MVC - NoSuchMethodError    forum.springsource.org

Spring Portlet MVC - NoSuchMethodError Hi, I am using the Spring Portlet MVC (2.0 m4) and have been progressing quite nicely. I had a SimpleFormController and jsps for editing and adding ...

35. Spring Portlet MVC - Tabbed Panes    forum.springsource.org

Spring Portlet MVC - Tabbed Panes Hi, I am using Spring Portlet MVC to create a portlet application, all is going along very nicely. However, I have come across a requirement ...

36. Is it possible to develope a entirely new portlet mvc framework?    forum.springsource.org

Is it possible to develope a entirely new portlet mvc framework? Is it possible to develope a entire new portlet mvc framework instead of taking advantage of exsiting web framework? IMPO, ...

37. Portlet MVC design question    forum.springsource.org

Portlet MVC design question I'm trying to share code used by both a servlet and a portlet. However, it seems like I'm having to jump through more hoops than I'd like. ...

38. Spring portlet MVC and exception handling    forum.springsource.org

Spring portlet MVC and exception handling I am new to Spring Portlet MVC and Spring MVC in general. I am having trouble setting up an exception handler to handle uncaught exceptions ...

39. Spring portlet MVC with Plumtree    forum.springsource.org

Hi, Can any body have an idead how we can modify viewrenderurl (WEB-INF/servlet/view) inorder to Plumtree comtainer can catch those JSP pages. Right now i am getting problem working out spring ...

40. Portlet MVC using "instanceof" to detect Action vs Render    forum.springsource.org

Portlet MVC using "instanceof" to detect Action vs Render I have a number of portlets implemented using the Portlet MVC in Spring 2.0 M3, and am having problems with Action/Render URLs ...

41. IllegalStateException to create InternalResourceViewResolver using portlet mvc    forum.springsource.org

Oct 3rd, 2006, 11:44 PM #1 wanronglin View Profile View Forum Posts Private Message Junior Member Join Date Sep 2006 Posts 20 IllegalStateException to create InternalResourceViewResolver using portlet mvc I have ...

42. Spring Portlet MVC on OC4J - has anyone done this? Please share?    forum.springsource.org

Hi all, We would like to run Spring MVC Portlet on OC4J container. Just wondering if anyone out there has managed to do this? Please be so kind and share the ...

43. Wht is difference between portlet and spring mvc    forum.springsource.org

Hi All, many a time i encountered new word - portlet. Wht is this "portlet" ? please explain it by comparing with Spring MVC. Wht are the differences between Spring MVC ...

44. RequestContext equivelant in Portlet MVC    forum.springsource.org

Hi, First at all it's not allowed to cast PortletRequest (RenderRequest or ActionRequest) to HTTPServletRequest. If I remember right In some application servers it may be possible, but in Portlet specification ...

45. Questions on Spring 2.0 portlet MVC with Jetspeed-2    forum.springsource.org

Questions on Spring 2.0 portlet MVC with Jetspeed-2 Hello! We are running jetspeed-2.0 under tomcat 5.5.20 and sample applications (like one found at http://opensource.atlassian.com/conf...ay/JSR168/Home ) succesfully deploy but don't run, showing ...

46. Portlet MVC - how to best use handleAction() vs. handleRender()?    forum.springsource.org

Portlet MVC - how to best use handleAction() vs. handleRender()? I am looking for advice on how to take advantage of the 2 phase nature of portlets. It seems to me ...

47. portlet MVC problem    forum.springsource.org

portlet MVC problem I am trying to convert an exiting spring mvc app to use spring portlet mvc i am trying to deploy it on liferay portal. i followed the sample ...

48. XT Ajax Framework with Spring Portlet MVC    forum.springsource.org

XT Ajax Framework with Spring Portlet MVC hello, i try to use xt ajax with spring portletmvc. how can i get the ajaxinterceptor to work? when i register it in my ...

49. Migrating Web-MVC to Portlet-MVC    forum.springsource.org

Migrating Web-MVC to Portlet-MVC hi all, i am facing the problem to migrate a full web-mvc application into a portlet mvc version. The app is quite complexe(several thousands loc only in ...

50. Portlet MVC and HttpServletRequest    forum.springsource.org

Portlet MVC and HttpServletRequest Hello, I'm using the Spring Portlet MVC framework to create portlets for the BEA WebLogic Portal Server platform. BEAs portlet framework requires access to the HttpServletRequest to ...

51. Spring Portlet MVC    forum.springsource.org

I'm using Spring portlet mvc in JBoss Portal. One of my forms uses a backing bean, this backing bean works fine until I want to add a file upload onto the ...

52. Can we create WSRP compliant portlets in Spring Portlet MVC ?    forum.springsource.org

Not directly. Typically you would take a JSR-168 portlet (which you can create with Spring Portlet MVC) and then put it into a container that will expose that portlet via a ...

53. spring mvc Vs spring portlet    forum.springsource.org

Hi In my application, I have used spring mvc throughout. I am new to the portlets. My question are 1. Is it possible to integrate spring portlets into an application of ...

54. Spring Portlet MVC in https environment    forum.springsource.org

Would anyone know why a spring portlet would be causing IE 6 to throw up the following error message? It seems to only happen on my actions that have a FormController ...

55. File Upload using Spring-MVC-Portlet frame work    forum.springsource.org

File Upload using Spring-MVC-Portlet frame work Hi guys, I am using Spring-MVC-Portlet frame work in my application.And my server is Jboss. I was strucked with one problem. My problem is,I have ...

56. Design Considerations: Planning for MVC to Portlet MVC transition    forum.springsource.org

Design Considerations: Planning for MVC to Portlet MVC transition We are currently building an application on Spring MVC using a solid layered application design approach (Data/Infrastructure + Service + Presentation). It's ...

57. Spring Portlet MVC examples and Jetspeed 2 - getting them to appear    forum.springsource.org

Spring Portlet MVC examples and Jetspeed 2 - getting them to appear Really silly question, but after I've distributed the Spring Portlet MVC example war (petportal.war from Spring 2.5) and the ...

58. Cooperative portlets using Spring MVC?    forum.springsource.org

Cooperative portlets using Spring MVC? Hi all, IBM WebSphere Portal 6.0 allows portlets to cooperate using a mechanism called the Property Broker. It involves creating WSDL files to define what kind ...

59. Spring Portlet MVC and Flex HTTPService    forum.springsource.org

Spring Portlet MVC and Flex HTTPService Hi Im developing an application using spring portlet mvc and using Flex for display purposes. I am using Flex's HTTPService to send requests and recieve ...

60. Testing Harness/Code for Spring MVc Portlet    forum.springsource.org

Hello, I am putting in a Testing Harness/Test code for testing a SPring MC Portlet application. I can follow the directions here , somewhat: http://www.springframework.org/docs/...ep-Part-3.html but I was wodnering if there ...

61. Portlet MVC    forum.springsource.org

Portlet MVC Quick question guys 'n' gals: I have recently converted a Spring mvc Controller (thet extends AbstractWizardFormController) to a Portlet Application. Most of the conversion was really easy, and it ...

62. Portlet MVC    forum.springsource.org

All, I am hoping to use Spring MVC to develop portlets for LifeRay and was wondering what the best approach would be. Are people developing/testing standalone web apps and then converting ...

63. Spring Portlet MVC Question    forum.springsource.org

Given that the action phase of an overall portlet request doesn't do any rendering, I doubt you would ever be processing a JSP in an action phase.

64. Spring Portlet MVC    forum.springsource.org

I'm exploring Spring Portlet MVC and I need to implement an FormController. I need to get my command object in onSubmitAction(), call my business logic and put some beans in request ...

65. Spring portlet MVC - footer include problem    forum.springsource.org

Hi all, Using Spring MVC framework, I have a JSP page that is a redirection to a page hello.htm: Code: and in ...

66. Help with spring mvc portlet    forum.springsource.org

Help with spring mvc portlet I am getting the following error in a portlet that I have deployed. What does this mean? I know that the spring-jdbc.jar file is in /WEB-INF/lib. ...

67. Multiple Actions using Spring Portlet MVC    forum.springsource.org

Hi, How do I handle multiple submit buttons using Spring Portlet MVC? For example, I have a form that has one button for Search, another for Save, and another for Create. ...

68. cannot run booking-portlet-mvc sample spring application on Pluto    forum.springsource.org

cannot run booking-portlet-mvc sample spring application on Pluto I was able to run a simple hello world portlet on pluto but when I tried to run booking-portlet-mvc sample application from spring, ...

69. Spring Portlet MVC    forum.springsource.org

Hi All, Is there any way we can handle browser back button resubmit with all the new parameters? I am using AbstractWizardFormController. Resubmit simply ignore the form changes. I was doing ...

70. Spring MVC Portlets / FreeMarker - catching TemplateException    forum.springsource.org

I'm trying to get FreeMarker to put the TemplateException to the screen when there is an error in a template (as FreeMarker normally does). Now it's going to the server log, ...

71. Ajax with Spring MVC in Portlet    forum.springsource.org

I've to develop a portlet with spring mvc and ajax. I'm looking for an example for integrate all parts. I can use like ajax framework DWR or any other framework. Are ...

72. Javascipt is not work in spring portlet mvc    forum.springsource.org

73. Javascipt is not work in spring portlet mvc    forum.springsource.org

Javascipt is not work in spring portlet mvc Hi, Im developing a Portlet with Spring 2.5.5(tried Spring 2.0), I success in registering the portlet in liferay5.1.2 with tomcat5.5. In this application, ...

74. Spring MVC Portlet in cluster environment    forum.springsource.org

Hi I have this environment: Spring 2.0.2 Liferay portal 4.3.1 JBoss 4.0.5 (i downloaded liferay embedded in JBoss) I have three application server in cluster; i followed the Liferay guide to ...

75. Portlet onSubmitAction() returning ModelAndView    forum.springsource.org

Hello, I am working on a dictionary portlet - but I can't figure out how to submit a word and give back the translation in a SimpleFormController. In a servlet I ...

76. Portlet MVC - Navigation issues    forum.springsource.org

Portlet MVC - Navigation issues Hello, When development a portlet based application using spring portlet MVC there is a navigation issue when the portlets are instanceable (instanceable means that user will ...

77. Spring Portlet MVC 3.0 M1 - eventing issue    forum.springsource.org

Spring Portlet MVC 3.0.0 M2 - eventing issue hi all, i am trying out eventing with Spring Portlet MVC 3.0 and i'm stuck; i keep getting Code: WARN org.springframework.web.portlet.DispatcherPortlet - Handler ...

78. Spring MVC portlets action phase    forum.springsource.org

Thanks Prismo, I developed two cooperative portlets with spring mvc which uses simpleformcontroller in the websphere portal 5.1.0.5 environment. one is the source portlet and the second one is target portlet,cooperation ...

79. Spring MVC Portlet Event Handling    forum.springsource.org

Spring MVC Portlet Event Handling Hi all! I'm using Spring MVC Portlet 3.0.0.M2 because of its supports for the JSR 286 Portlet 2.0. All the mappings work fine. My portlet wants ...

80. collaborative portlets using spring portlet mvc    forum.springsource.org

Hello, I'm developing portlets using spring portlet mvc and I need to make several portlets collaborative. does anyone knows how to make spring mvc portlets collaborative? can anyone give me an ...

81. Spring MVC Portlets - handleActionRequestInternal    forum.springsource.org

Spring MVC Portlets - handleActionRequestInternal Hi Im trying to use my own ParameterHandlerMapping class to move to a specific controller (extends AbstractController) based on a submitted request parameter. The transfer to ...

82. Spring Portlet MVC / Command Objects    forum.springsource.org

Spring Portlet MVC / Command Objects I am creating a portlet that consists of 3 pages and am utilizing the AbstractWizardFormController to accomplish this. The intial page displays a list of ...

83. Spring Portlet MVC: ActionResponse with Event and RenderParameters fails    forum.springsource.org

Spring Portlet MVC: ActionResponse with Event and RenderParameters fails Hi All! I'm using Spring Portlet MVC 3.0.0.M3 and I am facing a problem when using annotation based controllers. In some actions ...

84. Spring MVC (portlet) configuration correct?    forum.springsource.org

Spring MVC (portlet) configuration correct? Hi All, I am building a spring portlet that submits a form and have noticed some behavior that I consider unexpected (i am very new to ...

85. MVC Portlet Application    forum.springsource.org

86. Spring 3.0.0.M3 MVC Portlet    forum.springsource.org

Spring 3.0.0.M3 MVC Portlet Hi all! I'm want Spring MVC Portlet 3.0.0.M2 because of its supports for the JSR 286 Portlet 2.0. But when I try to run my example it ...

87. Turning a simple Web MVC to Portlet MVC - Please help..    forum.springsource.org

Hi, i'm very new to Spring and i developped a Spring Web MVC app with Netbeans 6.7. It took me days to develop that... Now i wanted to run my Spring ...

88. Spring 3.0 Portlet MVC    forum.springsource.org

Spring 3.0 Portlet MVC Greetings - I have a question regarding the feature support of JSR-286 with the Spring 3.0 Portlet MVC framework. JSR-286 states you can add elements to the ...

89. Setting up Freemarker + Spring Portlet in Spring MVC    forum.springsource.org

Yes.. I had been searching and searching and to no avail. Can some one please show me how to set up spring portlet to use Freemarker instead of jsp/jstl in an ...

90. Using Spring Portlet MVC Annotations to perform AJAX call    forum.springsource.org

Using Spring Portlet MVC Annotations to perform AJAX call I cannot find an example or documentation which outlines what the configuration should be for a portlet (JSR-286) to make an AJAX ...

91. Spring Portlet MVC - Configure example    forum.springsource.org

92. Spring Portlet MVC -    forum.springsource.org

Spring Portlet MVC - I have a question on "action" request parameter that is defined for PortletModeParameterHandlerMapping. On my portlet, when the user switched to the HELP mode, I have a ...

93. Which "view-technology" goes best with the Spring Portlet MVC?    forum.springsource.org

Which "view-technology" goes best with the Spring Portlet MVC? Hello, we recently started to develop a portlet with the Spring 2.5 Portlet MVC Framework and Hibernate 3 in the back-end. We ...

94. Is Spring javascript supported in Spring Portlet MVC?    forum.springsource.org

In other words, can I use dojo objects via decorations via spring javascript, within spring portlet MVC? Been hunting for examples and documentation before diving in, and found distinct lack of ...

95. Spring 3.0 Portlet MVC : Event Handling Problem    forum.springsource.org

Spring 3.0 Portlet MVC : Event Handling Problem I am pretty new to annotation based Spring 3.0 Portlet MVC development and have spent the last few days attempting to come up ...

96. One time renderParameters in Portlet MVC    forum.springsource.org

One time renderParameters in Portlet MVC We seem to be having an issue with our Portlet MVC form controllers rendering the success view(s) upon all subsequent visits or refreshes to the ...

97. Spring Portlet MVC - File Download    forum.springsource.org

Spring Portlet MVC - File Download I have managed to successfully upload files in a portlet application. The problem I am facing right now, is how to actually provide download links ...

98. How can I get PUMA from Spring Portlet MVC    forum.springsource.org

How can I get PUMA from Spring Portlet MVC Using: WebSphere Portal 6.0 and Spring Portlet MVC 2.5.6 I need to get user data from PUMA. Prior to using Spring, I ...

99. Spring MVC Portlet @ModelAttribute    forum.springsource.org

Spring MVC Portlet @ModelAttribute I have the below controller, with one render method and one action method: Code: @Controller @RequestMapping("VIEW") public class MyController { @Autowired private MyService myService; private MyModel myModel; ...

100. Spring portlet mvc best practies    forum.springsource.org

Spring portlet mvc best practies Hi, I'm new at spring mvc and portlet and i want to know some best practies... I have to make a portlet that stores some configuration ...