[jboss-user] [JBoss Tools (users)] - Re: Nightly: NPE DocTypeUtil.getDoctype(DocTypeUtil.java:137

2008-09-01 Thread nhpvti
Hi, anonymous wrote : Yes, please report bugs in jira with steps on how to reproduce - otherwise we can't really give you news :) I was not sure that this is a bug, it could be programming mistake or misconfiguration. There are no Null Pointer exceptions on Windows workstations, only on a Lin

[jboss-user] [JBoss Tools (users)] - Re: Nightly: NPE DocTypeUtil.getDoctype(DocTypeUtil.java:137

2008-08-29 Thread nhpvti
Hi, I've the same problem in Eclipse 3.4 with JBoss Tools 3.0.0 Alpha1 installed via Eclipse Update java.lang.NullPointerException | at org.jboss.tools.vpe.editor.util.DocTypeUtil.getDoctype(DocTypeUtil.java:153) | at org.jboss.tools.vpe.editor.util.DocTypeUtil.getDoctype(DocTypeU

[jboss-user] [JBoss Seam] - Re: WARN TwoPhaseCoordinator.afterCompletion

2008-02-05 Thread nhpvti
"nwray" wrote : Hi, I'm seeing the same issue with the recurring WARN message. I get the following warning from TwoPhaseCoordinator.afterCompletion with each iteration of an async task. Nothing obvious is failing, the warning might be in error or could be due to some misconfiguration on my par

[jboss-user] [JBoss Seam] - Re: Pageflow hides stacktrace

2008-01-22 Thread nhpvti
"Kruno" wrote : When runtime exception originates from method inside SFSB, which is called by pageflow it is not possible to see origin of exception just that pageflow can't call that method. So to actually debug one needs to bypass pageflow to see the real exception. | Is there any way to con

[jboss-user] [JBoss Seam] - Re: Page Navigation Problem

2008-01-18 Thread nhpvti
"grdzeli_kaci" wrote : hi all, | i have page navigation from login page.xhtml to /inbox/maillist.xhtml but it does not working, because i have maillist.xhtml into inbox folder, if i move this page into root directory it works,, is there any specific configuration ? | | my example cod

[jboss-user] [JBoss Seam] - Re: approach using seam tests

2008-01-08 Thread nhpvti
"mhinten" wrote : | - JDK 1.5 !! JDK 1.6 won't work !! | It works with JDK 1.6 too: http://in.relation.to/Bloggers/EmbeddedJBossUpdate For me it was enough only to set the following VM argument in the test run configuration: -Dsun.lang.ClassLoader.allowArraySyntax=true Eclipse TestNG plu

[jboss-user] [JBoss Seam] - Re: [STDERR] com.sun.facelets.compiler.TagLibraryConfig load

2008-01-04 Thread nhpvti
"[EMAIL PROTECTED]" wrote : Those error messages are normal. This is not normal ;-) http://shrubbery.mynetgear.net/wiki/Facelets_'loadImplicit'_error In production environments it would be handy to send all errors to admins by email using SMTP appender, but this "error" would generate a lot of

[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-08-28 Thread nhpvti
"dd_la_frime" wrote : I can't override the character encoding of the client and the fact that I can't get my well formed html params in GET action. | According to the reference http://docs.jboss.com/seam/1.2.1.GA/reference/en/html_single/ character encoding filter anonymous wrote : Sets the

[jboss-user] [JBoss Seam] - Re: EntityController not testable?

2007-07-23 Thread nhpvti
"[EMAIL PROTECTED]" wrote : Run it inside a SeamTest. | Does your answer mean that EntityController subclasses can be tested in an integration test, but not in a unit test if they rely on a logger or faces messages? public class MyEntityControllerTest extends SeamTest | { | | @Tes

[jboss-user] [JBoss Seam] - EntityController not testable?

2007-07-23 Thread nhpvti
It seems that testing of classes derived from EntityController is impossible if a logger or faces messages are in use. Good news: EntityController has method setEntityManager Bad news: similar methods for logger and faces messages are missing. For example calling this.addFacesMessage("some te

[jboss-user] [JBoss Seam] - Re: Can the EJBs be on a remote server ?

2007-07-22 Thread nhpvti
"femski1" wrote : | I would like to move EJB tier to a remote server located behind a firewall away from Tomcat container on the web server. I thought this was pretty standard configuration for 3-tier applications. Actually a firewall is not an adequate motivation for deploying web- and EJB

[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?

2007-06-14 Thread nhpvti
"petemuir" wrote : in fact its because Java2D doesn't support writing to a gif, probably because of licensing issues It was my first suspicion... Good news is that it is nevertheless possible and even animated: "shakenbrain" wrote : | You'd have to update this to allow for "gif" format types

[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?

2007-06-14 Thread nhpvti
"shakenbrain" wrote : I guess I'm not following you. Where is this uploaded image supposed to be shown? How are you storing it? seamspace example, JBoss AS 4.0.5 GA, Seam 1.2.1 GA Images are stored in the database and shown on the start page or in the user's profile. It works for JPEG and PN

[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?

2007-06-14 Thread nhpvti
"shakenbrain" wrote : You can upload any kind of file with the file upload component. Yes, I can upload any content and I can see binary data of the gif image in the database with contentType field set to image/gif But the problem is that web browsers (e.g. IE7, Firefox 2.x, Opera 9.x) don't

[jboss-user] [JBoss Seam] - Do file upload component support jpeg and png only?

2007-06-14 Thread nhpvti
We'd need GIF images upload functionality. Here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=100433&postdays=0&postorder=asc&start=0 I found a statement that anonymous wrote : seamspace only supports jpeg and png Question: does this mean that the file upload component does not suppor

[jboss-user] [JBoss Seam] - Re: JSF Composition Components with Seam

2007-05-17 Thread nhpvti
"fernando_jmt" wrote : I have this in my web.xml: | | | | | | facelets.LIBRARIES | | | | /WEB-INF/facelets/myapp.taglib.xml | | | | | | | | ... | Finally I moved all my component stuff into /view/component/ and

[jboss-user] [JBoss Seam] - Re: JSF Composition Components with Seam

2007-05-16 Thread nhpvti
"fernando_jmt" wrote : And, also tell us where is located your field.xhtml? | | webapp/ ? | webapp/WEB-INF? | ...etc. | Thank you for the prompt reply. This is exactly the reason. I've placed taglib file and the component source into /WEB-INF/facelets/tags/my.taglib.xml (as you can s

[jboss-user] [JBoss Seam] - JSF Composition Components with Seam

2007-05-15 Thread nhpvti
I read this article http://www-128.ibm.com/developerworks/java/library/j-facelets/index.html and was excited about the possibility to compose quickly simple JSF components from source files: web.xml | facelets.LIBRARIES | | /WEB-

[jboss-user] [JBoss Seam] - Re: Creating PDFs Programmatically

2007-04-18 Thread nhpvti
"jgilbert" wrote : I have the seam-pdf functionality working in my application. Now I want to have a background process create PDFs periodically. Currently I am using commons-httpclient to call out and back into my app and handle the redirect to create a PDF. | | It works but does anyone ha

[jboss-user] [JBossWS] - Re: Error consuption web service

2007-03-27 Thread nhpvti
And I had this error when running JBoss ESB trialblazer example with JDK 1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032053#4032053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032053 __

[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-10-02 Thread nhpvti
anonymous wrote : java.lang.NoSuchMethodError: org.apache.myfaces.renderkit.html.util.DummyFormUtils.isWriteDummyForm( As far as I remember I had the same error when running Tomahawk with myfaces from the JBoss distribution. Then I've replaced myfaces with the version 1.1.3 from http://www.my

[jboss-user] [JBoss Seam] - Re: seam messages

2006-09-28 Thread nhpvti
"carojas" wrote : Hi, | | I can change the messages. one link to according place in JSF docs or a couple of words about the solution would be more informative for people who are reading this thread ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=397

[jboss-user] [JBoss Seam] - Re: how can i control seam for stopping RENEW the tables in

2006-09-19 Thread nhpvti
"texan" wrote : There's an entry in persistence.xml that causes the database tables to be dropped and recreated. Just remove that. Why remove? create, update and none are the possible options here. See Hibernate documentation for details View the original post : http://www.jboss.com/index

[jboss-user] [JBoss Seam] - Re: Please help: cannot integrate ICEfaces into Seam applica

2006-09-18 Thread nhpvti
After receiving no clues in Seam and ICEsoft forums and after reading this interview http://www.jsfcentral.com/articles/katz-06-16-06.html I will better take a look at ajax4jsf https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/ It looks so, that integrating ICEfaces with any other component lib

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-15 Thread nhpvti
"nhpvti" wrote : | I've tried custom navigation handler for adding language suffix at the end of an action, for example: register_en, register_de | My custom view handler works seamless with JSF navigation and Seam pageflow and forces templates names in the form of name

[jboss-user] [JBoss Seam] - Re: UTF-8 problem within JSF

2006-09-14 Thread nhpvti
"db__" wrote : Basically viewing my test.jsf shows me two byte UTF-8 character in plain text. encoded as #195; Where do you mean exactly: in static text or in an input field? Check this thread for a workaround: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89832 View the original pos

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-06 Thread nhpvti
"perwik" wrote : | but why do this at all when you can have register.xhtml include the locale specific parts instead? In order to reduce number of templates to be generated and supported. Besides CMS contributors should get a "big picture" in preview mode, ideally the whole content part in o

[jboss-user] [JBoss Seam] - Re: Integrating Seam and Icefaces

2006-09-06 Thread nhpvti
"jerome_082006" wrote : Hello, | I shall post a step-by-step howto as soon as I am sure it really works as it should. | Thank you in advance. Tried yesterday and today myself, still without success, and distraught posted my question in a new topic where I described all accomplished steps h

[jboss-user] [JBoss Seam] - Please help: cannot integrate ICEfaces into Seam application

2006-09-06 Thread nhpvti
I succeeded to deploy ICEfaces tutorial samples in JBoss 4.0.4 (can share details if somebody is interested) Now I'm trying to integrate ICEfaces into a Seam scaffold application generated by seam-gen. Threads that I found in this forum und by icesoft gave some ideas, but too little informatio

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-05 Thread nhpvti
"perwik" wrote : Oh, whith "object" and "connections" etc. I was thinking of a database. | I have concerns about retrieving static information at runtime from a database, even using some kind of caching. Why not to use some standard CMS to produce templates and this way avoid overhead at r

[jboss-user] [JBoss Seam] - Re: Seam integration with ICEfaces

2006-09-04 Thread nhpvti
end of thread, according to the following discussion it should be possible http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89513 I'll try myself tomorrow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969291#3969291 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-04 Thread nhpvti
"perwik" wrote : One option would be to see each static content item as one object and then connect a number of translations to it. Then you show the translation corresponding to the current locale using the same rules as the properties files (i.e showing the default locale when the selected loc

[jboss-user] [JBoss Seam] - Re: Internationalized hibernate validator messages JBSEAM-86

2006-09-04 Thread nhpvti
"nhpvti" wrote : Hi, | | JBSEAM-86 issue states that the issue has been fixed. Bu it doesn't work for me in JBoss-Seam 1.0.1.GA | | My error was placing ValidatorMessages properties files in WEB-INF/classes directory. They shoul be placed at the root of the EAR file.

[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-09-04 Thread nhpvti
"mosabua" wrote : Thanks Raja. Thats good to know. I will probably migrate to that approach for now. However it would still be better for Seam to handle that a bit more cleanly and have an example of it in the code base. Works good if all the error messages are required to be displayed on the o

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-04 Thread nhpvti
"mrohad" wrote : that's a great - thanks , I wonder what design pattern do you use with seam/ejb3.0 in order to retrieve text in different languges from the db to the JSF pages It should be misunderstanding. I'm speaking about user input in native language that should be stored in a database a

[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-09-04 Thread nhpvti
"mosabua" wrote : | @NotNull | @Length(min = 2, message="{person.lastName.length}")) | public String getLastName() | { | return lastName; | } | | A seam-gen generated scaffold application relies only on the Seam properties files, for example : @NotNull @Length(min = 1, max =

[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-09-04 Thread nhpvti
"bfo81" wrote : I don't think it's necessary to alter jars. Have a look at the way I made it work ;). Thank you, you are right. I followed your instruction and it works at least for the standard components. I didn't try AJAX components from the Sandbox yet. Should they work as well? Here my re

[jboss-user] [JBoss Seam] - Step-by-step localization guide

2006-09-04 Thread nhpvti
You know, most of us in the world are natively speaking not English. So I think that it would make sense to pre-configure Seam samples and seam-gen to produce ready-to-localize applications. I spent last Friday by figuring out how to fill this gap. Here is my step-by-step localization guide co

[jboss-user] [JBoss Seam] - Re: Integrating Seam and Icefaces

2006-09-01 Thread nhpvti
"jerome_082006" wrote : Problem solved, thank you. | | Regards, | Jerome. Would you be so kind to share step-by-step set up instructions for using IceFaces with Seam? If they really can work together nothing can stop triumphal procession of the Seam !!! :-) View the original post : htt

[jboss-user] [JBoss Seam] - Re: unicode escaping problem

2006-09-01 Thread nhpvti
"lcoetzee" wrote : Hi | | I havent tried the filter solution above. The following | https://facelets.dev.java.net/servlets/ReadMsg?list=users&msgNo=1403 | has helped me! In short it uses a JSF Phase listerner. | | Regards | | Louis(now in multiple languages ;-) | | |

[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-08-30 Thread nhpvti
"SmokingAPipe" wrote : ... I'll post exactly what I did, and maybe a framework with all the jars, web.xml, etc, ready to use. That's the hardest part: just getting the build env ready for use. | for the beginning we would appreciate exact description how to alter the jars, web.xml etc. Vie

[jboss-user] [JBoss Seam] - Seam integration with ICEfaces

2006-08-25 Thread nhpvti
Hi, I have found this thread in some ICEsoft forum: http://support.icesoft.com/jive/thread.jspa?messageID=8991 Is it generally possible to integrate ICEfaces with Seam? Here online-demo: http://component-showcase.icesoft.com/component-showcase/ View the original post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: Internationalized hibernate validator messages

2006-08-24 Thread nhpvti
Additional info: I've placed validator.properties validator_en.properties validator_de.properties into \jboss-seam-1.0.1.GA\examples\booking\resources\WEB-INF\classes But they are ignored View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967283#3967283 Re

[jboss-user] [JBoss Seam] - Re: Internationalized hibernate validator messages JBSEAM-86

2006-08-24 Thread nhpvti
Hi, JBSEAM-86 issue states that the issue has been fixed. Bu it doesn't work for me in JBoss-Seam 1.0.1.GA server.log has e.g. such lines: DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.re