[jboss-user] [JBoss Seam] - Re: javax.faces.el.EvaluationException: More than one method

2007-05-01 Thread fernando_jmt
Can anyone help me?, please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042157#4042157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042157 ___ jboss-user mailing list jb

[jboss-user] [JBoss Seam] - javax.faces.el.EvaluationException: More than one method mat

2007-04-29 Thread fernando_jmt
Hi. I run into one problem when I use overridden methods in a class that extends from a parameterized class. If I declare in the superclass one method, then I override such method in the specific type subclass, and then I use this method as an action, I get this exception: | javax.faces.el.

[jboss-user] [JBoss Seam] - Re: AJAX4JSF

2007-04-26 Thread fernando_jmt
I use a @Factory method to fill a list (search result), and what I have as page action is a method which refresh the list (set as null), then the @Factory will make its work and ensure the query is not called twice or more times. View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: Weird behavior editing Entity with @ManyToMany and Ajax4

2007-04-26 Thread fernando_jmt
"petemuir" wrote : Have you tried using FlushMode=MANUAL? - by default with EJB3 there is an implicit flush at the end of a method invocation (even when the method is on an entity...) - this is a nightmare with AJAX. Thanks a ton Pete, this works like a charm. Yes, I'm agree with you with this:

[jboss-user] [JBoss Seam] - Weird behavior editing Entity with @ManyToMany and Ajax4JSF

2007-04-26 Thread fernando_jmt
Hi Folks. After several days trying to found a reason to the problem I will describe here I gave up. Maybe someone here had a similar problem or can see WTF I'm doing wrong. I have a seam application and I'm using Ajax4JSF to perform some validations using a4j:support. I took as base the booki

[jboss-user] [JBoss Seam] - Re: Injection Problem

2007-04-25 Thread fernando_jmt
| @Entity | @Name("contact") | @Role(name="contact1") | @Table(name = "CONTACT") | | public class Contact implements java.io.Serializable { | | private Long id; | | private String firstName; | | .. | } | | @Stateful | @Scope(SESSION)

[jboss-user] [JBoss Seam] - Re: Seam Framework EntityQuery restrictions does not work fo

