[ANNOUNCEMENT] ApacheCon Europe 2009: Early Bird Deadline Extended until 13th of February

2009-02-10 Thread Martin Cooper
Forwarded at the request of the ApacheCon Europe 2009 Team: Here's some great news for everyone who's thinking of traveling to Amsterdam for this year's ApacheCon Europe. The Early Bird deadline has been extended to Friday, February 13th - and remember, there is a discount of 150 Euro on registrat

Re: [S2.1][Convention] Changing the ActionNameBuilder implemetation

2009-02-10 Thread Musachy Barroso
The implementation is defined as a bean, but we didn't provide a way to change the bean used. That means you can't plugin your implementation without building the plugin yourself. I will fix in trunk soon, if you want to build it yourself, you need to change this file: /plugins/convention/src/mai

Re: Indexed properties in forms

2009-02-10 Thread Dave Newton
You just need a collection/map getter/setter in the action, you don't need an indexed setter. http://struts.apache.org/2.x/docs/type-conversion.html#TypeConversion-CollectionandMapSupport Dave Ignacio de Córdoba wrote: Hi there, I am trying to migrate a form population module from struts1 to

Re: Struts 2 integration with classic struts 1

2009-02-10 Thread Dave Newton
SanJ.SANJAY wrote: Why would the basic integration ask for a plexus listener to be put in web.xml? And by the way do we really need plexus integration when my concern is nly to upgrade from struts 1-2? If you're using the Plexus plugin, then you need whatever else Plexus requires. I'm guessing

[S2.1][Convention] Changing the ActionNameBuilder implemetation

2009-02-10 Thread denis cabasson
Hi folks! I am using Struts 2.0.14 on a project with a fairly big existing codebase. I just tried to upgrade to struts 2.1.6 (as the release is now in GA). We were using extensively the zero configuration approach with the codebehind plugin and I am now looking at upgrading to the convention plugi

Re: submitting a form without a submit button ajax-style

2009-02-10 Thread Wes Wannemacher
On Tuesday 10 February 2009 10:52:33 Sonny Gill wrote: > If using Prototype, you can do it using the Form object. > See http://www.prototypejs.org/api/form/request > > Similarly, Dojo or whatever other library you use should have a way of > submitting the form by an Ajax request. > > Cheers, > Sonn

Indexed properties in forms

2009-02-10 Thread Ignacio de Córdoba
Hi there, I am trying to migrate a form population module from struts1 to struts2 and I am not sure if struts2 supports indexed/mapped value properties. After reading OGNL docs I see that indexed properties are supported both with ints and objects. I guess they refer just to "red" de properties,

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
Ah, that makes sense. I'll try that! Thanks Chris. MG -Original Message- From: Chris Pratt [mailto:thechrispr...@gmail.com] Sent: Tuesday, February 10, 2009 6:41 PM To: Struts Users Mailing List Subject: Re: Out of date documentation? Reading that page it would seem you need something

Re: Out of date documentation?

2009-02-10 Thread Chris Pratt
Reading that page it would seem you need something more like: dojo\..*,^struts\..*,d-\d*-s (*Chris*) On Tue, Feb 10, 2009 at 4:21 PM, Griffith, Michael * < michael.griff...@fda.hhs.gov> wrote: > Really, is that true? I thought there was a way to override the > interceptor just for th

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
Really, is that true? I thought there was a way to override the interceptor just for this action/result http://struts.apache.org/2.1.6/docs/interceptors.html#Interceptors-Inter ceptorParameterOverriding Referring to Method 2 on the above page... MG -Original Message- From: Chris Pratt

RE: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Griffith, Michael *
Gotcha, sorry I couldn't be more help. MG -Original Message- From: Jaarthy [mailto:aarthyj...@yahoo.com] Sent: Tuesday, February 10, 2009 6:14 PM To: user@struts.apache.org Subject: RE: Struts2.1.6 & Tiles 2.1. the same was working fine with Struts2.0.6 and Tiles 2.0. Griffith, Micha

