);
| setValue(#{newUser.birthday},
calendar.getTime());
| setValue(#{newUser.description}, Nothing);
| setValue(#{newUser.firstname}, Seto);
| setValue(#{newUser.lastname}, Kaiba
why no setSesssion but only setEntityManager
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100074#4100074
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100074
___
jboss-user
Use the seam-gen to generate the project, and the pesistence-test is set to be
with MySQLDialect. But it's used to test with DefaultDS, I want to know if it
should be the HSQLDialect, otherwise it will cause problems for the dialect.
View the original post :
http://jbws.dyndns.org/mediawiki/index.php/Main_Page
http://jbws.dyndns.org/mediawiki/index.php/Quick_Start
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide
These wiki pages are not available without proxy. Could it be moved to the
original wiki of jboss?
View the original post :
When I choose one of the category, nothing happen. But when i choose the no
selection label, the form is submitted normally. Anyone could help me? Please,
I'm waiting anxiously online now.
|
| h:form
| s:validateAll
| h:messages globalOnly=true /
|
I've tried the entity-query to be running sucessful.
So it seem that it is caused by the type. The converter seems to have the
problem of judge the type of the object. What should I do to make it run?
View the original post :
I don't want to use the entity-query because of the limitation of it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043422#4043422
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043422
Oh, I see. The @DataModel outjected the List as DataModel, so the
entityConverter can't judge the type. Should I add an issue for s:convertEntity
DataModel not supported?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043423#4043423
Reply to the post :
I thought I'm misunderstanding it. It isn't caused by datamodel. I use the @Out
error again. I'm confused.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043452#4043452
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043452
The field is annotated as below. I forgot to show here.
| @SuppressWarnings(unused)
| @DataModel
| private ListCategory categoryList;
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043453#4043453
Reply to the post :
No
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043456#4043456
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043456
___
jboss-user mailing list
jboss-user@lists.jboss.org
Thanks. I make it into long-running conversation and it runs.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043461#4043461
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043461
-independent. And it can also run on EE Server. Comparing to HEM, JPA
is less powerful. Many features must be implemented by delegate.
Can some one give me a recommendation or advice?
Thanks,
Seto
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024157#4024157
Reply
Thanks. I have my answer now. With the issue of extending the framework, I
think I should choose the pojo aproach. Maybe in the future I migrating my
project to EJB3 will be better.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024243#4024243
Reply to the
Where is Seam? It should be one choice in Best Java EE App Dev. Framework
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023930#4023930
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023930
I read the 18.1 chapter . And I don't understand.
I think the example maybe should be changed as below.
@Name(chatroom)
public class Chatroom {
@In PojoCache pojoCache;
public void join(String username) {
try
{
Set userList = (Set) pojoCache.get(chatroom,
My misunderstanding or the mistake of the doc?
It's like below before:
@Name(chatroom)
public class Chatroom {
@In PojoCache pojoCache;
public void join(String username) {
try
{
Set userList = (Set) pojoCache.get(chatroom, userList);
if (users==null)
I means the users field and the userList filed. The users field isn't defined.
Do the userList and users represent different?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023123#4023123
Reply to the post :
AND is the join method to add user in the userList? Why
pojoCache.put(chatroom, users, username)? Why not add the username to the
set?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023143#4023143
Reply to the post :
If it is the later time, just get the userList as the try scope varible, and do
nothing?
So I suppose it as below.
if (userList==null)
{
userList = new HashSet();
}
userList.add(username);
pojoCache.put(chatroom, userList, userList);
View the original post :
OK, thanks. I finally understand your words JBossCache has automagic dirty
checking.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023166#4023166
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023166
Viewing the roadmap in JIRA, the dates of upcoming realease are all passed.
Will it update in the future. This IDE is really appreciative. I really love it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4022490#4022490
Reply to the post :
FCKEditor, it's so powerful and easy to integrate. Follow the Simone's article
to set the servlet and use the fck-faces project in the sourceforge to support
jsf.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4021211#4021211
Reply to the post :
http://wiki.fckeditor.net/Developer%27s_Guide/Integration/Java
here is the article, just refer to it to set the servlet supporting upload and
browse files, and use the fck-faces in sourceforge to use with jsf. BTW, the
fck-faces has the bug of not supporting width and height. You should follow
What do mean with nothing happens?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019917#4019917
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019917
___
jboss-user mailing list
No one knows it? help me please. Waiting urgently.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018846#4018846
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018846
___
Thanks, that's the problem of remove(). It cause the exception that void and
String method return. I will wait for it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018850#4018850
Reply to the post :
From the documents, you can see that the right way is to override the getId().
But it isn't correct to setId for the update() or remove()
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019152#4019152
Reply to the post :
What methods should I define in the interface, please help me.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018699#4018699
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018699
Can someone help me? I learn from the blog use the sublist, I'm in trouble with
rows up to 1000. It cost seconds to finish the loading.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018201#4018201
Reply to the post :
for example
| ul
| ui:repeat value=#{catgories} var=catgory
| li#{category.name}/li
| ul
| ui:repeat value=#{catgory.positions} var=position
| li#{position.name}/li
| ul
| ui:repeat value=#{position.articles} var=article
| li#{article}/li
|
lawrieg, thanks. Youre advice helps. I just use the session to implement the
part initialize of the collection. Thank you.
Also thanks to gavin.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018234#4018234
Reply to the post :
I used the EntityHome with the settings in components.xml, and it works well.
When I turn to SFSB, I'm confused. I don't know how to define the interface. I
define it in a few forms. And none works.
Could someone give me an example?
Thanks.
View the original post :
@DataModel can be used in entity?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018429#4018429
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018429
___
jboss-user mailing list
Because the example seam-pay and the document uses pojo, so I can't find any
examples
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018434#4018434
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018434
Sorry for my impolite reply. I just get caught by the feature my project
needed. It's the newspaper table component. Absoulutely I love Seam and I'm
trying my best to make surroundings use Seam while many of Chinese use Spring.
I just want the Seam to be perfect to support various feature.
I'm trouble in it, because of the extended datatable providing the newspaper
table format. Exploring the ADF and ICEFACES, I found no replacement of the
extended datatable.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014533#4014533
Reply to the post :
So to use the newspaper table, I have to change the newspaper table tag to seam
to use? It's so unreasonable.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014793#4014793
Reply to the post :
Some one help me?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4004728#4004728
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004728
___
jboss-user mailing list
No, I means that the datatable wouldn't help either. Because the parameter to
pass is the sub-objects in the datamodel ProductCCList. It isn't a datamodel,
so the parameter passing not work. Just as christian.bauer said, the parameter
should be the varible in the scope, so the product list
Thanks for shane.bryzak, I realize the problem now. But I don't know how to
solve it. To solve the problem I have to use the pull style restful method?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4004545#4004545
Reply to the post :
Thanks for shane.bryzak's and christian.bauer's help, I realize the problem
now. To solve the problem, I have to use the pull style programming?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4004552#4004552
Reply to the post :
If you means the configuration mentioned in the documentation, I just set up as
the booking example.
| context-param
| param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name
|
param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value
| /context-param
|
Or tell me how I could set up the extensions correctly. I don't use the
parameter elsewhere
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4004429#4004429
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004429
el extension?
the el-api.jar and el-ri.jar?
I set up it just as the booking example
| application
| display-nameHongYang/display-name
|
| module
| web
| web-urihongyang.war/web-uri
| context-root/hongyang/context-root
|
I used the dataTable making no effect either. It seems that it isn't the
problem of the tag.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4004452#4004452
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004452
The delegate works absolutely. But I mean that it doesn't meet the standard the
country code should be upper charater. And it just load the file with country
code in the lower charater. You know that java is case-sensive. So I means that
loading code is set to only load the country code in
Solved it. My mistake of reading documents.
Change h:selectOneMenu value=#{localeSelector.language} to
h:selectOneMenu value=#{localeSelector.localeString}.
Thanks petemuir. You're the only one helps me unlike the others.
View the original post :
I means that if the file name use the capital letter, i will load the wrong
resource bundle. Hoping for your help
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991931#3991931
Reply to the post :
Please help me with this problem. At least let me know that it is a bug or a
mistake with my code.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992112#3992112
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992112
I used the method written in the reference with properties.
I saved the properties in UTF8 encoding. Yet I can't display it correctly.
The words inputed in the html or from the database all display correctly.
Can someone help me?
View the original post :
?xml version=1.0 encoding=utf-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:ui=http://java.sun.com/jsf/facelets;
I want to just type it as usual. I think that it should be the problem of
encoding. But methods I tried , none works.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991712#3991712
Reply to the post :
When I used the properties with a name messages_zh_cn.properties,
messages_zh_tw.properties, it works correctly. One is Simpliflied Chinese, the
other one is Traditional Chinese.
When I used the properties with a name messages_zh_CN.properties,
messages_zh_TW.properties, it works incorrectly.
I use the version of 1.1 CR2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991868#3991868
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991868
___
jboss-user mailing list
the code in the template.xhtml
h:selectOneMenu
value=#{localeSelector.language}
f:selectItems
value=#{localeSelector.supportedLocales}/
here is the code of the Article
| /**
| *
| */
| package cn.net.kdc.domain.cms;
|
| import java.util.*;
|
| import javax.persistence.*;
|
| import org.hibernate.validator.*;
|
| import cn.net.kdc.domain.global.*;
|
| /**
| * @author Seto
here is the code of the Article
| /**
| *
| */
| package cn.net.kdc.domain.cms;
|
| import java.util.*;
|
| import javax.persistence.*;
|
| import org.hibernate.validator.*;
|
| import cn.net.kdc.domain.global.*;
|
| /**
| * @author Seto
oh, thanks I try it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982955#3982955
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982955
___
jboss-user mailing list
OK, the result is normal, thanks a lot.
But I also have a problem, I change the type to Integer, result is normal.
When I change it back, it reports exception, but it doesn't before.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982959#3982959
Reply to the
You can have a test in your enviroment. I have tried it for times. I finally
catch this problem
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982087#3982087
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982087
No one can answer me? I'm in trouble with this problem for long.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982242#3982242
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982242
In Article.java
@Column(name = click_count)
private int click_count;
And the SQL is just from Article article
When the click_count is null in the database, the resultlist return null. When
the click+count is 0 in the databse, the resultlist is normal.
So I judged it the problem
In Article.java
| @Column(name = click_count)
| private int click_count;
|
And the SQL is just from Article article
When the click_count is null in the database, the resultlist return null. When
the click_count is 0 in the databse, the resultlist is normal.
I mean that the whole
When a table an integer field and it is null, result of the query of the table
will return null. Is is a bug?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982050#3982050
Reply to the post :
No, I means that the resultlist return null, but not the field
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982054#3982054
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982054
Can somebody help me? I have been in this problem for long. Hope to see someone
help me
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981589#3981589
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981589
thank you, i have solve it.
it's my ignorance of the interceptors
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981637#3981637
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981637
.*;
| import javax.ejb.*;
| import javax.persistence.*;
|
| import org.jboss.seam.*;
| import org.jboss.seam.annotations.*;
| import org.jboss.seam.annotations.datamodel.*;
|
| import cn.net.kdc.domain.global.*;
|
| /**
| * @author Seto
| *
| */
| @Stateful
| @Name
From the debug page I find the mm property is normal. So the rs property can't
be null. So I judged it's the problem loading the data from the view
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981572#3981572
Reply to the post :
I'm told that the JBoss Seam sollution simplified the develop. But at the same
time, it reduce the funtionality of the Spring+Hibernate. I'm just told that
it's unnecessary to learn JBoss Seam.
Can someone list some advantage of JBoss Seam? I'm just confused.
View the original post :
71 matches
Mail list logo