RE: Datetimepicker conversion problem

2008-08-15 Thread Martin Gainty
the default to be 01/01/2001 change the assignment for value to #if parameters.nameValue?if_exists != value=dojo.${parameters.nameValue?html:01/01/2001}#rt/ inputNameValue=${parameters.nameValue?html:01/01/2001}#rt/ /#if ? Martin __ Disclaimer

RE: Object put in HttpSession can't be found by S2

2008-08-15 Thread Martin Gainty
bookmark this page! http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender

RE: validation: fieldexpression doesn't get executed if stringlength validation fails

2008-08-15 Thread Martin Gainty
2 solutions 1)cookies 2a)store old windows value session.put(windowId,1); 2b)open next window in new window 2c)windows.open('_blank') 2d)onload=session.put(windowid,2); test windowid anyone? Martin __ Disclaimer and confidentiality note Everything

RE: validation: fieldexpression doesn't get executed if stringlength validation fails

2008-08-15 Thread Martin Gainty
yep..i need a secretary...know anyone that wants to work for free? Thanks, Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential

RE: validation: fieldexpression doesn't get executed if stringlength validation fails

2008-08-15 Thread Martin Gainty
it must be true..i took a business course and according to the book..there are people who are paid for work..(..not here unfortunately..) Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates

RE: Hibernate UserType and OGNL

2008-08-14 Thread Martin Gainty
is a simple bean as suggested here If the null property is a simple bean with a no-arg constructor, it will simply be created using the ObjectFactory#buildBean(java.lang.Class, java.util.Map) method.? dziekuje Martin __ Disclaimer and confidentiality note

RE: [S2]Validation with xml file not working

2008-08-14 Thread Martin Gainty
=workflow/ /interceptor-stack HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse

RE: Override java.lang.Object [PropertyAccessor]

2008-08-13 Thread Martin Gainty
http://struts.apache.org/2.0.11.2/docs/bean-configuration.html name must be unique for the declared type try changing the name to something unique ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates

RE: Best practice for passing success/error message to another dispatch (struts2)?

2008-08-12 Thread Martin Gainty
... http://cwiki.apache.org/WW/ajax-recipes.html Anyone else? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender

RE: Best practice for passing success/error message to another dispatch (struts2)?

2008-08-12 Thread Martin Gainty
-ShortCircuitingValidator HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other

RE: [S2] Refactoring Action classes

2008-08-04 Thread Martin Gainty
be locatedbut its the individual who ultimately has to resolve ALL dependencies such as the release manager who is the ultimate arbiter on where all entitities should be located Anyone else?Martin __ Disclaimer and confidentiality note Everything

RE: s2: non-English chars with s:a.. tag

2008-08-04 Thread Martin Gainty
same concept as with legacy Java ApplicationResources.properties so in struts.xml you should see the globalMessages_locale.properties identified viaconstant name=struts.custom.i18n.resources value=globalMessages /where english globalMessages.properties would containtoken.transfer.time=The

FileUpload log

2008-08-04 Thread matthieu martin
Hi all, I have a problem with file uploading (i am using the interceptor) and I just can't find it. I have nothing in Tomcat's logs. I have an interceptor placed after FileUpload in the stack which gets executed. But my action isn't. If you have an idea regarding my problem don't hesitate to

RE: paramsPrepareParams vs. staticParams

2008-08-03 Thread Martin Gainty
-td15462644.html Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party

FileUploadInterceptor not always working

2008-08-02 Thread matthieu martin
Hi all, I am working with file uploads and use the corresponding interceptor. This is working very well but not constantly. I added to my action the three setter methods along with their corresponding variables. I upload my files, on after the other, and at some point my variable of type File

RE: Is this obvious ?

2008-08-01 Thread Martin Gainty
of accessors and mutators (vs a public declaration..) Anyone else? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender

Re: Struts 2 And JFreeChart

2008-07-31 Thread Martin
it does sound like a caching issue.. try this directive before your html % response.setHeader(Cache-Control, no-cache); //HTTP 1.1 response.setHeader(Pragma, no-cache); //HTTP 1.0 response.setDateHeader(Expires, 0); //prevents caching at the proxy server % ? Martin - Original

Re: Redirect after stream result

