1)When a method in a session bean is invoked, will Seam inject all the
variables annotated by @IN or just inject the variables used by the being
invoked method?
2)When a Session Bean is injected as a facade, is it possible for the mthod in
the session facade bean inject or outject varibales?
1) If the answer to question one is Yes, does it mean that it will inject
non-relevant variables as well? Does it affect performance ?
2) For question 2, If I have two session beans A and B. B is used as a session
facade.
| @Stateless
| @Name(a)
| public Class A ...{
Hi!,
I tried to display 1000 numbers in a page under some condition. It seemed c:if
and c:forEach did not work well with my condition, so I tried ui:repeat. The
problem is I have to hold the 1000 numbers in a arraylist. Anybody knows better
solutions that uses less memory?
View the original
Hi!
I have a SFSB with like following:
|
| ..
| Doc doc;
|
| @Begin
| public void getDoc()
| {
| doc=.
| }
|
| public void preView()
| {
|
|
|
| }
|
| @End
| public String save()
| {
| if (doc!=null)
| update();
|
Hi!
In my textarea I inputed a char \\#\x\2\5\B\3;(?) and saved it to the DB.
When it is retrieved for DB to the textarea, it becomes ?. This behavior is not
what we want. Since we need the process string \\#\x\2\5\B\3; instead of
char ?.
Another problem is when we processing pages containing
Hi!,
I constructed a search page using EntityQuery. I found the characters of two
bytes entered in the form field becomes ? when the result page get
redisplayed.
Where does the paramters get processed?
The the charaters in the submitted url is something like ...ED%FD%
Regards
View
I have a field named encryptId which is calcuated based on the id auto
generated by mysql.
Anybody could give some suggestion on when to set this value in EJB 3.0?
any post constructor in EJB 3.0 ?
Regards
View the original post :
Hi!
I'd like to know if the links generated by s:link s:button are secure.
for example
| s:link action=#{AA.method} value=XXX
| f:param name=id value=#{object.id} /
| /s:link
|
is it possible for somebody to copy this link to the browser and modify the
object id in the current
Hi!
I have a stateless session bean which outjects a bean to the conversation scope
and then redirects to a page which displays the content of the bean. Everything
is ok for the display.
But when I clicked the refresh button of the browser, this page became blank.
Anybody knows a better way
Those *Home.java, *List.java *.page.xml , etc. were generated under seam 1.1.7
and are running under 1.2.0. I did not re-run seam to generate the projects,
since I did a lot of modifications to the genrated pages.
It is obvious that the code generated using 1.2 seam-gen are different from
that
Hi!,
I just migrated from 1.1.7 to 1.2.0, the view pages gnerated by
seam generate-entites don't work.
when
| public void wire() {
| if (role != null) {
| getInstance().setRole(role;
| }
| } is executed from the .page.xml
the following exception were thrown. Any
I also got the exception.
|
| javax.faces.el.EvaluationException: Exception while invoking expression
#{authenticator.authenticate}
| at
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
| at
Hi!
Anybody knows how to pass parameters from one page to another page?
for example in pageA.xhtml I have
| s:link value= view=/pageB.xhtml
| f:param name=para1 value=para1/
| /s:link
|
in pageB.xhtml I'd like to do the following:
| s:link value= view=/pageC.xhtml
Anybody can help to answer the above question?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989864#3989864
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989864
___
jboss-user
Hi! bfo81,
great!
I have one question as following:
Suppose I have two tables
| user(id, name)
| userlog(id,userid,content)
|
I'd like to create a new user and write the log at the same time.
Suppose I use extended persistent manager.
I have the following code:
| @In @Out
anonymous wrote : packages an updated seam-gen which includes a totally
revamped database to application reverse engineering tool based on Hibernate
Tools
I tried a simple recursive table test which has a field parent with a foreign
key to this table's id column.
test (id, parent, desc)
Security Example:
It seems that Authenticator.instance().authenticate(user.getUsername(),
user.getPassword()) in LoginAction always return true. It seems
jboss-service.xml login-config.xml are not used any more. The sutentication
configuration guide still apply to 1.1?
View the original post
Hi!,
I followed the instructions from wiki to config the authentication model. but I
got the following exception:
org.jboss.seam.RequiredException: In attribute requires value for component:
authenticatorAction.entityManager.
It seems the entityManager attribute could not be created even
18 matches
Mail list logo