Re: [Stripes-users] LocalizedError problem

2013-01-12 Thread Aaron Stromas
) Gerald Le 12 janv. 2013 01:29, Aaron Stromas passog...@gmail.com a écrit : Greetings, I am having a problem with LocalizedErrors. The default bundle has a property ott.mismatch=Sorry, the code that you have entered does not match. Please try again. (You have {2} attempts remaining) while

[Stripes-users] LocalizableError does not render

2013-01-11 Thread Aaron Stromas
to be rendered? If not, what am I doing wrong? Thanks, -a -- Aaron Stromas -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step

[Stripes-users] LocalizedError problem

2013-01-11 Thread Aaron Stromas
) Any ideas of why this is happening and how to get it corrected? Thanks in advance, -- Aaron Stromas -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep

[Stripes-users] How to change locale in Action

2012-10-08 Thread Aaron Stromas
and sets the new locale in the session and returns the Resolution to itself. The trouble is that the LocalePicker.pickLocale method is never called and the page is re-rendered in the original locale. How can I get the LocalePicked.pickLocale to execute before the page is rendered? TIA, -- Aaron

Re: [Stripes-users] How to change locale in Action

2012-10-08 Thread Aaron Stromas
the Locale filter part is never hit. Regards Morten Matras CEO: LeadDoubler.com Denmark 2012/10/8 Aaron Stromas passog...@gmail.com Hi, I have a requirement to be able to change the locale by selecting a language from a drop-down on the page. The page needs to be re-rendered using

[Stripes-users] internal form refresh after validation

2012-08-20 Thread Aaron Stromas
is redisplayed the locale drop-down is empty. I am guessing that the default handler of the inner form did not execute. Is it possible to cause it to be executed when the validator fires? Thanks in advance, -- Aaron Stromas

Re: [Stripes-users] internal form refresh after validation

2012-08-20 Thread Aaron Stromas
than one form on a page; however, unless you're serializing the parameters from both forms together (with JavaScript), only one form is posted at a time. On Mon, Aug 20, 2012 at 12:58 PM, Aaron Stromas passog...@gmail.com wrote: Actually, I did not describe the situation correctly

Re: [Stripes-users] internal form refresh after validation

2012-08-20 Thread Aaron Stromas
are always present even if the validation fails and my handler is not invoked. ** ** Christian ** ** *De :* Aaron Stromas [mailto:passog...@gmail.com] *Envoyé :* August-20-12 1:59 PM *À :* Stripes Users List *Objet :* Re: [Stripes-users] internal form refresh after validation

Re: [Stripes-users] internal form refresh after validation

2012-08-20 Thread Aaron Stromas
present even if the validation fails and my handler is not invoked. ** ** Christian ** ** *De :* Aaron Stromas [mailto:passog...@gmail.com] *Envoyé :* August-20-12 1:59 PM *À :* Stripes Users List *Objet :* Re: [Stripes-users] internal form refresh after validation

Re: [Stripes-users] Validation question

2012-08-17 Thread Aaron Stromas
, -- Samuel Santos http://www.samaxes.com/ On Wed, Aug 15, 2012 at 6:05 AM, Iwao AVE! haraw...@gmail.com wrote: Hi, when = ValidationState.ALWAYS should work as you expect. Is your validation method public? Regards, Iwao 2012/8/15 Aaron Stromas passog...@gmail.com: Hello, I have three

[Stripes-users] Validation question

2012-08-14 Thread Aaron Stromas
to no avail. I have a feeling that I would have to remove the @Validate annotation and validate all three in the validation method. Is that true or can I somehow combine both and have them all execute? Thanks, -- Aaron Stromas

Re: [Stripes-users] ValidationMethod question

2011-11-09 Thread Aaron Stromas
2011/11/10 Aaron Stromas passog...@gmail.com Greetings, Can anyone offer any thought on the following situation: @DefaultHandler public Resolution view() {...} @HandlesEvent(verify) public Resolution submit() {...} @ValidationMethod(on = verify) public void

Re: [Stripes-users] Stripes logging