2007-04-17 Thread fernando_jmt
Just try: | | lower(firstName) like lower( concat(#{exampleContact.firstName}, '%' )) | lower(lastName) like lower(concat( #{exampleContact.lastName}, '%' )) | | That should work in MySQL. View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: Exadel, JBoss and Seam

2007-04-17 Thread fernando_jmt
Did you see: http://www.jetbrains.com/teamcity/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037966#4037966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037966 ___ jboss-u

[jboss-user] [JBoss Seam] - Re: Questions on resourceBundle

2007-04-16 Thread fernando_jmt
So, I think the MessageFactory class you have is not needed. You can use Seam org.jboss.seam.core.FacesMessages class instead. Below you can see an example I have: | | @Name("converters") | public class Converters { | | @Transactional | public Converter getRoleConverter()

[jboss-user] [JBoss Seam] - Re: Problems with extended EL syntax.

2007-04-15 Thread fernando_jmt
Actually, you should have this in your component: | | @DataModel | List strings; | | @Factory("strings") | public void makeStrings() { | strings = new List(); | strings.add("Name1"); | strings.add("Name2"); | } | | And this in your page: |

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-15 Thread fernando_jmt
Oops, typo, the problem not only was an 's' it was namespace URL at all (https://). This sometimes happen ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037420#4037420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-15 Thread fernando_jmt
"alexg79" wrote : According to my research, Ajax4JSF + Facelets = bust. I disagree with you here. Facelets is a great technology to build the view on JSF applications, And Ajax4JSF is another one to AJAXify a JSF application. I know sometimes when something does not work like we want, we look f

[jboss-user] [JBoss Seam] - Re: pages.xml redirect if loggedIn

2007-04-12 Thread fernando_jmt
"petemuir" wrote : Can you put this tip on the wiki? It's done. http://wiki.jboss.org/wiki/Wiki.jsp?page=AutomaticLoginRedirection View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036850#4036850 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Re: pages.xml redirect if loggedIn

2007-04-12 Thread fernando_jmt
Yes, you can fire an action before render. I resolved a similar problem as follows: | | | | | | | | | | | | | The authenticator.checkIfLooged

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-11 Thread fernando_jmt
This is weird . But you can see the Booking Seam example which uses Ajax4JSF, and check what you have different. By instance in that example you have aregister.xhtml page and you can change this part: | | | to this one: | | | | That should work. I took a look that ex

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-10 Thread fernando_jmt
Code you post shows the Bean, is it possible to see the view source (.xhtml). BTW, I don't know what could be the reason for the last exception you post, but try to remove the and check if you are getting the same error. Another thing different of my code is that I was using "Integer" (for the

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-09 Thread fernando_jmt
Could you post some code to see it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035805#4035805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035805 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-09 Thread fernando_jmt
I had the same problem with Seam enhanced EL method expressions. I'm waiting the solution. But in the meantime I did something like: | | | | | page must be an variable with its respective setter (void setPage(int v)), and jumpPage non-arg method (void jumpPage()). And it i

[jboss-user] [JBoss Seam] - Re: Extending EntityQuery and using ScopeType.SESSION questi

2007-04-03 Thread fernando_jmt
Thanks for your answer. I need to keep up my component in the session scope because doing this I can have the UIData preserving the page index to be displayed, then with that page (getFirst() in UIData) I can execute the list every time the view is accessed (page action reload) in the respectiv

[jboss-user] [JBoss Seam] - Extending EntityQuery and using ScopeType.SESSION question

2007-04-01 Thread fernando_jmt
Hi. I have extended EntityQuery and defining that component as SESSION scope. Then I defined a page action which will call the super.refresh() in order to clear the result data and execute the query every time the view is accessed (only one time because I'm using @Factory). But, the query is ex

[jboss-user] [JBoss Seam] - Re: What am I doing wrong - nested Set in a h:dataTable

2007-03-30 Thread fernando_jmt
This is one of the reason I love Seam :-) It really makes your life funny! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033419#4033419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033419

[jboss-user] [JBoss Seam] - Re: What am I doing wrong - nested Set in a h:dataTable

2007-03-30 Thread fernando_jmt
I don't know if Seam makes some nice tricks to support others Collections than common JSF does not allow, if so that's really nice. However you are not using @DataModel in your sample code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033417#4033417 Reply

[jboss-user] [JBoss Seam] - Re: What am I doing wrong - nested Set in a h:dataTable

2007-03-30 Thread fernando_jmt
DataTable works with DataModels...and DataModels only supports: * java.util.List * Array of java.util.Object * java.sql.ResultSet (which therefore also supports javax.sql.RowSet) * javax.servlet.jsp.jstl.sql.Result * Any other Java object is wrapped by a DataModel instance with a single row. (The

[jboss-user] [JBoss Seam] - Re: @DataModel problems

2007-03-30 Thread fernando_jmt
Hi smithbstl, Because I was wondering about the weird problem, I tried to reproduce your code in my SEAM application, using @DataModel and filling it after a search criteria is entered. And all works fine. Also I check what debug page returns and I get: | | class class org.jboss.s

[jboss-user] [JBoss Seam] - Re: @DataModel problems

2007-03-30 Thread fernando_jmt
Just wondering what could be wrong. Some suggestions: - Try a simple , maybe the error is throw by tr:dataTable component. - This sounds silly, but tr:dataTable id="addresses" and value="${addresses}" could be causing some troubles? Try putting another id to the table (this shame me, but it is

[jboss-user] [JBoss Seam] - Re: @DataModel problems

2007-03-30 Thread fernando_jmt
This sample works. Maybe you can see (try) what is different with your code. | @Stateful | | @Scope(SESSION) | | @Name("messageManager") | | public class MessageManagerBean implements Serializable, MessageManager | | { | | | |@DataModel | |private Lis

[jboss-user] [JBoss Seam] - Re: @DataModel problems

2007-03-30 Thread fernando_jmt
Did you use @Factory("addresses") on your findAddresses() method? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033351#4033351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033351

[jboss-user] [JBoss Seam] - Re: Use context as parameter

2007-03-30 Thread fernando_jmt
Maybe you can use URL Rewrite Filter http://tuckey.org/urlrewrite/ You should take a look at this: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89359 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033179#4033179 Reply to the post : http://www.jb

[jboss-user] [JBoss Seam] - Re: Access Seam Component from Servlet

2007-03-27 Thread fernando_jmt
You can use Components.getInstance("SeamComponentName"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032096#4032096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032096 __

[jboss-user] [JBoss Seam] - Re: Seam security adds default messages

2007-03-25 Thread fernando_jmt
Simply, if you want to add your custom messages (in any locale) for authentication or whatever in Seam and you don't like (or you don't need) messages Seam adds as default, you should add in your resource bundle an empty key (Seam key message) in order to avoid that message be rendered. In the

[jboss-user] [JBoss Seam] - Re: how to use modal

2007-03-25 Thread fernando_jmt
Sorry, there was some typos in my last post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031443#4031443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031443 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: how to use modal

2007-03-25 Thread fernando_jmt
You can find out Wiki example in getting Seam from CVS. Seam 1.2GA does not contain that example, I think this will be part of the 1.2.1 release. So wait next release or get Seam from CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031442#4031442 Rep

[jboss-user] [JBoss Seam] - Re: [Security] Message-Key for

2007-03-23 Thread fernando_jmt
See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101074 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031059#4031059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031059 ___

[jboss-user] [JBoss Seam] - Re: Seam security adds default messages

2007-03-21 Thread fernando_jmt
org.jboss.seam.NotLoggedIn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030353#4030353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030353 ___ jboss-user mailing list jbo

[jboss-user] [JBoss Seam] - Re: How to Inject app properties to bean transient method

2007-03-19 Thread fernando_jmt
I think the 1 approach it is ok. I have working something similar: | | | | As you can see I get the property value for role.description on the fly using the messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029279#4029279

[jboss-user] [JBoss Seam] - java.lang.UnsupportedOperationException using Seam CVS and I

2007-03-15 Thread fernando_jmt
Hi everyone. I was using Seam 1.2.0PATCH1 with IceFaces 1.5.3 and all was working fine. Today (1 hour ago), I get the CVS version of Seam (to try the s:convertEntity). What I did was, get CVS version, to build the project, to replace my current seam .jars with the generated ones, and after I de

[jboss-user] [JBoss Seam] - Re: How do I select an initial page after login chosen by us

2007-03-15 Thread fernando_jmt
One idea could be to extend the Identity class in order to return a custom outcome (public String login()) based in your roles and then use it in the pages.xml. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028556 View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Seam] - Re: FacesMessages in SeamSpace example

2007-03-14 Thread fernando_jmt
Supposing your component id is "confirmPassword", you can do: | FacesMessages.instance().addToControl("confirmPassword", "Passwords do not match"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028180#4028180 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-13 Thread fernando_jmt
I have a sample running in tomcat (a simple one), I'll send you to the mail you provide me right away. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027522#4027522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027522

[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
I never seen an exception like that, I don't know the reason. But can I take a look to your complete log (since starting components up to final exception stack trace)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027385#4027385 Reply to the post : http://

[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
Maybe I'm wrong, but it could be because you have the same name for jta-data-source (java:/omegaDatasource) and also the same one for jboss.entity.manager.factory.jndi.name (java:/omegaDatasource). Try changing the name of jboss.entity.manager.factory.jndi.name (persistence.xml) to java:/omeg

[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
You don't need to add application specific configuration to embedded-jboss-beans.xml. app/MET-INF/jboss-beans.xml are for that. If you still have the problems, can we see your jboss-beans.xml and persistence.xml content? View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
Ok, I will describe what I have in my configuration files when I deploy to Tomcat. 1.- My components.xml | | | 2.- My persistence.xml | | org.hibernate.ejb.HibernatePersistence | java:/myappDatasource | | | | |

[jboss-user] [JBoss Seam] - Re: NullPointerException when using

2007-03-12 Thread fernando_jmt
Just curious, where is your "msgs" defined? Seems like "msgs" is null or the property you trying to access not exist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027173#4027173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
It seems you need the next line in you components.xml | | HTH. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027164#4027164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027164 __

[jboss-user] [JBoss Seam] - Re: @DataModel == ListDataModel ???

2007-03-10 Thread fernando_jmt
In order to load data on demand you can take a look at: Using Seam Framework: http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/framework.html#d0e5791 Using custom DataModel http://wiki.apache.org/myfaces/WorkingWithLargeTables HTH. View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: Booking example, Tomcat, EJB3 and thou...

2007-03-05 Thread fernando_jmt
I have a Seam application running in tomcat 5.1.17. In order to get Seam running in Tomcat the key is to deploy EJB Embedded microcontainer into Tomcat. If you can see in the booking example, when the application (.war) is deployed, you can have a look the mc-conf.jar (among other ejb jars), wh

[jboss-user] [JBoss Seam] - Re: scheme=

2007-03-02 Thread fernando_jmt
Ups, it seems like the title was truncated. Title was: "scheme=http when https is not used nowhere" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024761#4024761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024761 ___

[jboss-user] [JBoss Seam] - Re: Seam 1.1.6 and Hibernate validation problem

2007-03-02 Thread fernando_jmt
I deal with that problem time ago. It is not a Seam issue, please check below link for workaround: http://forum.hibernate.org/viewtopic.php?t=969355 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024679#4024679 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - scheme=

2007-02-28 Thread fernando_jmt
Hi everyone. I have a question (maybe trouble) related to new scheme attribute in the pages.xml. What should it happen if I specify | | for an application which does not have https support (only http)? The reference doc. says: "Of course, if none of the pages in your application use HTT

[jboss-user] [JBoss Seam] - Re: Unable to authenticate in 1.1.7RC1 : is it a regression?

2007-02-26 Thread fernando_jmt
Could you paste your Authenticator class code. I got the same error time ago, I would like to see if the code you have is similar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022407#4022407 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: ScopeType.STATELESS misunderstanding

2007-02-25 Thread fernando_jmt
It absolutely was my fault. Even 3.2.1. section of the book says it to me: "They may be used as JSF action listeners, but cannot provide properties to JSF components for display." Sorry :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022126#4022126 Rep

[jboss-user] [JBoss Seam] - ScopeType.STATELESS misunderstanding

2007-02-25 Thread fernando_jmt
Hi everyone. I'm having troubles (maybe my bad or anything else) realated to Stateless Seam component. I have a stateless session bean marked as @Stateless and also I wrote @Scope(ScopeType.STATELESS) (this is redundant according the docs.), this component is used to populate a @DataModel to

[jboss-user] [JBoss Seam] - Re: How can I get rid of the automatic faces message after l

2007-02-24 Thread fernando_jmt
Yep, I knew it. This change was recently done. I'm sure with Seam 1.1.7 RC1 will work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021665#4021665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021665 ___

[jboss-user] [JBoss Seam] - Re: How can I get rid of the automatic faces message after l

2007-02-24 Thread fernando_jmt
I'm not sure. Just try it out, and tell us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021655#4021655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021655 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: How can I get rid of the automatic faces message after l

2007-02-24 Thread fernando_jmt
Sure you can do it. 1.- Make sure you are using Seam 1.1.7RC1. 2.- Add an empty property (without value) to your messages.properties for: | org.jboss.seam.loginSuccessful | 3.- That's all. Seam guys: I think it would be a very good idea to add the predefined messages which Seam adds as fa

[jboss-user] [JBoss Seam] - Re: How to refer to multiple instances of Seam component in

2007-02-23 Thread fernando_jmt
Here there's a similar point and even a solution: [url] http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100825 [/url][/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021348#4021348 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Re: SeamLoginModule EntityManager injection difficulties

2007-02-23 Thread fernando_jmt
Ttry with this: | @In(create=true) |private EntityManager entityManager; | Or Do you have configured the persistence context in your components.xml, like this: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021226#4021226 Reply to th

[jboss-user] [JBoss Seam] - Re: beginner can't figure out how to change URL from home.se

2007-02-23 Thread fernando_jmt
This is not a Seam stuff, but I'll give you some hints to figure out (maybe you should read more about JSF ). It depends what you have configured in your web.xml. By instance, if you are using facelets, you should have this: | | javax.faces.DEFAULT_SUFFIX | .xhtml |

[jboss-user] [JBoss Seam] - Re: EL in pages.xml (i18n)

2007-02-21 Thread fernando_jmt
Sure, there is a way. | | | | #{messages['Security.accessDenied']} | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020355#4020355 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: Date

2007-02-20 Thread fernando_jmt
"KoniKoni" wrote : I want to displa follow output on the page:Friday, 19.01.2007 Well, if you wanna display the current date, you only need to do this: | | | | If you wannna display the Date property of any backing bean, you sould do this: | |

[jboss-user] [JBoss Seam] - Re: Date

2007-02-20 Thread fernando_jmt
Sorry, my last message was my bad to add it to this topic ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019605#4019605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019605 _

[jboss-user] [JBoss Seam] - Re: Setting a

2007-02-20 Thread fernando_jmt
I know, I can add the full name in a separately session variable, but this will not part of the identity as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019604#4019604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: Date

2007-02-20 Thread fernando_jmt
I know, I can add the full name in a separately session variable, but this will not part of the identity as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019602#4019602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Seam] - Re: Setting a

2007-02-20 Thread fernando_jmt
Well, I think overwriting the login message will work only to display the message immediately the user has logged in. But by instance I wanna display the user full name in the top of the page all the time the user is working in its session. ¿What to do in this case? View the original post : ht

[jboss-user] [JBoss Seam] - Re: Setting a

2007-02-20 Thread fernando_jmt
Well, I think overwriting the login message will work only to display the message immediately the user has logged in. But by instance I wanna display the user full name in the top of the page all the time the user is working in its session. ¿What to do in this case? View the original post : ht

[jboss-user] [JBoss Seam] - Re: Setting a

2007-02-20 Thread fernando_jmt
Currently Seam Identity class does not have a "Name" property. It coud be nice if Seam guys add this property in the future. I think sometimes we need to display the user who is logged in, currently I can only show the username, but it would be better display the full name. At this time the on

[jboss-user] [JBoss Seam] - Seamspace example does not deploy on tomcat 5.5

2007-02-20 Thread fernando_jmt
Hi. I want to deploy the seamspace sample (deploy.tomcat ant target), but when I try to access http://localhost:8080/seam-space/ I get exceptions: | 20-feb-2007 11:17:24 com.sun.facelets.FaceletViewHandler handleRenderException | GRAVE: Error Rendering View[/home.xhtml] | org.jboss.seam.

[jboss-user] [JBoss Seam] - Re: Seam Security and ICEFaces

2007-02-19 Thread fernando_jmt
My faces-config.xml: | | | messages | com.icesoft.faces.facelets.D2DSeamFaceletViewHandler | org.jboss.seam.jsf.SeamVariableResolver | | | | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener | | |

[jboss-user] [JBoss Seam] - Re: Seam Security and ICEFaces

2007-02-19 Thread fernando_jmt
I have security configuration using Seam 1.1.6GA with ICEFaces 1.5.3. I only have one know issue (also reported in both forums. When I want to logout I get exceptions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019127#4019127 Reply to the post : http://

[jboss-user] [JBoss Seam] - Re: Security Auto-Login Question

2007-02-19 Thread fernando_jmt
In the pages.xml add the page configuration for the first page you want to access (usually login.xhtml or home.html) and execute the login before rendering the page. Somthing like: | | | | | | | | The above exa

[jboss-user] [JBoss Seam] - Re: Help: sessionContext

2007-02-19 Thread fernando_jmt
Where are you trying to use the injected (@in) sessionContext? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018992#4018992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018992

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-19 Thread fernando_jmt
Gavin, After I spent a lot of time trying to make this works (changing examples, from 1.1.6, CVS, debugging Seam code and so on), I found the reason: The problem was that I was using the el-ri.jar which comes with ICEFaces 1.5.3 distribution. I change back to el-ri.jar from Seam distribution

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-18 Thread fernando_jmt
I tried with both. And neither null or Outcome.REDISPLAY works. "fernando_jmt" wrote : | In the both cases (a, b) after userManager.create() returns null or Outcome.REDISPLAY the current page is not redisplayed, I always get the list.xhtml page. | I'll try with a recent C

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-18 Thread fernando_jmt
I tried with both. And neither null or Outcome.REDISPLAY works. "fernando_jmt" wrote : | In the both cases (a, b) after userManager.create() returns null or Outcome.REDISPLAY the current page is not redisplayed, I always get the list.xhtml page. | I'll try with a recent C

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-18 Thread fernando_jmt
"[EMAIL PROTECTED]" wrote : The docs are correct, are you sure you are really observing this? Yes, I am sure. I have this in pages.xml | | | | | | | | And this in my create method: | public String create()

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-17 Thread fernando_jmt
Yes, adding from-outcome works. I also did that before posting here. So, this means we need to add a rule even for null outcomes? I had seen in the seam reference (1.1.6GA), page 87, this: "Null outcomes are a special case in JSF. The null outcome is interpreted to mean "redisplay the page". The

[jboss-user] [JBoss Seam] - Problems with navigations with null outcomes

2007-02-17 Thread fernando_jmt
Hi. I am just changing all navigation rules from faces-config.xml to pages.xml. Then when my action returns a null outcome it does not redisplay the current page. I have this method in my component: | @Stateful | @Name("userManager") | public class UserManagerAction { | ... | public

[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean

2007-02-16 Thread fernando_jmt
Some corrections for the last sample source code: | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017645#4017645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities

2007-02-16 Thread fernando_jmt
I'm not sure, but I don't know if using BLOB (I suppose is a SQL type class) as bean property is the right way. Maybe you can try changing it by: | @Lob @Basic(fetch = FetchType.LAZY) | byte[] contents= null; | or | @Lob @Basic(fetch = FetchType.LAZY) | InputStrem

[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread fernando_jmt
JIRA request added. http://jira.jboss.org/jira/browse/JBSEAM-849 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016679#4016679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016679 _

[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread fernando_jmt
"[EMAIL PROTECTED]" wrote : Right. Add the feature request to JIRA and I will implement it. Before adding the request to JIRA I wanna know if what I wrote in my last post is possible. Do you mean this structure of web contents should work?: | webapp/ | sales/ | pages.xm

[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread fernando_jmt
"petemuir" wrote : I think that /path/to/my/pages.xml is a good idea (similar to /my/package/components.xml). If you like this, please add a feature request to JIRA (Gavin may say no, but we can see ;) ) Maybe I am not understanding so well how this works. I have no problem with /my/package/co

[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-14 Thread fernando_jmt
"[EMAIL PROTECTED]" wrote : path/to/my/viewId.page.xml Suppose I have an application with thousands of .xhtml pages (which is true for an existing app. we have in struts and we are thinking to upgrade to Seam), it seems if I wanna configure them in Seam I should have thousands of viewId.page.x

[jboss-user] [JBoss Seam] - Re: Seam and XML configuration files doubt

2007-02-13 Thread fernando_jmt
It seems ok for components.xml (my/package/name/components.xml ). But, what about pages.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015982#4015982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015982

[jboss-user] [JBoss Seam] - Seam and XML configuration files doubt

2007-02-13 Thread fernando_jmt
Hi. I have the following doubt: I wanna have pages.xml and even components.xml arranged by module (application specific of course), having as example this distribution: | WEB-INF/ | + components.xml (general Seam components) | + components-contacts.xml (Contact module components) | +

[jboss-user] [JBoss Seam] - Re: Seam FacesMessages with its createFacesMessage method an

2007-02-11 Thread fernando_jmt
JIRA issue reported. http://jira.jboss.org/jira/browse/JBSEAM-818 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014679#4014679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014679

[jboss-user] [JBoss Seam] - Re: Seam FacesMessages with its createFacesMessage method an

2007-02-10 Thread fernando_jmt
"petemuir" wrote : You can use: | | FacesMessages.instance().addFromResourceBundle(getClientId(facesContext), severity, key, params); I tried what you suggest me before posting the message here. But it does not work. This because the ValidatorException has this signature when creating it

[jboss-user] [JBoss Seam] - Seam FacesMessages with its createFacesMessage method and i1

2007-02-10 Thread fernando_jmt
Hi everyone. I just developing JSF converters and JSF validators and you are noticed that both of them have a way to add a FacesMessage when throwing the Exception (ConverterException and ValidatorException respectively). I saw static method FacesMessages.createFacesMessage(..) which returns a

[jboss-user] [JBoss Seam] - Re: Seam security adds default messages

2007-02-08 Thread fernando_jmt
I think an empty message will generate the also renders an empty message. I think it would be better detects if "org.jboss.seam.loginSuccessful" is in the messages.properties, if it exists then add the message, if doesn't exist, don't add the message. View the original post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: Seam security adds default messages

2007-02-08 Thread fernando_jmt
The messages you should add to your .properties file are org.jboss.seam.loginSuccessful = Welcome, #0 and org.jboss.seam.loginFailed = Login failed In case of login fails it is natural to add the message (which I can configure as I want), but in the case of the login is successfully not all

[jboss-user] [JBoss Seam] - Re: Multiple DataModels in an SFSB

2007-02-07 Thread fernando_jmt
"[EMAIL PROTECTED]" wrote : @Factory(scope=EVENT|STATELESS) Related to this I have some troubles, maybe you can help me. I have this code: | @Statefull | @Name("userList") | @Scope(ScopeType.SESSION) | public class UserList { | | @DataModel | private List users; | | @Factory(

[jboss-user] [JBoss Seam] - Re: facesMessages.addFromResourceBundle params issue

2007-02-07 Thread fernando_jmt
Making "(Object) user.getFullName()" it seems a silly solution, because String instance is always an Object. will that mistake be solved in future versions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012761#4012761 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss Seam] - facesMessages.addFromResourceBundle params issue

2007-02-07 Thread fernando_jmt
Hello. I have this in my .properties file: | Common.message.deleted = #0 was deleted successfully. | Then in my action component I did the following: | facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_INFO, | "Common.message.deleted", user.getFullName());

[jboss-user] [JBoss Seam] - Re: Global Update events/@Observe

2007-02-07 Thread fernando_jmt
What I did was to add somthing like this: And in the resetList() I am reseting the list, in order to refresh the data using the @Factory which updated the list for the respective @DataModel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012427#4012427

[jboss-user] [JBoss Seam] - Re: Seam Security

2007-02-06 Thread fernando_jmt
I also have the same problem related to NotLoggedInException Using the non CVS version I had: | #{messages['User.notLoggedIn']} | And it was working well, a message was shown in the login page. But it seems there's a problem with the CVS version, because now I can't get the message in the

[jboss-user] [JBoss Seam] - Re: Seam Security

2007-02-06 Thread fernando_jmt
The authentication way was changed in the CVS version. You should use it as follows sample: | ... | @In |private Identity identity; | |public boolean authenticate() |{ | try | { | Member member = (Member) entityManager.createQuer

[jboss-user] [JBoss Seam] - Re: multiple component instances in one page

2007-02-06 Thread fernando_jmt
You can try defining a new different role for the second DumbUser. First you need to modify your dumbClass like this (adding a new role): | @Name("dumbUser") | @Role(name="dumbUser1") | public class DumbUser { | | private String name; | | public DumbUser()

[jboss-user] [JBoss Seam] - Re: multiple component instances in one page

2007-02-06 Thread fernando_jmt
Because your attribute DumbUser is a plain class (not injected), you sould initialize your class manually, | private DumbUser dumbUser = new DumbUser(); | | Try above, I think it will work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011935#4

[jboss-user] [JBoss Seam] - Re: Browsing application context path always redirect

2007-02-04 Thread fernando_jmt
After I tried all things you comment here, I was geeting the same error. But, 4 hours later I tried to enter the same URL using Internet Explorer. And it works like a charm. Then I understood that the problem was the FireFox cache. Because the first time I deployed the application index.html re

<    1   2   3   >