RE: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Jaarthy
the same was working fine with Struts2.0.6 and Tiles 2.0. Griffith, Michael * wrote: > > Jaarthy, > > It looks like your tag is trying to point to a tile, vs. an > action that returns the tile result. > > Here's an example: > > > > > > > >type="tiles">list-proje

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
One solution is to turn down the volume on the logger for OGNL, but that hardly seems like the right idea. I've temporarily solved the problem by setting the logging level to ERROR, but I'd be interested in knowing how this should really work if someone knows the answer. -Original Message--

Re: Out of date documentation?

2009-02-10 Thread Chris Pratt
Shouldn't that be: dojo\..*,^struts\..*,d-\d*-s And remember, the way you have it configured, none of the other interceptors are going to run, only your special params interceptor. (*Chris*) On Tue, Feb 10, 2009 at 3:32 PM, Griffith, Michael * < michael.griff...@fda.hhs.gov> wrote:

RE: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Griffith, Michael *
Jaarthy, It looks like your tag is trying to point to a tile, vs. an action that returns the tile result. Here's an example: list-project.panel HTH, MG -Original Message- From: Jaarthy [mailto:aarthyj...@

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
Ok, here's what is happening... If I don't try to ignore the DisplayTag parameters, I get: 17:23:58,833 INFO [STDOUT] WARN - CommonsLogger.warn(49) | Error setting value ognl.InappropriateExpressionException: Inappropriate OGNL expression: (d - 1341904) - p at ognl.SimpleNode.setValueBod

Re: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Jaarthy
Here is 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";> Struts 2 S

Struts 2 integration with classic struts 1

2009-02-10 Thread SanJ.SANJAY
Why would the basic integration ask for a plexus listener to be put in web.xml? And by the way do we really need plexus integration when my concern is nly to upgrade from struts 1-2? After I put the plexus listeners in the wb.xml : plexus org.apache.struts2.plexus.PlexusFilte

Re: Cookie Intercepter configuration

2009-02-10 Thread Dave Newton
Norris Shelton wrote: Correct, that is the only action that needs cookie information. I believe I was misunderstood. I'm saying that the cookie interceptor is the *only* interceptor that will be called for that action--again, this may be what you intended, but that is something different tha

Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Thanks Musachy -- I really appreciate you pointing this out. I will review the changes to see if it would be cheaper to roll back to 2.1.2. This sort of change that breaks an application is troubling. Peace, Scott On Tue, Feb 10, 2009 at 1:54 PM, Musachy Barroso wrote: > I would say that th

S2 NullPointerException when using jsp:include in WebLogic

2009-02-10 Thread Néstor Boscán
Hi I´m getting the following exception on WebLogic 10.3 with pages that have jsp:include. This works with OC4J 10.1.3.4. The exception is: java.lang.NullPointerException at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupp ort.java:50) Any ideas?

Re: 2.1.6 mystery

2009-02-10 Thread Musachy Barroso
I would say that this change: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java?r1=651946&r2=668602 broke that for you(you were using something that was actually broken). You can grab the value in your action, and make it avail

Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Hey brother -- Actually, I believe the problem is with the action call itself When this action is invoked, my CmsAction identifies the appropriate action name using getContext().getActionInvocation().getInvocationContext().getName(); which is now ALWAYS returning the name that was associated

Re: 2.1.6 mystery

2009-02-10 Thread Musachy Barroso
What does print? musachy On Tue, Feb 10, 2009 at 2:38 PM, wrote: > Does anyone have a clue why > > > > is working differently between 2.1.2 and 2.1.6? I have looked many places > and cannot see the usage pointed out anywhere. Is > this

Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Does anyone have a clue why is working differently between 2.1.2 and 2.1.6? I have looked many places and cannot see the usage pointed out anywhere. Is thisthe only hot sheet for differences? I'd rather not roll back if it's only a s

