Java 11-17

2022-03-28 Thread Daniel J Adams
Hi, Is it safe to use Java 11-17 with Struts2? Thank you, Daniel Adams Senior Software Developer TAG IT - SherColor The Sherwin-Williams Company Cell: 440-897-3601 daniel.j.ad...@sherwin.com<mailto:daniel.j.ad...@sherwin.com>

RE: Some problems with Struts-mailreader

2015-10-30 Thread Daniel Hernáez
he.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter). None of the actions works now. Saludos / Regards, Daniel Hernáez International Technical Service Mobile: +34 699 140 596 Landline: +34 987 470 155 -Mensaje original- De: Lukasz Lenart [mailto:lukaszlen...@apache.org] Enviado el: viernes, 30

RE: Wildcard method selection problem

2015-10-30 Thread Daniel Hernáez
does work if I enter http://localhost:8080/wildcard-method-selection/executePerson.action Also works with "editPerson.action" and "deletePerson.action" Saludos / Regards, Daniel Hernáez International Technical Service Mobile: +34 699 140 596 Landline: +34 987 470 155

Wildcard method selection problem

2015-10-30 Thread Daniel Hernáez
et the example works when invoking “Person.action”: view.jsp Thank you very much for your help. Saludos / Regards, Daniel Hernáez International Technical Service Mobile: +34 699 140 596 Landline: +34 987 470 155 Sistemas de Dosificación DOSIPER, S.L. C/ Solana

Re: s:action tag showing result

2013-06-21 Thread Daniel Clemente Ivars
I agree with Felipe. In version 2.3.8 all was fine, but from 2.3.12 all the problems with tags begun (action tags and field tags). Thanks Daniel Clemente Ivars De: Felipe Lorenz Para: "Struts Users Mailing List" , Fecha: 21/06/2013 14:30 Asunto: Re: s:action tag show

Re: s:action tag showing result

2013-06-20 Thread Daniel Clemente Ivars
Hi! I'm facing not the same, but a strange behavior too with "s:action tag" since Struts version 2.3.12. I'm using them in similar way than Felipe, so it load some Lists to be used later for Select Fields filling. It worked well until change struts version form 2.3.8 to 2.3.12 and later. Now,

Re: JSON Plugin to Include Parent Action's Properties

2011-11-03 Thread Daniel Ruan
quot;MyAction1.name1, MyAction2.name2". Cheers, Daniel

JSON Plugin to Include Parent Action's Properties

2011-11-03 Thread Daniel Ruan
ed String name1; protected String name2; } public class MyAction2 extends MyAction1 { ...} Thanks! Daniel

RES: Struts 1.3.10, struts-html-el and Weblogic 10.3

2011-02-24 Thread Daniel Henrique Alves Lima - Claro Matriz -
Despite the fact that will work "as it is" in Tomcat: "(...) Just so it's clear, if you're using JSP 2.0 and Servlet 2.4, using the struts-el library will cause unknown problems, and should not be used (I know, I wrote it). In any case, there is no need to use it, as JSP 2.0 natively supports th

Struts 1.3.10, struts-html-el and Weblogic 10.3

2011-02-21 Thread Daniel Henrique Alves Lima - Claro Matriz -
gards, Daniel. Esta mensagem, incluindo seus eventuais anexos, pode conter informa??es confidenciais, de uso restrito e/ou legalmente protegidas. Se voc? recebeu esta mensagem por engano, n?o deve usar, copiar, divulgar, distribuir ou

Re: Translation issue

2010-10-06 Thread Daniel Rindt
Am Mittwoch, den 06.10.2010, 21:39 +0200 schrieb Maurizio Cucchiara: > gender.add(getText("user.gender.female")); > gender.add(getText("user.gender.male")); you ever tried that? I used it in the prepare method, and i don't know why but at lot of page request the getText is returning the wrong tran

Translation issue

2010-10-06 Thread Daniel Rindt
the dropdown field is created properly - nearly. The translation keys "user.gender.female" are not translated the field shows the translation key. I do STFW myself and i have found nothing about. But i can't be alone with that problem? TIA Daniel signature.asc Description: This is a digitally signed message part