2011-09-22 Thread Aaron Stromas
by configuring Stripes with the Stripes.EncryptionKey init-param. Just add it to the StripesFilter config with a randomly generated value, and that warning will go away. -Ben On Wed, Sep 21, 2011 at 4:10 PM, Aaron Stromas passog...@gmail.comwrote: Greetings, I apologise for this off topic

[Stripes-users] Stripes logging

2011-09-21 Thread Aaron Stromas
but it is not log4j.appender.logFile.file = /var/logs/application.log ... log4j.additivity.net.sourceforge.stripes=false log4j.logger.net.sourceforge.stripes=WARN,logFile Can someone suggest what is wrong here and how to force Stripes generated logs to go where they should? Thanks, -a -- Aaron Stromas

Re: [Stripes-users] Validation errors

2010-08-13 Thread Aaron Stromas
Hi Freddy, It worked! So, with RedirectResolution the ValidationErrors are not considered? Many thanks, -a On 12 August 2010 23:36, Freddy Daoud xf2...@fastmail.fm wrote: On Thu, 12 Aug 2010 21:57:15 -0400, Aaron Stromas passog...@gmail.com said: On 12 August 2010 16:00, Freddy Daoud xf2

Re: [Stripes-users] Cleaning out the value after validation

2010-08-13 Thread Aaron Stromas
is BeanFirst instead of RequestFirst (aka. Default). Anything else is exactly as described in the wiki. Hope you'll find the root of your problem soon. Regards, Marcus Aaron Stromas wrote on 10/08/13 12:07: I have a text field to type in the CAPTCHA text. When the text is entered

Re: [Stripes-users] Validation question

2010-08-12 Thread Aaron Stromas
/lists/listinfo/stripes-users -- Aaron Stromas Mobile: +1 703 203 9169 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev

[Stripes-users] Validation errors

2010-08-12 Thread Aaron Stromas
Greetings, It appears that errors added to the ValidationErrors within event handlers are not rendered. Is that true? I that related to life cycle? TIA -a -- Aaron Stromas Mobile: +1 703 203 9169 -- This SF.net email

Re: [Stripes-users] Cleaning out the value after validation

2010-08-12 Thread Aaron Stromas
Corrections and/or improvements appreciated. // Iwao on 10/07/14 22:54 Aaron Stromas said the following: This is great, Iwan! Thank you much. I would like to suggest adding it to the Stripes Wiki

Re: [Stripes-users] Cleaning out the value after validation

2010-08-12 Thread Aaron Stromas
observe the default behavior. Before you ask, I Strategy in the extension package. Is there anything else that needs to be done? TIA -a or b) changing population strategy does not do what you want. // Iwao Aaron Stromas wrote on 10/08/13 5:04: I only now got round to try it out

Re: [Stripes-users] Redirecting to external ULR

2010-08-05 Thread Aaron Stromas
-palm ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Aaron Stromas Mobile: +1 703 203 9169

[Stripes-users] Redirecting to external ULR

2010-08-04 Thread Aaron Stromas
Greetings, experts - Resolution will transfer control to resources within application. How about transferring control to another website? Do I need to drop down to the servlet layer? Thank you, -a -- Aaron Stromas Mobile: +1 703 203 9169

Re: [Stripes-users] stripes:hidden

2010-07-29 Thread Aaron Stromas
community. Regards, --Nikolaos Aaron Stromas wrote: It is not my intent to start a flee war, but I remain convinced it is better to change one file than two. I am sorry, but Nicolaos' argument sounds dogmatic to me. I know apriori that I will be changing the hidden element to text field

[Stripes-users] stripes:hidden

2010-07-28 Thread Aaron Stromas
... Thanks, -a -- Aaron Stromas Mobile: +1 703 203 9169 -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products

[Stripes-users] Validation question

2010-07-27 Thread Aaron Stromas
the following expression could not be evaluated: x Why is the validation is attempted on bean B, instead of A??? Thanks a lot in advance, -a -- Aaron Stromas Mobile: +1 703 203 9169 -- The Palm PDK Hot Apps Program

Re: [Stripes-users] Validation question