2008-07-31 Thread Martin
() method actionMapping.findForward(error) ? Martin- - Original Message - From: ManiKanta G [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, July 30, 2008 6:16 AM Subject: Redirect after stream result Hi, How can I redirect to another page after stream

RE: Possible to iterate through a java.util.Set using Struts 1?

2008-07-29 Thread Martin Gainty
the collection Iterator iterator = MySet.iterator() http://publib.boulder.ibm.com/infocenter/wsadhelp/v5r1m2/index.jsp?topic=/com.sun.api.doc/java/util/Set.html e.g. while (iterator.hasNext()) { Object obj = iterator.next(); } ? Martin __ Disclaimer

Re: Possible to iterate through a java.util.Set using Struts 1?

2008-07-29 Thread Martin
into one. ww:sort / Sorts an iterator http://cwiki.apache.org/WW/tutoriallesson04-01.html ? Martin - Original Message - From: Ylva D [EMAIL PROTECTED] To: user@struts.apache.org Sent: Tuesday, July 29, 2008 2:16 PM Subject: Possible to iterate through a java.util.Set using

RE: website link info

2008-07-26 Thread Martin Gainty
which version of struts are you working with..? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does

Re: issue with ajax submit

2008-07-21 Thread matthieu martin
2008/7/21 Jeromy Evans [EMAIL PROTECTED]: matthieu martin wrote: Hello all. I can't figure out what this message means, or even where does it come from. I have no way to know which request returns this to me ... I'm lost. Is anyone able to help me ? Dojo uses a technique called

issue with ajax submit

2008-07-19 Thread matthieu martin
Hello all. I am facing a problem which has made pull my hair off for quite a while now. I've looked everything my friend google gave me, but nothing relevant showed up. As a last hope, I am turning myself to you. I have a simple JSP code : s:form action=addFileToGallery method=post enctype=

RE: weird problem s:iterator tag.

2008-06-25 Thread Martin Gainty
OGNL value into a property and then test the value of the property) HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential

Re: Closing tag for html:hidden

2008-06-24 Thread Martin
Dimitris Congratulations..I think You found a bug /WEB-INF/struts-config.xml /WEB-INF/classes/ApplicationResources.properties prompt.search=Search prompt.Greece=Greece prompt.advanced.search=AdvancedSearch html head %@ taglib uri=http://struts.apache.org/tags-html; prefix=html% %@ taglib

Re: use OGNL to automatically look in the session?

2008-06-24 Thread Martin
The OGNL creators/authors were definitely 'page' centric e.g. #attr['foo'] or #attr.foo resolves to 1)Access to PageContext if available, otherwise searches 2)request 3)session 4)application respectively http://struts.apache.org/2.0.11.1/docs/ognl-basics.html IMHO Martin - Original

Re: [OT] What slows you down?

2008-06-22 Thread Martin
Anyone else? Martin - Original Message - From: Greg Lindholm [EMAIL PROTECTED] To: user@struts.apache.org Sent: Saturday, June 21, 2008 11:01 PM Subject: Re: [OT] What slows you down? When I read this I was being slowed down by constant stopping and starting of Tomcat from within

Re: validation and action names with slashes

