Re: struts 2 portlet interceptor issue

2009-08-04 Thread Tracy12

Instead of writing interceptors I decided to go with the suggestion you made,
which is

use the raw session with the use of




but what I want to know is how can I access the jsp expression variables
inside the 


<%
UserSession userSession
=(UserSession)renderRequest.getPortletSession().getAttribute("UserSessionForApplication",PortletSession.APPLICATION_SCOPE);
String loginId= userSession.getLoginId();
%>








  

  

none of the above printed the value, how to proceed on this

Note: UserSession is one of our custom classes





Nils-Helge Garli wrote:
> 
>>                
>>                        > name="sessionScopeHandler">
>>                        /jsp/test/test.jsp
>>                
> 
> With this configuration, your sessionScopeHandler will be the only
> interceptor running for this action. You either need to include the
> portletDefaultStack or set up your own stack that also includes the
> framework interceptors that does the "introspection" magic.
> 
> Nils-H
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts-2-portlet-interceptor-issue-tp24799881p24819616.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



struts 2 portlet interceptor issue

2009-08-03 Thread Tracy12

Hi,

I  wrote a interceptor as follows but looks like variables/parameters in the
action class are not populated as part of the form submission. Which means
introspection does not seem to work it gives null values,  

I only defined the interceptor not modified the default stack, pls advice
how to get the introspection also working,

my interceptor and struts.xml roughly looks as follows.


public class PortletApplicationScopeHandler extends AbstractInterceptor {

public String intercept(ActionInvocation invocation) throws Exception {

 invocation.addPreResultListener(new PreResultListener(){
 
 @SuppressWarnings("unchecked")
public void beforeResult(ActionInvocation invocation, 
String resultCode)
{
//some logic here before it goes to the target 
jsp
   //

   }
 }   
 );
 return invocation.invoke();
}

}


and in my struts.xml  the interceptor looks as follows



 





/jsp/test/test.jsp

...
..   

-- 
View this message in context: 
http://www.nabble.com/struts-2-portlet-interceptor-issue-tp24799881p24799881.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts2 portlet bug found

2009-07-27 Thread Tracy12

For some reason whole application looks very slow,
I might choose the other approach where do jsp code changes to access raw
Portlet Session.

