portlet « MVC Controller « Spring Q&A





1. SimpleFormController help    stackoverflow.com

I am very new to Spring and I have been given some basic instructions to move some code into a new project that uses Spring and I am having trouble with ...

2. How do I render a JSON view/response via AJAX using Spring MVC annotation-based controller for portlets?    stackoverflow.com

I've spent the last six hours scouring Google and stackoverflow for an answer to this question. I'm originally a PHP developer, so bear with me - returning a JSON array from ...

3. Spring MVC Portlet DefaultAnnotationHandlerMapping - Choosing Controller Class    stackoverflow.com

I am trying to use DefaultAnnotationHandlerMapping for annotated Controllers in Spring Portlet MVC. My portlet works with one controller. But I am not able to understand as to how DefaultAnnotationHandlerMapping ...

4. Forwarding portlet request to spring web mvc controllers.    forum.springsource.org

Hi, I have a Spring Web MVC application. Due to a requirement to allow the app to be deployed to portals like Liferay, i am thinking if i could just write ...

5. Servlet & portlet packages (SimpleFormController)    forum.springsource.org

Dec 2nd, 2004, 11:11 AM #1 mpetrashev View Profile View Forum Posts Private Message Member Join Date Sep 2004 Location London, UK Posts 64 Servlet & portlet packages (SimpleFormController) I would ...

6. Portlet Form Controllers    forum.springsource.org

Portlet Form Controllers We've been working on porting a fairly complex enterprise application from the Spring Servlet MVC framework to the Spring Portlet MVC framework. As Nick Lothian and Rainer Schmitz ...

7. spring portlet - SimpleFormController    forum.springsource.org

spring portlet - SimpleFormController Hi, We are moving from Spring MVC to Spring portlet the application. I have 2 classes, one implements Controller and other extends SimpleFormController. We use Two controllers ...

8. MultiActionController in Portlet SpringMVC    forum.springsource.org

Not yet. Porting over MultiActionController is on my list of things to do, but we've been more focused on getting other aspects ready for the 2.0 release since there hasn't been ...

9. AbstractWizardFormController in Spring MVC Portlet Framework    forum.springsource.org

AbstractWizardFormController in Spring MVC Portlet Framework I want to do sample spring mvc portlet application(JSR168) with AbstractWizardFormController . I have chosen this as my controller because I have got 3 screens ...





10. download portlet controller    forum.springsource.org

download portlet controller Hi spring forum, How to download from a portlet ? My domain class create a pdf and the controller want to send it to the browser. I don't ...

11. SimpleFormController / Portlet Problems    forum.springsource.org

Jun 29th, 2006, 02:05 PM #1 certus View Profile View Forum Posts Private Message Member Join Date Dec 2005 Posts 36 SimpleFormController / Portlet Problems Hi I'm new to JetSpeed and ...

12. Portlet MVC: Testing Portlet Controller    forum.springsource.org

Is there any sample available how to test portlet controllers within application context? How to use MockPortletContext and XmlWebApplicationContext inside an AbstractSpringContextTests class? I couldn't find any sample and the Javadocs ...

13. Invoking Portlet Controller in Another Page    forum.springsource.org

Hi, I have this senario. I have two pages (say Page1 and Page 2) with portlet in each page (Porlet A in Page 1 and Portlet B in Page2). Portlet A ...

14. having problem with wizard controller in portlet mvc framework    forum.springsource.org

having problem with wizard controller in portlet mvc framework Hello friends, we are migrating from spring web MVC to spring portlet mvc framework iam using portlet version of abstractwizardformcontroller. iam getting ...

15. Using Redirect from AbstractWizardFormController-Spring Portlet MVC    forum.springsource.org

Hi, I have a Portlet Controller which implements AbstarctWizardFormController of Spring Portlet MVC. My requirement is that i have to redirect to another portal page on successful completion i.e. i have ...

16. Portlet SimpleFormController and redirectAction problem    forum.springsource.org

Portlet SimpleFormController and redirectAction problem I have created a very simple login portlet with SimpleFormController that redirects to an URL in onSubmitAction(ActionRequest, ActionResponse, Object, BindException) if the login is successfull. Everything ...





17. MultiActionController in Portlet    forum.springsource.org

18. Portlet AbstractWizardFormController doesn't proceed past first step.    forum.springsource.org

May 4th, 2007, 04:25 PM #1 gibbster View Profile View Forum Posts Private Message Member Join Date May 2006 Location Paris, France Posts 39 Portlet AbstractWizardFormController doesn't proceed past first step. ...

19. Design Question - SimpleFormController - Portlet (Spring 2.0)    forum.springsource.org

Design Question - SimpleFormController - Portlet (Spring 2.0) Hello all, I am new to Spring Portlet MVC. I have searched through the forum and google , but could not get a ...