2008-06-21 Thread Martin
Roberto- Just to clarify..how should the Results mapping annotations configuration be introduced? Thanks Martin-- - Original Message - From: Roberto Nunnari [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, June 21, 2008 7:25 PM Subject: Re

Re: struts2: render JSP from action class

2008-06-21 Thread Martin
have you had a chance to look at and deploy struts2-mailreader sample? http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-mailreader/2.0.11/ FWIW Martin - Original Message - From: Esteve Camps Chust [EMAIL PROTECTED] To: user@struts.apache.org Sent: Saturday, June

Re: [OT] What slows you down?

2008-06-20 Thread Martin
Martin - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, June 20, 2008 9:29 AM Subject: Re: [OT] What slows you down? --- On Fri, 6/20/08, Jim Kiley [EMAIL PROTECTED] wrote: I don't have a JSP debugger, and JSPs

Re: Struts 2 s:select question

2008-06-12 Thread Martin
Can you supply the jsp sepecifically looking for s:select web.xml struts-config.xml as well as the code from Action class http://struts.apache.org/2.0.11.1/docs/select.html Thanks Martin - Original Message - From: kukudas [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday

RE: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread Martin Gainty
Good Morning Michael- Have you notoiced this error manifested in either eclipse maven plugin or eclipse ant plugin ? In which version of eclipse and plugin do you see these errors? Is there a jira entry for these errors? Thanks, Martin Gainty

Re: ajax file upload in iframe

2008-06-10 Thread Martin
aplicacion please make sure you have these JS files located in struts-webapp folder %TOMCAT_HOME%/webapps/struts2-webapp/dojo/io/*.* if you dont have them located there you can copy from the dojo source libraries located at %DOJO_HOME%/struts/static/dojo/src/io/*.* Merci/Thanks Martin - Original

Re: Websphere 6.1 and Struts 1.3

2008-06-10 Thread Martin
=/projectsearch.do / /action you have admin defined as path instead of 'admin.do' Martin - Original Message - From: Sury Balasubramanian To: user@struts.apache.org Sent: Tuesday, June 10, 2008 1:30 PM Subject: Websphere 6.1 and Struts 1.3 Hello all, I am having an issue

Re: Modifying session attributes in Struts 2

2008-06-09 Thread Martin
/* you were really close*/ Map session = (Map) ActionContext.getContext().get(session); session.put(new_key,new_value); http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html HTH Martin - Original Message - From: Gamble, Wesley (WG10) [EMAIL PROTECTED

Re: detached object cannot be persisted exception again

2008-06-05 Thread Martin
(lockAllNode) ); //or No lock Attribute lockNoneNode = node.attribute( optimistic-lock-none); entity.setOptimisticLockMode( getOptimisticLockMode(lockNoneNode) ); HTH, Martin - Original Message - From: Arun [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday

RE: Cannot use multiple s:action tags?

2008-06-04 Thread Martin Gainty
as well Thanks Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party

Re: Struts 2 file upload size validation

2008-05-07 Thread Martin
Struts 1.2.9 org.apache.struts.chain.servlet.validateActionForm where the validate method is declared as protected ActionErrors validate(Context context, ActionConfig actionConfig, ActionForm actionForm) //reference the

Re: OGNL/Freemarker Performance

2008-04-26 Thread Martin Gainty
have'nt thoroughly tested the compressed js load scenarios with Struts but under Apache Browser load times decrease by 50% or greater (as demonstrated by FireFox) HTH Martin-- - Original Message - From: Jeromy Evans [EMAIL PROTECTED] To: Struts Users Mailing List user

Re: S2 s:submit not reliable?

2008-04-23 Thread Martin Gainty
submit.ftl#if parameters.title?exists title=${parameters.title?html}#rt/ /#if - Original Message - From: Stefan Gebhardt [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, April 23, 2008 8:59 AM Subject: Re: S2 s:submit not reliable? On Wednesday 23

Re: result in different pages

2008-04-19 Thread Martin Gainty
you can store in session and retrieve later using http://struts.apache.org/2.0.11.1/docs/ognl-basics.html - Original Message - From: [EMAIL PROTECTED] To: struts mailing list user@struts.apache.org Sent: Saturday, April 19, 2008 7:24 AM Subject: result in different pages Hi, I have a

Re: from Action to PageContext: how's it done?

2008-04-19 Thread Martin Gainty
using #foo is merely a request to another object in the OgnlContext other than the root http://struts.apache.org/2.0.11.1/docs/ognl-basics.html Good Stuff Martin - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, April

Re: Clarification on Type Conversion?

2008-04-18 Thread Martin Gainty
{ public ListPerson findAll(); public void save(Person person); public Person find(int id); } ? Martin- - Original Message - From: Griffith, Michael * [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, April 18, 2008 10:33 AM Subject

Re: action with dynamic parameter

2008-04-16 Thread Martin Gainty
implement ParameterAware and then call getParameters method to obtain the map e.g. Map parameters = this.getParameters(); http://struts.apache.org/2.0.11.1/docs/how-can-we-access-request-parameters- passed-into-an-action.html Martin- Original Message - From: [EMAIL PROTECTED] To: struts

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-15 Thread Martin Gainty
instance of bean B every time one is needed. So if prototype bean B changes A has no clue.. I think I'll stay with the scope=prototype/singleton in the declarator.. Thanks, Martin - Original Message - From: Randy Burgess [EMAIL PROTECTED] To: Struts Users Mailing List user

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-14 Thread Martin Gainty
singleton=false/ /beans The autowire property of struts.objectFactory.spring.autoWire is a bit tricky as for Bean Dependency Injection you will need an exact match on name, or class-type or constructor HTH Martin - Original Message - From: GF [EMAIL PROTECTED] To: Struts Users ML user

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-14 Thread Martin Gainty
Could you provide a scenario where one bean is injected into another? Thanks M- - Original Message - From: Randy Burgess [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, April 14, 2008 3:55 PM Subject: Re: [S2] Spring: Interceptors, prototype or

Re: POJO Action Class

2008-04-12 Thread Martin Gainty
Which error are you getting? M- - Original Message - From: Prashant Saraf [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org; Struts Users Mailing List user@struts.apache.org Sent: Saturday, April 12, 2008 3:45 PM Subject: RE: POJO Action Class hi, i changed the

Re: struts.xml

2008-04-09 Thread Martin Gainty
ResultTypes are illustrated here http://struts.apache.org/2.x/docs/result-types.html Is there anything specific you were looking for? Tak/ Martin- - Original Message - From: Ian Meikle [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, April 09, 2008

Re: problem in file upload

2008-04-09 Thread Martin Gainty
If you dont mind using freemarker you can always use exception-interceptor.html http://struts.apache.org/2.x/docs/exception-interceptor.html M-- - Original Message - From: Rajeev Sharma [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, April 09, 2008

Re: Local Host Error

2008-04-09 Thread Martin Gainty
I hope you have long legs because you're trying to climb 2 very steep mountains simultaneously 1st) subscribe to tomcat-users list..the folks that answer your question eat/live and breathe TC 24/7 http://tomcat.apache.org/lists.html#tomcat-users then of course you'll want to look at getting your

Re: [OT] What do you code today?

2008-04-06 Thread Martin Gainty
find all occurences of O'Halloran I wonder if there is a workaround so Irish names will not trip up whitespace delimiters??? Erin Go Bragh! Martin- - Original Message - From: Al Sutton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, April 06, 2008 3:36

Re: [OT] What do you code today?

2008-04-05 Thread Martin Gainty
Al- Any pointers you can share on porting ? M- - Original Message - From: Al Sutton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, April 05, 2008 2:51 AM Subject: Re: [OT] What do you code today? http://www.enterprise-password-safe.com/ At the

Re: [OT] What do you code today?

2008-04-04 Thread Martin Gainty
thoughts/ideas to implement a viable Architecture would be greatly appreciated Thanks Martin - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, April 04, 2008 6:14 AM Subject: [OT] What do you code today? While outward

Re: Strange behavior: Trying to implement saveToken() in display actions.

2008-04-02 Thread Martin Gainty
(FilterConfig filterConfig) { //so you can achieve this objective using ServletContextSingleton class ServletContextSingleton singleton = ServletContextSingleton.getInstance(); singleton.setServletContext(filterConfig.getServletContext()); ? Martin - Original Message - From: Doug

Validator: validatorResult memory issue

2008-03-31 Thread Martin Choma
Hi everybody, We wonder if it is possible to safely null validatorResult in ValidatorForm after succesfull validation. It could bring our application big memory effort as all our form are session scope. And validatorResult for some pages have 40K!!. As we found this structure is already nulled in

Re: [OT] Read XML file from folder outside web application

2008-03-28 Thread Martin Gainty
place the myconfig.xml in WEB-INF/classes then in struts.xml include that file include file=myconfig.xml/ M- - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: user@struts.apache.org Sent: Friday, March 28, 2008 3:22 PM Subject: [OT] Read XML file from folder outside

Re: Struts2 validation issue when internet is not available in the application server.

2008-03-26 Thread Martin Gainty
So to take an example in the supplied validators xml validators field name=count field-validator type=int short-circuit=true param name=min1/param param name=max100/param message key=invalid.countInvalid Count!/message /field-validator

Re: Use of ExtJS

2008-03-26 Thread Martin Gainty
with GWT equivalent Before attempting this conversion is there a specific component or feature you're looking for ? You might be pleasantly surprised by the features and functions that Dojo 1.0 has to offer.. ? Martin- - Original Message - From: Frans Thamura [EMAIL PROTECTED] To: Struts Users

Re: key property of s:checkbox tag

2008-03-24 Thread Martin Gainty
you can also use s:checkboxlist http://struts.apache.org/2.0.6/docs/checkboxlist.html so in your case take myList and use it to set the list attribute as in this example s:checkboxlist name=foo list=myList/ M- - Original Message - From: Kibo [EMAIL PROTECTED] To: user@struts.apache.org

Re: Struts2 - Can I access the form object from fielderror.ftl

2008-03-16 Thread Martin Gainty
you can if you use a combination of Freemarker AND dojo .. assume you have form id=formId.. script type=text/javascript dojo.require(dojo.event.*); #if (parameters.formId?if_exists?size 0) var containingForm = document.getElementById(${formId}); Anyone else? Martin- - Original Message

Re: Exception in Validation

2008-03-15 Thread Martin Gainty
sounds as if you might possibly a Speech to Text engine you're working with? check the referenced DTD is a valid 'grammar DTD' http://www.w3.org/TR/2001/WD-speech-grammar-20010820/#AppB (or post it here and we can check for you..) Martin- - Original Message - From: Dave Newton [EMAIL

Re: redirection problem

2008-03-15 Thread Martin Gainty
=http.getAllResponseHeaders(); var ret={}; ret.toString=function() { return headers; }; var key_value=headers.split(/[\r\n]+/g); for(var i=0;ikey_value.length;i++) { var pair=key_value[i].match(/^([^:]+)\s*:\s*(.+)$/i); if(pair) { key=pair[1]; value=pair[2]; } anyone else? Martin - Original Message

redirection problem

2008-03-14 Thread matthieu martin
Hi all. I am handling login issue through an interceptor. Basically it looks in the session if a user entry exists before letting you go through to the administration panels. This works fine. In my admin, I use a lot of Ajax (with dojo) so I never have a single full page reload. I use submits or

Re: Question regarding OGNL

2008-03-14 Thread Martin Gainty
dave is is correct.. #foo.blah // returns foo.getBlah() #bar.blah // returns bar.getBlah() blah // returns foo.getBlah() because foo is the root http://struts.apache.org/2.x/docs/ognl-basics.html Martin- - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users

s:property in s:* not interpreted

2008-03-13 Thread matthieu martin
Hi all ! I have a little issue and I find no clues on the web, so i'm turning myself to you. I have a piece of code like this : div id=menu_image_galleryss:property value='id'/ s:property id=s:property value='id'/ value=id/ s:a theme=ajax href=%{EditImageGallery}

Re: s:property in s:* not interpreted

2008-03-13 Thread matthieu martin
have some issues figuring out what's on the stack and what's not ... thanks again ! On Thu, Mar 13, 2008 at 10:49 AM, matthieu martin [EMAIL PROTECTED] wrote: Hi all ! I have a little issue and I find no clues on the web, so i'm turning myself to you. I have a piece of code like

ajax file upload

2008-03-13 Thread matthieu martin
Hi all ! I have a rather disturbing issue with a file upload. I have the s:file tag used along with a form. This works just fine, I get my files on the server. In my action, I move my file where I want to, and I create my entry in the database. I refresh my div containing my images. The problem

Re: Struts1 - how to reload parent window from popup

2008-03-08 Thread Martin Gainty
use javascript javascript:history.back(); ? Martin - Original Message - From: bhaarat Sharma [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, March 08, 2008 12:08 PM Subject: Re: Struts1 - how to reload parent window from popup I am trying

Re: struts zero configuration limitations and s2.1 availlability question

2008-03-08 Thread Martin Gainty
in Axis-2.13 let us know if @ParentPackage annotation works on just the one action in your Java package (If this is not the case we'll need to update JIRA) Thanks Martin- - Original Message - From: Jeromy Evans [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Martin Gainty
Good Morning Michael This is a bug.. do you want to update JIRA? Thanks Martin- - Original Message - From: Griffith, Michael * [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, March 06, 2008 4:07 PM Subject: RE: How can I combine a result (tiles

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Martin Gainty
-validation.xml,struts-tags-non-ui.xml...) Thanks Martin- - Original Message - From: Griffith, Michael * [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, March 06, 2008 4:07 PM Subject: RE: How can I combine a result (tiles + xslt)? Hi all, I've

Re: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Martin Gainty
Michael- remembering our academic coursework teaches Not(Not condition) evaluates positive be sure to set ignoreContextParams=false as in s:action tag ignoreContextParams=false ... I would encourage you to read Dave's article on using ResultTypes at

Re: short-circuit=true not working in field validator

2008-03-05 Thread Martin Gainty
by what Im seeing from XWork validators the first 'required' validator you declared is unnecessary as the second regex validator will identify that condition http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/va lidator/Validator.html Anyone? M- - Original Message

Re: Simple helloworld test fails with Could not find action or result

2008-03-05 Thread Martin Gainty
files will give us of the layout/design you're using Martin - Original Message - From: Karr, David [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, March 05, 2008 7:37 PM Subject: RE: Simple helloworld test fails with Could not find action or result

Re: Conversation Scope?

2008-03-04 Thread Martin Gainty
Hi Gabriel- are your proposing an enhancement to s:head as i think this concept is already covered by s:head which sets up global attributes? http://struts.apache.org/2.0.6/docs/head.html or a separate s:conversation tag ? M- - Original Message - From: Gabriel Belingueres [EMAIL

Re: --help

2008-03-04 Thread Martin Gainty
anything in particular you're looking for help on? Martin-- - Original Message - From: Randall Svancara [EMAIL PROTECTED] To: user@struts.apache.org Sent: Tuesday, March 04, 2008 11:12 AM Subject: --help -- Randall Svancara Systems Administrator 509-335-7093

Re: Conversation Scope?

2008-03-04 Thread Martin Gainty
several objects in the view, it forces to either create a DTO (not good) to reunite all data or using a Map with domain objects but in either case you end up with something not very different to not using model-driven. 2008/3/4, Martin Gainty [EMAIL PROTECTED]: Hi Gabriel- are your

Re: Package extends

2008-03-04 Thread Martin Gainty
are introducing differing namespaces and causing a mismatch? provided we're not seeing anything company proprietary can we see the struts.xml declaration for both packages? ? Martin- - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent

Re: Selecting over Static Maps from Resource Bundle

2008-03-03 Thread Martin Gainty
', [...]} .. / Martin - Original Message - From: Chris Pratt [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, March 03, 2008 8:02 PM Subject: Selecting over Static Maps from Resource Bundle Is it possible to place the data for the list attribute of an s:select tag

Re: Struts2 application does not work after converting from struts1

2008-03-03 Thread Martin Gainty
/filter Martin - Original Message - From: kal stevens [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, March 03, 2008 8:49 PM Subject: Struts2 application does not work after converting from struts1 My company is in the process of converting our

Re: Submit, ajax, targets and action

2008-03-01 Thread Martin Gainty
/dynamicTreeSelectAction.action' /?nodeId=+nodeId, load: function(type, data, evt) { var displayDiv = dojo.byId(displayId); displayDiv.innerHTML = data; FWIW Martin - Original Message - From: Matthew Seaborn [EMAIL PROTECTED] To: Struts Users Mailing List

Fw: Struts1 forms with empty Strings

2008-03-01 Thread Martin Gainty
=null; .. }; //class ??? Martin-- - Original Message - From: Tim B [EMAIL PROTECTED] To: user@struts.apache.org Sent: Saturday, March 01, 2008 9:44 PM Subject: Re: Struts1 forms with empty Strings Dave Newton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Andy [EMAIL

Call for Papers Opens for ApacheCon US 2008

2008-03-01 Thread Martin Cooper
Call for Papers Opens for ApacheCon US 2008 !REMINDER: this will be a short CFP, ending on 3 April, so please be sure to get your CFP submissions in soon! The Apache Software Foundation (ASF) invites submissions to its official users' conference, ApacheCon US 2008, held 3 November through 7

Re: expression validator

2008-02-29 Thread Martin Gainty
declare the field validator such as the field-name declared in validators in FieldValidatorsExampleAction-submitClientSideValidationExample-validation.xm l validators field name=requiredStringValidatorField field-validator type=requiredstring param name=trimtrue/param

Re: Struts1 forms with empty Strings

2008-02-29 Thread Martin Gainty
//easiest solution would be to set all the attribute default values to null e.g. public class TestFormBean extends ActionForm { private String stringProperty=null; private Object[] arrayProperty=null; public String getStringProperty() { return (stringProperty); }

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Martin Gainty
interesting ...can you implement ajax functionality such as theme='ajax' from dojo? Martin- - Original Message - From: Ray Clough [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, February 29, 2008 6:08 PM Subject: Re: [friday] Re: Struts2 vs JSF I

OgnlValueStack.logLookupFailure

2008-02-27 Thread Eric Martin
I'm stuck with this error and have no idea what the problem is... In my action class, I'm returning a String property called ruleType. I've verified that it has a value of A. In my jsp, I have: s:if test=ruleType == 'A' [EMAIL PROTECTED] file=arithmeticDetail.jsp % /s:if For some reason,

Re: OgnlValueStack.logLookupFailure

2008-02-27 Thread Eric Martin
quotes will evaluate to a character, not a string. Not entirely sure I get the exception without looking at the source. s:if test='ruleType == A' should work, though (switched punctuation). Dave --- Eric Martin [EMAIL PROTECTED] wrote: I'm stuck with this error and have no idea

Re: [struts] OgnlValueStack.logLookupFailure

2008-02-27 Thread Eric Martin
DNewfield wrote: Eric Martin wrote: So, it looks like struts converts it to a Char if it's a single-character and a string if it's multi-character? Yes, but it's OGNL that does that, not Struts. http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/basicExpressions.html#constants

[s2] Date format in TextField

2008-02-26 Thread Petzsch, Martin
Hi, I want to display editable dates in textfields. I cannot use JavaScript, so datetimepicker isn't an option. Currently the date is displayed as dd/mm/yy if there is a value. How can I change this to be dd/mm/? Many thanks, Martin Capgemini is a trading name used

RE: [s2] Date format in TextField

2008-02-26 Thread Petzsch, Martin
that the textfield should show the date as dd/mm/? Many thanks, Martin -Original Message- From: Richard Sayre [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 17:59 To: Struts Users Mailing List Subject: Re: [s2] Date format in TextField I'm not sure if I understand you correctly but... I want

Re: problem in populating Maps

2008-02-24 Thread Martin Gainty
1) its possible the link does'nt have that returned object mapped you may want to consider doing a quick test of the object beforehand with linkObject.containsValue(ReturnedObject) http://java.sun.com/javase/6/docs/api/java/util/LinkedHashMap.html#containsV alue(java.lang.Object) 2) it is quite

Re: How to call javascript from Struts tag

2008-02-22 Thread Martin Gainty
lets say you have some tag which has its base function called updateReports() assuming the div tag has theme=ajax referencing http://struts.apache.org/2.0.11/docs/ajax-div-template.html saf:head theme=ajax / function doit(){ document.login_form.hidden_id.value=01420;}/script script

Re: Struts 2 Container Security problem

2008-02-19 Thread Martin Gainty
start here http://www.acegisecurity.org/guide/springsecurity.html M- - Original Message - From: Kelly Graus [EMAIL PROTECTED] To: user@struts.apache.org Sent: Tuesday, February 19, 2008 12:12 PM Subject: Struts 2 Container Security problem Hi Everyone, I'm attempting to secure my

Re: Type conversion questions

2008-02-19 Thread Martin Gainty
; List l = (List) o; String result =; for (Iterator i = l.iterator(); i.hasNext(); ) { s[j++]=i.next(); } return s; } //...other methods.. } FWIW Martin-- - Original Message - From: Jeromy Evans [EMAIL PROTECTED] To: Struts Users Mailing

Javascript issue encountered with s:optiontransferselect

2008-02-15 Thread matthieu . martin
Hi all, I am facing a particular problem, and I didn't find help on the web so I'm turning myself to you. I use in my Struts 2 application the UI tag s:optiontransferselect. The parameters work fine and everything's displayed correctly on the screen. Nevertheless, the buttons just don't work.

Réf. : RE: Javascript issue encountered with s :optiontransferselect

2008-02-15 Thread matthieu . martin
Hi, The tag actually was in a div loaded in AJAX, and thanks to you it now works just fine ! Thanks a lot ! Matthieu Internet [EMAIL PROTECTED] 15/02/2008 15:23 Veuillez répondre à user@struts.apache.org Pour user@struts.apache.org cc Objet RE: Javascript issue encountered with

Re: Struts2 Validaions

2008-02-13 Thread Martin Castellanos
a new theme, or use some combination of theming and manual work to accomplish whatever your needs are. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Martin

Re: Struts2 Validaions

2008-02-13 Thread Martin Castellanos
errors were added. That's how I ended up implementing Preparable to clearErrorsAndMessages(). I'd appreciate any help. Thanks On Wed, Feb 13, 2008 at 9:45 AM, Dave Newton [EMAIL PROTECTED] wrote: --- Martin Castellanos [EMAIL PROTECTED] wrote: I had this problem, I don't think it's related

<    5   6   7   8   9   10   11   12   13   14   >