Re: problems with the locale

2010-09-16 Thread Daniel Rindt
Am Donnerstag, den 16.09.2010, 12:06 +0200 schrieb Daniel Rindt: > the interceptor for i18n in struts should switch the locale after a > request with parameter ?request_locale=en. The property files are used > properly with the right translation, but when i ask in the action for >

problems with the locale

2010-09-16 Thread Daniel Rindt
the new new. Someone has a suggestion for me? TIA Daniel signature.asc Description: This is a digitally signed message part

few questions

2010-09-15 Thread Daniel Rindt
s initially detected. Hopefully someone can give me a lil clue. TIA Daniel signature.asc Description: This is a digitally signed message part

Re: form question

2010-09-08 Thread Daniel Rindt
Am Mittwoch, den 08.09.2010, 09:29 +0200 schrieb Paweł Wielgus: > yes You can, Hi Paweł, thanks it works. It's more simple as i thought. Daniel signature.asc Description: This is a digitally signed message part

form question

2010-09-07 Thread Daniel Rindt
jsp registrationSuccessfulThankYou /registration/registrationSuccessThankYou.jsp === 8< === TIA Daniel signature.asc Description: This is a digitally signed message part

Re: struts2 annotations

2010-09-06 Thread Daniel Rindt
Am Montag, den 06.09.2010, 13:55 +0800 schrieb Hantsy Bai: > Use convention plugin[1] please, it is shipped with struts2 dist > package. > [1]https://cwiki.apache.org/confluence/display/WW/Convention%20Plugin Thanks for the reactions, but after using the convention plugin, i am not able to use the

struts2 annotations

2010-09-05 Thread Daniel Rindt
Hello, i am using struts2-core 2.2.1 via maven2 in my project. My problem is, that i can't find the annotations. The installation of the package struts2-annotations 1.0.5 doesn't help. Where can i use the annotations again? Thanks for reading, understanding, answering ;-) Daniel sig

Re: AW: Question about Usage of Tasks

2010-09-03 Thread Daniel Rindt
n the Production Machine is running Apache as Proxy which proxies to Tomcat and back. There i don't want display the Context Name. Another way can be to set a Application Context, but the Documentation told me, that can not defined in web.xml. You have another hint for me? Thank you Daniel sign

Question about Usage of Tasks

2010-09-03 Thread Daniel Rindt
Hello, the Tag prefixes all used URL's with the Application Name. This is in my case not wanted, so i am looking for a Solution to avoid the Prefixing. Thanks in Advance Daniel signature.asc Description: This is a digitally signed message part

2.2.1 - Validation Behavior

2010-08-19 Thread Daniel Stephenson
, type = "chain", params = {"namespace", "/sc", "actionName", "workerScheduleCsrCreatePopup"}) When the chain happens and hits the method the field errors are no longer on the request. I just rolled back to 2.1.8.1 and the field errors were populated again. Thanks in advance. Daniel

Re: Struts 2 + dates

2010-06-08 Thread Daniel S. Teixeira
Suggestion better than mine! :) Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 3:50 PM, Ken wrote: > http://struts.apache.org/2.1.8.1/docs/tag-reference.html > See: The datetimepicker tag... you can specify the date format very > easily and it provides

Re: Struts 2 + dates

2010-06-08 Thread Daniel S. Teixeira
Hi Lucas, You can use some component based on jQuery to format your date and edit as well. See here: http://digitalbush.com/projects/masked-input-plugin/ I use this component on my project. Piece of cake! Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 2:39 PM, lucas

ActionInvocation/ActionContext - NoSuchMethodError

2009-10-30 Thread Daniel Stephenson
Thanks for the help. Daniel Stephenson dan.stephen...@gmail.com 208.498.2033 - Fax

Re: OGNL - Multi-dimensional Array

