[jboss-user] [Performance Tuning] - Re: Best performance monitoring tool for jboss?

2007-09-19 Thread goku2
http://java-source.net/open-source/profilers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086123#4086123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086123 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: When would SEAM 2.0.0 GA and SEAM 2.0.1 GA be released a

2007-09-19 Thread goku2
[EMAIL PROTECTED] wrote : Yes, if everybody would work a little more, for free of course, the world would be a better place. jaja Great quote! You guys are doing a great job! Keep the good work! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086205#4086205

[jboss-user] [JBoss Seam] - Re: how to insert chinese charactors in database with import

2007-09-18 Thread goku2
I have nerver used SLQ Server 2000 but i found this article googling. http://support.microsoft.com/default.aspx?scid=kb;en-us;232580 Hope it helps View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085487#4085487 Reply to the post :

[jboss-user] [JBoss Seam] - Re: PropertyNotFoundException, problem with a EL-attribute

2007-09-18 Thread goku2
Maybe you miss the @Name(client) annotation | @Entity | @Table(name=CLIENT) | @Name(client) | public class Client implements Serializable { | | I look it in a rush, maybe is another thing. View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

2007-09-18 Thread goku2
Add the @Lob annotation | @Basic(fetch=FetchType.LAZY) | @Column(updatable=false) | @Lob | private byte[] content; | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085687#4085687 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

2007-09-18 Thread goku2
mcsous, if you specify | @Basic(fetch=FetchType.LAZY) | @Column(updatable=false) | @Lob | private byte[] content; | In postgres (al least 8.2) it will map to a Oid column, not a blob. Cheers View the original post :

[jboss-user] [JBoss Seam] - Re: Seam PDF issue

2007-09-17 Thread goku2
Thsi problem is beacuse the itext-2.0.x.jar is not on the classpath. Place this file(is inside your project´s lib) inside your JBoss AS sever/default/lib folder (if your using the default). That wil solve the problem. But the thing is.. is this a simple bug in the build.xml? It should include

[jboss-user] [JBoss Seam] - Re: how to insert chinese charactors in database with import

2007-09-17 Thread goku2
Try to save your import.sql file as UTF-8 and make shure your database schema is set to utf-8 too. I think this should work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085118#4085118 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Downloading Files

2007-09-16 Thread goku2
Put this action in some Seam component. s:link action={someSeamComponent.download} value=Download/ And the action in SomeSeamComponent | public void download() { |//Here you get the entity that has a byte array with the data | SomeEntity entity =

[jboss-user] [JBoss Seam] - Re: cannot start with Seam and JSF and Facelets, that is no

2007-09-14 Thread goku2
Are you sure you have Java 1.5.0_06-b05 installed correctly? try java -version and javac -source 1.5 If you get javac: invalid source release: 1.5 If because your PATH locates a compiler that doesn't support java 1.5 I think this is the problem because [javac] import static

[jboss-user] [JBoss Seam] - Re: inputText / empty string versus NULL

2007-09-13 Thread goku2
Try this | public void setField(String field) { | if(field == null) { | this.field = null; | } else { | if(.equals(field.trim())) { | this.field = field; | } else { | //you could trim before asignement too. | this.field = field; | }

[jboss-user] [JBoss Seam] - Re: Seam Pros - Need your opinion...Date vs Long

2007-09-13 Thread goku2
Use | @Basic | @Temporal(TemporalType.TIMESTAMP) | private Date someDate; | It will store the timestamp and you could use the date class. I think it can work with Calendar too. If you want the time represented in milliseconds sine the Epoch(1/jan/1970) use the method

[jboss-user] [JBoss Seam] - Re: Seam deployment problem

2007-09-13 Thread goku2
Try this: 1) Shutdown your JBoss AS 4.0.5.GA 2) Delete the folder server/default/tmp/ . It contains deployment info and some times creates conflict with entities. 3) Go to your project folder and run: ant clean 4) Run ant undeploy 5) Then do the deploy(wit hthe profile you need) ant deploy 6)

[jboss-user] [JBoss Seam] - Absolute text position with itext and Seam

2007-09-12 Thread goku2
Hi people, i would like to know how to place a text in a absolute position. For example: p:text positionx=123 positiony=45 value=#{product.price} f:convertNumber type=currency currencySymbol=$/ /p:text The positionx and positiony are invented but it´s just to have an idea of the

[jboss-user] [JBoss Seam] - Usage for downloading uploaded file

2007-07-11 Thread goku2
Hi people! I have a simple problem but i'm a little lost here. I use | s:fileUpload data=#{documentHome.instance.file} | fileName=#{documentHome.instance.name} | accept= / | to upload a file but i don't know how to make a link

[jboss-user] [JBoss Seam] - Re: Domain model duplicates validation

2007-05-28 Thread goku2
Thanks 4 the reply Fer! This works great. anonymous wrote : | I don't know what exactly you mean with without mapping that to the database | Sorry about that. I want to validate this uniqueness in my models. But is also great to have then validated in the database to. But in some weird

[jboss-user] [JBoss Seam] - Domain model duplicates validation

2007-05-26 Thread goku2
If a have a entity like this(is just an example :D) | @Entity | @Name(person) | public class Person implements Serializable { | private Long id; | private String firstName; | private String lastName; | private int age; | | @Id | @GeneratedValue |

[jboss-user] [JBoss jBPM] - Re: jBPM books

2007-05-25 Thread goku2
look at this for jboss seam in general. And 3 chapters about jBPM integration and usage with seam. http://www.michaelyuan.com/blog/seam-next-gen-web-framework/ Great book! Recommended View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048731#4048731 Reply to the