Re: Jasper Report Plugin

2008-07-04 Thread Patrick J Kobly
Title: [Fwd: test] System property java.awt.headless needs to be set to true.  (-Djava.awt.headless=true in the startup for whichever container you're using) PK Felipe Rodrigues wrote: Hi Guys, I'm having a problem when trying to use JasperReport plugin in a linux machine. I'm getting ro

Jasper Report Plugin

2008-07-04 Thread Felipe Rodrigues
Hi Guys, I'm having a problem when trying to use JasperReport plugin in a linux machine. I'm getting root cause java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method

Problem with FormBean containing Lists of LabelValueBeans or something equivalent

2008-07-04 Thread Erik Panzer
Hi all, I have a problem mapping my form bean to a jsp that contains javascript to add html inputs dynamically. I already found out that i can use BeanUtils to add the input values to an ArrayList like this public void setProperty(int iIndex, String inputString) { this.propertyList.add(i

Re: Interceptor to access session objects

2008-07-04 Thread Ralf Fischer
Well, then I'd just use the ScopeInterceptor [1] to transfer arbitraty action properties from one action to another via the session. Works like a charm. Cheers, -Ralf [1] http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/interceptor/ScopeInterceptor.html On Tue, Jun 24, 200

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread Pierrot52
After spending several hours investigating I found that that problem was that Firefox 3 does not properly load the *.js files and each time I have to hit the Back button to see the file. The files are loader correctly but Firefox does not show them. It works fine with Firefox 2 though and I've to

Re: Character Encoding and s:textarea

2008-07-04 Thread Richard Sayre
I found the problem and it does not involve Struts 2.We changed our SQL Server 2005 Text columns to varcharmax. For Java to properly read the characters out of the DB we had to use rs.getCharacterStream. Thank you for your help. On Thu, Jul 3, 2008 at 5:01 PM, Laurie Harper <[EMAIL PROTECTE

RE: Type Casting through OGNL expressions.

2008-07-04 Thread Ajaneesh Rajashekharaiah
Oops! Please ignore my earlier mail. It is working fine, I goofed up too early without looking at the error messages in detail!! The logic that I mentioned below *is* indeed working as expected without me having to do any kind of casting or coersion. warm regards ajaneesh -Original Mes

Type Casting through OGNL expressions.

2008-07-04 Thread Ajaneesh Rajashekharaiah
Hi, I want to do the following, would like to understand if it is possible at all before proceeding any further. basically i am working on generating dynamic screens based on Apache XmlBeans generated classes. While the following is not exactly what i am doing, it will help drive the idea

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread georz1
I know the ajax theme loads a ton of javascript includes. You might be able to add manually just the ones you need for the datetimepicker to see if you can get them to work. Looking on the dojo support boards might help also. Regards, George Pierrot52 wrote: > > Hi georz, > > You're rig

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread Pierrot52
Hi georz, You're right, I double checked and my datetimepickers don't work. I have to find a workaround Thanks. Pierre georz1 wrote: > > Check the pages referenced in your jsp as common/IncludeTop.jsp. See if > it has a and change it to and > see if that fixes it. The downside however

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread Pierrot52
Hi georz I made the changes and it works just great! I have datetimepicker and they work. I don't have tabbedpanel though. Regards. Pierre georz1 wrote: > > Check the pages referenced in your jsp as common/IncludeTop.jsp. See if > it has a and change it to and > see if that fixes it. T

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread georz1
Check the pages referenced in your jsp as common/IncludeTop.jsp. See if it has a and change it to and see if that fixes it. The downside however to doing this is if you have any ajax specific tags in the jsp (tabbedpanel, datetimepicker) they may not work properly and you'll have to find a wor

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread Pierrot52
Yes, It seems to render and then disappears and hangs. I have to hit the back button to see the page. georz1 wrote: > > When you say hangs does it look like it renders and then disappears and > hangs. I'm having a similar issue and have narrowed it down to page theme > being . If I make my pa

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread georz1
When you say hangs does it look like it renders and then disappears and hangs. I'm having a similar issue and have narrowed it down to page theme being . If I make my pages xhtml they render fine. Using Firebug I can see that sometimes the dojo libraries are not loading properly. Unfortunately

Re: Struts2 application doesn't work with Firefox 3

2008-07-04 Thread Pierrot52
Hi Jim, Unfortunately I thougth I had found the problem. Here is one of the JSP files that causes problems. As I said it works fine with Firefox 2. http://www.nabble.com/file/p18280043/editNgasSingleBill.jsp editNgasSingleBill.jsp Thanks Pierre Jim Kiley wrote: > > Do your logs show that

[S2] Checking current month using struts 2 tags

2008-07-04 Thread Milan Milanovic
Hi, I have a list of Fruit's of type class Fruit { String name; Date date; }, and I show those fruits using iterator in my .jsp, like this: ... . Well I need to show some options (e.g., delete fruit) to user if fruit's date is in the current month, how can I check this in my .jsp (inside iterato

Showing valid characters from a validator mask

2008-07-04 Thread Dimitris Mouchritsas
Hi all, I've got a form bean for a user which has a field username (duuhhh:) We use a mask of ^[a-zA-Z_0-9-]*$. Is there a way I can show the valid characters to the user? Currently the error message in ApplicationResources properties is: errors.invalid={0} is invalid. and the xdoclet tags are

Re: Good reasons to migrate from Struts 1 to Struts 2 ?

2008-07-04 Thread Gabriel Belingueres
Check this out: http://struts.apache.org/2.0.11.2/docs/comparing-struts-1-and-2.html 2008/7/4 Fernandes Celinio SGCF <[EMAIL PROTECTED]>: > 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. > >

Re: Anyone want to show me up...

2008-07-04 Thread Gabriel Belingueres
That's right. But in this case it is a hidden field. 2008/7/4 Al Sutton <[EMAIL PROTECTED]>: > The problem with straight is that you don't get the theme based > formatting :( > > Gabriel Belingueres wrote: >> >> simple ways like: >> >> >> >> though I sometimes feel guilty for not using the equiv

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 y

Actions, properties and validation in separate packages?

2008-07-04 Thread Dallas
Hi all! I´m wondering if there´s any way of configuring struts2 to allow me to keep actions, properties and validation in separate packages? At the moment I have one packages, se.intranet.apps which includes all my actions, properties and validations. I´d rather keep them in separate packages,