Re: Anyone want to show me up...

2008-07-04 Thread Al Sutton
The problem with straight input.. is that you don't get the theme based formatting :( Gabriel Belingueres wrote: simple ways like: input type=hidden name=uri value=%= request.getRequestURI() %/ though I sometimes feel guilty for not using the equivalent S2 tag :P 2008/7/3 Musachy Barroso

Re: Problem from defining JavaBean as an attribute inside ActionForm

2008-07-04 Thread Lukasz Lenart
From day one, as far as I know. What? 4 years of blindness? What a mess, I have to go back to basis, bheee. :P Kind regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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

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

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 input.. is that you don't get the theme based formatting :( Gabriel Belingueres wrote: simple ways like: input type=hidden name=uri value=%= request.getRequestURI() %/

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. Can

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

[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: s:iterator value=fruits ... /s:iterator. 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

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

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 s:head theme=ajax. If I make my pages xhtml they render fine. Using Firebug I can see that sometimes the dojo libraries are not loading

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 s:head theme=ajax.

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 s:head theme=ajax and change it to s:head theme=xhtml 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

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 s:head theme=ajax and change it to s:head

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 s:head theme=ajax and change it to s:head theme=xhtml and see if that

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 right,

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

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

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

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,

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) {

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

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