Search:

Type: Posts; User: sarojkr; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    772

    Requirement

    Hi Chris,
    The need is this. I need to invoke the action phase of a portlet in another page ? I found out that it requries namespace information for this.
    As of now, i can...
  2. Replies
    3
    Views
    772

    Portlet Namespace

    Hi,
    I have few queries regarding namespace.
    1. How is the namespace created for a portlet by the portlet container ?
    2. How unique is it ? Is is unique for every portlet across...
  3. Action Phase Programatically

    Hi Chris,
    Thanks for your innovative suggestion. Will try to work on it. By the way is possible to push portlet to action phase programatically without the url ?
    Please suggest...
  4. Intercepting requests to all Portlets in a Page

    Hi,
    I need to populate a bean which is commom for all portlets in a page and across page. Further i have to check whether the user is authorized or not and do corresponding redirection. Which is...
  5. Replies
    4
    Views
    1,183

    Try this

    Hi spgmx,
    Try lookin at the API docs. It has the work flow/life cycle of the methods called. Maybe this would help you. If you have to draw class diagram. Use the spring plugin for...
  6. Redirection to different portlet controlles

    Hi,
    I have portlet with 4 tabs in Page 2. Each tab is controlled by a controller. I have to create a link in page 1 which will invoke say tab 3 in page 2, (tab 1 is the default tab). Is it...
  7. Replies
    2
    Views
    2,220

    Servlet Portlet Communication

    Hi,
    I have to send data across to servlet from a portlet.
    In my application i have to render an image based on some information in a bean. I tried to set the data in Portlet Session,...
  8. Resources Related to Scoped Session

    Hi,
    I found the following information regarding Scoped Session.

    Bram Smeets Blog :http://bram.jteam.nl/index.php/2006/09/12/scoping-in-spring-20/

    MemeStorm Blog...
  9. Using Redirect from AbstractWizardFormController-Spring Portlet MVC

    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...
  10. Senario and Understanding.

    Hi Karldmoore,
    I have a bean which has user specific information, some of which i use session to populate. If it has user/session specific information, it should ideally be a...
  11. Need Opinion-Object Instantiated by Spring

    Hi All,
    I need opinion on the following. What kind of variables should be class level in Spring MVC framework or what variables should be instantiated by Spring via getters/setters and...
  12. Multiple Calls - Solved

    Hi Cantor/Chris,
    The problem is solved, it was basically due to use of action url and render url in tandem. I used the solution given by Chris (cmelgar) and the problem was solved.
    ...
  13. Just one portlet in Test Portal Page

    Hi Cantor,
    The portal page has only one portlet. The portlet i described is has a form. When the page is displayed for first time, i just use formBackingObject to populate the form. My...
  14. Spring Portlet- formBackingObject() is called multiple times while rendering.

    Hi,
    I ran across this weird issue with Spring Portlet MVC framework. I have a portlet which extends SimpleFormController. I use formBackingObject to intialize the command Object, attached to the...
  15. Replies
    4
    Views
    1,221

    Reading URL Params

    Hi,
    You can append request params to the url and read it with request.getParameter(). But the main crux is you have to set the parameter in the format supported by the Portal Server. Look into...
  16. Replies
    4
    Views
    1,221

    Try this.

    You cannot create a url with appended with query params. But you can use taglib to achive this.

    If you want to read form values, in your onSubmitAction() (assuming you are using FormControllers)...
  17. Out of Memory-control your heap

    Hi ArunD,
    Try to increse the size of heap allocated to your application server/servlet container. Like for tomcat you could do it like this.

    On Windows
    Edit the file $TOMCAT_HOME\bin\startup.bat...
  18. Replies
    3
    Views
    912

    Out of Memory

    Hi ArunD,
    Try to increse the size of heap allocated to your application server/servlet container. Like for tomcat you could do it like this.

    On Windows
    Edit the file...
  19. Replies
    3
    Views
    912

    Try this

    Hi ArunD,
    Try using String Tokenizer to read content between the delimiters to get the content from the flat file. Once you have read the content, you can populate your bean. If you...
  20. Replies
    2
    Views
    1,123

    Invoking Portlet Controller in Another Page

    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 has three tabs (mulitiple controllers). My...
  21. Replies
    1
    Views
    1,326

    U cud try this out.

    <c:if test="${props1 ne null}">
  22. Replies
    4
    Views
    943

    Check your Mapping in your xml

    I guess you haven't mapped your home.htm to a controllor properly. Just check this out in your springapp-servlet.xml. Below is a sample of the mapping.



    <property name="urlMap">
    <props>...
  23. Replies
    13
    Views
    1,788

    Try this Validator Sample

    this is how you validate a form

    BEAN


    package com.model;

    public class Sample {

    private String myString;
  24. Replies
    13
    Views
    1,788

    Action Mapping

    Hi ArunD,

    This is how i do it in Portlets.



    <!-- Handler Mapping -->

    <bean id="parameterMappingInterceptor" class="org.springframework.web.portlet.handler.ParameterMappingInterceptor"/>
  25. Replies
    13
    Views
    1,788

    If you have multiple action map it with multiple...

    If you have multiple action map it with multiple controllers in handler mapping. Depending on the action the corresponding controller will be called. The mapping will come in web_app-servlet.xml for...
Results 1 to 25 of 32
Page 1 of 2 1 2