[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2008-02-18 Thread koenhandekyn
i had already overriden hashCode en equals. that was/is not the issue as far as I can conclude. [ an object is equal if it has the same object ID, if no ID is present, values are compared, hashCode accordingly, using apache EqualsBuilder and apache HashCodeBuilder ] the only wat to fix it was

[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2008-02-18 Thread koenhandekyn
adding to it : it probably is NOT a real seam issue but a conflict of hibernate lazy loading (using proxy) and the JSF implementation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130029#4130029 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2008-02-17 Thread [EMAIL PROTECTED]
Override equals on the entity. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129967#4129967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129967 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2008-02-15 Thread koenhandekyn
i ran into the same issue. feels like a SERIOUS bug to me. at worst it should get in the seam documentation, but a fix is preferred. curious on your experiences or alternative solutions ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129624#4129624 Reply to

[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2007-12-23 Thread berna
Thanks DragosPD for the pointer. I will try with MyFaces implementation sometime next week. Any other alternatives? Known solution or workaround? This is quite a common usage I believe, and surely there have been others finding this issue. I would like to hear what you guys do to resolve this.

[jboss-user] [JBoss Seam] - Re: selectOneMenu preselection

2007-12-22 Thread DragosPD
see http://www.techienuggets.com/Detail?tx=17739 it seems that the problem comes from RI View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115225#4115225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115225

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

2007-12-15 Thread saeediqbal1
i am having a similar problem. I think 2.0.1 has a fix for it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113134#4113134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113134

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

2007-12-15 Thread saeediqbal1
I am wondering is this issue due to using jsf ri 1.2 compared to previously using myfaces? because our applications worked fine in 1.2 and now in 2.0 they are broke on SelectOneMenu :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113136#4113136 Reply to the

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

2007-12-14 Thread limousyf
Ok, I replaced the s:selectItems by a good old fashioned f:selectItems backed to a List | public ListSelectItem getAssignableItems() { | assignableItems = new ArrayListSelectItem(); | |

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-21 Thread [EMAIL PROTECTED]
If you can create a runnable example and provide steps to reproduce please put an issue into JIRA so I can take a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106672#4106672 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-20 Thread chrismalan
I don't know if I have a Seam Managed Persistence Context in my components.xml. I'm mailing this from work. But I at last did get s:selectItems to work. What did the trick was that every @entity that is used as a source for s:selectItems must implement a boolean equals(Object obj) and an int

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-20 Thread Andy Gibson
Pete, since he is using @PersistenceContext, doesn't that rule out the possibility of using an SMPC? This PC is only scoped to the event, after which it is unavailable. I've been having a null filled list problem recently and I think (haven't had time to check) that it is tied to the PC

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-20 Thread w17chm4n
anybody ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106621#4106621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106621 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-19 Thread w17chm4n
Exception | 10:40:36,766 ERROR [STDERR] Nov 19, 2007 10:40:36 AM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/question.xhtml] | java.lang.NullPointerException | at

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-19 Thread marius.oancea
Please post the whole NPE exception. Are you sure questionCategoryList is outjected? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105941#4105941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105941

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-19 Thread [EMAIL PROTECTED]
Which version of Seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105955#4105955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105955 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-19 Thread w17chm4n
@Pete Seam 2.0.0.GA @Marius Yes I`m sure that questionCategoryList is outjected. Anyway, this code works on Seam 1.2.1.GA... questionCategory entity | @Entity | @Scope(ScopeType.EVENT) | @Name(questionCategory) | @Table(name=QuestionCategories) | public class QuestionCategory

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-19 Thread dhinojosa
1. What does the bean that generates questionCategoryList look like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106094#4106094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106094

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE

2007-11-19 Thread w17chm4n
| @Stateful | @Scope(ScopeType.SESSION) | @Name(QuestionCategoryController) | public class QuestionCategoryControllerBean implements QuestionCategoryController { | | @Logger | private Log log; | | @In(create = true) | private QuestionCategoryManager

[jboss-user] [JBoss Seam] - Re: selectOneMenu - NullPointerException

2007-11-15 Thread [EMAIL PROTECTED]
Post your components.xml - you need to use a SMPC with s:convertEntity View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105050#4105050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105050

[jboss-user] [JBoss Seam] - Re: SelectOneMenu get null, why?

2007-11-15 Thread [EMAIL PROTECTED]
Why do you have immediate=true? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105223#4105223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105223 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: selectOneMenu, selectItems, convertEntity and null value

2007-11-08 Thread damianharvey
I've just tested this in my app and it does get set back to NULL in the database. Post some of your code. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102865#4102865 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu, selectItems, convertEntity and null value

2007-11-07 Thread [EMAIL PROTECTED]
damianharvey wrote : If you have the noSelection present and nothing is selected the value should be null. Have you tested it? What value are you getting? If nothing is selected (i.e., the noSelectionLabel is the selected entry) and the entity-field is null, nothing is set. However, if the

[jboss-user] [JBoss Seam] - Re: selectOneMenu, selectItems, convertEntity and null value

2007-11-07 Thread damianharvey
If you have the noSelection present and nothing is selected the value should be null. Have you tested it? What value are you getting? Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102650#4102650 Reply to the post :

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-23 Thread [EMAIL PROTECTED]
What is in a proxy wrapper? The obj? That shouldn't matter, just cast it to Person. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097823#4097823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097823

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-23 Thread thinkblue
Oh I'm sorry I forgot to post that I finally figured what the issue was...I changed from using @PersistenceContext to @In on the EntityManager variable in my stateful bean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097955#4097955 Reply to the post :

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-20 Thread thinkblue
Oops...I guess I spoke too soon...I'm having a related issue...This time I'm having an issue with my edit mode...After the zipcode is added my app goes back to a the home screen where it displays the person in a table where you can edit it...When clicking on edit it brings up the correct record

[jboss-user] [JBoss Seam] - Re: selectOneMenu without form submission

2007-10-19 Thread smithbstl
Either use a4j:support nested inside your button using onclick or use an a4j:commandButton instead of an s:button. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097130#4097130 Reply to the post :

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-18 Thread thinkblue
Here is some more information...The stack trace error that I get when running my page: | | | java.lang.IllegalArgumentException: Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectOne(zipCodes). Found null. | at

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-18 Thread damianharvey
You really should take a look at some of the examples and read the reference. I found it *extremely* useful to use SeamGen to start with. Gives you something that works right away. For starters, you need something to provide a list of zipcodes. In your page you have:s:selectItems

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-18 Thread thinkblue
Thanks Damian...I finally got it working...In hind sight it was such an easy solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096758#4096758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096758

[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup

2007-10-17 Thread thinkblue
Here is what I have so far: Here is my xhtml file: | | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; |

[jboss-user] [JBoss Seam] - Re: SelectOneMenu not Updated

2007-10-04 Thread smithbstl
is your list populated via a factory or something else that would reload its values when the page is refreshed? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091668#4091668 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu with s:selectItems problem

2007-10-01 Thread [EMAIL PROTECTED]
Post the stack trace, use [ code ] tags. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090246#4090246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090246 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: selectOneMenu with s:selectItems problem

2007-10-01 Thread paulaunderwood
ok, here it is | javax.faces.el.EvaluationException: Exception while invoking expression #{authenticator.authenticate} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at

[jboss-user] [JBoss Seam] - Re: selectOneMenu with s:selectItems problem

2007-09-28 Thread smithbstl
Well it looks like you are trying to pass an entity to a String. Why does user have an areaID property? If user has a many to one M:1 relationship with area, shouldn't it just have an area property? This is assuming these are both entities. So how about something like this

[jboss-user] [JBoss Seam] - Re: selectOneMenu with s:selectItems problem

2007-09-28 Thread paulaunderwood
I have tried this but then it no longer allows me to log in.. it tells me that the transaction failed. I get an error invoking the login method javax.faces.el.EvaluationException: Exception while invoking expression #{authenticator.authenticate} Caused by:

[jboss-user] [JBoss Seam] - Re: selectOneMenu and s:convertEntity problems

2007-09-20 Thread smithbstl
Nevermind, I misunderstood what you were telling me. Grab the jsf implmentation sources, not the jsf view sources (xhtml files). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086940#4086940 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and s:convertEntity problems

2007-09-18 Thread [EMAIL PROTECTED]
I'm going to guess that your problem is due to the use of jstl in building the select list. I think that you'll find that the jstl doesn't evaluate correctly when you submit, hence you get an empty list. Grab the JSF sources and use your debugger to see whats going on (start by breaking where

[jboss-user] [JBoss Seam] - Re: selectOneMenu and s:convertEntity problems

2007-09-18 Thread smithbstl
How do I set a break point in an xhtml file? Netbeans allows for this (if I remember correctly) but I can't seem to do this in RHDS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085672#4085672 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu in dataTable

2007-08-30 Thread damianharvey
Apparently extended EL can work oddly inside iterative components : http://www.jboss.com/index.html?module=bbop=viewtopict=115162 You could always build a Bean to hold all of this when you populate productPropertyList. Cheers, Damian. View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu in dataTable

2007-08-30 Thread [EMAIL PROTECTED]
If you can produce a simple test case based on a seam-gen app from CVS I can take a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079808#4079808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079808

[jboss-user] [JBoss Seam] - Re: selectOneMenu in dataTable

2007-08-29 Thread mladen.babic
Hi again, it works when I use t:selectItems:)).Is it this issue a bug?? Best regards, mb View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079290#4079290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079290

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

2007-08-22 Thread [EMAIL PROTECTED]
What version of Seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076695#4076695 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076695 ___ jboss-user mailing list

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

2007-08-22 Thread demetrio812
2.0B1, but it was a version of the july 9th... so I'm tring with the latest one but I got some problem (see also http://www.jboss.com/index.html?module=bbop=viewtopict=116726) Thank for helping! Demetrio View the original post :

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

2007-08-22 Thread [EMAIL PROTECTED]
Please post the stack trace when you try this with current CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076715#4076715 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076715

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

2007-08-22 Thread demetrio812
I wanted to try with current CVS but I can't because it doesn't deploy coz of the other error and I need message bundles (the page that give me the error use them)... So I'm waiting to solve the resourceBundle problem and then I will test it... see the link I putted in the other post for

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

2007-08-22 Thread demetrio812
it seems the same bug of this one, isn't it? http://jboss.com/index.html?module=bbop=viewtopict=112337 demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076730#4076730 Reply to the post :

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

2007-08-22 Thread demetrio812
I updated the project and it works now!! Sorry for all the time you lost following me... another little question: I have a component in application scope: | framework:entity-query name=linguaAll | entity-manager=#{entityManager} | ejbql=select lingua from

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

2007-08-22 Thread [EMAIL PROTECTED]
Read the SeamProblemsFAQ on the wiki View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076762#4076762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076762 ___ jboss-user mailing

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

2007-08-22 Thread demetrio812
Hi, thanks again... I read it yesterday and I thought that giving that application scope is longer then conversation scope it would work... now I read it again that line: anonymous wrote : | Ensure that you are in a long-running conversation that spans the both the select list creation and

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

2007-08-22 Thread [EMAIL PROTECTED]
demetrio812 wrote : (so the same JPA session?) Yes. anonymous wrote : is there a way to leave the component on application scope and then merge it in conversation scope? You have to implement equals() View the original post :

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

2007-08-22 Thread demetrio812
I see... Thank you very much for your answers!! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076806#4076806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076806 ___

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

2007-08-21 Thread demetrio812
I also tried to do not use the method and use component definition in components.xml, if I don't use a value of the instance of articoloHome it works, like that: | framework:entity-query name=statoArticoliAll | entity-manager=#{entityManager} | ejbql=select

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-12 Thread [EMAIL PROTECTED]
It probably subtley altered the way in which your variables were scoped. The way you have written your code doesn't require it. milli is correct - you need to make sure the selected object appears in the original list, otherwise validation fails. View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-11 Thread mttu
[EMAIL PROTECTED] wrote : Any output from h:messages? Hi, message from h:messages is: value is not valid but why ? the Converter class: | @Name(CompanyConverter) | @Converter | public class CompanyConverter implements javax.faces.convert.Converter, Serializable { | |

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-11 Thread milli
If you are converting ID from long to string and vice versa, why don't you try s:convertEntity /. But you would still get the same error unless you override equals in your Company class to equate id's. View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-11 Thread mttu
OK, it started to worked after i had changed: | @Out | private Company selectedCompany; | and implemented equals in Company. It's still not clear to me why selectedCompany should be outjected in this case. View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-11 Thread trickyvail
If your Company object is an entity you need to be aware of: http://hibernate.org/109.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063133#4063133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063133

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-11 Thread mttu
But why selected company has to be outjected ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063236#4063236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063236 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: selectOneMenu and selectItems problem

2007-07-10 Thread [EMAIL PROTECTED]
Any output from h:messages? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062731#4062731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062731 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: selectOneMenu binding to session object

2007-06-23 Thread joeyxxx
The issue with this solution is that the converter is coupled to the User class and so will only work if the list being displayed by selectOneMenu is the one in the user class. It isn't an issue in my particular application though. View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu binding to session object

2007-06-22 Thread [EMAIL PROTECTED]
You need a JSF converter - JSF can't handle object in select boxes. Take a look at Rick Hightowers tutorials on Developer Works for a good intro to this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056780#4056780 Reply to the post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu binding to session object

2007-06-22 Thread joeyxxx
Thanks Pete. Will check out Rick's tutorial. I actually went thru his facelets tutorial not too long ago. If only the valueChangeEvent or selectOne objects had an index attribute that I could read, I could use that same index to retrieve the the selected item from my list. Seems like an odd

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

2007-04-19 Thread KoniKoni
In early version of seam that code does work and with cvs from today not. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038933#4038933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038933

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-03-01 Thread petemuir
No. Don't put it in the lib folder. Follow the examples provided for packaging. It looks like converter isn't getting used. As for why... You should check with a breakpoint whether the converter is used. You could also try registering the converter by id - org.jboss.seam.EntityConverter

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-27 Thread grdzeli_kaci
sorry petemuir for my disturb :( i tryed it for a week and could not resolve this problem, i added ur jar file into build.xml file | copy todir=${war.dir}/WEB-INF/lib | fileset dir=${lib.dir} | include name=ajax4jsf.jar / |

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-27 Thread petemuir
h:selectOneMenu styleClass=font_style value=#{foo.application} Foo is the backing bean on which you wish to set the application property. It could be just #{application} - though I'm not sure how well this works on the whole. View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-27 Thread grdzeli_kaci
petemuir wrote : h:selectOneMenu styleClass=font_style value=#{foo.application} | | Foo is the backing bean on which you wish to set the application property. It could be just #{application} - though I'm not sure how well this works on the whole. ok, 1. i had entityconverter.jar into

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-26 Thread grdzeli_kaci
i can't resolve this problem yet, anybody knows about it ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022290#4022290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022290 ___

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-26 Thread petemuir
At the very least it should be this h:selectOneMenu styleClass=font_style value=#{foo.application} |s:selectItems value=#{applications.resultList} var=name label=#{application.name}/ |ec:convertEntity / | /h:selectOneMenu View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-26 Thread petemuir
Oops, no, this is better h:selectOneMenu styleClass=font_style value=#{foo.application} |s:selectItems value=#{applications.resultList} var=application label=#{application.name}/ |ec:convertEntity / | /h:selectOneMenu View the original post :

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-25 Thread grdzeli_kaci
i can't resolve this problem yet, anybody knows about it ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022267#4022267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022267 ___

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-20 Thread grdzeli_kaci
petemuir wrote : You've probably got errors occuring on the coversion, validation or update model phase. Put an h:messages component on the page to see. hi petemuir, u're right i put h:messages into login page and i got an error like this : | . value could not be converted to the expected

[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-20 Thread petemuir
#{application.name} references a String, you are trying to set it with a Application object. Likewise for language.Read up on JSF converters and what they do. And take a look at the EntityConverter on the wiki as it does what you are trying to do for you... View the original post :