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

2007-03-20 Thread sherkan777
petemuir wrote : h:column | |h:outputText value=#{messages['sex.youngMane']} rendered=#{entity.sex and entity.howOld eq 20} / | | /h:column Isn't better to get string directly from method? Maybe u not understod my think. I have field like int in each entity bean and collection of

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

2007-03-20 Thread petemuir
I understand :) I wouldn't want to mix my business and presentation logic like you suggest, so I would keep the presentation logic in the page. You could of course do what you suggest as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029774#4029774

[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: | ice:selectManyCheckbox value=#{userManager.userRoles} id=userRoles | s:selectItems value=#{roleList.resultList} var=role label=#{messages[role.description]}/ | /ice:selectManyCheckbox | As you can see

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

2007-03-19 Thread Stateless Bean
That's not exacly i want to... look: My Entity Bean looks like this: private int howOld; private boolean sex; | @Transient | public String getPersonName() { | | if(sex) { |switch(howOld) { | case(20) : | //And here i want to

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

2007-03-19 Thread petemuir
h:column |h:outputText value=#{messages['sex.youngMane']} rendered=#{entity.sex and entity.howOld eq 20} / | /h:column View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029334#4029334 Reply to the post :