Re: Unable to specify cookie intercepter via annotation

2009-02-10 Thread Musachy Barroso
You can only reference an interceptor(or result etc) if it is defined in the same package or a parent package. try setting the package of the action to "conap" (use the @ParentPackage annotations) musachy On Tue, Feb 10, 2009 at 2:03 PM, Norris Shelton wrote: > The class is declared as: > public

Unable to specify cookie intercepter via annotation

2009-02-10 Thread Norris Shelton
The class is declared as: public class ViewAction implements CookiesAware {..} It includes the following code: /** * Default method. Returns the applicant personal information. * @return forward - only applicant * @throws Exception SQLException */ @Action(interceptorRe

Re: Struts 2 Portlet Validation Problems

2009-02-10 Thread Greg Lindholm
If you are finding Message Store Interceptor a pain to use you might want to look at my RedirectMessageInterceptor it's a lot easier to use. (Be sure to check out the comments as there is a suggested enhancement to support PortletActionRedirectResult.) http://glindholm.wordpress.com/2008/07/02/

Re: [S1]struts with hibernate

2009-02-10 Thread Lalchandra Rampersaud
ok, thanks andy. if anyone can think of a solution please write me.. - Original Message - From: "Andy" To: Sent: Tuesday, February 10, 2009 9:30 AM Subject: RE: [S1]struts with hibernate There are several things it could be. You could be running out of connections or you could b

RE: [S1]struts with hibernate

2009-02-10 Thread Andy
There are several things it could be. You could be running out of connections or you could be closing a connection and then trying to access it. Not sure its entirely struts related.. > From: lrampers...@ceis.cujae.edu.cu > To: user@struts.apache.org > Subject: Re: [S1]struts with hiber

Re: [S1]struts with hibernate

2009-02-10 Thread Lalchandra Rampersaud
i have the database server on localhost:5432.. it works just fine sometimes and i have stopped every unnecessary background program. - Original Message - From: Jim Kiley To: Struts Users Mailing List ; Lalchandra Rampersaud Sent: Tuesday, February 10, 2009 9:20 AM Subject:

Re: [S1]struts with hibernate

2009-02-10 Thread Jim Kiley
Down in there you have a "java.net.SocketException: Connection reset" ...and repeated "The connection attempt failed." log messages right at the top there. Something's going on between you and your database server; looks like a network problem, or maybe somehow something monkeying with your databa

[S1]struts with hibernate

2009-02-10 Thread Lalchandra Rampersaud
hi, i am using struts 1.3 with hibernate which connects to a postgre database. from time to time i would get an error stating that the hibernate session cannot be opened. what could be the cause of the problem? here is the stack trace of the problem.. - SQL Error: 0, SQLState: 08001 - The co

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
Thanks, I'll give it a try. Cheers! mg -Original Message- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Tuesday, February 10, 2009 11:09 AM To: Struts Users Mailing List Subject: Re: Out of date documentation? Assuming that only the number changes, this should do: d-\d*-s mus

2.1.6 mystery

2009-02-10 Thread stanlick
I just upgraded a website from 2.1.2 to 2.1.6. and something must have changed with respect to this style of action invocation because my site is broken! About My wild card action mapping cms-* expects to get the action name (i.e. cms-topstories) and now the followin

Re: Out of date documentation?

2009-02-10 Thread Musachy Barroso
Assuming that only the number changes, this should do: d-\d*-s musachy On Tue, Feb 10, 2009 at 12:03 PM, Griffith, Michael * wrote: > Can you help me out with the expression? I am terrible with RE. > > -Original Message- > From: Musachy Barroso [mailto:musa...@gmail.com] > Sent: Tuesday,

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
Can you help me out with the expression? I am terrible with RE. -Original Message- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Tuesday, February 10, 2009 10:59 AM To: Struts Users Mailing List Subject: Re: Out of date documentation? The params interceptor takes regular expres

Re: Out of date documentation?

2009-02-10 Thread Musachy Barroso
The params interceptor takes regular expressions, for both accepted and excluded params. musachy On Tue, Feb 10, 2009 at 11:56 AM, Griffith, Michael * wrote: > Is there any way to exclude a parameter using a wildcard expression? I > want to block certain parameters generated by displayTag. > >

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
Is there any way to exclude a parameter using a wildcard expression? I want to block certain parameters generated by displayTag. DisplayTag generates parameters like this: d-1341904-s The actual name of the parameter may vary, but it is always d-*-s... MG -Original Message- From: Mus

Re: There is no Action mapped for namespace / and action name ...

2009-02-10 Thread anah
What do you mean by "re-ordered the libraries and builders"? How did you re-order? Ana John Moose wrote: > > re-ordered the libraries and builders, forced JDK compiler compliance to > 5.0 > ( definitely *not* 6.0 !!) in Eclipse and voila...runs great. never > *really* thought it was a Struts

Re: Out of date documentation?

2009-02-10 Thread Musachy Barroso
That interceptor does exist, but its functionality is also in the params interceptor. True to our motto "if there aren't three different ways of doing it, it ain't Struts 2" :) musachy On Tue, Feb 10, 2009 at 11:25 AM, Griffith, Michael * wrote: > It is possible that the following page is out of