20. Alternative to MultiActionController in portlets    forum.springsource.org

Hi, I have a jsp page having two forms. One is two uploading a file and another is to downloading a file. The spring implementation follows MultiActionController. But nothing is there ...

21. Using multiple annotated controllers in a Portlet    forum.springsource.org

Using multiple annotated controllers in a Portlet Hi all, I am migrating a 2.0 spring-portlet-mvc app my colleague wrote to an annotation based 2.5 version. My portlet is only usable in ...

22. Cheat Sheet Flowchart for Portlet SimpleFormController    forum.springsource.org

Wanted to start a new post to point out that I've create a new version of the cheat sheet, for the portlet SimpleFormController. Even though I've left out a few parts, ...

23. Portlet cache in annotated controller    forum.springsource.org

Portlet cache in annotated controller Hi, I'm trying to enable some caching on the portlet. However when I add the 300 to portlet.xml, that doesn't seem to work, not sure, but ...

24. AbstractWizardFormController (Portlet) validatePage issue    forum.springsource.org

AbstractWizardFormController (Portlet) validatePage issue Hello all, I'm experiencing some strange behaviour with the AbstractWizardFormController (portlet version) with the validation of my first page. Basically I have a wizard with 3 pages ...

25. AnnotationHandler for multiple controllers with the same portlet Mode    forum.springsource.org

Hi there, The javadoc for the DefaultAnnotationHandlerMapping class for portlets states that the controller must be associated with an unique portlet mode. Now, I have a controller which I want to ...

26. Spring Portlet - redirection and controller    forum.springsource.org

Hi all, In a SimpleFormController, during the onSubmitRender method, I send a ModelAndView that is linked with my success view. Code: public ModelAndView onSubmitRender(RenderRequest request, RenderResponse response, Object command, BindException errors) ...

27. portlet:renderURL to MVC Controller    forum.springsource.org

portlet:renderURL to MVC Controller I'm abit confuse how to direct an anchor tag to a Spring MVC controller Do I handle the request in the handleRenderRequestInternal method? and how do I ...

28. Portlet: AbstractWizardFormController and Errors    forum.springsource.org

Portlet: AbstractWizardFormController and Errors Hi. I have this environment: Spring 2.0.6 JDK 1.4.2_12 Liferay 4.3.1 JBoss 4.0.5 I'm developing a Portlet by using spring. I need to create a Wizard; in ...

29. Portlet Controller/handler design question    forum.springsource.org

Portlet Controller/handler design question I have two controllers, A and B. Upon submitting an action request to controller A, it performs some validation and would like to hand off to controller ...

30. AbstractWizardFormController in portlet problem    forum.springsource.org

AbstractWizardFormController in portlet problem Hi I've hit a problem using the AbstractWizardFormController (AddClaimLineController) within a portlet when returning from a processCancel method. My processCancelMethod looks like this: Code: protected void processCancel(ActionRequest ...

31. portlet SimpleFormController double submit    forum.springsource.org

Code: public class AddSolutionController extends SimpleFormController { private KnowledgebaseManager knowManager; @Override protected void onSubmitAction(ActionRequest request, ActionResponse response, Object command, BindException errors) throws Exception { logger.info("SUBMIT ACTION ADD SOLUTION " + request.getParameter("action")); ...

32. Testing annotated portlet controllers    forum.springsource.org

Hi All, I was wondering if anyone could point me to some examples that showed how to setup unit testing of the portlet mvc framework? The petportal example doesn't seem to ...

33. Break the Portlet Controller Interceptor chain    forum.springsource.org

Break the Portlet Controller Interceptor chain Hi, I have a requirement where in I want to break away from Interceptor chain and directly go to the handler. I am using CookieBasedAuthenticationInterceptor ...

34. Unit Testing Portlet SimpleFormController Submit    forum.springsource.org

Unit Testing Portlet SimpleFormController Submit I would like to unit test my simpleformcontroller using MockActionRequest. When I invoke handleActionRequest with my MockActionRequest/Response always it calls formBackingObject() and creates new bean before ...

35. Spring MVC Portlet + ActionMapping + Multiple Annotated controllers    forum.springsource.org

Spring MVC Portlet + ActionMapping + Multiple Annotated controllers Hello all, I've a portlet where I've defined 2 controller classes using @Controller and both are "VIEW" mode controllers. The reason for ...

36. Multiple portlet with multiple controller    forum.springsource.org

Multiple portlet with multiple controller Hi, I'm developping a set of two portlet. Both portlet are using some common controllers. The set of portlet will be used to build a calendar ...

37. Portlet Controller reexcute    forum.springsource.org

Portlet Controller reexcute Hi, i use a Spring Dispatcherportlet and a Controller to fetch data from a database (on a Websphere Portal Server). After having rendered the data using JSP, the ...