RE: why doesnt iterator tag provide 'next'

2009-05-30 Thread Martin Gainty
Bharaat did you get a change to read musachy's tag developer guide http://struts.apache.org/2.0.14/docs/tag-developers-guide.html ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachrich

RE: [s2] strange (for me) OGNL behavior

2009-05-30 Thread Martin Gainty
WEB-INF/classes/struts-default.xml dojo\..*,^struts\..* add exclude param after ^struts\..* e.g. ^struts\..*,name does this help? Martin _

RE: error validation error

2009-05-30 Thread Martin Gainty
please view this comprehensive explanation of dojo mapped functions by Ted http://struts.apache.org/2.1.6/docs/developing-ajax-widgets.html hth Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese

RE: why doesnt iterator tag provide 'next'

2009-05-30 Thread Martin Gainty
Good Morning Bharaat struts tags have an extensible design which can be expanded for future requirements can you suggest a testcase to implement this functionality? thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

RE: Error in Jasper printReport [Friday]

2009-05-29 Thread Martin Gainty
yep.. forgot the BIOS very good dave! Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

RE: Cant find @Result type=? list in docs

2009-05-29 Thread Martin Gainty
(suffixed with reportType param width param height param } <-- Pass parameters (reportType, width and height) --> generateReport /genReport pie 100 100 are the examples provided clear enough to follow? Martin

RE: Error in Jasper printReport

2009-05-29 Thread Martin Gainty
connection and / or schema thx, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede

RE: Obtaining the value of struts.action.extension in a struts2 nterceptor

2009-05-28 Thread Martin Gainty
not to mention Inject has 2 specs to conform to JSR299 spec 2 flavors of JSR300 spec JSR300 - Guice JSR300 - Spring (most widespread Injection implementation) http://www.h-online.com/open/Google-SpringSource-Joint-Dependency-Injection-for-Java-proposal--/news/113393 ? Martin Gainty

RE: Struts2, Spring & Maven

2009-05-28 Thread Martin Gainty
like jarhoo (but for maven) Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbef

RE: Struts2, Spring & Maven

2009-05-28 Thread Martin Gainty
for those of us who spend hours looking for maven plugin jars this is a great search tool! thanks wes! Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Struts2, Spring & Maven

2009-05-27 Thread Martin Gainty
dont know if this has the correct version and groupID you're looking for but checkout http://repo1.maven.org/maven2/spring/spring/1.0.2/ Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertra

RE: Interceptor Trouble

2009-05-27 Thread Martin Gainty
can we see the code for com.eds.xxx.web.admin.UidInterceptor ? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoe

RE: Struts2 Interceptor

2009-05-27 Thread Martin Gainty
ortCircuit()==true)?"true":"false"; try { vs.setValue("shortCircuitRedirectUrl", isBogus, 1); } catch (OgnlException e) { log.debug("OgnlException happened here"+e.getMessage()); } } would thi

RE: SV: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-27 Thread Martin Gainty
ogDog-aliasname While this process is similar to what the XW:Localization framework does when finding messages, there are some subtle differences. The most important difference is that validation rules are discovered from the parent downwards. //how do i enable Validati

RE: Struts2 Interceptor

2009-05-27 Thread Martin Gainty
you might possibly be breaking the one action class design of Struts is there anything in the 2nd Action class which will not be accomodated by the first class? right now its simple to look at the interceptor stack and determine which class is being called in what order..although technically p

RE: submit list

2009-05-26 Thread Martin Gainty
MG>closest example i could find is located at https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X/apps/showcase/src/main/webapp/conversion/enterAddressInfo.jsp MG>check these comments Martin __ Verzicht und Vertraulichkeitanmerkung/

RE: Struts 2 dispatcher does not see namespace and action in URL

2009-05-26 Thread Martin Gainty
! https://glassfish.dev.java.net/ terry.. do you have any solutions for problems with IBM software? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Pagination

