[jboss-user] [JBoss Tools (users)] - Re: how to deploy a datasource

2008-02-12 Thread atao
Thank you for your quick answer. In fact I didn't see that JBoss Tools offers these JBoss Runtime adapters. Now everything is ok. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128772#4128772 Reply to the post :

[jboss-user] [JBoss Tools (users)] - how to deploy a datasource

2008-02-11 Thread atao
I just created my first seam project with the Seam Web Project wizard. It's an EAR project with a data source. It uses JBoss 4.2 as server. When I use Run On Server, I get this error: | --- MBeans waiting for other MBeans --- | ObjectName:

[jboss-user] [JBoss Seam] - Re: Problem with: seam-gen deploy

2008-02-04 Thread atao
| @In attribute requires non-null value: routingHome.nodeHome1 | You need to declare nodeHome1, nodeHome2, nodeHome3 ... as seam components in a components.xml file. See the patch doublon for JBSEAM-994. View the original post :

[jboss-user] [JBoss Seam] - Re: Log4j Configuration for Seam 2

2008-01-08 Thread atao
See patch with http://jira.jboss.com/jira/browse/JBSEAM-1675 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117806#4117806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117806

[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?

2007-12-19 Thread atao
I haven't try to use seam-gen to generate many-to-many relationship from DB. But I use the new generate-ui target to do it from existing classes. It needs changes not only in view templates (view, list and edit.xhtml.ftl) but also in EntityHome.java.ftl. About M2M and reverse DB: you should

[jboss-user] [JBoss Seam] - Re: Programmatic Log4j Configuration

2007-12-11 Thread atao
See http://jira.jboss.com/jira/browse/JBSEAM-1675 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112118#4112118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112118 ___

[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue

2007-11-30 Thread atao
Sorry i wrote too quickly. Indeed it should have been anonymous wrote : The JBSEAM-1493 Seam-gen: allow return to original page should take this case into account. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109385#4109385 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue

2007-11-30 Thread atao
The JBSEAM-1493 Seam-gen: allow return to original page takes this case into account. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109377#4109377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109377

[jboss-user] [JBoss Seam] - Re: core resource-loader for resource bundles

2007-11-27 Thread atao
You can use directly something like: | java.util.ResourceBundle resourceBundle = org.jboss.seam.core.ResourceBundle.instance(); | String message = resourceBundle.getString(key); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108253#4108253 Reply to

[jboss-user] [JBoss Seam] - Re: Successfully created message

2007-11-26 Thread atao
Put in your properties file these keys: [EntityName]_created [EntityName]_deleted [EntityName]_updated View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107714#4107714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107714

[jboss-user] [JBoss Seam] - Re: JBoss tools - Seam generate entities from existing entit

2007-11-21 Thread atao
anonymous wrote : | There is no plan to create a generate-ui task? | Pete Muir just integreted JSEAM 843 (Generate application from existing entities) in CVS. anonymous wrote : | For 1.2.1 there is http://jira.jboss.org/jira/browse/JBSEAM-1206; | This issue is related to improve

[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-21 Thread atao
About 3), see also http://www.jboss.com/index.html?module=bbop=viewtopict=122806 and the related feature request Namespace or alias of messages' key http://jira.jboss.com/jira/browse/JBSEAM-2237 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106778#4106778

[jboss-user] [JBoss Seam] - Re: JBoss tools - Seam generate entities from existing entit

2007-11-19 Thread atao
it seems to me this question is related to JBSEAM-843 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106075#4106075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106075 ___

[jboss-user] [JBoss Seam] - Re: Namespace or alias of messages' key

2007-11-11 Thread atao
I just created a jira entry: http://jira.jboss.com/jira/browse/JBSEAM-2237 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103509#4103509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103509

[jboss-user] [JBoss Seam] - Re: Namespace or alias of messages' key

2007-11-05 Thread atao
I like this idea. Can you create a jira entry? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101709#4101709 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101709 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-25 Thread atao
anonymous wrote : nothing to do with seamgen I think so. You can try: - to add sql-type=char(32) in @Column(name = id, unique = true, nullable = false, length = 32) - or to extend MySQLDialect class. View the original post :

[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-23 Thread atao
The line | property name=hibernate.hbm2ddl.auto value=validate/ | is not the problem. It's just the tool which tells you that you have a problem with the column type of column id: | Wrong column type: id, expected: varchar(32) | Here the issue may be with the MySql dialect. I had

[jboss-user] [JBoss Seam] - Re: messageformat error blows up (JBSEAM-1859)

2007-10-12 Thread atao
Good! May I suggest that, in place of the partial result of interpolation, the wrong message is also shown to the user by returning it in the catch block: | log.warn(exception interpolating string: + string, e); | return string; | It gives then a direct clue

[jboss-user] [JBoss Seam] - Re: extending seam Idenity with a domain

2007-10-11 Thread atao
Declare your new Identity class with something like: | @Name(org.jboss.seam.security.identity) | @Scope(SESSION) | @Install(precedence = APPLICATION) | @BypassInterceptors | @Startup | public class ExtendedIdentity extends RuleBasedIdentity | the point here is the

[jboss-user] [JBoss Seam] - Re: EntityHome wire() and isWired()

2007-10-10 Thread atao
Below what I found. There are maybe other uses. About wire(): Used in files {entity}Edit.page.xml to manage M2O link. About isWired(): ATM, only used in edit page with save button, to disable it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093788#4093788

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-09 Thread atao
anonymous wrote : JBSEAM-843 is about generate from existing entities; why shouldn't that make it into seam-gen ? If so I misunderstood you. I'll be very happy if seam-gen can generate from existing entities. anonymous wrote : alot of temp files are generated what does that mean ? The patch:

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-09 Thread atao
in target generate-entities: - a template is used to put the list of all the root keys needed by an entity in a text file; this template combines the structures of list.xhtml.ftl and edit.xhtml.ftl to be sure to cover all the messages needed by an entity - and an other template will put the

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-08 Thread atao
anonymous wrote : | something that just compiles is not enough, it needs to also actually work | patch proposed with JSEAM-994 IS working here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092569#4092569 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-08 Thread atao
anonymous wrote : | i18n probably is easy to fix but needs fixes to hibernatetools to not overwrite files that are changed etc. | The current version here of this feature deals with it through separation of properties files: - one with constant messages provided by Seam: can be modified

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-08 Thread atao
anonymous wrote : | I'm not against all these I just think some of the templates are (unnecessarily) complex as is (same for the generated result) | I guess that it's JBSEAM-1206 which is concerned here. Mainly I replaced each hard coded message in templates by a #{messages['...']. I

[jboss-user] [JBoss Seam] - Re: Entities generated by seam (many 2 many)

2007-10-08 Thread atao
anonymous wrote : | Does seam-gen even work with many-to-many relationships? | No. See Generate apps that has many to many table with seam-gen, http://www.jboss.com/index.html?module=bbop=viewtopicp=4032289 View the original post :

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-08 Thread atao
anonymous wrote : | related is that we handle JBSEAM-843 ... in jboss tools/rhds now...just fyi ;) | does rhds manage manytomany associations? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092665#4092665 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-08 Thread atao
About i18n: I agree with you, the #{messages...} are ugly, but it's the standard way to do i18n with Seam... An other way is #{interpolator.interpolate...}, but imo it's worse and should be used only if necessary. I think that seam-gen is not only for beginners, or a fun prototype, but an

[jboss-user] [JBoss Seam] - Re: seam-gen : old issues

2007-10-07 Thread atao
anonymous wrote : | related is that we handle JBSEAM-843 and JBSEAM-1136 in jboss tools/rhds now...just fyi ;) | Good! anonymous wrote : | The best way to fix the other issues is patches and testcases | About 994, 1493 1206: a patch was proposed for each of them. So...

[jboss-user] [JBoss Seam] - Re: Messages bundle problem

2007-10-06 Thread atao
messages in properties files are coded in iso-8859-1, not in utf-8 Any non iso-8859-1 character must be coded using Unicode escapes, i.e. \u. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092304#4092304 Reply to the post :

[jboss-user] [JBoss Seam] - seam-gen : old issues

2007-10-04 Thread atao
There is a bunch of feature requests for seam-gen that are awaiting now for quite a long time, e.g.: JBSEAM-994 seam-gen and mutiple foreign keys, JBSEAM-843 Generate application from existing entities, JBSEAM-1493 Seam-gen: allow return to original page, JBSEAM-1136 Support multiple

[jboss-user] [JBoss Seam] - hibernate filter

2007-10-01 Thread atao
I'd like to use hibernate filters. The only documentation I found is: - Seam manual 8 - Using Hibernate filters - Seam example wiki Where can I find some more information: - meaning of attributes in persistence:filter - how to use such filter in java code View the original post :

[jboss-user] [JBoss Seam] - Re: seam-gen problem when same table is referenced two times

2007-09-26 Thread atao
see http://jira.jboss.com/jira/browse/JBSEAM-994 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088908#4088908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088908 ___ jboss-user

[jboss-user] [JBoss Seam] - seam-gen setup and maven

2007-09-22 Thread atao
I just updated seam from cvs and tried to created a new project. When I run seam setup I get: anonymous wrote : | Buildfile: C:\DEV\projects\eclipse\workspace\seam-cvs\seam-gen\build.xml | | init: | [artifact:dependencies] Downloading:

[jboss-user] [JBoss Seam] - Re: messageformat error blows up (JBSEAM-1859)

2007-09-19 Thread atao
Well, good news: Seam 2 CR1 has been released Bad news: nobody answered to this thread ;) So, what next? May I expect any reaction? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086214#4086214 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!

