Re: Jasper Report Problem in HTML format

2010-06-21 Thread Celinio Fernandes
    net.sf.jasperreports.j2ee.servlets.ImageServlet         ImageServlet     /servlets/image   HTH Best regards, Celinio Fernandes --- On Mon, 6/21/10, Amol Ghotankar wrote: From: Amol Ghotankar Subject: Re: Jasper Report Problem in HTML format To: "Struts Users Mailing List" Date: Monday, June 21, 201

[Struts 2.1.8.1 and JBoss 6.0.0 M3] cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'

2010-06-14 Thread Celinio Fernandes
Hi, I already had this error in the past (with Struts 2.1.8 and Jboss 6.0.0 M1). And I know there is a JIRA issue about it : https://issues.apache.org/jira/browse/WW-3299 And I already asked about this error in the past. I fixed it by extracting the struts-tag.tld file from the library struts2-co

Standalone Dojo library with Struts 2.1.8 (conflict with the Dojo plugin)

2010-04-07 Thread Celinio Fernandes
Hi, I am trying to use the Dojo library as a standalone resource with Struts 2.1.8. The problem is that i have already included the Dojo plugin for Struts 2.1.8 (the jar is inside WEB-INF/lib). There seems to be a conflict now. Because the autocompleter I used before no longer works if i includ

Live search with Dojo (Ajax) and Struts 2

2010-04-06 Thread Celinio Fernandes
Hi, I am using Struts 2.1.8 and the Dojo plugin. What i am trying to realize is the following : the user has to fill a field that corresponds to a REFERENCEID. I want to help that user to type in the REFERENCEID by suggesting 20 REFERENCEID as soon as he types in a digit. For instance, if he types

Re: Translation Properties

2010-03-29 Thread Celinio Fernandes
Hi, I use Babel Fish, which is a freeware and written in Java. It is available here : http://www.softpedia.com/get/Others/Home-Education/Babel-Fish.shtml It's pretty cool. --- On Fri, 3/26/10, CRANFORD, CHRIS wrote: From: CRANFORD, CHRIS Subject: Translation Properties To: "Struts Users Mai

Re: Pagination with Struts 2.1.8 ?

2010-03-29 Thread Celinio Fernandes
: http://displaytag.sourceforge.net/1.2/tut_basic.html Works with lists and handles pagination, data export, I recommend it! Em 29-03-2010 11:07, Celinio Fernandes escreveu: > Hi, > This is a classic requirement. > I have this table, in a JSP, that I have created with the  html tag > and

Pagination with Struts 2.1.8 ?

2010-03-29 Thread Celinio Fernandes
Hi, This is a classic requirement. I have this table, in a JSP, that I have created with the html tag and that i have filled using the . This tag iterates over an ArrayList defined in my action. There are too many lines and I need to add some pagination functionality to it. What solutions are o

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-25 Thread Celinio Fernandes
List" , "Celinio Fernandes" Date: Wednesday, March 24, 2010, 3:42 PM I wrote a small custom tag which builds the link with the existing action and parameters. This way it just reloads the page. I also included a parameter that wouldn¹t allow the change (a jQuery dialog would give the use

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-25 Thread Celinio Fernandes
ent window removing the href attribute from tag. Florin Cazacu. Celinio Fernandes wrote: > Hi, > I am using Struts 2.1.8. > In a JSP, I have a link which calls an action. I want to open that link in a > new window. The following code works : >     href="%{genererRapportPDF}"

[Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Celinio Fernandes
Hi, I am using Struts 2.1.8. In a JSP, I have a link which calls an action. I want to open that link in a new window. The following code works :      Generation        The problem is that it also calls the action / opens the link in the current window. How to avoid that ? Thanks.   

[Struts 2.1.8.1] Internationalizing Tiles ?

2010-03-20 Thread Celinio Fernandes
Hi, does anyone know how to internationalize Tiles ? I read that one can have tiles-en.xml, tiles-fr.xml etc, just like the internationalization in Struts (messages.properties, messages-en.properties ...). But I have not found a proper configuration of the web.xml for that. Thanks.

[Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-19 Thread Celinio Fernandes
hi, I have a quick and basic question. Regarding internationalization, whenever a user clicks on a link with a flag, i want to change the locale (language) of the web application. That works well with the i18n interceptor. However i always redirect the user to the home page (home.jsp) when i do th

[Struts 2.1.8] Displaying images in a report with the JasperReports plugin

2010-02-07 Thread Celinio Fernandes
Hi, Using Struts 2.1.8 and the JasperReports plugin for Struts 2 struts2-jasperreports-plugin-2.1.8.jar. I am trying to display an image in a PDF report. That image is stored as BLOB in the database. In struts.xml I have specified the following code:         rapports\ficheArticle

RE: [Struts 2] OGNL debug console not working

2010-01-20 Thread Celinio Fernandes
I have done that of course, else i would not see the console in the popup. The problem is elsewhere. Does anyone have an idea ? Thanks. --- On Wed, 1/20/10, Raghuveer wrote: From: Raghuveer Subject: RE: [Struts 2] OGNL debug console not working To: "'Celinio Fernandes'&qu

[Struts 2] OGNL debug console not working

2010-01-20 Thread Celinio Fernandes
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] Timer with Dojo tag

2009-12-29 Thread Celinio Fernandes
Hi, I am using a timer with the Dojo tag . It works well. The only "problem" is that when i use a timer then the content does not load immediately the first time i load the page. It loads after 5 seconds only, which is the frequence of reloading. How do i load the content of the tag immediately

[Struts 2.1.8] Dependency injection and Struts actions

2009-12-28 Thread Celinio Fernandes
Hi, I have a question about dependency injection in Struts 2 actions. Dependency injection (JSR 330) is integrated in Java EE 6 which has become final a couple of weeks ago. Struts actions are not managed objects but is there a way with some available dependency injection implementation to injec

Re: Struts 2.1.8 with Spring Web Flow plugin

2009-12-25 Thread Celinio Fernandes
e fixed to work with SWF 2. musachy On Fri, Dec 25, 2009 at 11:54 AM, Celinio Fernandes wrote: > Hi, > does anyone know a tutorial or an example about Struts 2 with the Spring Web > Flow plugin ? > There is this one : > http://cwiki.apache.org/S2PLUGINS/spring-webflow-plugin.html

Struts 2.1.8 with Spring Web Flow plugin

2009-12-25 Thread Celinio Fernandes
Hi, does anyone know a tutorial or an example about Struts 2 with the Spring Web Flow plugin ? There is this one : http://cwiki.apache.org/S2PLUGINS/spring-webflow-plugin.html But it's kind of old and not very informative. What is the status of that Spring Web Flow plugin in Struts 2.1.8 ? Tha

[Struts 2.1.8] Dojo with Tiles: works or not ?

2009-12-17 Thread Celinio Fernandes
Hi, I already posted a message about my problem, yesterday. I followed this example here : http://struts.apache.org/2.1.8.1/docs/struts-2-spring-2-jpa-ajax.html It works well. However if i put the JSP pages inside Tiles, then it does not work. What happens is that the page seems to refresh all the

[Struts 2.1.8] Message properties on SUBMIT tag not working

2009-11-29 Thread Celinio Fernandes
Hi, I have a message properties file in my web application. I use it for many tags such as textfield, text ... For instance : It works well except with the SUBMIT tag :     I get this error, whether i use name or key : 20:33:21,198 INFO  [BeanSelectionProvider] Loading global messages from me

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

2009-11-15 Thread Celinio Fernandes
Hi, I have struts2-core-2.1.8.jar and xwork-core-2.1.6.jar in my classpath. I read that there are many problems of conversion using the datetimepicker tag. I checked the vault page here : http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#Troubleshootinggui

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

2009-11-08 Thread Celinio Fernandes
Can someone provide a patch for it asap ? http://jira.opensymphony.com/browse/XW-678 JBoss 5.1.0 GA users are stuck without it. Thanks in advance. From: Celinio Fernandes Subject: [Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ? To: &qu

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

2009-11-08 Thread Celinio Fernandes
Hi, this is my configuration : Struts 2.1.8 JBoss AS 5.1.0 GA jdk6 I am facing the same problem as described in this JIRA issue : http://issues.apache.org/struts/browse/WW-2948 I am stuck on this, can anyone suggest a work around ? This is the part in web.xml that causes the trouble :        

Help needed to use the scope interceptor for a wizard

2009-02-21 Thread Celinio Fernandes
Hi, I am trying to implement a wizard form in Struts 2, using the SCOPE INTERCEPTOR. That wizard is used to register a new user. I have 3 pages : In the first page, the user chooses a login and a password. In the second page, the user enters his phone number, age, first name, name, fax. In the th

RE: Message properties not displaying

2008-12-30 Thread Celinio Fernandes
? > > Thanks > > --- On Mon, 12/29/08, Gordian Yuan wrote: > From: Gordian Yuan > Subject: Re: Message properties not displaying > To: "Struts Users Mailing List" , cel...@yahoo.com > Date: Monday, December 29, 2008, 10:26 PM > > Hi, Celinio > do you decl

Re: Message properties not displaying

2008-12-30 Thread Celinio Fernandes
Subject: Re: Message properties not displaying To: "Struts Users Mailing List" , cel...@yahoo.com Date: Monday, December 29, 2008, 10:26 PM Hi, Celinio do you declare or ?  you can simple try   On Sun, Dec 28, 2008 at 5:44 PM, Celinio Fernandes wrote: Hi, I am trying to display a l

Message properties not displaying

2008-12-28 Thread Celinio Fernandes
Hi, I am trying to display a label using messages in a property file src/global-messages.properties : personBean.firstName=Your first name (The default locale i am using is en_US) In struts.xml i declared it :   In a JSP i try do display a label : The HTML code generated is : The text is

Re: Accessing a session object defined in an action

2008-09-14 Thread Celinio Fernandes
hey, never mind, i fixed it. I forgot to import the struts-tags taglib in the second JSP. --- On Sun, 9/14/08, Celinio Fernandes  wrote: From: Celinio Fernandes Subject: Accessing a session object defined in an action To: "Struts Users Mailing List" Date: Sunday, September 14, 200

Accessing a session object defined in an action

2008-09-14 Thread Celinio Fernandes
Hi, I have not played much with Struts 2 yet, so forgive me if this question is too easy. Inside an Action ActionA, I put an object into a session, like this : public class ActionA extends ActionSupport { ... Map session = ActionContext.getContext().getSession(); session.put("test", test1); ...