[jboss-user] [JBoss Seam] - Re: Hibernate validator and more error messages

2007-10-24 Thread martin.krajci
Yes I want to display messages together. I also thought that ajax might be a problem but right now I'm in the phase of project where I can not simply remove it. What do you mean by: "Try putting the messages component into an ajax-rerendered region."? Put it into the here? -> also not possible

[jboss-user] [JBoss Seam] - Re: Hibernate validator and more error messages

2007-10-24 Thread martin.krajci
Thanx for your reply, but I don't want to because some pages have more than 50 input fields and then for each I would have to create Do you have any other ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098521#4098521 Reply to the post : http://www

[jboss-user] [JBoss Seam] - Hibernate validator and more error messages

2007-10-24 Thread martin.krajci
Hi conference, I'm using hibernate validators in my Seam application: xhtml: | | |

[jboss-user] [JBoss Seam] - Re: [NamespaceScanner] Cannot load package

2007-09-11 Thread martin.krajci
I just realized that fore core components the configuration is not working either. Only thing that is working is: | | 500 | | 120 | cid | clr | That doesn't have any namespace. View the original post : http://www

[jboss-user] [JBoss Seam] - [NamespaceScanner] Cannot load package

2007-09-11 Thread martin.krajci
Hi All, I'm using Jboss 4.2.1.GA, Seam 1.2.1.GA and sun faces. During the deployment I have the warning in the console: 11:57:57,642 WARN [NamespaceScanner] Cannot load package Dinfo for org.jboss.se am.core 11:57:57,652 WARN [NamespaceScanner] Cannot load package Dinfo for org.jboss.se am.dro

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

2007-09-03 Thread martin.krajci
The changed source is MailSession.java (not MailSender.java). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080458#4080458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080458 _

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

2007-09-03 Thread martin.krajci
My components.xml is in ear/war/WEB-INF. The debug="true" doesn't help because the componenet has not been read. I have changed the source of seam MailSender.java private String sessionJndiName = "java:/Mail"; | |@Create | public void create() throws NamingException | {

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

2007-09-03 Thread martin.krajci
I have tried your configuration. | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:framework="http://jboss.com/products/seam/framework"; | xmlns:mail="http://jboss.com/products/seam/mail"; |

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

2007-09-02 Thread martin.krajci
I have of cource done that with many different values. Notning helped. I think I will give up on Seam email support and integrate Seam with Spring and send the mail with Spring bean. If you have any more ideas please let me know I will try all of them. View the original post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: Problem with selectItems

2007-09-02 Thread martin.krajci
I had the same problem and the solution was very simple. On the bean where @Factory annotation is used the @Name must be specified. This way seam initializes the factory and doesn't return null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080316#4080316 R

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

2007-09-02 Thread martin.krajci
Hi Pete, Thanx for helping me out. The whole stack trace is below. I'm getting the same exception in both cases: | | 18:03:50,425 INFO [MailSession] Creating JavaMail Session (localhost:null) 18:03:50,445 INFO [MailSession] connected to mail server 18:03:53,049 ERROR [Rese

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

2007-09-02 Thread martin.krajci
I dont't think the problem is in mail-service.xml. I have changed the values there many times. The problem is that seam somehow doesn't load the configuration from components.xml and set the host, port to default values that are in MailSession.java (localhost, null). Does enybody have idea why

[jboss-user] [JBoss Seam] - Seam email problem

2007-09-01 Thread martin.krajci
Hi all, I'm trying to send an email using seam, but with exception. Seam version: 1.2.1GA Jboss AS version: 4.2.1.GA JSF version 1.2 SUN RI I have: 1) created mail-service.xml | java:/CechieMailService | martin.krajci |