[Struts 2] ?debug=console (devMode) not working

2010-01-20 Thread Fernandes Celinio
Hi, I am trying to run the debug console that is available in a popup when you append the URL with ?debug=console It is described here : http://struts.apache.org/2.0.14/docs/debugging.html Here is the URL i used : http://localhost:8085/myWebApp/doLogin.action?debug.console It complains that it

[Struts 2.1.8] Is the Dojo plugin really deprecated on Struts 2.1 ?

2009-12-21 Thread Fernandes Celinio
Hi, According to the documentation, the The Dojo plugin will be deprecated on Struts 2.1. http://struts.apache.org/2.1.8/docs/ajax-tags.html Is that true ? I have been playing with it lately, it seems to work well. If it is really deprecated, what is the replacement then ? jQuery ? What

RE: [Struts 2.1.8] Is the Dojo plugin really deprecated on Struts 2.1 ?

2009-12-21 Thread Fernandes Celinio
available somewhere ? Thanks. -Message d'origine- De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Envoyé : lundi 21 décembre 2009 12:53 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Is the Dojo plugin really deprecated on Struts 2.1 ? 2009/12/21 Fernandes Celinio cfernan

JBoss 5.1.0 GA, Struts 2.0 and EJB 3.0 : SecurityClientFactory

2009-12-18 Thread Fernandes Celinio
Hi, I have developped a stateful session bean where access to methods are restricted : @SecurityDomain(myDomainBlabla) @RolesAllowed({xxx, yyy}) @Stateful public class BlablaBean implements BlablaRemote { @RolesAllowed({xxx}) public void doSomething(User user) {

[Struts 2.18] Dojo tags and attributes (listenTopics, notifyTopics ...) with Facelets

2009-12-16 Thread Fernandes Celinio
Hi, I am using the Dojo example that is described here : http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html It works fine. But if I integrate the 2 JSPs (index.jsp and list.jsp) in a Tiles template then it fails : The JSP index.jsp becomes involved in some sort of infinite

RE: [Struts 2.18] Dojo tags and attributes (listenTopics, notifyTopics ...) with Facelets

2009-12-16 Thread Fernandes Celinio
By the way, I am using Struts 2.1.8, not 2.18 of course. -Message d'origine- De : Fernandes Celinio [mailto:cfernan...@sopragroup.com] Envoyé : mercredi 16 décembre 2009 18:26 À : Struts Users Mailing List Objet : [Struts 2.18] Dojo tags and attributes (listenTopics, notifyTopics

RE: [Struts 2.1.8] Dojo tags and attributes (listenTopics, notifyTopics ...) with Tiles

2009-12-16 Thread Fernandes Celinio
Sorry I got the message completely wrong (end of the day ...) : I meant Tiles, not Facelets ! Any idea ? Thanks. -Message d'origine- De : Fernandes Celinio [mailto:cfernan...@sopragroup.com] Envoyé : mercredi 16 décembre 2009 18:29 À : Struts Users Mailing List Objet : RE: [Struts

[Struts 2 + EJB 3] injection of EJBs into struts 2 actions

2009-12-04 Thread Fernandes Celinio
Hi, I know that it is not possible to inject EJB in Struts 2 actions. The following annotation would not work : @EJB MyBeanLocal mybean; But how come ? Since a Struts action is a servlet and injection works in a servlet, injection should work. Thanks for enlightening me.

[Struts 2 + EJB 3] Display an image

2009-11-27 Thread Fernandes Celinio
Hi, I have an entity bean which has a BLOB attribute. That BLOB attribute maps to a BLOB column in a table in an Oracle database. @Entity public class Boo implements Serializable { ... @Lob @Basic(fetch=FetchType.LAZY) private byte[] image; public byte[]

RE: [Struts 2 + EJB 3] Display an image

2009-11-27 Thread Fernandes Celinio
, Fernandes Celinio cfernan...@sopragroup.com wrote: Hi, I have an entity bean which has a BLOB attribute. That BLOB attribute maps to a BLOB column in a table in an Oracle database. @Entity public class Boo implements Serializable {  ... @Lob        �...@basic(fetch=FetchType.LAZY

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Fernandes Celinio
Any advice, please ? Thanks. -Message d'origine- De : Celinio Fernandes [mailto:cel...@yahoo.com] Envoyé : dimanche 15 novembre 2009 23:08 À : Struts Users Mailing List Objet : [Struts 2.1.8] datetimepicker and action: String or Date ?? Hi, I have struts2-core-2.1.8.jar and

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Fernandes Celinio
This is what I get : java.text.ParseException: Unparseable date: 2009-11-20T00:00:00+01:00 java.text.DateFormat.parse(Unknown Source) -Message d'origine- De : Fernandes Celinio [mailto:cfernan...@sopragroup.com] Envoyé : lundi 16 novembre 2009 10:40 À : Struts Users Mailing

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Fernandes Celinio
: Struts Users Mailing List Objet : Re: [Struts 2.1.8] datetimepicker and action: String or Date ?? 2009/11/16 Fernandes Celinio cfernan...@sopragroup.com: This is what I get : java.text.ParseException: Unparseable date: 2009-11-20T00:00:00+01:00        java.text.DateFormat.parse(Unknown Source

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Fernandes Celinio
Hi Neil, That was a good lead. Thanks. I used this format : SimpleDateFormat formatter = new SimpleDateFormat(-MM-dd'T'HH:mm:ss); I checked the source of the DateTimePicker class to get the correct format. So I got it working now but that was a pain. -Message d'origine- De :

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Fernandes Celinio
I skipped it because I cannot figure out the format to handle that colon in the middle of that time zone. I tried without that time zone and saw that it works anyways. Thanks again. -Message d'origine- De : Neil Aggarwal [mailto:n...@jammconsulting.com] Envoyé : lundi 16 novembre

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-12 Thread Fernandes Celinio
-Message d'origine- De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Envoyé : lundi 9 novembre 2009 20:53 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ? 2009/11/9 Fernandes Celinio cfernan...@sopragroup.com

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-09 Thread Fernandes Celinio
Thanks Likasz. However I am using JBOSS 5.1.0 GA JDK 6, not Jboss 5.0.1 GA. Anyays, I added a constant in struts.xml : constant name=actionPackages value=com.eni.dvtejb.clientStruts2.action / And removed the init-param param-name param-value tags from the web.xml file. It still does not

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-09 Thread Fernandes Celinio
? Thanks. -Message d'origine- De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Envoyé : lundi 9 novembre 2009 12:25 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ? 2009/11/9 Fernandes Celinio cfernan

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-09 Thread Fernandes Celinio
distribution ? -Message d'origine- De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Envoyé : lundi 9 novembre 2009 13:03 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ? 2009/11/9 Fernandes Celinio cfernan

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-09 Thread Fernandes Celinio
9 novembre 2009 13:15 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ? 2009/11/9 Fernandes Celinio cfernan...@sopragroup.com: Is that latest filter implementation part of the Struts 2.1.8 distribution ? Sorry, tiny

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-09 Thread Fernandes Celinio
Any idea ? Thanks -Message d'origine- De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Envoyé : lundi 9 novembre 2009 13:29 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ? 2009/11/9 Fernandes

RE: [Struts 2.1.8] Filter init parameter actionPackages fails on JBoss5.1.0: workaround ?

2009-11-09 Thread Fernandes Celinio
It works if i use an exploded EAR and an exploded WAR. However I get an HTTP 404 error on all actions I try to call. Has there been any change in actions handling between Struts 2.0 and Struts 2.1.8 ? -Message d'origine- De : Fernandes Celinio [mailto:cfernan...@sopragroup.com

RE: advice on building front-end rapidly

2009-11-09 Thread Fernandes Celinio
I would recommend Eclipse. www.eclipse.org -Message d'origine- De : terry.gard...@sun.com [mailto:terry.gard...@sun.com] Envoyé : lundi 9 novembre 2009 15:15 À : Struts Users Mailing List Objet : Re: advice on building front-end rapidly http://netbeans.org On Nov 8, 2009, at 4:32

[Struts 2] Dynamic content of a tooltip for internationalization

2009-10-27 Thread Fernandes Celinio
Hi, How do you render the content of a tooltip dynamic ? I am using several messages_XX.properties files, one for each language. In each properties file, I have defined the key blabla.tooltip. For instance in messages_en.properties: blabla.tooltip=Pay before the end of the term. In

RE: [Struts 2] Dynamic content of a tooltip for internationalization

2009-10-27 Thread Fernandes Celinio
tooltip=%{getText('blabla.tooltip')}/ On Tue, Oct 27, 2009 at 8:16 AM, Fernandes Celinio cfernan...@sopragroup.com wrote: Hi, How do you render the content of a tooltip dynamic ? I am using several messages_XX.properties files, one for each language. In each properties file, I have

RE: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-26 Thread Fernandes Celinio
Hi Michael, Did you fix your problem ? If yes, what was wrong ? -Message d'origine- De : Michael Obster [mailto:mich...@obster.org] Envoyé : vendredi 2 octobre 2009 17:42 À : Struts Users Mailing List Objet : Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say

[Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread Fernandes Celinio
Hi, Is there a problem when using the Convention plug-in with Jboss 5.1.0 ? I mean there is no struts.xml file., the mapping is defined in the Action classes, through the use of annotations such as : @Actions({ @Action(value=/myFirstPath, result...@result(name=success,

RE: [Struts 2.1.6] Convention plug-in not working with Jboss 5.1.0

2009-05-27 Thread Fernandes Celinio
plug-in not working with Jboss 5.1.0 2009/5/27 Fernandes Celinio cfernan...@sopragroup.com: I know it works well with the Tomcat server. JBoss is using Tomcat to serve Java web applications, did you try deploy the same application to standalone Tomcat? Regards -- Lukasz http

[S2 2.0.14] how to save the old and new values of the fields of a form

2009-05-19 Thread Fernandes Celinio
Hi, In struts 2, what are the different ways to keep the previous values of the fields of a form which is being modified (with new values) ? I would like to save in the database the NEW (after modification) and the OLD (before modification) values of the fields of the form. Let's say I have 3

[Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Fernandes Celinio
Hi, Disabled fields by W3 specifications will not get posted on form submission (http://www.w3.org/TR/html4/interact/forms.html#h-17.12.1). s:textfield key=Label_DateCreation id=dateCreation name=dateCreation

RE: [Struts 2] Disabled fields are not posted on form submission

2009-05-13 Thread Fernandes Celinio
2] Disabled fields are not posted on form submission 2009/5/13 Fernandes Celinio cfernan...@sopragroup.com: How do i submit the value of a disabled text field ? Is there an interceptor that already takes care of it in Struts 2 ? By HTML spec, disabled fields aren't send to a server, it isn't

[Struts 2] Menu with tabs: Dojo, Ajax or jQuery tag ?

2009-04-24 Thread Fernandes Celinio
Hi, I need to make a screen with several tabs. I am wondering what is the best solution. I know the Dojo tag that comes with truts 2 : tabbedpanel. It seems to work rather well, but Dojo tags are deprecated i believe ? Are there any other solutions ? With jQuery ? Pure Ajax ? I am using Struts

Validation with XML file using Struts 2.0.14 and Webspere 6.1

2009-04-22 Thread Fernandes Celinio
hi, I am trying to validate the fields of a JSP using the XML validation. I have a file ContactAction-validation.xml that holds the controls to be made. It fails, the validation does not occur. Is there any known bug using Struts 2.0.14 with Websphere 6.1 ? Because it works with JBoss 5, so i

Multi pages - Wizard with Struts 2 ?

2009-02-09 Thread Fernandes Celinio SGCF
Hi, I have a small workflow where the user needs to register. In the 1st screen the user chooses a login and a password. In the 2nd screen the user enters his first name, last name, age, etc In the 3rd and final screen the user enters her/his address. The submit final in the 3rd screen should be

RE: Injecting in Interceptors (Struts2ejb3)

2009-01-21 Thread Fernandes Celinio SGCF
Hello Lukasz, Can you access the source code of this plugin ? http://code.google.com/p/struts2ejb3/ I signed in on google but still cannot see any files. Is that project still empty ? Does anyone see the files ? -Message d'origine- De : Lukasz Lenart

RE: component vs s:include

2009-01-02 Thread Fernandes Celinio SGCF
Hi, To answer your question I am quoting the book Practical Apache Struts 2 Web 2.0 Projects by Ian Roughley : Using the component tag is similar to using an include tag of either the Struts 2 or JSP variety. The difference is conceptual, in that the component tag is meant to be a user

how to disable the back button in Struts 1.2.3 ?

2008-08-18 Thread Fernandes Celinio SGCF
Hi, I want to forbid the user to go back. This Javascript trick does not work in actions: script language=JavaScript window.history.forward(1); /script Is there a way to disable the back button in Struts ? Thanks = Ce message et

how to disable the back button in Struts 1.2.3 ?

2008-08-14 Thread Fernandes Celinio SGCF
Hi, I want to forbid the user to go back. Javascript does not work in actions: script language=JavaScript window.history.forward(1); /script Is there a way to disable the back button in Struts ? Thanks = Ce message et toutes les

Good reasons to migrate from Struts 1 to Struts 2 ?

2008-07-04 Thread Fernandes Celinio SGCF
Hi, we have several web apps that have been developed with S1. I am currently learning S2 and i am studying the reasons why we should migrate to S2. Can you tell me the advantages of migrating to S2 ? I am not sure we should migrate, but i have not checked all new features of S2 yet. Thanks for

Main differences between Struts 1 and Struts 2

2008-04-28 Thread Fernandes Celinio SGCF
Hi, Can anyone tell me what are the main differences between Struts 1 and Struts 2 ? Or point me to links describing them. What was added in version 2 ? Thanks ! === Ce message et toutes les pieces jointes (ci-apres le message) sont