Triggering a topics

2007-10-30 Thread Grish
Hi, I'm having a hard time trying to implement this - I want to have a select box containing options for the user to select the update frequency of my div tag. So my select box has "no refresh", "30 seconds", "60 seconds", "120 seconds" and depending on what the user selects the frequency will ch

Multi language support in struts layout datagrid - didn't g et any reply

2007-10-30 Thread nagesh.kumar
Hi All, I have implemented already Struts DATAGRID now fasing a prob , I need to support multi language fileds in this datagrid layout . How can I show a filed in english and another field in japan in the same datagrid . Any solution please mail me Thanks & Regards Nagesh Kumar Reddy

Re: Struts 2.1.x trunk "Could not find property" in tests and running ..

2007-10-30 Thread Jeromy Evans
This is somehow connected to my question before on a migration guide, is it needed? There's no migration guide from 2.0.x to 2.1.x. I agree one will be needed because you can't simply change jars over, but I don't think users should be switching over on-mass anyway yet. If you want to star

Re: [struts] S2: EL in tags 2.0.11

2007-10-30 Thread Dale Newfield
Just in case these "this didn't work" messages were copy-pasted, I'll point out the typos: Chris Pratt wrote: On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: Didn't work: scope="request"/> -Dale - To unsubscr

Re: S2: EL in tags 2.0.11

2007-10-30 Thread Ted Husted
A better long-term solution might be to create a standard JSP 2.0 taglib for Struts 2 that follows the same external API as the Struts 1 EL tags, and didn't use OGNL at all. * http://struts.apache.org/1.3.8/struts-el/index.html This would mean doing without templates, but I think many people are

Re: Struts 2.1.x trunk "Could not find property" in tests and running ..

2007-10-30 Thread Pedro Herrera
I´m having the same problem to building struts 2.1.x trunk ... 'Could not find property [#attr.theme]' Herrera Giovanni Azua-3 wrote: > > hi, > > While building Struts 2.1.x trunk branch test cases I get tons of this > kind of warnings: > > WARNING: [57:14.332] Could not find property [#

Re: I have the solution!

2007-10-30 Thread AlfonsoQuiroga
I made a mistake, the correct xml name is "MyAction-pruebaValid_save-validation.xml" instead of "MyAction-pruebaValid_login-validation.xml" ;-) AlfonsoQuiroga wrote: > > Hi, I was with the same problem (validation for only 1 method), here is > the solution: > > I have this: > class="a

I have the solution!

2007-10-30 Thread AlfonsoQuiroga
Hi, I was with the same problem (validation for only 1 method), here is the solution: I have this: /pages/input.jsp /pages/inputOk.jsp So, if I want a validation for the method "save", I need to put (in actions package) a file called: "MyAction-

Re: changing template for s:text

2007-10-30 Thread Ivan Žučenko
Hi Tom, not yet... but I have no experience contributing to project like this, so I am afraid that my bothering this mail group would overweight the benefit... Also there is one big "?" what is the best way how to share "debug" flag across the all session/page or any scope... also since I am quit

[S2] TabbedPanel

2007-10-30 Thread Veronica Iturrioz
Hi, I'm trying to use de tag tabbedPanel where each tab with remote content. my code is: but it give me this error: "Error Loading '../myAction.do' (200OK) " Someone can help me to solve this problem ? Struts 2.0.9 thanks. Veronica _

Re: S2: EL in tags 2.0.11

2007-10-30 Thread Chris Pratt
On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > That is not possible, because in Struts 2.0.11 you can't use EL in any > Struts tag, including That's why I recommended using the JSTL instead. (*Chris*) - To unsubscrib

RE: S2: EL in tags 2.0.11

2007-10-30 Thread Manuel Correa
That is not possible, because in Struts 2.0.11 you can't use EL in any Struts tag, including mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 12:11 PM To: Struts Users Mailing List Subject: Re: S2: EL in tags 2.0.11 On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > Didn't work: > >