2007-09-18 Thread atao
On http://labs.jboss.com/tools/, it's stated that Seam Tools will include support for seam-gen. Where can we find more information? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085747#4085747 Reply to the post :

[jboss-user] [JBoss Seam] - Re: regarding Redirect.captureCurrentView()

2007-09-10 Thread atao
Redirect.instance().captureCurrentView() works with the viewId of the required view. See login pages in seam-gen to get the idea. You need to use a page parameter. See (in french): http://wiki.objetdirect.com/wiki/index.php?title=Navigation_avec_Seam View the original post :

[jboss-user] [JBoss Seam] - Re: regarding Redirect.captureCurrentView()

2007-09-10 Thread atao
anonymous wrote : | I think it should work as they described | In fact it does. But I needed some times before to get it: the key words are current request. The viewId is the one of the request, i.e. of the required view, not of the requiring view. You can switch from the current

[jboss-user] [JBoss Seam] - Re: regarding Redirect.captureCurrentView()

2007-09-10 Thread atao
In application generated by seam-gen, there is in components.xml: |event type=org.jboss.seam.notLoggedIn |action expression=#{redirect.captureCurrentView}/ |/event |event type=org.jboss.seam.postAuthenticate |action

[jboss-user] [JBoss Seam] - stay on the same page after AuthorizationException