2009-05-25 Thread Martin Gainty
referencing the documentation lucas provided we can see the number of records/page are provided by displaytag.properties (version 1.1) sort.amount=50 (version 1.2) pagesize=50 ..concerning how to manipulate what you're reading all you have to do is replace the InputStream with one from DS ...

RE: JSON plugin class loading problem? (Part Deux)

2009-05-24 Thread Martin Gainty
ts-2.0.dtd";> JSONResult.java states * * */ public class JSONResult implements Result { thanks for working on a holiday! Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité D

RE: JSON plugin ignoring includeProperties parameter

2009-05-21 Thread Martin Gainty
][m][e] ? Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza

RE: Nested Struts2 iterator tags

2009-05-21 Thread Martin Gainty
//Assuming we have this Action //A Simple Action Class which demonstrates placing information in a Map public class GetEntryAction extends ActionSupport { private ArrayList stats_list=new ArrayList(30); //a collection of stats private class stats { private ArrayList entries_list=

RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

2009-05-20 Thread Martin Gainty
ObjectFactoryDestroyable class is packaged in $JBOSS_HOME/examples/StrutsWebApp/exploded-archives/StrutsWebApp .war/WEB-INF/lib/struts2-core-.jar if not there cp $STRUTS2_HOME/lib/struts2-core*.jar $JBOSS_HOME/examples/StrutsWebApp/exploded-archives/StrutsWebApp .war/WEB-INF/lib/struts2-core*.ja

RE: Struts2+ReST-plugin prolems need help!!!

2009-05-20 Thread Martin Gainty
let the StrutsDispatcher handle the navigation details you'll have to fill in any necessary java classes as well as input/output jsps but the basic structure is outlined in struts.xml illustrated below Martin Gainty __ Verzich

RE: JSON plugin class loading problem? (Part Deux)

2009-05-20 Thread Martin Gainty
he must be passing in JSONResult in one of the params to Action can we see web.xml struts.xml and struts-default.xml and struts-config.xml please display ALL xml files for your project thanks, Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás

RE: JSON plugin class loading problem? (Part Deux)

2009-05-19 Thread Martin Gainty
ound to webWorkSession for '" + Thread.currentThread().getName() + "' using key '" + beanKey + "'."); } return instance; } http://www.opensymphony.com/webwork/wikidocs/Spring%20Session%20Components%20

RE: JSON plugin class loading problem?

2009-05-19 Thread Martin Gainty
Thread().getName() + "' using key '" + beanKey + "'."); } return instance; } http://www.opensymphony.com/webwork/wikidocs/Spring%20Session%20Components%20Workarounds.html I will put this into WebWork JIRA Good Catch! Martin

RE: I18n blew up

2009-05-19 Thread Martin Gainty
typical use is to use getText to acquire the property attribute as defined here modifying controlheader-core.ftl would allow you to supply neccesary call to getText ${parameters.label?html}:<#t/> <#assign mm="getText('"+parameters.label?html+"')" /><#t/> ${stack.findValue(mm)}:<#t/> struts-

RE: upload and store img

2009-05-19 Thread Martin Gainty
/interceptor/FileUploadInterceptor.html HTH Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy

RE: File upload (jupload)--how to disable struts2' fileupload interceptor?

2009-05-18 Thread Martin Gainty
.org/tomcat-6.0-doc/realm-howto.html#JAASRealm Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy j

RE: DWRValidator not working in Struts 2.1.6

2009-05-18 Thread Martin Gainty
quot; > > I wanted to know if i'm missing anything here, or is this a bug with > DWRValidator? > > Thanks, > > Joseph > > > > > > > > On Fri, May 15, 2009 at 5:36 PM, Dave Newton wrote: > > > Martin Gainty wrote: > > > >> the 3rd para

RE: Radio button grouping in Struts 2