R: model bean from a servlet

2009-02-10 Thread Gianluca Musella
Hi Jack. Thank for your response. The problem is that the login.jsp is called before the user authentication, performed through jaas, and in the in the web.xml, is not possible to specify an action. So I heven't the possibility to pass the model to the login.jsp. The workaround is to abtain

s:include fails with BufferOverflowException, jsp:include works fine

2009-02-10 Thread Ronny Løvtangen
Hi I have a problem with s:include and BufferOverflowException. If I replace s:include with jsp:include then everything is fine. Is it something I'm missing, or should I not rely on s:include? main jsp (from result = success): -- measurementSearchIn

Out of date documentation?

2009-02-10 Thread Griffith, Michael *
It is possible that the following page is out of date: http://struts.apache.org/2.1.6/docs/parameter-filter-interceptor.html It should reference the params interceptor, right?

RE: Struts 2 file upload

2009-02-10 Thread Martin Gainty
Brian reported a bug with that interceptor in 2.1.7 https://issues.apache.org/struts/browse/WW-2985 the fix being created my own subclass of ExecuteAndWaitInterceptor and overrode getNewBackgroundProcess to return my own implementation of BackgroundProcess should test the same error on 2.1.7 dis

interceptors does not work

2009-02-10 Thread Gianluca Musella
This is the interceptor declaration in my struts.xml: org.almayer.web.AlmayerModel session

Re: Cookie Intercepter configuration

2009-02-10 Thread Norris Shelton
Thanks! From: Musachy Barroso To: Struts Users Mailing List Sent: Tuesday, February 10, 2009 10:35:01 AM Subject: Re: Cookie Intercepter configuration It is a bug. This interceptor was added in 2.0.7, and it was never added to struts-default.xml in the 2.1 bra

Re: Validate() method not working

2009-02-10 Thread Sonny Gill
Hi, How come you posted the same (except for slightly different subject) message twice? Anyway, I answered your question while replying to the other mail. May be we should continue any further discussion in that email. Cheers, Sonny On Tue, Feb 10, 2009 at 9:02 PM, taj uddin wrote: > Hi, > > I

Re: problem with validate() method

2009-02-10 Thread Sonny Gill
You need to include the workflow interceptor for validate() to be invoked. Cheers, Sonny On Tue, Feb 10, 2009 at 10:23 PM, taj uddin wrote: > In my application I have used the validate() method but to my surprise i > found that validate method was not being called at all.

Re: submitting a form without a submit button ajax-style

