Read up on outjection in the seam reference manual.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099027#4099027
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099027
___
Try
h:selectOneMenu id=principalId value=#{activityList.principalId}
onchange=javascript:document.getElementById('weekActivity').submit();
| f:selectItems value=#{usersByManager}/
| /h:selectOneMenu
View the original post :
thank you,pete!
as you said,the method is invoked once,but i cann't still understand:
1.how the page know the method usersByManager in UserList?
2.if i have the same factory method in another class,what's the result?
View the original post :
up
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4098096#4098096
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098096
___
jboss-user mailing list
jboss-user@lists.jboss.org
look forward to anybody help on edge !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097673#4097673
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097673
___
jboss-user mailing
Use lazy initialization e.g. @Create or @Factory. Do not put expensive logic in
javabean methods
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4096505#4096505
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096505
i use the @Factory,but can't solve the question
my list bean generated jboss gen:
package cn.sh.guanghua.manhour.service.admin;
|
| import org.jboss.seam.Component;
| import org.jboss.seam.ScopeType;
| import org.jboss.seam.annotations.Factory;
| import org.jboss.seam.annotations.Name;
Yes. The getters are invoked more than once per request, you should NOT put
expensive logic in getter method.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095912#4095912
Reply to the post :
thank you,amitev!
The getters are invoked more than once per request,the first,i think it is
not a good idea,
the second in f:selectItems value=#{userList.selectItem}/ ,the expression
only accept the getter method.
and in my project,i have many getter method,in which having expensive logic.
when using the non-get method,the method are invoked more than once per
request!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4096370#4096370
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096370
10 matches
Mail list logo