2009-05-18 Thread Martin Gainty
the only suggestion i can think of is rework existing List to a Map e.g. possibleAnswersMap so value is the value part of entry from possibleAnswersMap key is key part of entry from possibleAnswersMap otherwise looks good Martin Gainty __ Jogi és

RE: [S2 2.1.6] Struts2 sucks wrt. OGNL expressions

2009-05-15 Thread Martin Gainty
when we all get rich and retire somewhere like ohio or florida.. in summer i vote for ohio BTW whats going on for merger of WebLogic and Glassfish? http://search.oracle.com/search/search?start=1&nodeid=&fid=&keyword=GlassFish&group=Oracle.com and yes this is definitely O/T

RE: xml validation

2009-05-15 Thread Martin Gainty
a complete diagnosis Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to re

RE: DWRValidator not working in Struts 2.1.6

2009-05-15 Thread Martin Gainty
, boolean cleanupContext) Creates an ActionProxy for the given namespace and action name by looking up the configuration. and yes please file a JIRA in Struts Documentation Thanks Martin Gainty __ Disclaimer and Confidentiality/Verzicht

RE: DWRValidator not working in Struts 2.1.6

2009-05-14 Thread Martin Gainty
nt i'm confused is that in DWRValidator doPost method, there's again > a call to execute the Action like : > > ActionProxy proxy = actionProxyFactory.createActionProxy(inv, namespace, > mapping.getName(), mapping.getMethod(), *true*, *true*); > proxy.execute(); > and this fails for

RE: DWRValidator not working in Struts 2.1.6

2009-05-14 Thread Martin Gainty
see if this made was built into latest distro Thanks, Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then

RE: Griffy..

2009-05-14 Thread Martin Gainty
looking for a low cost alternative to Visio i noticed their customer base includes University of Chicago impressive! Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This

Griffy..

2009-05-13 Thread Martin Gainty
anyone know what happened to Ted Husted's Griffy Project? download?.. documentation? and/or tutorial? thx Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This messa

RE: Struts 2 - Dispatch Action

2009-05-10 Thread Martin Gainty
specifically action method http://struts.apache.org/2.0.14/docs/action-configuration.html#ActionConfiguration-DynamicMethodInvocation although i wonder about the derivation of ! = bang assignment? Martin __ Disclaimer and Confidentiality/Verzicht und

RE: Problems setting attributes on my Action using Restful2ActionMapper

2009-05-08 Thread Martin Gainty
a guy named 'david' said he wanted to update the wiki..i thought it was u? Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intend

RE: Problems setting attributes on my Action using Restful2ActionMapper

2009-05-08 Thread Martin Gainty
we already have a david..mind if we use your middle name? thx, Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intended

RE: Dynamic property names

2009-05-08 Thread Martin Gainty
use of #variable(#object) may lead to ArrayIndexOutOfBoundsException as an alternative i would've suggested an ArrayList of Prop1 embedded within Prop2 this way your ognl ref is always referencing Prop2 (for outer loop) and then reference the Prop1 Array with a get(index) or indexOf(Object) whe

RE: IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss

2009-05-07 Thread Martin Gainty
the URI you are supplying vfsmemory://5c4o21o-nqcau3-fuffdssr-1-fuffe5bp-1yis not a valid URI I would use valid prefixes defined here http://www.ietf.org/rfc/rfc2396.txt Viel Gluck, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichke

RE: S2 - s:submit method="value" has to be hard-coded?

2009-05-06 Thread Martin Gainty
://struts.apache.org/2.0.14/docs/action-configuration.html that is one solution..i am sure there are many others HTH Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message

RE: Struts 2 – chang ing method signature

2009-05-06 Thread Martin Gainty
take a look at com.opensymphony.xwork2.interceptor.ParametersInterceptor This interceptor gets all parameters from ActionContext.getParameters() and sets them on the value stack by calling ValueStack.setValue(String, Object), typically resulting in the values submitted in a form request bein

RE: Date/time formatting