2009-02-10 Thread Sonny Gill
If using Prototype, you can do it using the Form object. See http://www.prototypejs.org/api/form/request Similarly, Dojo or whatever other library you use should have a way of submitting the form by an Ajax request. Cheers, Sonny On Tue, Feb 10, 2009 at 10:52 PM, ulf n wrote: > > Hi! all > > I'

Re: Struts 2 file upload

2009-02-10 Thread Lund
Lund wrote: > > > > newton.dave wrote: >> >> Lund wrote: >>> I'm using Strurs 2.1.2 and the tag >>> in >>> the jsp page. >>> My problem is that while the fileUpload appears to work most of the time >>> I >>> do get java.io.FileNotFoundException: on the .tmp file that Struts uses >>> as >>>

Re: Cookie Intercepter configuration

2009-02-10 Thread Musachy Barroso
fixed in trunk. Thanks. musachy On Tue, Feb 10, 2009 at 10:35 AM, Musachy Barroso wrote: > It is a bug. This interceptor was added in 2.0.7, and it was never > added to struts-default.xml in the 2.1 branch. Just add this to your > struts.xml: > > class="org.apache.struts2.interceptor.CookieInte

Re: Cookie Intercepter configuration

2009-02-10 Thread Musachy Barroso
It is a bug. This interceptor was added in 2.0.7, and it was never added to struts-default.xml in the 2.1 branch. Just add this to your struts.xml: for reference: https://issues.apache.org/struts/browse/WW-2992 musachy On Tue, Feb 10, 2009 at 10:27 AM, Musachy Barroso wrote: > Where is the c

Re: Cookie Intercepter configuration

2009-02-10 Thread Norris Shelton
That is a very good question. Is it supposed to be in the default? I assumed it was there. From: Musachy Barroso To: Struts Users Mailing List Sent: Tuesday, February 10, 2009 10:27:42 AM Subject: Re: Cookie Intercepter configuration Where is the cookie in

Re: Cookie Intercepter configuration

2009-02-10 Thread Musachy Barroso
Where is the cookie interceptor defined? it is not in struts-default.xml: http://struts.apache.org/2.x/docs/struts-defaultxml.html hum..this is weird. musachy On Tue, Feb 10, 2009 at 9:08 AM, Norris Shelton wrote: > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" >

Re: Cookie Intercepter configuration

2009-02-10 Thread Musachy Barroso
Yes, look at the Convention docs: http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-InterceptorRefannotation musachy On Tue, Feb 10, 2009 at 8:48 AM, Norris Shelton wrote: > Correct, that is the only action that needs cookie information. > > Is there some way to configur

Re: Attribute OGNL evaluation issue on struts tag in tag file

2009-02-10 Thread Rich_m
I'm having the same problem, posted it on the opensymphony ognl forum here: http://forums.opensymphony.com/thread.jspa?messageID=625477 QZ wrote: > > We were using JSP EL expression to evaluate parameter value passed from a > custom tag to struts tag defined in that custom tag file. After we >

submitting a form without a submit button ajax-style

2009-02-10 Thread ulf n
Hi! all I'm trying to find a way to submit a form ajax-style without a submit button (Without a page reload). Is it possible at all? Google has been to no avail :( the Form: TIA Ulf _ News, entert

problem with validate() method

2009-02-10 Thread taj uddin
Hi, In my application I have used the validate() method but to my surprise i found that validate method was not being called at all. What ever the code i have placed in the validate method was not being executed. I doubt there was some problem with the interceptors which i have included in the xm

Re: Validation problem when navigating through pages

2009-02-10 Thread Srikanth Goud
Sorry i have done blunder.There is no such issue Srikanth Srikanth Goud wrote: > > Hi, > >I was using default theme before.But to gain full control on UI part i > chaged to simple theme. >Know the problem is > I performed business logic in one the screen. If it is success than

Re: Cookie Intercepter configuration