2009-10-20 Thread Daniel Stephenson
w to initialize this dynamically so that I get the proper-sized array! Thanks again for help from both you. Daniel Stephenson dan.stephen...@gmail.com 208.284.9637 - Cell 208.375.3888 - Office 208.498.2033 - Fax On Tue, Oct 20, 2009 at 12:42 PM, Musachy Barroso wrote: > what kind of problem are

OGNL - Multi-dimensional Array

2009-10-20 Thread Daniel Stephenson
.0.14. Thanks for your assistance. Daniel Stephenson dan.stephen...@gmail.com

Re: Integrating a blogging software module with Struts 2

2009-09-17 Thread Daniel Ruan
Probably not ... but that's something I could fall back on. I prefer not to deploy it as a separate webapp. Thanks, Daniel On Thu, Sep 17, 2009 at 10:47 AM, Wes Wannemacher wrote: > I'm looking at doing something similar, but my approach will be > different... I am planni

Integrating a blogging software module with Struts 2

2009-09-17 Thread Daniel Ruan
(not as a separate instance). I'd appreciate any pointers you can provide! Thanks, Daniel

Re: [FreeMarker-user] Freemarker Text Encoding Error

2009-08-27 Thread Daniel Dekany
gt; getting a lot of question marks in the text, but if I set the >> >> >>> >> server >> >> >>> local >> >> >>> >> to Danish, all works as expected. Obviously thatąs not a solution >> >> >>> &

Re: Freemarker Text Encoding Error

2009-08-27 Thread Daniel Dekany
t;> >>> >> expected. >> >>> >> >> >>> >> Hereąs the details >> >>> >> >> >>> >> <@s.property value="%{parameters.label}"/> prints the correct text: >> >>> >> >> >>> >> Hvornĺr (ca.) begyndte de nuvćrende rygsmerter eller bensmerter >> >>> >> (iskias)? >> >>> >> >> >>> >> But ${parameters.label?html} prints texts with Ś?ą substituted for >> >>> >> unsupported characters : >> >>> >> >> >>> >> Hvorn?r (ca.) begyndte de nuv?rende rygsmerter eller bensmerter >> >>> >> (iskias)? >> >>> >> >> >>> >> >> >>> >> I can see one solution is to change all the freemarker template files >> >>> >> and >> >>> >> replace ${} with <@s.property/>. >> >>> >> >> >>> >> But Iąm sure there has to be a simpler solution. >> >>> >> >> >>> >> Please, please help. As at the rate Iąm going I wonąt be needing a >> >>> haircut >> >>> >> for a while. >> >>> >> >> >>> >> Z. >> >>> >> >> >> > >> >> > >> >> > >> > >> > >> > > Get back to school stuff for them and cashback for you. Try Bing™ now. -- Best regards, Daniel Dekany - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
Anybody ? Daniel On Fri, Jun 26, 2009 at 5:54 PM, Daniel Guryca wrote: > I have found that devMode was set to true .. so I changed it to false. > > Now I'm getting something around 140 req/s which is much better but > still somewhat slow. > > What more can I set to make

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
x ftl struts.objectFactory.spring.autoWire.alwaysRespect false struts.codebehind.pathPrefix / struts.multipart.saveDir struts.ui.theme xhtml struts.i18n.encoding UTF-8 struts.freemarker.beanwrapperCache false regards Daniel On Fri, Jun 26, 2009 at 5:35 PM, Daniel Guryca wrote: > > Hi, > > I have just

Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
000 ' http://localhost:8080/struts2-showcase-2.1.6/skill/edit.action' 13 req/s ab -c 10 -n 1000 ' http://localhost:8080/struts2-showcase-2.1.6/showcase.action' 19/ req/s Performance for other pages is also very very poor. What am I doing wrong ? Is Struts 2 really so horribly slow ? Thank you. regards Daniel

Re: S2: Using Outbound Rules with UrlRewriter

2009-03-13 Thread Daniel Ruan
c:url tag would if I used plain JSP and JSTL. As a result, UrlRewritter cannot intercept it and apply the outbound rules. I was wondering if there were ways to get around that. Cheers, Daniel On Thu, Mar 12, 2009 at 11:44 PM, Wes Wannemacher wrote: > On Thursday 12 March 2009 23:34:22