2009-05-06 Thread Martin Gainty
you can also use the Struts date tag <%...@taglib prefix="s" uri="/struts-tags" %> if no format is specified format defaults to DateFormat.MEDIUM (in US = MMM d, )http://struts.apache.org/2.0.14/docs/date.html HTH Martin __ Disclaimer and Confide

RE: Usecases for ModelDriven interface

2009-05-05 Thread Martin Gainty
I think what you're looking for is a more flexible Mapping which can be achieved via Spring http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/web/servlet/DispatcherServlet.html which would enable you to define your own DefaultAnnotationHandlerMapping http://static.springs

RE: Struts 1 Plugin | forwards?

2009-05-05 Thread Martin Gainty
sounds like you're mixing your Struts1 code with struts2 jars probably easiest just to convert your codebase up to Struts2 http://struts.apache.org/2.0.12/docs/migration-guide.html Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeit

RE: stream result causing action to be called multiple times

2009-05-05 Thread Martin Gainty
To forestall double submits, and "back button" resubmits, the framework can generate a token that is embedded in the form and also kept in the session. If the value of the tokens do not compare, then we know that there has been a problem, and that a form has been submitted twi

RE: action call getting skiped

2009-05-04 Thread Martin Gainty
have the admin of the prod box display for us the following details: all jsp source code for all ActionClasses web.xml all .tld configurations located in WEB-INF ./WEB-INF/classes/struts.xml all of the included files included within struts.xml WEB-INF/applicationContext.xml Martin

RE: Using Expression Language (EL) To Access ActionSupport Class Properties

2009-05-04 Thread Martin Gainty
the default mechanism for passing information back and forth is string for more complex datatypes you're going to have to build the interface yourself assuming this is the method protected boolean[] hasRoles(List roleIdentifiers, AuthorizationInfo info) The v

RE: login interceptor and a servlet

2009-05-04 Thread Martin Gainty
yes the key is to specify the correct contentType param (in this case image/jpeg) and the correct contentDisposition (in this case filename) inline can be used for small file transfers (under 4k) image/jpeg imageStream filename="document.pdf" 1024 http://struts.apache.org/2.0.14/struts

RE: How to develop a Wireframe using Struts UI?

2009-05-03 Thread Martin Gainty
more than likely if you have a requirement someone else may use it if you find a Struts2 bug more than likely someone else is plagued by the same bug what functionality do you expect from the WireFrame? What types of interfaces to View Model do you expect Would this be an extension to struts-tag

RE: Any hint of JQuery on struts2 tutorial, thanks!

2009-04-28 Thread Martin Gainty
i worked in ohio once..some hard working folks there that need some training in current technologies I like the MEAP but i am still looking for the publication preview comprehensive examples are a good idea..makes it easy to teach from Martin Gainty

RE: Any hint of JQuery on struts2 tutorial, thanks!

2009-04-28 Thread Martin Gainty
Struts2 in Practice book from manning http://www.manning.com/wannemacher feel free to Ping wes or myself offline for any questions/comments/tutorials Thanks, Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung

RE: Upgrading AppFuse to Struts 2.1

2009-04-27 Thread Martin Gainty
//ping rainier as earlier suggested for a response on this opensymphony issue //Latest WW 2.2.7 distro d/l http://www.opensymphony.com/webwork/download.action /** Copyright (c) 2002-2003 by OpenSymphony All rights reserved.*/ package com.opensymphony.webwork.showcase.validation; //NOT xwork2..

RE: Upgrading AppFuse to Struts 2.1

2009-04-27 Thread Martin Gainty
Matt- http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html the advice to 86 the old xwork libraries (Your application is now dependent on xwork-2.1.x) is premature //lets take a look at documentation on using visitor field validator from http://struts.apache

RE: Open an excel in Struts application

2009-04-27 Thread Martin Gainty
which error is displayed? can you show the logs? BTW: If you want Poi Action classes you will need the POI-plugin for Struts Thanks, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité

RE: property file outside war file.

2009-04-25 Thread Martin Gainty
the 'prescribed way' Sun recommends getSystemResourceAsStream("FullyQualifiedURI"); http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html#getSystemResourceAsStream(java.lang.String) HTH Martin Gainty __ Disclaimer

RE: The future of the dojo plugin

2009-04-24 Thread Martin Gainty
Good Afternoon Russ- Is there a feature in latest version of Dojo http://dojocampus.org/explorer/#Dojo_Drag%20And%20Drop_Flickr%20Viewer YUI, GWT, jQuery, Prototype, Scriptaculous that you would like to see implemented that is not present in Dojo 0.4.3? ? Martin __

RE: Struts2 localization

2009-04-24 Thread Martin Gainty
o: user@struts.apache.org > Subject: Re: Struts2 localization > > Martin Gainty wrote: > > the example uses configuration to preset the value of input element > > > > > value="%{configuration.getBoolean('use_access_co

RE: Struts2 localization

2009-04-24 Thread Martin Gainty
thanks for the explanation the example uses configuration to preset the value of input element could you provide what configuration is in this context? thx, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de d

RE: debugging jsp pages with struts html tags

2009-04-23 Thread Martin Gainty
set struts.properties struts.devMode = true then turn on debug for xml or console with http params ?debug=xml or ?debug=console to the URL http://struts.apache.org/2.x/docs/debugging.html Martin Gainty __ Disclaimer and Confidentiality/Verzicht und

RE: s:url, s:param and german umlauts

2009-04-23 Thread Martin Gainty
23. April 2009 07:51 > > > An: user@struts.apache.org > > > Cc: mgai...@hotmail.com > > > Betreff: AW: s:url, s:param and german umlauts > > > > > > Does this mean there is a bug in 2.1.16? > > > > > > Von: Mar

RE: retrieving action name in ActionClass

2009-04-21 Thread Martin Gainty
ActionContext.getContext().getName() http://www.opensymphony.com/webwork/api/com/opensymphony/xwork/ActionContext.html ? Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message

RE: data is not getting refreshed

2009-04-21 Thread Martin Gainty
MG>quick comment (others feel free to jump in) > Subject: data is not getting refreshed > From: srinivas...@sify.com > To: user@struts.apache.org > > Hi all > I have situation > > we have two modules which are in production > > one is developed in old servlets and jsp > > and another is in st

RE: Calling Action on page load

2009-04-20 Thread Martin Gainty
if you're bound by political considerations to use Struts1 use Dave's suggestion (if you are able to implement Struts2 solutuion use the suggestion I posted yesterday) please keep us apprised Martin __ Disclaimer and Confidentiality/Verzicht und Vert

RE: Struts 2.1 book

2009-04-19 Thread Martin Gainty
is anyone proofreading?..i'll sign up for a free copy .. Martin _ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask

RE: Is there a way to make Struts2 working with other methods different than classic getter/setter?

2009-04-17 Thread Martin Gainty
if you mean spring specify struts.objectFactory.spring.autowire in /resources/struts-plugin.xml e.g. struts.objectFactory.spring.autoWire = type The autowire property can be set to several options. name Auto-wire by matching the name of the bean in Spring with the name of the property

RE: Struts 2 Portlet/Oracle Portal Problems

2009-04-16 Thread Martin Gainty
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher http://struts.apache.org/2.0.14/docs/struts-2-portlet-tutorial.html ? Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni

RE: Struts2 equivalent of

2009-04-15 Thread Martin Gainty
yes the Struts 1.x if tag has been deprecated you can check for specific attributes as wes suggested OR change your struts-spring autowire type to "constructor" in your interceptor stack e.g. \WEB-INF\src\java\struts.xml 2 and configure the springframework ContextLo

RE: When using jsp:include or s:include in a JSP page the next Struts 2 tags will throw java.lang.NullPointerException on WebLogic 10.3