2009-02-10 Thread Norris Shelton
http://struts.apache.org/dtds/struts-2.1.dtd";> * * From: Jack Qu To: Struts Users Mailing List Sent: Tuesday, February 10, 2009 8:55:

Re: Cookie Intercepter configuration

2009-02-10 Thread Norris Shelton
Correct, that is the only action that needs cookie information. Is there some way to configure this via annotations/Convention plugin? Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton __

Re: Struts 2 Portlet Validation Problems

2009-02-10 Thread Musachy Barroso
Here is the ticket Nils: https://issues.apache.org/struts/browse/WW-2987 musachy On Tue, Feb 10, 2009 at 12:24 AM, Torsten Krah wrote: > Am Montag, 9. Februar 2009 21:48:33 schrieb Nils-Helge Garli Hegvik: >> This should be handled by the default portlet interceptor stack. If it >> doesn't, it'

Re: Cookie Intercepter configuration

2009-02-10 Thread Jack Qu
what's the file:/C:/dev/sun/sjas9_1_u2/domains/domain1/applications/j2ee-modules/conap/WEB-INF/classes/struts.xml:17:44 show text! -- From: "Norris Shelton" Sent: Tuesday, February 10, 2009 9:47 PM To: "Struts Users Mailing List" Subject: Re: Coo

Re: Cookie Intercepter configuration

