Re: Validator FrameWork

2006-12-08 Thread Thomas Thomas
Thank u, it works great :-) I have : May I ask u, dear Christopher, what's the difference of it with what u have done :

Another question about Validator

2006-12-08 Thread Thomas Thomas
Hi all, I want to display a message of type "required" if password is not entered, if it is entered and less than 6 chars, display *another* message of type "minlength" I have this for now on, but not completed : minlength

Re: Another question about Validator

2006-12-08 Thread Thomas Thomas
Ok, I used this minlength 6 It work great. Thank u.

Validator - Date validation

2006-12-08 Thread Thomas Thomas
Hi, I see that I can validate a Date with the Validator framework, but don't know how to apply it in my case. my bean has separate variables for day - month - year (it is not one string) I have three fields because he had to choose the date with a select html tag for the day, a select html tag fo

Re: Validator - Date validation

2006-12-08 Thread Thomas Thomas
I make a custom validator myDate I try to give as var value the day and the month, but when I try to get the values of the vars day and month, I get the String literals birthDay and birthMonth day

Re: Validator - Date validation

2006-12-08 Thread Thomas Thomas
I get the String literals and not the real numbers

Re: Validator - Date validation

2006-12-08 Thread Thomas Thomas
Ok everything is fixed, I forgot to do : ValidatorUtils.getValueAsString

No taglib element in web.xml v2.4 ?

2006-12-16 Thread Thomas Thomas
Hi, I have this declaration for my web.xml : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> I can see that this declaration has

Re: Formbean information lost

2006-12-16 Thread Thomas Thomas
Thank u very much Miss Harper. I think it's due to this code, and I don't really know a good way to rectify this : Jour Mois Thank u very much for your support.

Re: No taglib element in web.xml v2.4 ?

2006-12-16 Thread Thomas Thomas
It is fixed Weird that in Eclipse it doesnt show the taglib element ! But I placed this somewhere and it works ! thx !

Re: Formbean information lost

2006-12-26 Thread Thomas Thomas
Thank u ! it works great :-)

org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-23 Thread Thomas Thomas
Hi, been one week I have this error When I try to submit a form, I have this error : 23-nov.-2006 23:38:32 org.apache.struts.validator.DynaValidatorForm validate GRAVE: No such validation met

Re: org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-24 Thread Thomas Thomas
I use Struts 1.3.5 When u talk about signatures, u talk about the doctypes of the validators xml files ? Because I copied pasted them from the struts 1.3.5 examples of validators.

Re: org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-24 Thread Thomas Thomas
Thank u very much.

Validator Framework problem

2006-11-28 Thread Thomas Thomas
Hi, since I added a constraint for the length with minlength, I have the following errror : 28-nov.-2006 21:31:33 org.apache.struts.validator.DynaValidatorForm validate GRAVE: org.apache.struts.util.StrutsValidator org.apache.commons.validator.ValidatorException: org.apache.struts.util.StrutsVali

