[JBoss-user] [JBoss Seam] - Getting request parameter within JBoss Portal

2006-07-04 Thread endremr
Hello!

I'm writing a portlet application with Seam, and I'm trying to get the request 
parameter sent with the portal request:

http://localhost:8080/portal/portal/wp-mypage/default?personId=12345

Is it possible to get this request parameter within my Seam portlet? I have 
tried different ways, including the annotation, but I only get null value.

If it is possible, could anyone give me a couple of lines? I'm using JBoss 
portal 4.0.4 GA and Seam 1.0.0 GA.

Thanks! :)



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955193

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Share data between portlets for each user session

2006-06-19 Thread endremr
Sorry for answering myself!

Now I've found a way to solve my problem. It works when I use the 
PortletSession and the APPLICATION_SCOPE. Now I have also found the way to get 
the PortletSession from Seam:

((javax.portlet.PortletRequest) 
getFacesContext().getExternalContext().getRequest()).getPortletSession();



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951605


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Share data between portlets for each user session

2006-06-17 Thread endremr
It that true for Seam applications? I thought that Seam was a bit close to 
JBoss Portal. I have read different places that JBoss Portal supports 
interportel communication if they are build into the same portlet application.

Quote:
"Any object stored in the session using the APPLICATION_SCOPE is available to 
any other portlet that belongs to the same portlet application and that handles 
a request identified as being part of the same session."

>From page:
http://jboss.org/index.html?module=bb&op=viewtopic&t=66156&view=previous

Doesn't seam support this? Then my question is how I can access the 
PortletSession from Seam. Is that possible? 

Thanks again! :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951477


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Share data between portlets for each user session

2006-06-16 Thread endremr
Hi!

I'm pretty new to Seam, so maybe this is an easy question, but I haven't found 
out how to solve it.

I have a Seam portlet application deployed i JBoss Portal, that defines a page 
with two portlets that should share some information for the user visiting the 
page. 

I have tried to share data with the ApplicationContext. This works but the data 
is available for all users. But when I try to use the SessionContext instead, 
the data is only available in the portlet where I set the attribute. Shouldn't 
it be available for the whole user session; both portlets?

Do I have to use the "javax.portlet.PortletSession" with application scope 
instead? If so, do anybody have an example how to access it from Seam? I miss 
some documentation here...

I'm using JBoss 4.0.4.GA, Seam 1.0.0.GA and JBoss Portal 2.4.0-BETA1.

Thanks for advice :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951400


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Safe mail sending that doesn't fill up the mailbox

2006-03-20 Thread endremr
Hi!

I saw a pretty old thread where a user asked for advice using the smtp-appender 
that sends mails when errors are logged in the JBoss-server. He didn't get a 
solution so I try again:

I see that JBoss default has a default appender that is commented out. This is 
just what I need, I want an email each time an error occurs in the server. I 
have dropped to paste in the appender since this forum doesn't handle the 
html-tags. :)

But I'm a bit afraid. What will happen if something really serious happens, ie 
that something loops and starts to fail all the time? Will this fill up the 
mailbox or may be take down the whole mail system?

What I really want is a safety net that avoids sending more that one mail each 
N minute, or maybe a filter that skips already posted messages.

Is there an easy way to get this or do I have to write something myself?
Thanks for tips :) 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931270


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user