[jboss-user] [JBoss Seam] - seam context

2007-01-11 Thread james_027
Hi,

I don't quite understand the seam context, as they are many and the 
documentation doesn't seem to be enough for a beginner. Could somebody explain 
this. Is the session context and seam and jsf have the same scope? what is then 
the equivalent of jsf's request scope in seam? is it page or event? how are 
they differ from one another?

In the clickable list example. the message entity has a scope of event? I can't 
understand why it has a scope? isn't the messengermanagerbean is doing all the 
work?

Thanks

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

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


[jboss-user] [JBoss Seam] - Question on seam generate-entities

2007-01-10 Thread james_027
There are some things I don't understand as I am trying to study the code 
generated from seam generate-entities.

Having a simple master detail entity relationship, from a master entity view 
page we can create a new child entity, and on create child entity page the 
foreign key is already filled up with a selected master entity. Where can I 
find the code that make this happen?

What is the purpose of adding this  to the entityHome class
public void setMasterId(Byte id) {
setId(id);
}

public Byte getMasterId() {
return (Byte) getId();
}

it seems useless because there is setId() and getId() method and there is no 
declaration of MasterID field in the code?

Thanks

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

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


[jboss-user] [JBoss Seam] - How the *.page.xml works

2007-01-09 Thread james_027
Please explain to me how the *.page.xml generated by the seam generate-entities 
works and what is it's purpose? I can't find them on the seam reference docs.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Contributing to seam-gen?

2007-01-09 Thread james_027
You have nice idea atzbert! I am heavily relying on seam gen now, and those 
features you wish to add are cool!

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

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


[jboss-user] [JBoss Seam] - Re: Do I have to learn JSF or Facelets before learning Seam?

2007-01-07 Thread james_027
Before I started seam. I've already learn JSF, but no facelets. Learning JSF 
could be worthwhile. But here's some tips for you, if you really want to learn 
seam you may skip the navigation part of JSF as Seam has a nice way in dealing 
with this. You may also choose not to get deep into managed beans in JSF, 
because using Seam will do those things for you. With Seam, JSF just got easier 
and fun to develop. Although I just have only a week of experience. 

As for facelets, I just learn it by examples from Seam and the code generated 
from "seam gen" and refers to some facelets article and the experience so far 
is nice!

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

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


[jboss-user] [JBoss Seam] - Question about usage of Page Actions

2007-01-04 Thread james_027
After reading the topic page action in seam reference. I wonder if I could do 
and if it is a good practice of doing a check whether a user is log in or not 
then perform a redirect if necessary.

I don't fully understand this piece of code. 

 

I got this code from xhtml file generate from seam gen' seam generate-entities 
command. the userFrom is a parameter variable from page.xml file. when the 
userFrom is empty it will be evaluated to UserList.xhtml but if userFrom is not 
empty it will be evaluated to .xhtml? If it happens that the userFrom has a 
value this will produce an error right? Can I assume that userFrom will never 
have a value?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Using Seam gem for tomcat with and without embedded ejb3

2007-01-04 Thread james_027
I am worrying about the complexity(heavy on pc resource, learning curve, 
hosting cost) of Jboss as I've never use it before. The only reason I am using 
jboss now is because of seam. Many developers of small/medium scale web apps 
stay away from Java is because of this reason. Just compare the hosting cost 
between php, tomcat, and jboss.

But I like what you've said, and it's very convincing. What is the different 
between tomcat and jboss on tomcat profile? Does tomcat profile has ejb3? If 
not what will I gain from jboss on tomcat profile? 

Can I have all the features of  seam on tomcat with embedded ejb3?

I'll be very very glad to help out in seam development.

james



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

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


[jboss-user] [JBoss Seam] - Using Seam gem for tomcat with and without embedded ejb3

2007-01-03 Thread james_027
Hi

How does everyone start their seam project? Are all using seam gen? I prefer to 
use tomcat because jboss take so much resources from my pc and I feel tomcat is 
much lighter since I won't be using the other services jboss has. 

How can I then using seam gen in tomcat with and without embedded ejb3.

Thanks.
james

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

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


[jboss-user] [JBoss Seam] - Re: Seam Gen problem with ejb-jar.xml

2007-01-03 Thread james_027
Thanks norman richards. Everything now works fine. I can now proceed :-)

james

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

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


[jboss-user] [JBoss Seam] - Re: Seam Gen problem with ejb-jar.xml

2007-01-03 Thread james_027
I download the JBoss AS 4.0.5.GA.ZIP does this include the EJB3 profile?

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

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


[jboss-user] [JBoss Seam] - Seam Gen problem with ejb-jar.xml

2007-01-03 Thread james_027
Hi,

I am new with Seam. Iam trying to create a new project with seam gen. After 
doing the seam setup, seam new-project, and seam explode. I cannot open the web 
page.

This is one of the error I found during the startup of JBOSS AS

ejb-jar.xml must either obey the right  xml schema or define a valid DOCTYPE!

I am now stock and can't proceed. Please help.

James



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

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