[JBoss Seam] - Re: Praise for Seam
by SmokingAPipe
"thomas.heute(a)jboss.com" wrote : Well seam.properties acts as a token so that we don't scan every archive, we cannot warn every application that seam.properties is missing because not all applications are Seam applications (yet ;) )
Ah that makes sense.
anonymous wrote : I agree that we could help debugging on other things, we need your input (as users) here.
Yes, a simple message like "I couldn't find a seam.properties in any archive, so Seam won't work" would really help with that.
One thing I am finding about Seam is that Seam applications are fragile. It does take longer to develop in Seam because you can spend two days wondering why something isn't working and nothing gives you any clues. And then if things partially work it is even harder to figure it out. This is unfortunate. It seems like it should be the ideal way to develop apps but it is really not easy to use. (Obviously Seam isn't intended for people who are not very experienced in Java.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966214#3966214
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966214
19 years, 8 months
[JBoss Seam] - Calling a method when a Session scope starts?
by SmokingAPipe
Here's the situation: We have a site that needs to track affiliates. A customer clicks on a banner somewhere, and the banner link has a parameter like "affiliateId=4949". That ID number needs to be saved in the user's session, or even better in a cookie, so he can surf around the site, come back later, and sign up, and we know who the affiliate was.
Back in the days of Servlets and Filters, I would have written a simple filter that would look for the affiliateId parameter, and if it's there, I would have set the value as a cookie, and that would be it.
Is there a way to do that within Seam? I'm sure there, because when a user hits a Seam page, it immediately starts a session. There must be a few ways to do it. Any recommendations?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966208#3966208
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966208
19 years, 8 months