2009-04-15 Thread Martin Gainty
if you attach the war offline.. I'll test it here Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we

RE: does not include parameter

2009-04-14 Thread Martin Gainty
Good Evening John i found this link helpful for explaining namespace and action resolution http://struts.apache.org/2.0.14/docs/namespace-configuration.html HTH Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung

RE: Removing the align="right" from tag

2009-04-14 Thread Martin Gainty
stcase Saludos Cordiales Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely

RE: hi,guys! I wonder the validation framework is ok in the Struts 2.1.6 .

2009-04-14 Thread Martin Gainty
Great Answer! Original Op: feel free to ping me offline for specific details .. Thanks Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you

RE: Struts Action Issue

2009-04-13 Thread Martin Gainty
k days. Forms can use either POST or GET. > > @original poster: add breakpoints to the ParametersInterceptor and see > if your params are getting filtered out by it. > > musachy > > On Mon, Apr 13, 2009 at 4:18 PM, Martin Gainty wrote: > > > > except webwork forms exp

RE: Struts Action Issue

2009-04-13 Thread Martin Gainty
except webwork forms expect method="POST" http://cwiki.apache.org/WW/webwork-2-ui-tag-guide.html is there any specific reason why you need to implement with method="get" did you use the FieldExpression-Validator as suggested earlier? what are the specific errors you are seeing with either scenar

RE: Struts access static list

2009-04-13 Thread Martin Gainty
I sent this to you already but apparently was lost you can use the spring plugin to create the necessary entities for you e.g. http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:bean="http://www.springframework.org/schema/util";

RE: Struts and EJB 3

2009-04-12 Thread Martin Gainty
org.apache.struts2.dispatcher.ServletDispatcherResult should be in struts2-core-2.1.2.jar ? Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you shou

RE: struts 2, implements Action / extend ActionSupport

2009-04-12 Thread Martin Gainty
assuming you are using Actions annotation to define multiple action methods within a single action class? @Action("/different/url") http://cwiki.apache.org/WW/convention-plugin.html ? Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulic

RE: struts 2

2009-04-12 Thread Martin Gainty
IOC Container manages the location,creation and instantiation of framework bean http://struts.apache.org/2.x/docs/spring-plugin.html I would suggest configuring Spring IOC Container struts.objectFactory.spring.autoWire to either name,type,auto, or constructor Martin ___

RE:

2009-04-11 Thread Martin Gainty
set the value with JS e.g. function setValue() { var picker = dojo.widget.byId("picker"); //string value//figure out where the value is then use dojo.widget.byId("DateID").setValue('new value') e.g. picker.setValue('2007-01-01'); //notice the tick marks for constants //Dat

RE: Struts 2 on Google App Engine for Java

2009-04-09 Thread Martin Gainty
what is the error ? Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte We

RE: Struts Action Issue

2009-04-09 Thread Martin Gainty
agree with Rommel a FieldValidationInterceptor would accomplish this objective http://struts.apache.org/2.0.14/docs/fieldexpression-validator.html HINT place validation logic in expression validator e.g. Date: Thu, 9 Apr 2009 07:23:42 -0700 > From: charlesmel1...@yahoo.com > Subject: Re: Struts

RE: struts2-showcase on OC4J

2009-04-08 Thread Martin Gainty
//PrepareOperations.findActionMapping method contains this hardcoded lookup struts.actionMapping //PrepareInterceptor has this Action class mapping class org.apache.struts2.dispatcher.mapper.ActionMapping showcase / //so in your /WEB-INF/classes/struts-default.xml you would need to change

RE: firefox css is not loaded

2009-04-08 Thread Martin Gainty
link href attribute is pointing to the wrong location.. here is mine Seien Sie sinnvoll? Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaen

Re: Validators

2009-04-08 Thread Martin Gainty
Roberto- in %TOMCAT_HOME%\webapps\struts2-showcase-2.1.6\WEB-INF\classes\com\opensymphony\xwork2\validator\validators\default.xml you should have at minimum these 2 Validation Classes declared: //an example of Action Class with an ID attribute package com.opensymphony.webwork.

RE: create personal interceptor

2009-04-08 Thread Martin Gainty
#Interceptors-UnderstandingInterceptors If you can state why you need an interceptor then I et al will help you code one Bon Chance/Vielen Danke Martin Gainty __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese

RE: create personal interceptor

2009-04-07 Thread Martin Gainty
you dont need an interceptor as you wont be modifying request params sub in date value when you declare it in Action class java class public class SomeAction extends DefaultActionSupport { { private Date date=new Date("2006-06-26"); public void getDate() { return date ; } public setDate(Dat

RE: OGNL Debug?

2009-04-07 Thread Martin Gainty
in struts.xml flip struts.devMode to "true" e.g. Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um

RE: Error with ActionForward

2009-04-07 Thread Martin Gainty
1)what is IRule? 2)paramName="rule" is not declared An example of passing a parameter (in this case id) to your Action Class otherAction?id=${id} where otherAction Action Class accomodates parameter id by private int id; //attribute declaration public int getId() { return this.id; } //

RE: Struts2 / Cimande @ MEruvian Foundation

2009-04-06 Thread Martin Gainty
right now Indonesia is doing better than New England where the unemployment rate has recently jumped to 75% i do think a learning experience could benefit us all.. Bon Chance Frans! Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et d

RE: Unable to get 'ScopedModelDriven' to work for session scope

2009-04-06 Thread Martin Gainty
pls check to see if ParameterFilter is blocking your params e.g. ... blocked_parameter allowed_parameter ... http://struts.apache.org/2.0.14/docs/parameter-filter-interceptor.html ? Martin __ Verzicht und Vertraulichkeitanm

RE: Struts 2/Spring and @Required

2009-04-06 Thread Martin Gainty
//the struts-convention-plugin allows you to supply your own params e.g. public class HelloWorld extends ActionSupport { @Action(value="/different/url", result...@result(name="success", type="httpheader", params={"status", "500", "errorMessage", "Internal Error"})} http://cwiki.apache.org

RE: Empty lines before doctype declaration

2009-04-06 Thread Martin Gainty
If you are seeing org.xml.sax.SAXParseException: Content is not allowed in prolog. I see 3 struts Libraries which throw SAXParseException: \WEB-INF\lib\commons-el-1.0.jar \WEB-INF\lib\ognl-2.6.11.jar \WEB-INF\lib\velocity-1.4.jar I wouldcheck these version-specific jars are in your classpath ?

RE: hidden data

2009-04-06 Thread Martin Gainty
Action Class expects Form content type to be application/x-www-form-urlencoded do you have another content-type which the Action class should accomodate? Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese Nachr

RE: WW-1960 converting all parameters to string array

2009-04-01 Thread Martin Gainty
you may have found a bug on a untested cornercase.. pls see followup comments in JIRA thanks > > Recently I upgraded to struts 2.1 GA from 2.0. Noticed that param tag used > in action tag is no longer passing non array non string objects to the > action being called, actually throwing an excepti

RE: ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16

2009-03-31 Thread Martin Gainty
Hi Derrick- could you check your jsp to determine where you push nameValue onto the OGNL ValueStack? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: jsp page not display data when using ModelDriven---class can get parameter from jsp file

2009-03-31 Thread Martin Gainty
Where is your code for BaseActionS2? Glad to know Im not the only person who watches BBC! Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to

RE: post-redirect-get in Firefox

2009-03-30 Thread Martin Gainty
In Firefox so if I am on Investran and am redirected to cyberspaceroad I then (login) to on cyberspaceroad on refresh I am redirected to original Investran Can you see which redirect code is returned (301,307) and which method(POST/GET) ? Martin __

<    2   3   4   5   6   7   8   9   10   11   >