S2: Using Outbound Rules with UrlRewriter

2009-03-12 Thread Daniel Ruan
Has anyone used the UrlRewriter outbound rules with Struts 2? UrlRewriter requires that the urls go through response.encodeURL(). In JSP and JSTL examples: ">nyc ">nyc What is the Struts2 equivalent way? (s:url encode="true" does n

Re: Struts2: change method to invoke on the fly??

2009-02-14 Thread Daniel Ruan
I thought of a better solution using url rewriting. I will rewrite the URL like blah_value123 to blah?paramName=value123 . I am not using the REST plug in, which will solve the problem too. Cheers, Daniel On Fri, Feb 13, 2009 at 12:44 PM, wrote: > I'm not real sure what y

Struts2: change method to invoke on the fly??

2009-02-13 Thread Daniel Ruan
Is it possible to write an Action Interceptor, which can set the method to invoke on the fly, depending on certain runtime variables? I can get the ActionProxy from ActionInvocation, but the proxy provides only a getter getMethod() not a setter. Any ideas? Thanks, Daniel

Re: s:radio on multiple lines

2009-01-24 Thread Daniel Ruan
the XWork world about adding a "vertical" parameter to the radio tag. That'd be a great idea. Hope we will have that in next version of Struts2 too. On Sat, Jan 24, 2009 at 3:30 PM, Lukasz Lenart wrote: > 2009/1/24 Daniel Ruan : > > The simple theme does not work for m

Re: s:radio on multiple lines

2009-01-24 Thread Daniel Ruan
The simple theme does not work for me... My entire app uses the simple theme (). I also tried theme="simple" at the s:radio level but to no avail. Thanks, Daniel On Sat, Jan 24, 2009 at 3:00 PM, Lukasz Lenart wrote: > 2009/1/24 Daniel Ruan : > > I'd like to create

s:radio on multiple lines

2009-01-24 Thread Daniel Ruan
Hi There, I'd like to create a group of radio buttons, one on each line, because the label is lengthy. By default, s:radio puts all radios on one single line. How do I change that? Thanks, Daniel

Re: default mapping with annotation

2009-01-08 Thread Daniel Woo
2009-01-08 at 21:09 -0800, Daniel Woo wrote: >> I am using Conventions since annotation is moved into Conventions in >> 2.1.2. >> The problem is that I like explicit declaration of Action/URL/namespace >> etc >> in annotations rather than implicit declaration provided

Re: default mapping with annotation

2009-01-08 Thread Daniel Woo
Wes Wannemacher wrote: > > I'm surprised this works, order is significant, so the wildcard would > match and look for _HelloWorld.jsp... But, since you indicate that it > does, I'm guessing in your struts.xml, you have the right order. > Yep, I have the right order in my struts.xml, this is a

default mapping with annotation

2009-01-08 Thread Daniel Woo
Hi guys, I have a default mapping, eg, Code: /_{1}.jsp /HelloWorld.jsp In this case, if an action can not be matched it will be forwarded to /_{action name}.jsp, eg, /X.action will be forwarded to _X.jsp It works great, however if I remove XML configurations o

TypeConversionException and the conversionError interceptor

2008-12-16 Thread Daniel Baldes
evant interceptors; there are several custom interceptors before and after these in my stack, but I think they should not interfere with this problem) I would appreciate any help on with issue - thanks in advance! Regards, Daniel

Re: [struts2] url tag not evaluating OGNL in anchor attribute

2008-08-23 Thread Daniel Ruan
Nah, the web.xml has no jsp-config at all. Daniel On Sat, Aug 23, 2008 at 8:28 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > > check your el-ignored parameter in web.xml > does it look like > > > *.jsp >

Re: [struts2] url tag not evaluating OGNL in anchor attribute