2009-02-10 Thread Norris Shelton
Is there a library that I should be including? [#|2009-02-10T08:19:42.441-0500|INFO|sun-appserver9.1|org.apache.struts2.spring.StrutsSpringObjectFactory|_ThreadID=22;_ThreadName=httpWorkerThread-4848-1;|... initialized Struts-Spring integration successfully|#] [#|2009-02-10T08:19:44.300-0500|SEV

struts presentation of several grouped list request

2009-02-10 Thread marc quast
Hello, i have to develop a jsp where i must display several rows which are grouped in three level i use hibernate for database persistence any one has an example how develop this kind of grouped list and display them in jsp page Regards Marc

Re: action alias / redirect

2009-02-10 Thread Jack Qu
may be the action chain result type can help to do this ! -- From: "Leonidas Papadakis" Sent: Tuesday, February 10, 2009 1:39 AM To: "Struts Users Mailing List" Subject: action alias / redirect Greetings to all, in my struts2 actions file i hav

Re: Text link to submit a form ¿struts2 way?

2009-02-10 Thread Ignacio de Córdoba
OK... I know I must use javascript. My question really was about if struts2 s:a or sx:a tags had an option to generate that javascript submit text link, in a similar way as s:submit generates the input type="submit". I guest not. :-( Maybe it is an interesting option for a future release. thanks,

Validation problem when navigating through pages

2009-02-10 Thread Srikanth Goud
Hi, I was using default theme before.But to gain full control on UI part i chaged to simple theme. Know the problem is I performed business logic in one the screen. If it is success than the next screen in cycle. But the validations are firing in the next screen.It should not fire

Re: Text link to submit a form ¿ struts2 way?

2009-02-10 Thread Jack Qu
In that way ,there has no way to do it excluding from javascript -- From: "Ignacio de Córdoba" Sent: Tuesday, February 10, 2009 9:29 PM To: Subject: Re: Text link to submit a form ¿struts2 way? I love submit buttons but in this design I must use

Re: Text link to submit a form ¿struts2 way?

2009-02-10 Thread Nils-Helge Garli Hegvik
Can't you just make them smaller with some CSS? I don't think you can submit a form without a button and without javascript. Nils-H On Tue, Feb 10, 2009 at 2:29 PM, Ignacio de Córdoba wrote: > > I love submit buttons but in this design I must use text as submit buttons. > Buttons were to big for

Re: Text link to submit a form ¿struts2 way?

2009-02-10 Thread Ignacio de Córdoba
I love submit buttons but in this design I must use text as submit buttons. Buttons were to big for the graphic designer to fit them. Jack Qu wrote: > > Can submit button meet your request! > > -- > From: "Ignacio de Córdoba" > Sent: Monday, Feb

Re: Text link to submit a form ¿struts2 way?

2009-02-10 Thread Jack Qu
Can submit button meet your request! -- From: "Ignacio de Córdoba" Sent: Monday, February 09, 2009 7:31 AM To: Subject: Text link to submit a form ¿struts2 way? Hi there, I just wonder if there is any proposed way or struts2 tag to generate a

Re: model bean from a servlet

2009-02-10 Thread Jack Qu
Hi Gianluca Why do you do this ,s2 is use to replace on control layer of MVC and model be put in valueStack on current thread,it 's diffcultly to visit it in other thread! -- From: "Gianluca Musella" Sent: Monday, February 09, 2009 7:06 AM To:

Re: and internationalization

2009-02-10 Thread Ddlc
Found it. In case someone is interested the i18n keys can be found in the javadoc of org.apache.struts2.components.Date -- View this message in context: http://www.nabble.com/%3Cs%3Adate-nice%3D%22true%22-%3E-and-internationalization-tp21932308p21933441.html Sent from the Struts - User mailing

Validate() method not working

2009-02-10 Thread taj uddin
Hi, In my application I have used the validate() method but to my surprise i found that validate method was not being called at all. What ever the code i have placed in the validate method was not being executed. I doubt there was some problem with the interceptors which i have included in the

and internationalization

2009-02-10 Thread Ddlc
I love the look of the output of s:date when I use the nice attribute but I was wondering if there is a way to make this tag to show the text in french, spanish, german, ... Thank you very much :) -- View this message in context: http://www.nabble.com/%3Cs%3Adate-nice%3D%22true%22-%3E-and-inter

Re: Hiding s:select control

2009-02-10 Thread Sonny Gill
Whether or not the and s are created depend on the theme see are using for the form. See http://struts.apache.org/2.0.14/docs/form.html If you use the 'simple' theme, no extra html elements will be created. See http://struts.apache.org/2.0.14/docs/themes-and-templates.html Setting the element's

Struts 2.1.6 & SSL Plugin

2009-02-10 Thread Prasad M
Dear Friends, I am using S2 with SSL Plugin (google). I have "secure.action" in namespace="/secured" package which extends "ssl-default" in struts.xml. And, I have "normal.action" in package which extends "struts-default" in struts.xml. In URL, I call the action as http://localhost/secured

Re: Struts 2 file upload

2009-02-10 Thread Lund
newton.dave wrote: > > Lund wrote: >> I'm using Strurs 2.1.2 and the tag >> in >> the jsp page. >> My problem is that while the fileUpload appears to work most of the time >> I >> do get java.io.FileNotFoundException: on the .tmp file that Struts uses >> as >> part of the process (prob 1 in 1

ApacheCon Europe 2009: Early Bird Deadline Extended until 13th of February

2009-02-10 Thread jean-frederic clere
Here's some great news for everyone who's thinking of traveling to Amsterdam for this year's ApacheCon Europe. The Early Bird deadline has been extended to Friday, February 13th - and remember, there is a discount of 150 Euro on registration for anyone staying at the Mövenpick Hotel. Register at h

STRUTS2 validator.xml

2009-02-10 Thread PEGASUS84
good moorning to all I'm a new user forum and I need a big help: I'm doing my degree thesis and I'm working with struts2; I would need to do special thing but I hope that someone can help me: I have to create an authentication form and I can very well except that I want that the error message, i

Re: Struts2.1.6 & Tiles 2.1.

2009-02-10 Thread Lukasz Lenart
2009/2/10 Jaarthy : > I am trying to integrate Struts2.1.6 with tiles2.1.1. When I click on the > login link,I am getting "Unable to find the definition"warning Message in my > logs.Any help on this issue will be appreciated. Sorry, I loose my magic ball, you will have to provide more details. R