2007-09-07 Thread atao
I'd like to stay on the same page after a org.jboss.seam.security.AuthorizationException. I tried | exception class=org.jboss.seam.security.AuthorizationException | redirect view-id=#{pages.getCurrentViewId()} |

[jboss-user] [JBoss Seam] - Re: BigDecimal and JSF f:convertNumber

2007-09-03 Thread atao
Can we have such a converter in Seam UI. Is it possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080496#4080496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080496 ___

[jboss-user] [JBoss Seam] - Re: Problems using ajax validation in seam-gen

2007-09-03 Thread atao
Vincent said. anonymous wrote : | The issue comes from the fact that when I hit the Save button, the onblur event from a:support fires at the same time and it breaks the save process. If I click outside the edited field, and then click the save button it works. | so I tried this

[jboss-user] [JBoss Seam] - Re: how to use @Roles?

2007-09-01 Thread atao
With @Name and @Role you can define only two components, with the same scope or not: | @Name(user) | @Scope(SESSION) | @Role(name=user2, scope=SESSION) | There is no such limitations with @Roles | @Name(user) | @Scope(SESSION) | @Roles({ |

[jboss-user] [JBoss Seam] - Re: BigDecimal and JSF f:convertNumber

2007-08-31 Thread atao
| f:converter converterId=javax.faces.BigDecimal/ | but without localization or any attribut other attribute as pattern View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079882#4079882 Reply to the post :

[jboss-user] [JBoss Seam] - Re: BigDecimal and JSF f:convertNumber

2007-08-31 Thread atao
And use this to get a converter with l10n: | | import java.math.BigDecimal; | | import javax.faces.component.UIComponent; | import javax.faces.context.FacesContext; | import javax.faces.convert.NumberConverter; | | /** | * Converts a Double or Long value provided by

[jboss-user] [JBoss Seam] - messageformat error blows up (JBSEAM-1859)

2007-08-28 Thread atao
When an EL expression is not closed by a brace, an error is thrown. It would be better to show the wrong expression as it is: 1/ it's already the way of doing the thing, see in InterpolatorTest the existing case of // test that a messageformat error doesn't blow up

[jboss-user] [JBoss Seam] - Re: MDA generators with Seam?

2007-08-27 Thread atao
anonymous wrote : | Actually I've been developping myself an MDA generator for Seam using Acceleo, for my company, but unfortunately they don't plan to put it on opensource. | Any chance your company rethinks about this? View the original post :

[jboss-user] [JBoss Seam] - Re: MDA generators with Seam?

2007-08-24 Thread atao
There is no official release of the seam cartridge and so no doc. You have to check by yourself. The snapshot is at http://team.andromda.org/maven2/org/andromda/cartridges/andromda-seam-cartridge View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077866#4077866

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

2007-08-20 Thread atao
OK. 1/ So it isn't possible to use here the enhanced EL of Seam, something like: | h:outputText binding=#{bindingtest.testText('toto')} / | | public HtmlOutputText testText(String text) | { | HtmlOutputText outputtext = new HtmlOutputText(); |

[jboss-user] [JBoss Seam] - Re: Enhancing seam-gen to support multiple projects

2007-08-20 Thread atao
Modoc, Will you create a new Jira entry? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075706#4075706 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075706 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Enhancing seam-gen to support multiple projects

2007-08-19 Thread atao
Here is a try i did some time ago with generate-entities. The idea is to avoid to duplicate the same code in seam-gen/build.xml and in {project_home}/build.xml. It should work for any other target. In the seam-gen/build-scripts/build.xml, add: | target name=generate-entities |

[jboss-user] [JBoss Seam] - Re: Enhancing seam-gen to support multiple projects

2007-08-18 Thread atao
An other way would be: - when you create a new project, copy the build.properties inside it - add in the build.xml of the project targets generate-entity ... linked to the associated targets in seam-gen/build.xml You can call these targets from the project under Eclipse. Then each project is

[jboss-user] [JBoss Seam] - exception

2007-08-18 Thread atao
In a page with only a h:outputText and a h:form, as soon as I click on the submit button of the form, I get this exception anonymous wrote : | 12:23:22,468 WARN [lifecycle] executePhase(RESTORE_VIEW 1,[EMAIL PROTECTED]) threw exception | javax.el.PropertyNotWritableException: /home.xhtml

[jboss-user] [JBoss Seam] - Re: Enhancing seam-gen to support multiple projects

2007-08-18 Thread atao
anonymous wrote : You'd have to modify the seam-gen templates seam-gen/build-scripts/build.xml and seam-gen/build.xml. Other? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075503#4075503 Reply to the post :

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-14 Thread atao
What is you configuration in faces-config.xml? What is the current value of locale? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073906#4073906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073906

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-14 Thread atao
Try: - either to remove default-locale in locale-config - or to change the name of properties file from messagesAfn.properties to messagesAfn_en.properties View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074002#4074002 Reply to the post :

[jboss-user] [JBoss Seam] - Re: SeamGen enhancements

2007-08-14 Thread atao
An other custom-made approach would be: - keep a quickstarting as it is currently, without choice about the basic frameworks as Richfaces... - add the possibility to use specific technologies e.g. joda datetime, PDF generation... - and still be able to regenerate all the project without

[jboss-user] [JBoss Seam] - Re: resource bundle

2007-08-13 Thread atao
Only use messages to get the message map, i.e.: | h:outputText value=#{messages['pwdchange.screen.title']} / | even if you use different bundle names View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073748#4073748 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Startup exception: Ajax4jsfFilter

2007-07-31 Thread atao
I rebuild from the start my project with seam-gen, and now it's ok. So it must be a mess with an old library or some configuration parameter... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069181#4069181 Reply to the post :

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

2007-07-31 Thread atao
I'm not sure to understand your idea. Can you explain a little more? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069247#4069247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069247

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

2007-07-31 Thread atao
why not. IMO a better trick would be to use hibernate custom value types for the foreign keys. Then it will be easy to check these types in the template. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069349#4069349 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Little problem using seam-gen

2007-07-31 Thread atao
See http://jira.jboss.com/jira/browse/JBSEAM-994 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069351#4069351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069351 ___ jboss-user

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

2007-07-31 Thread atao
in generate-entities target, add a hbmtemplate to create some hibernate-console.cfg.xml file. | hbmtemplate filepattern=hibernate-console.cfg.xml | template=hibernatetools/hibernate-console.cfg.xml.ftl |

[jboss-user] [JBoss Seam] - Re: Component configuration with complex types

2007-07-31 Thread atao
It's really a work in progress. I just checked it againt Seam 2 cvs. So, the code as it is... All the calls go through MenuManager | package org.jboss.seam.menu; | | import static org.jboss.seam.ScopeType.APPLICATION; | import static org.jboss.seam.annotations.Install.BUILT_IN; |

[jboss-user] [JBoss Seam] - Re: Message bundle in an EAR is not working

2007-07-31 Thread atao
and what if: ear/a.war/WEB-INF/classes/Messages.properties ear/b.war/WEB-INF/classes/Messages.properties View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069429#4069429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069429

[jboss-user] [JBoss Seam] - Re: Using Seamgen from entities

2007-07-30 Thread atao
See http://jira.jboss.com/jira/browse/JBSEAM-843 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068632#4068632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068632 ___ jboss-user

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

2007-07-30 Thread atao
About your first point, I'm not sure it's the best way to get a customized label. The comment must remain a comment, e.g. some thing to be use in a popup window. I'd rather get the column name as something immutable and use it to retrieve an i18n message. As example you can see the patch I

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

2007-07-30 Thread atao
About point 1: it's not on the roadmap for seam 2.0.1.GA, see http://jira.jboss.com/jira/browse/JBSEAM?report=com.atlassian.jira.plugin.system.project:roadmap-panel About point 2: yes some time you want dropdown list. IMO, the presence of a foreign key is not a good criterion. I already

[jboss-user] [JBoss Seam] - Re: Startup exception: Ajax4jsfFilter

2007-07-30 Thread atao
After updating one hour ago, I get now the same exception. I don't think it's about declaration of Ajax4JSF filter in web.xml as: - i was already working with Seam 2 cvs but updated may be 10 days ago - there is no Ajax4JSF filter in the project web.xml, and this since i work with seam 2 So...

[jboss-user] [JBoss Seam] - Re: Component configuration with complex types

2007-07-27 Thread atao
Hello, I just started to work on a menu build through configuration file, but: - without using any of the standard configuration files as components.xml: I define a specific menus.xml file in the same way that pages.xml - and agnostic about implementation, even if by default it'll be RichFaces.

[jboss-user] [JBoss Seam] - Re: touble with messages.properites

2007-07-19 Thread atao
Mmm, may be tell to JSF where to find the messages, add message-bundle tag: |application | message-bundlemessages/message-bundle | locale-config | default-localeen/default-locale | supported-localeen/supported-locale | [...]

[jboss-user] [JBoss Seam] - Re: touble with messages.properites

2007-07-18 Thread atao
In your faces-config.xml file: | application | locale-config | default-localezh/default-locale | supported-localeen/supported-locale | supported-localeen_US/supported-locale |

[jboss-user] [JBoss Seam] - Re: Hot redeployment - internationalization

2007-07-07 Thread atao
Hot redeployment of Properties files is working (files are updated on the server). But you need to restart the application to get the new messages as these files are read only when the application is started by the server. View the original post :

[jboss-user] [JBoss Seam] - Re: Hot redeployment - internationalization

2007-07-07 Thread atao
May be some ideas here: http://www.javaworld.com/javaworld/javatips/jw-javatip125.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061627#4061627 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061627

[jboss-user] [JBoss Seam] - Re: Can't set Character encoding for submitted form data

2007-06-13 Thread atao
The only thing you really need is | meta http-equiv=Content-Type content=text/html; charset=UTF-8 / | as stated previously. It is always used by the browser to sent request to the server. Even if the encoding option of the browser is forced to an other value. The attribut lang in tag

[jboss-user] [JBoss Seam] - Re: Seam 1.3.0 ALPHA released

2007-06-13 Thread atao
Where is ConversationPropagation? I just updated from CVS, and when I try to build seam, I got error ConversationPropagation cannot be resolved. I tried to find it, but was unable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054122#4054122 Reply to the

[jboss-user] [JBoss Seam] - Re: seam 1.3.0.alpha seam-gen error

2007-06-08 Thread atao
First try: everything seems ok now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052403#4052403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052403 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: jboss el and jstl functions issue

2007-06-08 Thread atao
Thanks! It works fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052402#4052402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052402 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: jboss el and jstl functions issue

2007-06-07 Thread atao
Not all uses of jstl's fn: function produce an exception. For exemple: | #{fn:length(testFromType)} | works fine. But I get the same exception with | s:button id=done |value=Done | view=/TestList.xhtml |

[jboss-user] [JBoss Seam] - Re: seam 1.3.0.alpha seam-gen error

2007-06-06 Thread atao
lschaffer is right. It's aN issue with the version of hibernat in seam-csv/lib/hibernate-all.jar. Even if you specify an other archive file for hibernate, seam always uses seam-csv/lib/hibernate-all.jar as there is | java -cp %JAVA_HOME%\lib\tools.jar;%DIRNAME%lib\ant-launcher.jar

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-28 Thread atao
atm, I use: - seam 1.2.1 with jboss AS 4.0.5 (application dev) - seam from cvs with jboss AS 4.2 (test of ideas) and I don't mix the two of them... About seam-gen from cvs, there is some issues but nothing fatal: 1/ an exception when loading: anonymous wrote : | caused by:

[jboss-user] [JBoss Seam] - Re: conversation propagation and navigation rule

2007-05-06 Thread atao
I just tried the workaroud with | page view-id=* | navigation | rule if-outcome=home | redirect view-id=/home.xhtml/ | /rule | rule if-outcome=fundList | end-conversation/ | redirect

[jboss-user] [JBoss Seam] - conversation propagation and navigation rule

2007-05-05 Thread atao
With seam 1.2.1.GA, I tried this code: | page view-id=* | navigation | rule if-outcome=fundList | redirect view-id=/FundList.xhtml | param name=conversationPropagation value=none / | /redirect |

[jboss-user] [JBoss Seam] - eam-gen and EntityHome.wire

2007-04-25 Thread atao
I generated an application with seam-gen from Seam 1.2.1.GA. In the [Entity]Edit.page.xml files, there is always a call to [Entity]Home.wire, e.g.: |action execute=#{workerHome.wire}/ | But the wire method are never called when the Edit page is called. Almost always there is no

[jboss-user] [JBoss Seam] - Re: Integrating Tomahawk with Seam

2007-04-21 Thread atao
anonymous wrote : As noted in my post, I added the mappings to my web.xml and that just made my application crash. yes but your error message states that anonymous wrote : ExtensionsFilter not correctly configured so... And about anonymous wrote : tomahawk,jar have to be in the web-inf/lib I

[jboss-user] [JBoss Seam] - componentClasses configuration property

2007-04-20 Thread atao
In the manuel of version 1.2.1.GA, I found this: anonymous wrote : | 23.9. Infrastructural components | | These components provide critical platform infrastructure. You can install a component by including its class name in the org.jboss.seam.core.init.componentClasses configuration

[jboss-user] [JBoss Seam] - Re: Integrating Tomahawk with Seam

2007-04-20 Thread atao
anonymous wrote : | I was thinking perhaps we need to add the configuration to JBoss not our app, since the MyFaces stuff is in JBoss but I couldnt find anything on the JBoss site except in some forums people say they do have this configured. | Tomahawk works fine with application

[jboss-user] [JBoss Seam] - seam-gen build

2007-03-25 Thread atao
I work under Eclipse, with seam 1.2.0PATCH1 In the build.xml of a project created by seam-gen, the targets explode and buildtest are lauched after each change of a file. But then the target compile is not lauched. So after any change in a java file, compile must be lauched by hand. Is it on

[jboss-user] [JBoss Seam] - Re: seam-gen build

2007-03-25 Thread atao
I change my question... If I use the Eclipse clean command for the project, I get the compilation of all the project java files... and a little more: jboss seam's class files are also compiled under test-build and then copied under exploded-archives/[project].jar Is it on purpose? I tried

[jboss-user] [JBoss Seam] - Re: How to truncate output?

2007-03-25 Thread atao
You can use jstl functions: | xmlns:fn=http://java.sun.com/jsp/jstl/functions; | | [...] | | h:outputText value=#{fn:substring(aString, 0, 5)}.../ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031393#4031393 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:convertDateTime subtract 1 day

2007-03-07 Thread atao
It's a known issue with dateConverter. By default GMT is used. If your server isn't in GMT+1, then... the first day of a month can become the last day of the previous month! To avoid this: - fixe timezone explicitly - use joda library - use a converter as the one you tested - ... Pierre

[jboss-user] [JBoss Seam] - Re: s:convertDateTime subtract 1 day

2007-03-07 Thread atao
anonymous wrote : | If your server is in GMT+1 | indeed Sorry for the noise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025823#4025823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025823

[jboss-user] [JBoss Seam] - Re: Setting up an ajax4jsf + trinidad project

2007-03-02 Thread atao
Hello, anonymous wrote : added the trinidad and a4j-trinidad jar Can you be more specefic? trinidad-api-incubator-m1-SNAPSHOT.jar and trinidad-impl-incubator-m1-SNAPSHOT.jar? anonymous wrote : to WEB-INF/lib and added them to the build.xml to be added to the ear are they copied in the root

[jboss-user] [JBoss Seam] - Re: Seam breaks with Groovy

2007-03-01 Thread atao
Hello, thirdparty-all.jar doesn't contain the full asm library. The simplest way is to use the groovy archive with dependencies, that is groovy-all-1.0-RC-01.jar. Regards Pierre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024509#4024509 Reply to the

[jboss-user] [JBoss Seam] - seam-gen : two attributes of same kind in an entity

2007-02-28 Thread atao
Hello, I use seam-gen (seam 1.1.7.RC1) to generate list and home classes from entities with jpaconfiguration . One class, Contract, has two attributs, seller and purchaser, with the same type Party. The generated ContractHome class contains: | @In(value =

[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

2006-12-21 Thread atao
Hello you are using Trinitad with a4j, so try with ajax4jsf 1.0.5 and a4j-trinidad.jar see https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/download.html#binary Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995542#3995542 Reply to the post :

[jboss-user] [JBoss Seam] - Re: i18n validation message during test

2006-11-26 Thread atao
Richard read the thread http://www.jboss.com/index.html?module=bbop=viewtopict=93507 to get some more explanations about NotNull annotation and validation tag. Pierre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3988670#3988670 Reply to the post :

[jboss-user] [JBoss Seam] - Re: some help with s:validate/ please...

2006-10-30 Thread atao
anonymous wrote : JSF only runs validatation (in this case the HibernateValidator via the s:validate/s:validateAll tags) if the input field isn't empty. To check that a field is not null / not an empty string you need to use the required=true attribute on the JSF component tag. | bsmithjj

[jboss-user] [JBoss Seam] - Re: some help with s:validate/ please...

2006-10-30 Thread atao
anonymous wrote : If the field is null the hibernate validator won't run | As I understood, required=true is needed to be sure that any hibernate validators specified will be run with s:validate(All). But what about: - if null value, I don't care (a value is optional) - but if a value is

[jboss-user] [JBoss Seam] - Re: some help with s:validate/ please...

2006-10-30 Thread atao
anonymous wrote : In other words what I am saying is that all hibernate validators work as you describe EXCEPT @NotNull/@Length(min=1). OK. After some more trials, I found that with no required=true and: - @NotNull, the null value is accepted! - any other hibernate validation which assumes a

  1   2   >