Struts Tiles, Lose of Performance ? :-(

2006-11-28 Thread Thomas Thomas
I just implemented Struts Tiles in my web application. I love the concept of seperating everything that has to do with layout and the rest. But it seems that I will lose some performance now : 1) The tag tiles:insert doesn't allow to include in a static way a jsp page. 2) Since the head tag is

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
Thank u Chris, I will try that ! Do u have a solution for number 1) ?

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
including CSS in all webpages does not decrease the performance. On 11/29/06, Thomas Thomas <[EMAIL PROTECTED]> wrote: > Thank u Chris, > I will try that ! > Do u have a solution for number 1) ? > > - To

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
ofcourse you can also go for Chris route. On 11/29/06, Thomas Thomas <[EMAIL PROTECTED]> wrote: > They will be cached if the user 'surf' on the webpage, > if I have thousand pages, and he may see two pages, > i am going to store 1000's css files in his cache. > &g

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
any bloody CSS files? > > > -Original Message- > > From: Thomas Thomas [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 29, 2006 4:43 AM > > To: Struts Users Mailing List > > Subject: Re: Struts Tiles, Lose of Performance ? :-( > > > > The

Re: [OT] RE: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
hink of my arguments ? 2006/11/29, Dave Newton <[EMAIL PROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > >> How about not having so many bloody CSS files? > How ? Delete some? Seriously; why are your styles so spread out? Don't you have a consistent style (perhap

Re: [OT] RE: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
ROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > what do u think of my arguments ? I think you have too many CSS files :) I've seen sites with maybe 2-3, but if your site pages are supposed to look the same you might want to consolidate all your style information to avoid dupl

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
e instead. 2006/11/29, Antonio Petrelli <[EMAIL PROTECTED]>: Thomas Thomas ha scritto: > Yes, I think you are right, > I'm doing this all wrong :-( > > I can't include jsp's in a static way with Tiles ? Use or <[EMAIL PROTECTED]> instead. Using Tiles does no

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
I'm trying to understand Tiles ... Instead of this : ** tiles-defs.xml ** ** base.jsp ** [...] I could have this : ** tiles-defs.xml ** ** base.jsp ** <[EMAIL PROTECTED] page="incl/header.jsp" %>

validate question ...

2006-11-29 Thread Thomas Thomas
Hi, My web-application allows a user to authenticate to the website. I check for login and password with the Validator Framework (correct length, correct carachters, ...) Then display with and in my jsp. This work ok. If he the fields are valid, I need to check in my DB if the user is really

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-30 Thread Thomas Thomas
I could just use this : ** tiles-defs.xml ** ** base.jsp ** <[EMAIL PROTECTED] page="incl/header.jsp" %> [...] And use the base.jsp-layout in different pages. And u see I'm not using

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-30 Thread Thomas Thomas
But u suggested me to use the <[EMAIL PROTECTED] ... %> if I want to add static jsp content. Well then it's in contradiction with what u say ! I understand that let u fill the attributes but why do u suggest me then to use <[EMAIL PROTECTED] ... %> ? This attribute will then render always the s

Re: Validator Framework problem

2006-11-30 Thread Thomas Thomas
Nobody can help me ? No-one has *Any* idea ?

How to get a dynaform in the Action class ?

2006-11-30 Thread Thomas Thomas
Hi, I have the following DynaValidatorForm : How am I supposed to get the parameters of this Form bean in the Action class ? public class LoginAction extends Action { public ActionForward execute(

Re: How to get a dynaform in the Action class ?

2006-11-30 Thread Thomas Thomas
Wendy, thank u for your support. I don't know if I need to choose an ActionForm or DynaActionForm for the login page. When do u choose to make it a DynaActionForm ? What's the advantage of it.

Re: How to get a dynaform in the Action class ?

2006-12-01 Thread Thomas Thomas
Well there is still code in the XML, what's the point for having this code in XML then in Java in this case. 2006/12/1, Dave Newton <[EMAIL PROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > I don't know if I need to choose an ActionForm or DynaActionForm for >

Re: How to get a dynaform in the Action class ?

2006-12-01 Thread Thomas Thomas
There is not much code for a FormBean in Java ... I don't see the point to have it in XML

Re: How to get a dynaform in the Action class ?

2006-12-01 Thread Thomas Thomas
If u add a property in a bean, or remove ... I think u will have to change the code anyway and recompile ... 2006/12/1, Dave Newton <[EMAIL PROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > There is not much code for a FormBean in Java ... > I don't see the point

getting formbean properties in Action class

2006-12-03 Thread Thomas Thomas
Hi, To get the properties these two ways work : 1) System.out.println("lastName = " + custForm.get("login")); 2) System.out.println("lastName = " + request.getParameter("login")); Why should I use 1) rather than 2) ? Thank u.

Validator FrameWork

2006-12-07 Thread Thomas Thomas
Hi, I'm using Validator Framework with Struts, Here I want to validate a registration form. I want to add a field property passwordCheck, (the user needs to enters his password twice : the first password will be in property password, the second in passwordCheck) I want to check if value of passwo

Re: Validator FrameWork

2006-12-07 Thread Thomas Thomas
Dear Sean, thank u for your precious support. I added this : test (passwordCheck == password) But it's not working :-(

Re: Validator FrameWork

2006-12-07 Thread Thomas Thomas
Instead of : (passwordCheck == password) I put : (*this* == password) But it still doesn't work

Re: how to integrate struts2 + convention plugin +spring

2009-05-13 Thread thomas
:0 > > F > > On Wed, May 13, 2009 at 11:21 PM, chen thomas > wrote: > > Hi > > > > I'm a Struts 2 newbie .I want to integrate struts2 ,convention plugin and > > spring. > > how to do? anyone give me some advice? > > > > thanks

About multiple Resourcebundles

2004-05-17 Thread SMETS Thomas
access the messages when I have the following in my struts-config : What do I write in my jsp's ? Do I need to add something in my web.xml ? \T, -- Thomas SMETS Architect reengineering

Re: Mulitple Forms per Submits

2004-05-19 Thread Thomas SMETS
bmit buttons ? >> Basically, instead of extending various Forms to have some code >> re-use I think it would be much more interresting to have the >> possibility to post multiple Forms instead of having a Specific form

Re: Message Resources

2004-05-21 Thread Thomas SMETS
rors.add(ActionErrors.GLOBAL_ERROR, new > ActionMessage("errors.general.alphabetic.required", > messages.getMessage(hrOnlineLocale.getLocaleLocale(), > "label.first.name"))); > > Is there a better way to do this? > > TIA, > Glenn -- Thomas SMETS rue J. Wytsmanstraat 62 1050 Brussels - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat startup error using struts.

2004-05-24 Thread Thomas SMETS
iews of the RTA. If you > receive this e-mail in error, please immediately delete it from your > system and notify the sender. You must not disclose, copy or use any > part of this e-mail if you are not the intended recipient. > > --

RE: .properties file --> Again I18n problem

2004-05-25 Thread SMETS Thomas
Check that EVERYTHING is UTF-8 JSP's, java source (irrelevant but ...), property files, ... Weblogic also accepts the following in its weblogic.xml encoding UTF-8 If you do XHTML you can also add the follwoing two to your JSP's. <%@ page pageEncoding="UTF-8" %> Hop

Tiles problem

2004-06-16 Thread Bob Thomas
When I do this ... ... I get the following error message: java.lang.IllegalStateException: Cannot forward after response has been committed What am I doing wrong? Thanks in advance, Bob - Do you Yahoo!? Take Yahoo! Mail with you! Ge

Re: Tiles problem

2004-06-16 Thread Bob Thomas
Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Bob Thomas" To: Sent: Wednesday, June 16, 2004 3:23 PM Subject: Tiles problem > When I do this ... > > > ... > > > > I get the following error message: > jav

Re: Tiles problem

2004-06-16 Thread Bob Thomas
ve a stack trace? At 12:26 PM 6/16/2004, James Mitchell wrote: >Did you configure an error page in your web.xml? > > > >-- >James Mitchell >Software Engineer / Open Source Evangelist >EdgeTech, Inc. >678.910.8017 >AIM: jmitchtx > >- Original Message - >

Re: Tiles problem

2004-06-16 Thread Bob Thomas
tchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Bob Thomas" To: "Struts Users Mailing List" Sent: Wednesday, June 16, 2004 3:34 PM Subject: Re: Tiles problem > We have an error 404 page: > >

Tiles and paths

2004-06-21 Thread Bob Thomas
I have JSPs that work fine using images, stylesheets, etc. from other directories. However, when I put those same JSPs into tiles, the JSPs can no longer find the images, stylesheets, etc. unless I change the paths to those images, etc. These JSPs are in child directories beneath the parent dire

Re: Tiles and paths

2004-06-21 Thread Bob Thomas
ike At 07:18 AM 6/21/2004, Bob Thomas wrote: >I have JSPs that work fine using images, stylesheets, etc. from other >directories. However, when I put those same JSPs into tiles, the JSPs can >no longer find the images, stylesheets, etc. unless I change the paths to >those images,

Re: Tiles and paths

2004-06-22 Thread Bob Thomas
ion so that you never have to worry about these things again, as people have to almost every day on this list, then go to: http://wiki.apache.org/struts/StrutsCatalogEschewUrlForProtocol Mike At 07:18 AM 6/21/2004, Bob Thomas wrote: >I have JSPs that work fine using images, stylesheets, etc. fr

Help on Validator MASK needed

2004-07-30 Thread Thomas Vogt
my actual validation.xml, but I tried combinations like : [+-]{1} or [+-]{1} or [+-]{1} too mask^+|-[0-9]*$ Anyone with an idea on how to solve this problem ?? Thanks Thomas Message sent using Uebi

AW: RE: Help on Validator MASK needed

2004-07-30 Thread Thomas Vogt
Validator MASK needed Datum: 30/07/04 15:14 > have you tried escaping the + and -? [+-] > > > -----Original Message- > > From: Thomas Vogt [mailto:[EMAIL PROTECTED] > > Sent: Friday, July 30, 2004 8:10 AM > > To: [EMAIL PROTECTED] > > Subject: Help on Valid

Re: form tag and root context isssue

2004-08-02 Thread Paul Thomas
ex.jsp) is not available. Is there another solution? I use This works for me on TC 4.1 and TC 5.0. HTH -- Paul Thomas +--+-+ | Thomas Micro Systems Limited | Software Solutions for Business | | Computer

Re: Help on Validator MASK needed

2004-08-04 Thread Thomas Vogt
my ass. ;) Thanks Thomas Robert Miller schrieb: Thomas, I agree with the escaping "+" (without escaping it is interpreted as "must have one or more of the previous"). Also if you wanted you could use "\d" instead of "[0-9]". A modified version that looks good

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Thomas SMETS
s? Which I can't find docs or HOWTO for? I would > be thankful for any help? > > Shedrick > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Thomas SMETS rue J. Wyt