Re: changing template for s:text

2007-10-30 Thread Tom Schneider
The s:text tag is considered a data tag, not a UI tag, so there is no ftl template backing that take. Your only option is to extend the tag to add the functionality that you describe. The functionality you describe sounds like it might be useful to others. Have you considered creating a patch t

Re: S2: EL in tags 2.0.11

2007-10-30 Thread Chris Pratt
On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > Didn't work: value="%{#request['javax.servlet.forward.context_path']"/> > > I think that the best solution is rewrite the tld. Is painful. > > Manuel Correa. > If you're looking for the simplest solution, you should be able to define a reque

RE: Link: new window or new tab

2007-10-30 Thread Rod Bollinger
Keep in mind however in POHTML the "target" attribute is deprecated unless you are doing frames development (which I hope you are not ;-)). The proper way to get a new window is to use the window.open() call from your tag. HTH, -Rod -Original Message- From: Dave Newton [mailto:[EMAIL PR

changing template for s:text

2007-10-30 Thread Ivan Žučenko
Hi all, I have an intention to enabel debug mode in my application and one of the features should be that it shows resource name in front of every localized text in jsp retrieved by For example This is resource would render in html page as: [RESOURCE_1]This is resource. I thought of making my cus

Re: Link: new window or new tab

2007-10-30 Thread Dave Newton
--- Jason Deffenbaugh <[EMAIL PROTECTED]> wrote: > So this is a pretty simple question (I'm new to view > technology) > > How do I control the target of a struts s:a tag? I > want to open the > link in a new window or a new tab. > > I've tried: > > theme="ajax">text > > without having

RES: Link: new window or new tab

2007-10-30 Thread Luciano Costa
Use the simple theme. -Mensagem original- De: Jason Deffenbaugh [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 30 de outubro de 2007 07:55 Para: Struts Users Assunto: Link: new window or new tab So this is a pretty simple question (I'm new to view technology) How do I control t

Link: new window or new tab

2007-10-30 Thread Jason Deffenbaugh
So this is a pretty simple question (I'm new to view technology) How do I control the target of a struts s:a tag? I want to open the link in a new window or a new tab. I've tried: text without having used ajax anywhere else in my app but this just opens in the current window. Help? -Jas

Re: Struts 2 and JasperReports Integration

2007-10-30 Thread Tom Schneider
Can you post the full stack trace, so we can figure out where this is happening? Looking that the example code, it all looks good, so I'm not sure why the myList is null. carmi_cd wrote: > > hi i followed this tutorial.. in JasperReports/Struts 2 Integration > http://cwiki.apache.org/WW/jasper

Re: [s2] forward to another action?

2007-10-30 Thread lbastil
Thank you very much for this hint, it is exactly what I meanwhile have implemented as fallback. Only disadvantage in comparison to an ognl expression is that in case of change I have to change action (code) and recompile ... What do you mean with overly-complex in detail? the approach trying to

how Action Tag may access actionContext of the surrounding Action?

2007-10-30 Thread Ivan Žučenko
Hi all, I am quite new to s2 but like the framework but can not find the right way how ActionTag may cooperate with surrounding Action. Well more exactly I want Interceptors mapped to ActionTag use some objects prepared by Interceptors of the Action. May be example would be best. I have Interceptor

RE: S2: EL in tags 2.0.11

2007-10-30 Thread Manuel Correa
Didn't work: I think that the best solution is rewrite the tld. Is painful. Manuel Correa. -Original Message- From: Desbois Arnaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 3:55 AM To: Struts Users Mailing List Subject: RE: S2: EL in tags 2.0.11 Try this: %{#request['

RE: Multiple Textboxes with same name.

2007-10-30 Thread Dave Newton
Please look at the documentation at http://struts.apache.org/2.x/docs/type-conversion.html All you have to do is expose a collection of your student value object in the action; you might not even need to set up the conversion properties file (I can never remember) and reference the appropriate fi

Re: [s2] forward to another action?

2007-10-30 Thread Dave Newton
--- lbastil <[EMAIL PROTECTED]> wrote: > can I use in struts.xml complex ognl statements? Well... yes, but there's no reason to in this usecase. > > > {1}__show.action > Expose a "target" property in your action and do the lookup there; the destination of your redirect-action would th

Re: Getting started--mapping URLs to pages

2007-10-30 Thread Dave Newton
--- Troy S <[EMAIL PROTECTED]> wrote: > No, but now I have struts.xml in the correct > directory and I am getting the same error. It's being deployed to /WEB-INF/classes? > (Also, where should the jsp file go?) > /menu/Menu.jsp In /menu/Menu.jsp. You may want to turn up the log level to see wha

Exception when tying to display a 404 error page.

2007-10-30 Thread Baptiste GAILLARD
Hi, i'm developping a blog using Struts 2 (2.0.11), I have a strange error in a 404 error page. This error page is defined in my web.xml: 404 /pages/errors/page404.jsp Struts 2 is configured with those lines : struts2 org.apache.struts2.d

Struts 2.1.x trunk "Could not find property" in tests and running ..

2007-10-30 Thread Giovanni Azua
hi, While building Struts 2.1.x trunk branch test cases I get tons of this kind of warnings: WARNING: [57:14.332] Could not find property [#attr.theme] WARNING: [57:14.364] Could not find property [#attr.templateDir] WARNING: [57:14.365] Could not find property [#attr.theme] The same happe

Re: Struts 1.2.7 custom validator problem

2007-10-30 Thread John Doe
I've solved the problem. The only way to validate properly is to add an error to the errors variable. Without this validator will think that everything is OK even if you returned false in validate method. On 10/29/07, John Doe <[EMAIL PROTECTED]> wrote: > > No, there is no exception. > > On 10/28/

Re: RE [ANN] Struts 2.0.11 GA release available

2007-10-30 Thread Ted Husted
For news on the 2.1 front, drop by the dev list. * http://www.nabble.com/-S2--2.1.0-Test-Build-Available-p13471367.html -Ted. On Oct 29, 2007 10:43 PM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > No, that improvement is included in the struts-dojo-plugin used by only > 2.1.x. > > But you can do i

RE: Multiple Textboxes with same name.

2007-10-30 Thread Rajagopal_Yendluri
I am using struts2, Struts-Layout will not support. -Original Message- From: nagesh.kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 3:04 PM To: 'Struts Users Mailing List' Subject: RE: Multiple Textboxes with same name. Use Struts-Layout tag library for this fucntionali

Multi language support in struts layout datagrid

2007-10-30 Thread nagesh.kumar
Hi All, I have implemented already Struts DATAGRID iam fasing a prob , I need to support multi language fileds in this datagrid layout . How can I show a filed in english another field in japan in the same datagrid . Any body has any idea please mail me Thanks & Regards Nagesh Kumar Redd

RE: Multiple Textboxes with same name.

2007-10-30 Thread nagesh.kumar
Use Struts-Layout tag library for this fucntionality and use DATAGRIG component in this Thanks & Regards NAGESH Reddy -Original Message- From: Rajagopal_Yendluri [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 2:43 PM To: Struts Users Mailing List Subject: RE: Multiple Textbo

RE: Multiple Textboxes with same name.

2007-10-30 Thread Rajagopal_Yendluri
Hi, Thanks for all of your support. Here is my requirement, I have to add the students information ( studentname & collegename) in jsp pages. Say I want to add 5 students information (5 studentnames and 5 collegenames). I have a StudentVO, how can I get all this info to my action as a colle

Re: [s2] forward to another action?

2007-10-30 Thread lbastil
Thank you very much for the response! I studied docs and noticed the drawbacks. I could put aside a chaining approach if the following is possible: can I use in struts.xml complex ognl statements? ... {1}__show.action ... now problem is that depending on {