[jboss-user] [JBoss Portal] - Re: ActionRequest setAttribute

2007-04-13 Thread [EMAIL PROTECTED]
You should fetch your data from your render phase.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037128#4037128

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037128
___
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: ActionRequest setAttribute

2007-04-13 Thread engela
O.K. I understand.

Unfortunately using the render parameters is not an option as they are limited 
to string objects. (My processAction fetches tabular data from a database 
represented by an ArrayList). 

Thanks,

Anette


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037117#4037117

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037117
___
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: ActionRequest setAttribute

2007-04-13 Thread [EMAIL PROTECTED]
It would work if you put the setAttribute in the render method.

Remember that the portal should be able to render your portlet without having 
to call the action method (only based on render parameters).

Let's say it would work:
- you set the object as an attribute in the action phase
- the render phase of this portlet is called and displays the object.
- now you rerender the page (refresh or click on another portlet for example)
- it will call the render phase again (without having called the action phase 
that set the attibute) and your object will be null.


You must set render parameters, then in the render phase set the attribute.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037104#4037104

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037104
___
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user