configuration is frozen

2004-08-19 Thread Thomas Burns
I am in the process of finalizing a move to Struts 1.1 under Tomcat 5 and am having problems getting our unit test servlet running properly - I am getting a "java.lang.IllegalStateException: Configuration is frozen" error. The source of the problem seems to be how we define our contexts. In this

Re: Question about authentication

2004-08-25 Thread Bob Thomas
Hi, I'm fairly new to Struts, so if I'm wrong here, I hope the more experienced will correct me. If you extend the 'org.apache.struts.action.RequestProcessor' (or the 'org.apache.struts.tiles.TilesRequestProcessor' if you're using Tiles), then you can simply override the 'processPreprocess(.

Re: [OT] Tomcat MD5 Authentication

2004-08-30 Thread Paul Thomas
On 30/08/2004 22:34 Steven Leija wrote: I'm trying to configure Tomcat to use MD5 encryption for my JDBCRealm. Has anyone successfully gotten this to work? Thanks, Steven Yes. It works a trat for me. Your RDBMS will need to be able to support MD5 passwords of course. -- Paul T

AW: Struts and Quartz Scheduler

2004-09-29 Thread Thomas Vogt
see javax.servlet.Servlet#destroy() 89 */ 90 public void destroy() 91 { 92 } 93 94 } which is to be made public and started in web.xml so it is started on deployment. Hope this helps Thomas - Original-Nachricht Von: Struts Users Mailing List <[EMAIL PROTECTED

AW: RE: Struts and Quartz Scheduler

2004-09-30 Thread Thomas Vogt
. Thanks for the tip ;) Thomas - Original-Nachricht Von: Struts Users Mailing List <[EMAIL PROTECTED]> An: 'Struts Users Mailing List' <[EMAIL PROTECTED]>, 'Thomas Vogt' <[EMAIL PROTECTED]> Betreff: RE: Struts and Quartz Scheduler Datum: 30/09/04 20:2

Nested properties do not work with html-el:image/html-el:submit ?

2004-10-08 Thread Thomas Dudziak
Hi, I wanted to apply the ideas of the "Html Buttons and Struts - The Right Way" tutorial (http://j2ee-01.lagnada.com/struts/html-buttons.htm) to my struts app, but it does not work at all. Here's the JSP snippet : <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> <%@ taglib uri="/WE

Re: tag and DynaActionForm

2004-03-27 Thread Thomas Plümpe
> I have an tag inside a tag, which points to one of my > Struts Actions. My Action utilizes a DynaActionForm, in which I have defined > several form-property entries. One of these form-property entries, lets call it > "imageProperty" matches the property attribute of my tag, also > "imageProp

Re: Struts with Tomcat and Apache

2004-04-10 Thread Paul Thomas
yes, where? Any hint would be apreciated, Ralf. I supect that you're trying to use the old mod_jk connector. Try mod_jk2 instead. -- Paul Thomas +--+-----+ | Thomas Micro Systems Limited | Software Solution

Re: monkeys-bunches-bananas design issue - not Friday

2004-04-10 Thread Paul Thomas
ody got a better way? Probably not better but I've has to overcome the same problem and found that something like public class Monkey { MonkeyDTO ... Bunch[] ... } public class Bunch { BunchDTO BananaDTO[] } with appropriate getters/setters work

wildcards in tiles definitions?

2005-06-19 Thread Thomas Corte
docs don't seem to contain any hint to such a feature. It would, however, be nice to have the same central tiles definition for my common edit/store processes as for Struts itself. Is there something similar available for Tiles? -- Thomas Corte [EMAIL

[OT] Re: running tomcat on port 80

2005-06-23 Thread Paul Thomas
out, only processes run as root can access ports below 1024. Personally, I would never run Tomcat as root. I use Apache/jk2 instead. It works well and is fairly easy to set up. HTH. Paul Thomas +--+---+ | Thomas Micro

Re: Iterate without collection

2005-07-03 Thread Thomas Corte
Hi, Tony Smith wrote: How can I cast int to char in jsp? Try <%= Character.toString (i + 65) %> -- Thomas Corte [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

2 simple tutorials (handling dates, dynamic web tree)

2005-07-17 Thread Thomas Gaudin
Hi folks, I have written 2 online tutorials. They are not 'pure' struts tutorial (but appfuse ones, so they also deal with hibernate, xdoclet, ant..) but I think it can be of interest for some of you. The first one shows how to deal with java.util.date : http://www.thogau.net/page/thogau/tut

Newbie, How to read values from a to a ActionForm?

2005-07-19 Thread Thomas Sundberg
got any good suggestions or tip to offer? /Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Which button was pressed?

2005-07-26 Thread Thomas Sundberg
: I haven't seen any good examples when looking in the docs and searching the web. I assume I wan't to add something to the html:submit, perhaps use the property tag(?), or can I be able to read the value of the button pressed? How do I read the value in my action

Validation Rules method not found

2005-08-12 Thread Doug Thomas
tion error, rather than a coding error. Thanks. Doug Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

rendering output to email or send jsp via emal

2005-08-15 Thread Thomas Hartwig
nt to introduce an other template engine. (velocity). I know further the possibility to do a http sub request, but this is really annoying. Best regards Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Database Best Practices

2005-08-19 Thread Thomas Hartwig
This might overwhelm you question, but it is worth: have a look at Persistence Frameworks: Hibernate or similar. C.F. Scheidecker Antunes wrote: > Hello all, > > In order to access a Database on my Model layer, which one is best? > > 1) A DataSource declared on the struts-config.xml. Then get th

Re: Remotely restart Tomcat.

2004-11-07 Thread Thomas Kellerer
o shut down and restart tomcat. > > For a develop environment webapp restart is ok. > > HTH > Christoph > Do you have any reference (documents, links) for this? Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED

offline dtd

2004-11-08 Thread Thomas Hartwig
how to reference the DTD relative to its application context? Example: Struts tries to fetch the following DTD and stops working if it is not found: http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";> Thanks for any hel

Struts/Dojo/Json question

2009-11-12 Thread Thomas Sattler
Hello all. I am working with some AJAX stuff in Struts 2.1.8, specifically the Dojo toolkit. I have a Grid widget, which is Dojo's row-and-column displayer. The Grid expects data as a properly-formed JSON string. The Grid gives the very helpful "Sorry, an error occured" messge if the dojo resul

Struts Dojo Question

2009-11-13 Thread Thomas Sattler
Hello all. In working through some Dojo stuff, I have come to a roadblock, on which I hope someone will be able to shed some light. I have a page that displays a user's account info. If they press "update", Dojo pops up a dialog box which allows them to update their info. Opening a Dialog box i

Strange behavior after upgrade

2009-11-19 Thread Thomas Sattler
Hello all. I have upgraded a Struts 2.0.11 project to 2.1.8, and I have some strange behavior. The Struts stuff seems to work fine, and the Ajax stuff works fine as well. The Hibernate stuff works as far as reading data is concerned. But when I try to write a record, nothing happens on the data

Re: Hiding URL in struts1.2

2010-01-20 Thread chen thomas
Maybe you could use post method of Form to do this

Re: select box dynamic loads depends on another select box

2010-01-20 Thread chen thomas
Maybe you could use ajax technology to do that . There're some ajax frameworks , such as jQuery , which could help you !

Thomas PERELLE est absent(e).

2010-04-25 Thread thomas . perelle
Je serai absent(e) du 02/04/2010 au 29/04/2010. Veuillez prendre contact avec Bruno Merceron ou Jacques Grisey en mon absence. Je répondrai à votre message dès mon retour. Merci - To unsubscribe, e-mail: user-unsubscr...@strut

Struts 2 : redirect to action method on type conversion fail ?

2010-05-10 Thread Thomas Lulé
potential side-effects, do you have a better idea ? Thanks, Thomas - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2 : redirect to action method on type conversion fail ?

2010-05-10 Thread Thomas Lulé
That interceptor looks great, but is there any way to access request parameters in the prepare() method ? The http request provides an "archiveProfileId" parameter and I use that parameter to load my object "archiveProfile". 2010/5/10 Lukasz Lenart : > Use Preparable interface instead > http://st

Re: Struts 2 : redirect to action method on type conversion fail ?

2010-05-10 Thread Thomas Lulé
It works. Thanks a lot Lukasz and Alex. 2010/5/10 Alex Rodriguez Lopez : > Hi Thomas, > > use the paramsPrepareParams interceptor stack (or change yours), from > struts-default.xml: > > >             > ... > > I think this accomplishes what you are looking for (of

Re: Struts 2 : redirect to action method on type conversion fail ?

2010-05-10 Thread Thomas Lulé
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) ... 2010/5/10 Thomas Lulé : > It works. > > Thanks a lot Lukasz and Alex.

Re: Struts 2 : redirect to action method on type conversion fail ?

2010-05-10 Thread Thomas Lulé
Nevermind, my stacktrace came from that issue : https://issues.apache.org/jira/browse/WW-2850 2010/5/10 Thomas Lulé : > One last thing : > > Even if everything works, I still get a stacktrace when I submit the > form to save my object. > > I think that the params intercepto

Iterate over an ArrayList of arrays

2010-05-11 Thread Thomas Lulé
, but this code obviously doesn't work. Do you have any better idea ? Thank you, Thomas - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Iterate over an ArrayList of arrays

2010-05-11 Thread Thomas Lulé
: ${text} 2010/5/11 Thomas Lulé : > Hi, > > I've got an ArrayList named "breadcrumbs" in my action that > I would like to display in my JSP. > > Something like : >         >            

Re: Iterate over an ArrayList of arrays

2010-05-11 Thread Thomas Lulé
It works ! Thank you very much. 2010/5/11 Steven Yang : > try > >                       ${top[0]} >               > > On Tue, May 11, 2010 at 5:52 PM, Thomas Lulé wrote: > >> I

Struts2: Referring to resources (images, stylesheets, ...)

2010-06-02 Thread Guy Thomas
I have to refer in a Struts2 environment to resources on a jsp page so that they are found whether this page that is the result of a Struts2 action or the result of a direct link. Thank you, Guy Thomas - Aan dit bericht kunnen geen rechten worden ontleend. Alle berichte

RE: where is the datepicker in struts2-core-2.1.8.1

2010-07-11 Thread Guy Thomas
Just integrated jquery datepicker in my application: - maven dependencies: com.jgeppert.struts2.jquery struts2-jquery-plugin 2.2.0 com.jgeppert.struts2.jquery struts2-jquery-grid-plugin 2.2.0 com.j

Repopulating rich controls

2010-07-16 Thread Guy Thomas
In a form I use the struts2 action tag to populate a drop down list: Select an action: Specify search terms:

RE: Repopulating rich controls

2010-07-18 Thread Guy Thomas
rs Mailing List Onderwerp: Re: Repopulating rich controls From the Struts 2 FAQ http://struts.apache.org/2.1.8.1/docs/how-do-we-repopulate-controls-when-validation-fails.html On Fri, Jul 16, 2010 at 4:40 AM, Guy Thomas wrote: > In a form I use the struts2 action tag to populat

RE: Repopulating rich controls

2010-07-19 Thread Guy Thomas
; if (bookAction.equals (SEARCH) && (searchString == null || searchString.equals (""))) addActionError (getText ("bookindexer.error.search.nosearchstring")); } So I did everything as explained on the referred web page, but it didn'

URL authentication

2010-08-08 Thread Guy Thomas
I am adding authentication to a Struts2 web application by implementing an authentication interceptor. With an interceptor, as far as I understand, you can prevent non-authenticated perons from accessing specific actions. However, suppose somebody forwards a URL to a specific pdf-file to a non-

RE: URL authentication

2010-08-09 Thread Guy Thomas
I was thinking of using declarative security (in web.xml) for resource authorization. Is this a good idea? Is it enough? -Oorspronkelijk bericht- Van: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] Verzonden: maandag 9 augustus 2010 15:50 Aan: Struts Users Mailing List Onderwerp: RE:

RE: referencing javascript files from (action) jsp file

2010-10-14 Thread Guy Thomas
javascript files from (action) jsp file On Thu, Oct 14, 2010 at 9:36 AM, Guy Thomas wrote: > What am I doing wrong? > Using relative paths. Dave - Aan dit bericht kunnen geen rechten worden ontleend. Alle berichten naar dit professioneel e-mailadres kunnen door de wer

RE: referencing javascript files from (action) jsp file

2010-10-14 Thread Guy Thomas
Thank you, this works. I would like to draw your attention to possible problems with the struts head tag. See below. Domain Security Administrator: Pas gebruiker aan " rel="stylesheet" type="text/css"> " type="text/javascript"> " type="text/javascript"> is converted into: Domain Security A

Thomas PERELLE est absent(e).

2010-12-20 Thread thomas . perelle
Je serai absent(e) du 17/12/2010 au 22/12/2010. Veuillez prendre contact avec Bruno Merceron ou Jacques Grisey en mon absence. Je répondrai à votre message dès mon retour. Merci - To unsubscribe, e-mail: user-unsubscr...@strut

Thomas PERELLE est absent(e).

2011-08-20 Thread thomas . perelle
Je serai absent(e) du 08/08/2011 au 29/08/2011. Veuillez prendre contact avec Ismaïl Labhal ou Bruno Merceron en mon absence. Je répondrai à votre message dès mon retour. Merci - To unsubscribe, e-mail: user-unsubscr...@struts

  1   2   3   >