Doest this mean I have to use  
> Hi Nils-H,
> 
> Thanks for the reply, unfortunately in production we got lot of
> functionalities written with #session.studentId  etc, in the jsps to
> access PORTLET APPLICATION SCOPE variables.
> 
> Those references are not only  but
>  
> As suggested by you if we want to fix this we need to use the portlet tag
> library and introduce bit of scripting to access the raw portlet session.
> This involves bit of coding, also not sure how to code  test="#session  might have to introduce jstl if etc...
> 
> 
> Without doing that way, I though why not introduce a interceptor that will
> put all the portlet application scope variables to the portlet session
> scope. This way, there would not be any jsp code change. I tried this
> approach and worked beautifully, basically introduce a interceptor ref
> my-sessionScopeHandler to the bottom of the following stack.
> 
> But certainly for new developments I agree with what you stated
> 
> 
> 
>  class="org.apache.struts2.portlet.interceptor.PortletPreferencesInterceptor"/>
>  class="my.SessionApplicationScopeHandleInterceptor" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> What is your opinion regarding this, practically I prefer this option,
> 
> Pls let me know your thoughts in terms of issues which can pop up by doing
> this.
> 
> Thanks
> 
> 
> 
> 
> Nils-Helge Garli wrote:
>> 
>> Ah, sorry, I think I misunderstood
>> 
>> As they say in the uPortal forum, this is probably due to the older
>> version of uPortal returning all session attributes regardless of
>> scope. When this was fixed, you need to specify the correct scope to
>> retrieve application scoped attributes, but they are still in the
>> session. The "application" object is for attributes in the
>> PortletContext (or ServletContext if it's a servlet). Since the
>> session is represented as a Map object in Struts 2, there is no
>> support for "scope" (just simple "get" and "put" operations). To
>> retrieve the application scoped session attribute, you need to do as I
>> suggested in the previous reply, get the raw session and access it
>> directly.
>> 
>> Nils-H
>> 
>> On Wed, Jul 22, 2009 at 8:50 AM, Nils-Helge Garli
>> Hegvik wrote:
>>> Does it work if you access the session "raw" (get the session and do
>>> session.getAttribute("studentId", PortletSession.APPLICATION_SCOPE)?
>>> Have you tried deploying to a different portlet container such as
>>> jboss portal or just plain pluto? I assume that the resources you're
>>> sharing session between are in the same war file? Unless you're
>>> calling "clear()" on the session map, Struts 2 doesn't do anything to
>>> the session, so it should not just disappear like that. Considering
>>> you're using the same Struts 2 version in both deployments, I'm not
>>> sure what could be wrong...
>>>
>>> Nils-H
>>>
>>> On Wed, Jul 22, 2009 at 3:48 AM, Tracy12 wrote:
>>>>
>>>> Hi,
>>>>
>>>> We got a  struts 2.0.6 portlet application with uPortal  2.5.3 ( inside
>>>> Pluto 1.0.x) with no issues and running fine.
>>>>
>>>> Now we deployed the same struts 2.0.6 application in uPortal 3.1.1
>>>> (inside
>>>> pluto 1.1.7) and found following issue.
>>>>
>>>> in our action classes we had the following,  where session is of type
>>>> PortletSession.
>>>>
>>>> session.setAttribute("studentId","111",PortletSession.APPLICATION_SCOPE)
>>>>
>>>> We trieved the above studentId in the jsp as follows.
>>>> 
>>>>
>>>> The above worked with no issues in uPortal 2.5.3 but with uPortal 3.1.1
>>>> this
>>>> is not working,
>>>> Then I tried the following
>>>>  but didnt work,
>>>>
>>>>
>>>> I  interacted with the uPortal forum and this is what it
>>>> tells...http://www.nabble.com/Re%3A-is-this-a-bug-in-struts2-portlets-td24581733.html
>>>>
>>>> I thought based on that 
>>>> should
>>>> work,
>>>>
>>>> What else could I try, This looks to me a bug. Can't understand why it
>>>> is
>

Re: Struts2 portlet bug found

2009-07-26 Thread Tracy12

Hi Nils-H,

Thanks for the reply, unfortunately in production we got lot of
functionalities written with #session.studentId  etc, in the jsps to access
PORTLET APPLICATION SCOPE variables.

Those references are not only  but













What is your opinion regarding this, practically I prefer this option,

Pls let me know your thoughts in terms of issues which can pop up by doing
this.

Thanks




Nils-Helge Garli wrote:
> 
> Ah, sorry, I think I misunderstood
> 
> As they say in the uPortal forum, this is probably due to the older
> version of uPortal returning all session attributes regardless of
> scope. When this was fixed, you need to specify the correct scope to
> retrieve application scoped attributes, but they are still in the
> session. The "application" object is for attributes in the
> PortletContext (or ServletContext if it's a servlet). Since the
> session is represented as a Map object in Struts 2, there is no
> support for "scope" (just simple "get" and "put" operations). To
> retrieve the application scoped session attribute, you need to do as I
> suggested in the previous reply, get the raw session and access it
> directly.
> 
> Nils-H
> 
> On Wed, Jul 22, 2009 at 8:50 AM, Nils-Helge Garli
> Hegvik wrote:
>> Does it work if you access the session "raw" (get the session and do
>> session.getAttribute("studentId", PortletSession.APPLICATION_SCOPE)?
>> Have you tried deploying to a different portlet container such as
>> jboss portal or just plain pluto? I assume that the resources you're
>> sharing session between are in the same war file? Unless you're
>> calling "clear()" on the session map, Struts 2 doesn't do anything to
>> the session, so it should not just disappear like that. Considering
>> you're using the same Struts 2 version in both deployments, I'm not
>> sure what could be wrong...
>>
>> Nils-H
>>
>> On Wed, Jul 22, 2009 at 3:48 AM, Tracy12 wrote:
>>>
>>> Hi,
>>>
>>> We got a  struts 2.0.6 portlet application with uPortal  2.5.3 ( inside
>>> Pluto 1.0.x) with no issues and running fine.
>>>
>>> Now we deployed the same struts 2.0.6 application in uPortal 3.1.1
>>> (inside
>>> pluto 1.1.7) and found following issue.
>>>
>>> in our action classes we had the following,  where session is of type
>>> PortletSession.
>>>
>>> session.setAttribute("studentId","111",PortletSession.APPLICATION_SCOPE)
>>>
>>> We trieved the above studentId in the jsp as follows.
>>> 
>>>
>>> The above worked with no issues in uPortal 2.5.3 but with uPortal 3.1.1
>>> this
>>> is not working,
>>> Then I tried the following
>>>  but didnt work,
>>>
>>>
>>> I  interacted with the uPortal forum and this is what it
>>> tells...http://www.nabble.com/Re%3A-is-this-a-bug-in-struts2-portlets-td24581733.html
>>>
>>> I thought based on that 
>>> should
>>> work,
>>>
>>> What else could I try, This looks to me a bug. Can't understand why it
>>> is
>>> not in the value stack.
>>>
>>> If not pls let me know how to retrieve the above
>>> PortletSession.APPLICATION_SCOPE variable in the jsp.
>>>
>>> If this has been fixed let me know which struts 2 version is that.
>>>
>>>
>>> I did try the following also with no luck
>>>
>>> 
>>>
>>> waiting for a quick reply
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Struts2-portlet-bug-found-tp24598748p24598748.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2-portlet-bug-found-tp24598748p24671932.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Struts2 portlet bug found

2009-07-21 Thread Tracy12

Hi,

We got a  struts 2.0.6 portlet application with uPortal  2.5.3 ( inside
Pluto 1.0.x) with no issues and running fine.

Now we deployed the same struts 2.0.6 application in uPortal 3.1.1 (inside
pluto 1.1.7) and found following issue.

in our action classes we had the following,  where session is of type
PortletSession.

session.setAttribute("studentId","111",PortletSession.APPLICATION_SCOPE)

We trieved the above studentId in the jsp as follows. 


The above worked with no issues in uPortal 2.5.3 but with uPortal 3.1.1 this
is not working,
Then I tried the following
 but didnt work,


I  interacted with the uPortal forum and this is what it
tells...http://www.nabble.com/Re%3A-is-this-a-bug-in-struts2-portlets-td24581733.html
 

I thought based on that  should
work,

What else could I try, This looks to me a bug. Can't understand why it is
not in the value stack.

If not pls let me know how to retrieve the above
PortletSession.APPLICATION_SCOPE variable in the jsp.

If this has been fixed let me know which struts 2 version is that.


I did try the following also with no luck



waiting for a quick reply


Thanks





-- 
View this message in context: 
http://www.nabble.com/Struts2-portlet-bug-found-tp24598748p24598748.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: How to capture this event

2008-10-07 Thread Tracy12

I tried lot of examples at 
http://struts.apache.org/2.1.2/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Donotloadtab2whenpageloads%2528itwillbeloadedwhenselected%2529

but nothing seems to work,

I know the above documentation is for struts 2.1 we are using struts 2.0.6

We have the AJAX  divs and tabbed panels inside a portal enviornment.

Has any of these events tried on portal env.

What I basically want it to trap the event when someone click one of the
divs which I am interested.

I tried notifyTopic,  beforeSelectTabNotifyTopics,
afterSelectTabNotifyTopics

but nothing seems to trap the click of the div

Pls let us know how to proceed


Thanks
Lalitha





Mark-413 wrote:
> 
> Oh ok.  That's beyond my knowledge.  Hopefully someone else on the  
> list can help you.
> Mark
> 
> On 07/10/2008, at 12:27 PM, Tracy12 wrote:
> 
>>
>> Mark,
>>
>> The Issue is eventhough the preload=false, each time you click the  
>> div the
>> content will be loaded,
>>
>> What I want is basically to capture the click event and load  
>> accordingly if
>> required.
>>
>> Thanks
>>
>>
>> Mark-413 wrote:
>>>
>>> While I haven't used it yet, my understanding is that if you set
>>> preload=false, the DIV won't load until the user clicks the tab.
>>> Then the content will load.  However, I've also found this issue:
>>> https://issues.apache.org/struts/browse/WW-1860 which you might be
>>> running into.
>>>
>>> Mark
>>>
>>> On 06/10/2008, at 1:49 PM, Tracy12 wrote:
>>>
>>>>
>>>> Thanks for the reply,
>>>>
>>>> I have not set any preload value,
>>>>
>>>> But what I want is capture that event (when someone click the div)
>>>> and do a
>>>> AJAX call to the server, with Preload how can we do this.?
>>>>
>>>> Do i have to use notifyTopics,
>>>>
>>>>
>>>> Waiting for a reply,
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Mark-413 wrote:
>>>>>
>>>>> What have you set for the "preload" value of the DIV tag?  I  
>>>>> believe
>>>>> if you set this to false, it will behave the way you want.
>>>>>
>>>>> Check out: http://struts.apache.org/2.1.2/docs/dojo-div.html
>>>>>
>>>>> Mark
>>>>>
>>>>> On 06/10/2008, at 12:22 PM, tom tom wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We are using struts 2.0.6 with AJAX development features, we got
>>>>>> couple of >>>>>  .
>>>>>>
>>>>>> We want to do some lazy loading, which means when someone clicks
>>>>>> the div,
>>>>>> inside the tabbed panel,we need to load some data for that
>>>>>> corresponding page,
>>>>>>
>>>>>> At the moment we are unable to trap this event, when we give
>>>>>> onClick inside the >>>>> one
>>>>>> click the div but the page body,which is not we really want.
>>>>>>
>>>>>> Can someone pls give us any help on this.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> --
>>>>>> -
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>
>>>>>
>>>>> --- 
>>>>> --
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> View this message in context: http://www.nabble.com/How-to-capture-
>>>> this-event-tp19830839p19831303.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>  
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/How-to-capture- 
>> this-event-tp19830839p19849519.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-capture-this-event-tp19830839p19870563.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to capture this event

2008-10-06 Thread Tracy12

Mark,

The Issue is eventhough the preload=false, each time you click the div the
content will be loaded,

What I want is basically to capture the click event and load accordingly if
required.

Thanks


Mark-413 wrote:
> 
> While I haven't used it yet, my understanding is that if you set  
> preload=false, the DIV won't load until the user clicks the tab.   
> Then the content will load.  However, I've also found this issue:  
> https://issues.apache.org/struts/browse/WW-1860 which you might be  
> running into.
> 
> Mark
> 
> On 06/10/2008, at 1:49 PM, Tracy12 wrote:
> 
>>
>> Thanks for the reply,
>>
>> I have not set any preload value,
>>
>> But what I want is capture that event (when someone click the div)  
>> and do a
>> AJAX call to the server, with Preload how can we do this.?
>>
>> Do i have to use notifyTopics,
>>
>>
>> Waiting for a reply,
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>> Mark-413 wrote:
>>>
>>> What have you set for the "preload" value of the DIV tag?  I believe
>>> if you set this to false, it will behave the way you want.
>>>
>>> Check out: http://struts.apache.org/2.1.2/docs/dojo-div.html
>>>
>>> Mark
>>>
>>> On 06/10/2008, at 12:22 PM, tom tom wrote:
>>>
>>>> Hi,
>>>>
>>>> We are using struts 2.0.6 with AJAX development features, we got
>>>> couple of >>>  .
>>>>
>>>> We want to do some lazy loading, which means when someone clicks
>>>> the div,
>>>> inside the tabbed panel,we need to load some data for that
>>>> corresponding page,
>>>>
>>>> At the moment we are unable to trap this event, when we give
>>>> onClick inside the >>> click the div but the page body,which is not we really want.
>>>>
>>>> Can someone pls give us any help on this.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/How-to-capture- 
>> this-event-tp19830839p19831303.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-capture-this-event-tp19830839p19849519.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to capture this event

2008-10-05 Thread Tracy12

Thanks for the reply,

I have not set any preload value,

But what I want is capture that event (when someone click the div) and do a
AJAX call to the server, with Preload how can we do this.?

Do i have to use notifyTopics,


Waiting for a reply,

Thanks






Mark-413 wrote:
> 
> What have you set for the "preload" value of the DIV tag?  I believe  
> if you set this to false, it will behave the way you want.
> 
> Check out: http://struts.apache.org/2.1.2/docs/dojo-div.html
> 
> Mark
> 
> On 06/10/2008, at 12:22 PM, tom tom wrote:
> 
>> Hi,
>>
>> We are using struts 2.0.6 with AJAX development features, we got  
>> couple of >  .
>>
>> We want to do some lazy loading, which means when someone clicks  
>> the div,
>> inside the tabbed panel,we need to load some data for that  
>> corresponding page,
>>
>> At the moment we are unable to trap this event, when we give  
>> onClick inside the > click the div but the page body,which is not we really want.
>>
>> Can someone pls give us any help on this.
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-capture-this-event-tp19830839p19831303.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Minimized Window State NOT working-NOT SOLVED

2007-07-08 Thread Tracy12

Yes it appeared everything is fine as per the following solution, but that is
not the case.

What happens is, This will work only for the portlet where user just
minimized. If user tries to minimize another portlet the previous one get
Expanded, It looks to me server is not detected the portlet has allready
been minized. For correct functionaliy the server should be remembering this
information.

Is this a bug some where?

Let me know how to proceed on this. 

Thanks






Nils-Helge Garli wrote:
> 
> All portlets are responsible for what to render in the different
> window states, even when caching is enabled, if the portlet is the
> "target" of a user interaction (PLT.18.1 in the spec). But usually
> when creating portlets, you extend the GenericPortlet class, which has
> built in logic for skipping rendering in the "doDispatch" method when
> the window state is minimized. Quote from the javadoc for
> GenericPortlet:
> 
> "If the window state of this portlet is minimized, this method does
> not invoke any of the portlet mode rendering methods."
> 
> The Jsr168Dispatcher in Struts 2 does not extend GenericPortlet (it
> just implements the Portlet interface, since the handling of modes is
> a bit different from a "regular" portlet), so this logic is missing.
> This means, that for now, the responsibility of what is rendered in
> the minimized state is up to the developer.
> 
> I'll create an improvment request in the JIRA for adding default
> window state handling to the Struts 2 portlet dispatcher.
> 
> For now, a workaround would be to subclass the Jsr168Dispatcher (or
> modify it directly) and in the render method, do something like
> 
> if(!request.getWindowState().equals(WindowState.MINIMIZED)) {
>super.render(request, response);
> }
> 
> Nils-H
> 
> On 6/26/07, tom tom <[EMAIL PROTECTED]> wrote:
>>
>> > "When a portlet is in MINIMIZED window state, the
>> > portlet should only render
>> > minimal output or no output at all."
>>
>> Ealier we were using struts-bridge for portlet
>> development, there it was showing no output for the
>> MINIMIZED window state, also I have seen lot of other
>> portlet development strategies where it shows nothing
>> for the minimized window state.
>>
>> > As I interpret this, it's the responsibility of the
>> > portlet to display the
>> > correct content. So you need to do some checking for
>> > the window state and
>> > take according action in your portlet.
>>
>> I DONT THINK this is possible, The reason is as
>> follows.
>>
>> In S2 when I submit a form (not a HREF) it goes to an
>> action and there after forward to a JSP, Now being in
>> the same page if I switch between modes, it does not
>> go the action class but shows the content probably
>> from cache or already rendered content, Due to this
>> reason how can I check for the Window State in the
>> corresponding action class.
>>
>>
>>
>>
>>
>> >
>> > However, there wasn't much information about the
>> > minimized window state in
>> > the spec. I couldn't find any description of the
>> > contract between the portal
>> > server's "window buttons" and the window states, so
>> > there might be different
>> > behaviour from server to server.
>>
>> We have different portlet development strategies
>> working fine with uPortal, hence this is nothing to do
>> with the uPortal or any other portal container.
>>
>>
>>
>> Please let me know if any way around for this.
>> This should be a common problem to anyone, Can we
>> enforce it to hit the action class for each switch
>> between windows states so that in the portet we can do
>> something.
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>> 
>> Got a little couch potato?
>> Check out fun summer activities for kids.
>> http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Minimized-Window-State-NOT-working-tf3974216.html#a11496664
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]