2010-07-27 Thread Aaron Stromas
will end up the location for B. Just depends on what you're trying to do. Aaron On 07/27/2010 04:57 PM, Aaron Stromas wrote: Greetings, I have an action bean A with a property x with getter/setter. The submit method of A returns a ForwardResolution to action bean B. The property X

[Stripes-users] Indexed property validation

2010-07-22 Thread Aaron Stromas
Greetings, experts! Is it possible to use annotation to validate lists or arrays of strings? Say, I want to validate that the elements are not empty. I know that I can write the validation method, I'm just curious about using annotations. Thanks! -a -- Aaron Stromas Mobile: +1 703 203 9169

Re: [Stripes-users] Indexed property validation

2010-07-22 Thread Aaron Stromas
I did and I still I don't get it :-( . What can be the value of field? @ValidateNestedProperties({ @Validate(filed=??? , ) }) ListString list; -a On 22 July 2010 15:10, Thomas Menke stripe...@cipher-code.de wrote: Aaron Stromas wrote: Greetings, experts! Is it possible to use

Re: [Stripes-users] How to obtain the URL parameter value in ActionBean

2010-07-21 Thread Aaron Stromas
%28java.lang.String%29 Aaron On 07/21/2010 11:21 AM, Aaron Stromas wrote: Greetings, I need to dynamically a set of images. The image data is generated by the event handler (as explained to me on this list). I'm getting the names of images from the collection. I'm adding a parameter

Re: [Stripes-users] How to obtain the URL parameter value in ActionBean

2010-07-21 Thread Aaron Stromas
Oops, I think, I have an egg on my face - I was using getParameter() to get the parameter, I used getAttribute() in my trace. And there was a problem elsewhere in generating the image. In short, your suggestion was correct. Thanks again! -a On 21 July 2010 14:49, Aaron Stromas passog

[Stripes-users] Indexed properties

2010-07-19 Thread Aaron Stromas
, when I declare the answer property as String[], it is bound, but if I declare it as ListString it does not! Why is that? Thanks in advance! -a -- Aaron Stromas Mobile: +1 703 203 9169 -- This SF.net email is sponsored

[Stripes-users] Problem with indexed properties under Websphere

2010-07-19 Thread Aaron Stromas
) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) On 19 July 2010 17:28, Aaron Stromas passog...@gmail.com wrote: Greetings, Can

Re: [Stripes-users] Cleaning out the value after validation

2010-07-14 Thread Aaron Stromas
This is great, Iwan! Thank you much. I would like to suggest adding it to the Stripes Wiki -a On 14 July 2010 03:51, Iwao AVE! haraw...@gmail.com wrote: Hi Aaron, Aaron Stromas wrote on 10/07/14 3:44: Is there no way of avoiding the global change, to restricting its scope

Re: [Stripes-users] Cleaning out the value after validation

2010-07-13 Thread Aaron Stromas
another reason to be disciplined when it comes to automated testing :) Op 13 jul. 2010 om 20:23 heeft Aaron Stromas passog...@gmail.com het volgende geschreven: Thanks for the suggestion. I wasn't aware of if before. From what I was able to gather, if I do change the population strategy, it's

Re: [Stripes-users] Cleaning out the value after validation

2010-07-13 Thread Aaron Stromas
EL expression could do the trick). Op 13 jul. 2010 om 20:44 heeft Aaron Stromas passog...@gmail.com het volgende geschreven: Testing is not the worrying bit. What if changing the strategy indeed affects something else? It would have to be recoded. Is there no way of avoiding the global change

Re: [Stripes-users] Cleaning out the value after validation

2010-07-13 Thread Aaron Stromas
DefaultPopulationStrategy but it would appear that any re-testing would not be for naught as one day it should be the default... . I would have expected that a major release like 1.5 would have changed this... hopefully 1.6 will... ;-) --Nikolaos Aaron Stromas wrote: I wanted to be sure I'm not busting

[Stripes-users] Binary valued property in ActionBean

2010-07-12 Thread Aaron Stromas
for captcha in object of class... using using operator . Any suggestions? TIA, -a -- Aaron Stromas Mobile: +1 703 203 9169 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit

Re: [Stripes-users] Binary valued property in ActionBean

2010-07-12 Thread Aaron Stromas
a stripes:url in your JSP that points to the new event handler. You might want to add a dummy parameter (name=image.png) to convince older browsers that the resource really is an image. Regards, Levi Op 12 jul. 2010 om 23:32 heeft Aaron Stromas passog...@gmail.com het volgende geschreven: Greetings

Re: [Stripes-users] NumberFormatException for array length???

2010-04-26 Thread Aaron Stromas
Learned something new, thank you. Unfortunately, the good news don't apply to my case, I don't need the length for iteration. I wish I was programming Groovy... -a On 26 April 2010 15:07, Oscar Westra van Holthe - Kind os...@westravanholthe.nl wrote: On 26-04-2010 at 14:59, Aaron Stromas

Re: [Stripes-users] NumberFormatException for array length???

2010-04-26 Thread Aaron Stromas
:* Aaron Stromas [mailto:passog...@gmail.com] *Sent:* Monday, April 26, 2010 3:21 PM *To:* Stripes Users List *Subject:* Re: [Stripes-users] NumberFormatException for array length??? Learned something new, thank you. Unfortunately, the good news don't apply to my case, I don't need the length

[Stripes-users] Seeking advice on StreamingResolution

2010-04-22 Thread Aaron Stromas
differently. Any suggestions? TIA -a -- Aaron Stromas -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: [Stripes-users] Seeking advice on StreamingResolution

2010-04-22 Thread Aaron Stromas
the user to navigate away from the loading page. A separate page which presents a list of reports and their current status could be built. Seth On Thu, Apr 22, 2010 at 10:13 AM, Aaron Stromas passog...@gmail.com wrote: Hello, I realise this is not Stripes question, really. I'm posting

Re: [Stripes-users] Seeking advice on StreamingResolution

2010-04-22 Thread Aaron Stromas
); window.onunload = popdown; } function popdown() { window.onunload = null; spinner.close(); } /script On 22 April 2010 12:30, Aaron Stromas passog...@gmail.com wrote: Right, the analysts are hot on the fancy spinner. Thanks for the pointer, I'll give it a try. -a On 22

Re: [Stripes-users] Seeking advice on StreamingResolution

2010-04-22 Thread Aaron Stromas
Cool. Thanks. -a On 22 April 2010 14:36, Oscar Westra van Holthe - Kind os...@westravanholthe.nl wrote: On 22-04-2010 at 10:13, Aaron Stromas wrote: I am using the StreamingResolution to fetch a PDF. Unfortunately, the PDF is generated on the fly and can take seriously long time. I'd

[Stripes-users] submit button attributes from properties

2010-03-25 Thread Aaron Stromas
? Thanks! -- Aaron Stromas -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel

Re: [Stripes-users] submit button attributes from properties

2010-03-25 Thread Aaron Stromas
Never mind, I wasn't reading the documentation properly. Resource bundle On 25 March 2010 07:45, Aaron Stromas passog...@gmail.com wrote: Greetings, Is it possible to have the attributes of the submit tag generated from bean properties? The documentation reads: The tag will set its

Re: [Stripes-users] How to add onLoad event handler using layouts

2010-03-03 Thread Aaron Stromas
='myLoadHandler'/ The other pages can probably be left alone. They will output an empty onload attribute on the body. If that bothers you, you can restructure this to avoid outputting the onload attribute if the variable is empty. On Fri, Feb 26, 2010 at 9:18 AM, Aaron Stromas passog

[Stripes-users] How to add onLoad event handler using layouts

2010-02-26 Thread Aaron Stromas
Greetings, First off, I'm a Stripes novice and I hope I'm not asking something obvious. We have a standard layout defined for all pages but I need to add a onload event handler to the body tag of one of my pages. Since it is of no use to all pages, I don't want to modify the layout. Is there a

Re: [Stripes-users] How to add onLoad event handler using layouts

2010-02-26 Thread Aaron Stromas
/lists/listinfo/stripes-users -- Aaron Stromas Mobile: +1 703 203 9169 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications