[jboss-user] [JBoss Tools (users)] - Re: 64 bit version

2008-01-30 Thread pettersonfp
Hi, I tried to follow the instructions from naveed.hassam, but when I start the eclipse it crashes and generates a huge log, the begin of it: | # | # An unexpected error has been detected by HotSpot Virtual Machine: | # | # SIGFPE (0x8) at pc=0x2b8e71ff8b83, pid=17008,

[jboss-user] [JBoss Seam] - HTTP Request via POST

2008-01-10 Thread pettersonfp
Hi all, I understand this question may be a little stupid, but... Is there any util, or annotation, or something like that in seam to help making a HTTP request to a external server and parsing the results? Thanks, Petterson View the original post :

[jboss-user] [JBoss Seam] - Re: pdf redirects to blank page

2007-12-11 Thread pettersonfp
Hi, I have the same problem. Anyone founds a solution to it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111998#4111998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111998

[jboss-user] [JBoss Seam] - Re: Submit form and open results in new window

2007-12-11 Thread pettersonfp
Hi, And if I want that my new window doesn't have menus? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112009#4112009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112009

[jboss-user] [JBoss Seam] - Re: Submit form and open results in new window

2007-12-11 Thread pettersonfp
Hi, That's what I feared :-) I hate javascript... Thanks Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112119#4112119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112119

[jboss-user] [JBoss Seam] - Re: pdf redirects to blank page

2007-12-11 Thread pettersonfp
Thanks again Norman, Your are fast :-) Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112120#4112120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112120 ___

[jboss-user] [JBoss Seam] - Re: Submit form and open results in new window

2007-12-11 Thread pettersonfp
Jason that is exactly what I was needing, Thanks a lot P.S.: Terry, your idea is really good also. I 'll use it to solve another problem :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112127#4112127 Reply to the post :

[jboss-user] [JBoss Seam] - Re: boring Login attemption --- authenticate() invocation pr

2007-12-06 Thread pettersonfp
You're welcome View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110874#4110874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110874 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-06 Thread pettersonfp
Problem solved. Thanks Pete View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110876#4110876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110876 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-05 Thread pettersonfp
Hi, Anybody knows when can I get more information about this problem? Thanks, Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110485#4110485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110485

[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-05 Thread pettersonfp
I think you solved it, I 'll try to put the template inside WEB-INF/classes.. Thanks a lot, Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110557#4110557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110557

[jboss-user] [JBoss Seam] - Re: Seam Login + Richfaces -- Stylesheet problem

2007-12-05 Thread pettersonfp
Hi, I don't know if this can help you, but I faced some problems with stylesheet and I solved it all by changing the following line at the template.xhtml | link href=#{facesContext.externalContext.requestContextPath}/view/stylesheet/theme.css rel=stylesheet type=text/css / | Note

[jboss-user] [JBoss Seam] - Re: boring Login attemption --- authenticate() invocation pr

2007-12-05 Thread pettersonfp
Hi, I had a similar problem, and I look into the code to understand why. The problem is that #{identity.loggedIn} tries a silent login. Try using #{identity.isLoggedIn(false)} instead and see if it solves your problem. Petterson View the original post :

[jboss-user] [JBoss Seam] - Plain Tomcat + Quartz + Mail work together?

2007-12-04 Thread pettersonfp
Hello, I've been trying to send an email inside a method annotated with @Asynchronous in plain tomcat using quartz. The method is called properly and works fine, however, for some reason, the renderer cannot find the facelet template (xhtml). If I send the email in a normal method it

[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-04 Thread pettersonfp
I think that is something related to Class Loaders. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110396#4110396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110396 ___

[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-04 Thread pettersonfp
I tried: | @BypassInterceptors | ... | public class CoollectScheduler { | ... | ... | The email now is properly send, but, as expected, not asynchronous anymore. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110413#4110413 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-12-03 Thread pettersonfp
I still couldn't figure out why I get this error when I send it through an @Asynchronous call. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110073#4110073 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110073

[jboss-user] [JBoss Seam] - Re: Commiting after each statement (mysql)

2007-11-29 Thread pettersonfp
Thank you so much, It solved :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108871#4108871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108871 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: @Transactional doubts

2007-11-29 Thread pettersonfp
The problema was in mysql, http://www.jboss.com/index.html?module=bbop=viewtopicp=4108871#4108871 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108876#4108876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108876

[jboss-user] [JBoss Seam] - Re: @Transactional doubts

2007-11-28 Thread pettersonfp
Any Ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108432#4108432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108432 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Commiting after each statement (mysql)

2007-11-28 Thread pettersonfp
Hi, I noticed that my app is commiting after each statement. Eg: | tx.begin(); | //some persistent modification | tx.rollback(); | tx.commit(); | The rollback does nothing. | Context | debug=5 | reloadable=true crossContext=false | Resource | name=jdbc/myDB

[jboss-user] [JBoss Seam] - @Transactional doubts

2007-11-27 Thread pettersonfp
Hello, I think I don't understand how @Transactional works. If I have a method: | @Transaction | public void myMethod() { | ... | } | and inside it I throw an exception like: | @ApplicationException(rollback=true) //the seam @ApplicationException | public class MyException

[jboss-user] [JBoss Seam] - Re: @Transactional doubts

2007-11-27 Thread pettersonfp
fix: @Transactional View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108188#4108188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108188 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: @Transactional doubts

2007-11-27 Thread pettersonfp
I'm using it in a tomcat 5.5 without jboss embedded. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108200#4108200 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108200 ___

[jboss-user] [JBoss Seam] - Server Technical Specifications

2007-11-22 Thread pettersonfp
Hi, Is there any method to calculate the necessary hardware to run my seam-app? Thanks in advance, Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107154#4107154 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Server Technical Specifications

2007-11-22 Thread pettersonfp
Is this the proper forum? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107182#4107182 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107182 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Problem locating resources

2007-11-01 Thread pettersonfp
Hello, I have an application working fine in JBoss AS and I am migrating it to Tomcat 5.5 without embedded jboss. I got an resource not exists hen I try to render an email using Renderer.render(my_email_template) I checked the path several times and it is right, I checked the generated war

[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
I am trying to post the stack trace but I am getting a 404 error ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100967#4100967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100967

[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
It was the quotes :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100977#4100977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100977 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
java.lang.IllegalArgumentException: resource doesnt exist: /registration/validation_email.xhtml at org.jboss.seam.ui.facelet.FaceletsRenderer.resourceURL(FaceletsRenderer.java:184) at org.jboss.seam.ui.facelet.FaceletsRenderer$1.process(FaceletsRenderer.java:160) at

[jboss-user] [JBoss Seam] - Re: Problem locating resources

2007-11-01 Thread pettersonfp
It was a problem sending the emai using assyncrhonousEmailProcessor. When I send directly in my action the problem does not occur. Any ideas about why? Regards, Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101004#4101004 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Uses of seam-gen

2007-10-26 Thread pettersonfp
Thank you both, It would be interesting if the seam-gen had some setup to the tomcat. Regards, Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099456#4099456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099456

[jboss-user] [JBoss Seam] - Uses of seam-gen

2007-10-25 Thread pettersonfp
Hi, I'm starting a new application and I need it to run in plain tomcat 5.5 (no embedded jboss for now). Should I use seam-gen to create my new application or should I copy the hibernate2 example and customize it? Is there any setup for seam-gen create a build file including tomcat deploy?

[jboss-user] [JBoss Seam] - Re: Converters and Validators Problem

2007-10-18 Thread pettersonfp
That is it, ByPassInterceptors did the trick :-) Thanks Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096491#4096491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096491

[jboss-user] [JBoss Seam] - Complex Validation

2007-10-18 Thread pettersonfp
Hi, It's pretty easy to validate the single fields using seam. But how can I perform validations that depends of several fields instead of a single field and return this errors to the user? Thanks in advance, Petterson View the original post :

[jboss-user] [JBoss Seam] - Re: Complex Validation

2007-10-18 Thread pettersonfp
Example: public class Range { Integer begin; Integer end; // ... }; Suppose that if you set the begin you have to set the end as well and vice-versa. How can I enforce this validation? Is it possible to write a Validator that to this? View the original post :

[jboss-user] [JBoss Seam] - Converters and Validators Problem

2007-10-17 Thread pettersonfp
Hi, In JSF the fields in a form are first converted to the proper types, then validated. How can I check if the value is proper for conversion? Example: in a time field, the value XYZ is not proper. Then the converter raises an exception and I get a debug page. I need that the field be

[jboss-user] [JBoss Seam] - Re: Converters and Validators Problem

2007-10-17 Thread pettersonfp
I'm throwing a ConverterException and the seam is not catching it. I'm using SEAM 2.0CR1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096223#4096223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096223

[jboss-user] [JBoss Seam] - Re: Seam 2 and RichFaces 3.1.0

2007-09-25 Thread pettersonfp
Thanks, That solved my problem :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088519#4088519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088519 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Seam 2 and RichFaces 3.1.0

2007-09-24 Thread pettersonfp
Hello, Does anybody here already setup the seam 2 with RichFaces 3.1? I'm having this exception: java.lang.IllegalArgumentException: argument type mismatch ... ... Caused by: javax.faces.FacesException: java.lang.IllegalArgumentException: argument type mismatch ... Caused by:

[jboss-user] [JBoss Seam] - Re: NoSuchMethodException when acessing protected methods in

2007-07-20 Thread pettersonfp
Any Ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066174#4066174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066174 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: NoSuchMethodException when acessing protected methods in

2007-07-20 Thread pettersonfp
I discovered that if I remove the final in the execute method the problems go away. Anybody knows what I'm doing wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066215#4066215 Reply to the post :

[jboss-user] [JBoss Seam] - Re: NoSuchMethodException when acessing protected methods in

2007-07-20 Thread pettersonfp
Is it wrong to use final in this case? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066312#4066312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066312 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: NoSuchMethodException when acessing protected methods in

2007-07-19 Thread pettersonfp
Please, ignore this until my next post, I posted the wrong sample code. I'm fixing the sample and I'll post again. Sorry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066022#4066022 Reply to the post :

[jboss-user] [JBoss Seam] - NoSuchMethodException when acessing protected methods in sup

2007-07-19 Thread pettersonfp
Hi, I having weird NoSuchMethodExceptions that I cannot understand, I made a very simple example that reproduces my problem. Someone can help me understand what I am doing wrong? Thanks in advance, Petterson Base.java | public class Base { | | protected void printProtected() {

[jboss-user] [JBoss Seam] - Re: NoSuchMethodException when acessing protected methods in

2007-07-19 Thread pettersonfp
Hello again, I was having a problem in a machine with linux / jboss 4.2.0.GA and seam 2.0. Now I am in home and the only difference is that I have windows xp. Instead of NoSuchMethodException now I am getting another one. Following are the code and the stack trace. Disregard my previous

[jboss-user] [JBoss Seam] - Re: m:message and s:link problems

2007-07-17 Thread pettersonfp
Any Ideas about what can I doing wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064995#4064995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064995 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Is it possible extend EntityHome and use it through configur

2007-07-17 Thread pettersonfp
Hi, I know I can use EntityHome without extending it through configuration in the xml, is it possible to extend EntityHome and use the extended class in configuration? Thanks in advance Petterson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065121#4065121

[jboss-user] [JBoss Seam] - Re: Is it possible extend EntityHome and use it through conf

2007-07-17 Thread pettersonfp
Thanks and sorry, I should have looked first at documentation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065162#4065162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065162

[jboss-user] [JBoss Seam] - Re: m:message and s:link problems

2007-07-16 Thread pettersonfp
Is fixed in version 2.0BETA1? Because I'm using this version. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064673#4064673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4064673

[jboss-user] [JBoss Seam] - Starting pageflow with decisions

2007-07-11 Thread pettersonfp
Is it possible start a pageflow in a decision node? I'm writing a registration procedure for a website and part of the procedure is to send a validation email, then the user clicks in a link that redirect him to a page where the validation can be finished. However I'd like to check if that

[jboss-user] [JBoss Seam] - How can I get the source code? (stupid question?)

2007-07-11 Thread pettersonfp
Is it possible to get the seam source code? If yes, how can I do that? I prefer using subversion, if possible. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062972#4062972 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I get the source code? (stupid question?)

2007-07-11 Thread pettersonfp
Thank you both View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062983#4062983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062983 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: What must I do to make the back button stop working?

2007-07-05 Thread pettersonfp
I thought that just disabling the back in seam's configuration should do the trick. Am I wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060907#4060907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060907

[jboss-user] [JBoss Seam] - Re: What must I do to make the back button stop working?

2007-07-05 Thread pettersonfp
I thought that seam somehow did put some javascript to avoid a user to go back in a pageflow with the back button. Thanks for your explanation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060956#4060956 Reply to the post :

[jboss-user] [JBoss Seam] - What must I do to make the back button stop working?

2007-07-03 Thread pettersonfp
Hi, Following are the configurations I'm using. Thanks in advance, Petterson -- registration.jpdl.xml start-page back=disabled name=Choose Type view-id=/registration/chooseRegisterType.xhtml /start-page page name=Fill Form view-id=/registration/registerStep1.xhtml

[jboss-user] [JBoss Seam] - Re: What must I do to make the back button stop working?

2007-07-03 Thread pettersonfp
By stop working I mean, redirect to the page it was before the back was pressed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4060123#4060123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060123

[jboss-user] [JBoss Tools (users)] - Re: NullPointerException when trying the create a new Pagefl

2007-07-02 Thread pettersonfp
Hi, Have you found a solution for this problem? I'm having exactly the same problem. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059633#4059633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059633

[jboss-user] [JBoss Seam] - Seam, JBPM and pageflow doubts

2007-07-02 Thread pettersonfp
Hi, I'm trying to create a business process using pageflows but I'm having some doubts. I'd like to create a user registration process with the following interactions: 1) Fill data; 2) Enqueue a send validation email process (e.g: just try to send the email 5 times); 3) Show a page

[jboss-user] [JBoss Seam] - Re: @Length throws InvalidStateException when String is null

2007-06-27 Thread pettersonfp
Hi Peter, Thanks, I´ll do that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058095#4058095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058095 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - @Length throws InvalidStateException when String is null or

2007-06-26 Thread pettersonfp
Hi, If I have a property annotated with @Length and the field is not required in the form. A InvalidStateException is thrown complaining that the property's lenght must be between min and max. Anyone knows if there is a way to use @Length in nullable fields? Thanks in advance, Petterson

[jboss-user] [JBoss Seam] - Re: @Length throws InvalidStateException when String is null

2007-06-26 Thread pettersonfp
Unfortunatelly the property is already annotated with @Column(nullable=true) as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057883#4057883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057883