2008-08-23 Thread Daniel Ruan
I found the same behavior with 2.1.2 Beta, although the bug WW-2015 claims it is fixed in 2.0.10. Thanks, Daniel On Tue, Jun 24, 2008 at 4:34 AM, Volker Krebs <[EMAIL PROTECTED]> wrote: > Hello, > > I have the following in my JSP Page: > > > It seems that the

Re: struts 1 ajax integration

2008-06-17 Thread Daniel
rojects" > and "Practical Ajax Projects With Java Technology" > for info: apress.com/book/search?searchterm=zammetti&act=search > Java Web Parts - javawebparts.sourceforge.net > Supplying the wheel, so you don't have to reinvent it! > My "look ma, I have a

struts 1 ajax integration

2008-06-17 Thread Daniel
Hello, Are there any good options to integrate ajax with struts 1? I woul like something based o tags. My problem is that i have an upload form . and the input files are like : The values are mapped on the form, private FileForm image1; .. Now, i whant to submit this form with ajax, a

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
Oh, ok. I was just in the middle of poking around the debug info to see why that wasn't working. Thanks, ~DVA -Original Message- From: Allen, Daniel Sent: Monday, May 12, 2008 3:11 PM To: Struts Users Mailing List Subject: RE: [s2] Getting the current Action name in a JSP? Ok, t

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
List Subject: Re: [s2] Getting the current Action name in a JSP? %{#struts.actionMapping} ->Action Mapping %{#action} -> Last executed action musachy On Mon, May 12, 2008 at 3:05 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- "Allen, Daniel" <[EMAIL PROTECTED]> wro

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
nd you will be able to browse the values stored in the stack. musachy On Mon, May 12, 2008 at 1:35 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > Thanks for the tip, but to clarify, what I want to know is whether that > action reference has an easy, built-in way to get its name and > n

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
45 PM To: Struts Users Mailing List Subject: Re: [s2] Getting the current Action name in a JSP? "#action" will give you a reference to the last executed action. musachy On Mon, May 12, 2008 at 12:10 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > Hi, all. > > I

[s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
Hi, all. I'm using Sitemesh decorators on my Struts2 project to create a generic header menu. However, I'd like to use a CSS class to highlight the menu item for where the user currently is. Is there a good way to get the current action name and namespace just with JSP code? I know I can get it us

RE: Maven struts2-archetype-starter error

2008-05-12 Thread Allen, Daniel
Add a "-e" (or it might be a capital "-E") to the command, and Maven will print out the stack trace and a little more information about the problem. That might give you something to work with. -Original Message- From: maestro [mailto:[EMAIL PROTECTED] Sent: Saturday, May 10, 2008 8:42 PM

RE: How to validate a checkboxlist?

2008-05-09 Thread Allen, Daniel
least one box checked? Has anyone ever done this? Allen, Daniel wrote: > > If you want client-side anything, wouldn't you want to use JavaScript? > As far as I know, everything XWork validation does is on the server. > > (I would say have a validator in the action bean too,

RE: 2 Dimensional arrays?

2008-05-09 Thread Allen, Daniel
Hmm. I don't know of a way to make Struts 2 give back 2-D array properties in the auto-magical way that it will do 1-D arrays (doesn't mean there's not one: I keep finding out that a lot of things I want to do can be done by magic if you know the correct XML incantation) but perhaps you could sides

RE: How to validate a checkboxlist?

2008-05-09 Thread Allen, Daniel
If you want client-side anything, wouldn't you want to use JavaScript? As far as I know, everything XWork validation does is on the server. (I would say have a validator in the action bean too, though, in case the use has JS disabled and manages to submit without passing that check.) -Origina

RE: Action servlet becomes null in UNIX environment

2008-05-07 Thread Allen, Daniel
Tomcat. I'll try to find out what else i can do as i am unable to see anything in apache logs as well. On Wed, May 7, 2008 at 1:48 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > A couple of things strike me as really odd about this. > > First: why are you creating HTML using str

RE: Action servlet becomes null in UNIX environment

2008-05-07 Thread Allen, Daniel
A couple of things strike me as really odd about this. First: why are you creating HTML using strings in Java code? The whole point of JSPs was to avoid doing exactly that. You should either make use of .jsp files and the logic tags in Struts [1] or just use regular servlets if you really want to

RE: Building First strut

2008-04-25 Thread Allen, Daniel
Did you read the page I linked? The archetype creator writes you a basic POM, in addition to many other things. If you don't read the answers people give you, this list won't be of any help to you. -Original Message- From: Vinay Nagrik [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 20

RE: Building First strut

2008-04-25 Thread Allen, Daniel
Actually, I found Maven very helpful when I was starting Struts2. http://struts.apache.org/2.x/docs/struts-maven-archetypes.html has some information on the archetype plugin, which Maven can use to generate the empty shell of an application. That's great for beginners because all the configuratio

RE: Redirect-action parameters via POST

2008-04-25 Thread Allen, Daniel
want >> the data to be a part of the URL, you could do some encoding to make >> them less readable and shorter. >> >> Nils-H >> >> On Thu, Apr 24, 2008 at 10:12 PM, Allen, Daniel <[EMAIL PROTECTED]> >> wrote: >>> I can, and I considered

RE: Redirect-action parameters via POST

2008-04-24 Thread Allen, Daniel
ruts Users Mailing List Subject: Re: Redirect-action parameters via POST Can you put the info on the session? Nils-H On Thu, Apr 24, 2008 at 9:52 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > Hi, all. > > I'm using the snippet below[1] in my struts.xml file to send finish a

Redirect-action parameters via POST

2008-04-24 Thread Allen, Daniel
Hi, all. I'm using the snippet below[1] in my struts.xml file to send finish an action with a redirect to another, and sending a parameter along. However, Struts 2 defaults to passing the parameter via appending it to the URL in a GET request. I'm going to need to add additional parameters, some o

RE: Exception like a missing JAR, but I think I have them all

2008-04-22 Thread Allen, Daniel
From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 3:47 PM To: Struts Users Mailing List Subject: Re: Exception like a missing JAR, but I think I have them all --- "Allen, Daniel" <[EMAIL PROTECTED]> wrote: > When I try to start up my Struts 2/Spring pro

Exception like a missing JAR, but I think I have them all

2008-04-22 Thread Allen, Daniel
When I try to start up my Struts 2/Spring project, I get an exception about a missing class, which makes me think I have a missing JAR, but I can't find mention of anything that isn't already in my build. Could anyone take a look, perhaps? I have the following entries in my Maven POM. Am

RE: How to use "Autocompleter" like GMail style.

2008-04-10 Thread Allen, Daniel
The showcase [1] has an autocompleter example page with demonstrations of several of its features and accompanying source. ~DVA [1] http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/ -Original Message- From: Joey [mailto:[EMAIL PROTECTED] Sent: Thursday, April 10, 2008 6:2

RE: struts-default.properties

2008-04-02 Thread Barron, Daniel
: struts-default.properties --- "Barron, Daniel" <[EMAIL PROTECTED]> wrote: > There is no "default.properties" file in the v2.0.11.1 S2 core jar [...] Then you have a corrupt struts2-core-2.0.11.1.jar file. Dave --

RE: struts-default.properties

2008-04-02 Thread Barron, Daniel
s Users Mailing List Subject: Re: struts-default.properties --- "Barron, Daniel" <[EMAIL PROTECTED]> wrote: > It is not clear to me - is the struts-default.properties just a template > for struts.properties or is it actually being loaded? I do not see it > be

struts-default.properties

2008-04-02 Thread Barron, Daniel
It is not clear to me - is the struts-default.properties just a template for struts.properties or is it actually being loaded? I do not see it being loaded in anyway and only see values from struts.properties being used. Can anyone provide some insight on this please? Thanks in advance. D

Inheritence of validator annotations

2008-04-01 Thread Allen, Daniel
Hi, all. I have a superclass where almost all of the subclasses will require several validations for a particular field, but one subclass will use some but not all of those validations. I know that you can add @SkipValidation to avoid all validators, but is there something that you can use to mark

RE: Scope of action messages?

2008-04-01 Thread Allen, Daniel
(sorry, I had the interceptor name wrong on the last mail). (*Chris*) On Tue, Apr 1, 2008 at 11:22 AM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > Hmmm... > > How much interfering in the internals do you suppose I'd have to do to > make action errors & messages hang aro

RE: Scope of action messages?

2008-04-01 Thread Allen, Daniel
Hmmm... How much interfering in the internals do you suppose I'd have to do to make action errors & messages hang around until the corresponding tag is rendered? -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 1:58 PM To: Struts Users Maili

Scope of action messages?

2008-04-01 Thread Allen, Daniel
Hi, all. I'm trying to display a message to the user to confirm that a new user was created, basic par-for-the-course concept. However, I'm finding that my tag doesn't render to anything. The first thing I thought of was that my result for the user creation is an action-redirect, so by the time w

struts 2 ajax how to

2008-03-26 Thread Daniel
Hello, What is the best solution to integrate struts 2 and ajax? What libraries?

struts2 dojo plugin (ajax)

2008-03-26 Thread Daniel
I am trying to integrate struts and ajax trough dojo plugin. Freemarker is trowing me an error : freemarker.core.InvalidReferenceException: Expression parameters.pushId is undefined on line 97, column 6 in template/ajax/submit.ftl. Anyone know what that mean? This is my jsp page :

Re: struts 2 jsf plugin problem

2008-03-25 Thread Daniel
ng out of your JSF page and then start adding things > in > one by one until you find what is causing the missing the property editor > error. > > Regards, > Randy Burgess > Sr. Web Applications Developer > Nuvox Communications > > > > > From: Daniel <[E

RE: Using Javascript to change struts-generated forms

2008-03-24 Thread Allen, Daniel
>- I'm not sure that order is guaranteed when you have two params with the same name at time they are submitted. I thought multiple parameters with the same name is how Struts did actions with array-typed properties. That's what's done on the File Uploads How-To.[1] Is that example potentially b

Re: struts 2 jsf plugin problem

2008-03-22 Thread Daniel
Struts 2 instead of combining them both. > > Nils-H > > On Fri, Mar 21, 2008 at 1:55 PM, Daniel <[EMAIL PROTECTED]> wrote: > > I've done what you have said, unfortunately without results. I still > > receive index.jsp:16:26: No property editor found for the bean

Re: struts 2 jsf plugin problem

2008-03-21 Thread Daniel
I've done what you have said, unfortunately without results. I still receive index.jsp:16:26: No property editor found for the bean " javax.el.ValueExpression". Any other ideas? On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > First of all, I'm not even su

Using Javascript to change struts-generated forms

2008-03-20 Thread Allen, Daniel
Hi, all. I'm working on a form that would allow some arbitrary number of documents to be uploaded at once. The idea is that by default, one set of document fields appears, and there's a link that a user can click to activate some javascript that would add another set of document fields. I have thi

Re: struts 2 jsf plugin problem

2008-03-20 Thread Daniel
I have changed the myfaces lib with jsf lib. Now i am getting the error : javax.portlet.PortletException at com.bea.portlet.container.PortletRequestDispatcherImpl.include( PortletRequestDispatcherImpl.java:143) at org.apache.struts2.portlet.result.PortletResult.executeRenderResult( PortletResult.

Re: struts 2 jsf plugin problem

2008-03-20 Thread Daniel
has > both portlet support and jsf support. Even though your package extends > struts-portlet-default the action in question does not since you have > defined interceptors specifically for the action. > > Regards, > Randy Burgess > Sr. Web Applications Developer > Nuvox Communicatio

Re: struts 2 jsf plugin problem

2008-03-19 Thread Daniel
s specifically > *for* this action. > > See the portlet tutorial at > http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html. > > Regards, > Randy Burgess > Sr. Web Applications Developer > Nuvox Communications > > > > > From: Daniel Posirca <

sorry for this test

2008-03-19 Thread Daniel
Sorry for this test. I have subscribed to this list and i have sent an email. But apparently the email didn't got to the users, i haven't received it.

struts 2 jsf plugin problem

2008-03-19 Thread Daniel Posirca
Hello, i am new to this list. I am trying to develop an application based on struts 2 + jsf plugin + portlet. I am using struts 2 support for portlet. As appl server i am using weblogic. Now i have reached a point were i am getting an error, but i have no idea how to pass it. I have managed to make

[S2] Upload file cannot be read

2008-03-18 Thread Allen, Daniel
Can anyone tell me where I can get some more in-depth details on the way the file upload interceptor works? Is there any documentation between the levels of "how to use it" and the source code? I'm trying to take an uploaded document and then transfer it to a backend in a different thread. But whe

RE: property in not interpreted

2008-03-13 Thread Allen, Daniel
I actually thought you couldn't nest tags. You can nest them in regular HTML tags because the JSP and the HTML are interpreted at different steps, so from the separate perspectives of the two parsers there's not really any nesting going on (the JSP parser on the server only cares about JSP tags, a

RE: [s2] IndexedProperties set via forms

2008-03-06 Thread Allen, Daniel
Wow, in the FAQs, even. My Google-fu is miserable. Thanks/sorry. ~DVA -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 6:02 PM To: Struts Users Mailing List Subject: Re: [s2] IndexedProperties set via forms --- "Allen, Daniel&quo

[s2] IndexedProperties set via forms

2008-03-06 Thread Allen, Daniel
Hi, all. I have a question about using indexed properties. I need to have the user upload some arbitrary (to be dynamically increased via Javascript while the user is on the form page) number of files as part of a form. I figured it makes sense to create an indexed property so that then I have a L

Re: More package weirdness

2008-03-03 Thread Daniel Baldes
[EMAIL PROTECTED] wrote: which resolves to be: The namespace is "/charts", but you use "charts". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts2, JDO transaction handling

2008-03-03 Thread Daniel Baldes
cts to detached ones etc. Any hints / suggestions? Thanks in advance, Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts serving both HTML requests and web service?

2008-02-29 Thread Allen, Daniel
both HTML requests and web service? If you have shared functionality then it sounds like a good candidate for web services. I wouldn't do the shared JAR deal. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Allen, Daniel" <[EMAIL PROTECTED]>

Re: s:select and pre-selection

2008-02-29 Thread Daniel Baldes
Daniel Baldes wrote: Hi, I have a select box: Ok, I found it myself: this works. It seems the code which does the pre-selection does not use the type-converted value of "user.property" but the original value. Chee

s:select and pre-selection

2008-02-29 Thread Daniel Baldes
e key-attribute must be the same as the type of the listKey property in order to match. So I implemented "getIdAsString()" and used listKey="idAsString", but it doesn't work either. What am I doing wrong here? (I am using struts 2.0.11)

RE: Struts serving both HTML requests and web service?

2008-02-28 Thread Allen, Daniel
s 1/2. http://incubator.apache.org/cxf/ Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Allen, Daniel" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 28 Feb 2008 14:20:54 -0500 > To: Struts Users Mailing Lis

Struts serving both HTML requests and web service?

2008-02-28 Thread Allen, Daniel
I saw a thread go by while back about Struts and web services, and someone suggested Spring and CXF. I've got Spring integrated into my Struts (2.0.11) application, but I'm not familiar with CXF at all, nor have I actually ever put together a web service before. Does anyone know of a good guide t

Re: action security

2008-02-28 Thread Daniel Baldes
rNameAware". Then, every parameter name is passed to the method "boolean acceptableParameterName(String name)" and the parameter is only set when it returns true. Cheers, Daniel - To unsubscribe, e-mail: [EMAIL

RE: Need Help Creating a Custom Validator

2008-02-27 Thread Allen, Daniel
Try this: http://opensource.atlassian.com/confluence/oss/download/attachments/4942 /validating-input.pdf?version=3 Basically, all you need to do for custom or complex validation is to have the action in question implement Validateable, and then have a public void validate() method that makes calls

  1   2   3   4   5   6   7   >