Re: Catching: Unable to instantiate Action

2009-11-11 Thread Roger
On Wednesday 11 November 2009 17:34:49 Oscar wrote: > Maybe using a exception mapping for java.lang.ClassNotFoundException > This sounds like the same problem that I'm having, Why would mapping ClssNotFoundException help? It's a sub-class of java.lang.Exception and mapping that should catch eve

Re: Catching: Unable to instantiate Action

2009-11-12 Thread Roger
On Thursday 12 November 2009 12:35:25 Gustavo Felisberto wrote: > My toughts also. But in any case I tested and it did not help. > > If you find a solution please drop it here. > > Gustavo > Will do, but I've had even less response to my query than you. Regards

Re: Boolean Type Conversion

2010-01-30 Thread Roger
On Friday 29 January 2010 22:30:34 Wes Wannemacher wrote: > I don't know if I'd go too far creating a TypeConverter... Can you > just do something like this - > > YN > > Really, you could probably create a .tag file out of it and reuse it > easier than creating a Type Converter. > > -Wes > I ca

Re: how to set default focus field in ?

2010-05-12 Thread Roger
> > By using tiles, is in global_layout.jsp page, for decedent pages, > I will not be able to set body onload. > Admittedly I don't know tiles, but Sitemesh will copy the body onLoad and unload functions to the decorating page and I would be suprised if Tiles didn't support this as well. Re

Re: Exec & Wait

2010-06-02 Thread Roger
On Wednesday 02 June 2010 18:14:29 Dale Newfield wrote: > On 6/2/10 7:29 AM, RogerV wrote: > > I'm using the Exec&Wait interceptor in a couple of places. I've noticed > > that while the long running process is in progress, every time the wait > > screen polls the action I get [WARN,TokenHelper] Cou

Re: How to structure a struts2 application

2010-09-25 Thread Roger
It is also worth pointing out that because Struts2 creates the action on each call, you don't actually save anything by having a single action for CRUD. You might actually be worse off by performing unneccsessary activities at times. Regards -

Jquery plugin sj:tab

2011-03-14 Thread roger
What does do? I was expecting it to prevent a user clicking on the tab and displaying its contents. I'm trying to develop a page where each tab represents a step in a wizard-like data entry. I want to be able to dynamically enable/disable each tab so that, depending on the data input so far (and

Re: Jquery plugin sj:tab

2011-03-14 Thread roger
Sorry - don't quite know what happened there. What should have appeared was "what does actually do?" Sorry -- View this message in context: http://struts.1045723.n5.nabble.com/Jquery-plugin-sj-tab-tp3556130p3556202.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: Jquery plugin sj:tab

2011-03-14 Thread roger
Lets try that again, it looks like the nabble interface I'm using doesn't like < and > tags. The question was "what does actually do? Regards -- View this message in context: http://struts.1045723.n5.nabble.com/Jquery-plugin-sj-tab-tp3556130p3556205.html Sent from

Struts2 and DisplayTag

2011-03-30 Thread roger
Hi I suspect that this is not a Struts problem per-se, but I'm asking here in the hope that someone else has seen this. I'm using Struts 2.2.1 with DisplayTag 1.2. I've got a simple jsp page that contains - and my decorator is as follows; public class EditOrDeleteD

Spring Plugin and Interceptor instantiation

2011-06-28 Thread roger
Hi If I use the struts 2 spring plugin, will the struts framework use spring to instantiate the standard filters (i.e. ExecuteAndWaitInterceptor) or does the struts framework continue to instantiate them? Regards -- View this message in context: http://struts.1045723.n5.nabble.com/Spring-Plugin

JQuery plugin sj:a tag - Bug?

2011-09-05 Thread roger
Hi I have the following in a jsp page: Reset Password Using Jquery plugin 3.1.1 the sj:a tag appears to be ignoring the requestType="GET" or I'm not specifying it correctly, but either way, when I click on the link, the parameter data is sent as a POST and I need to it

Re: JQuery plugin sj:a tag - Bug?

2011-09-05 Thread roger
riginalEvent.options.submit = false; }); }); So the question now is why is the confirmRest topic handler either ignoring the requestType attribute or forcing the response to be sent as a POST roger wrote: > > Hi > > I have the fo

Is it possible to redirect after a Stream result action has completed?

2011-09-19 Thread roger
Hi I have a .jsp page that contains a link. When the link is clicked an action is called that uses the stream result to download a data file to the client pc. When the action is complete and all the browser generated download dialogs have been cleared, the original .jsp that contains the download

Problem with @ConversionErrorFieldValidator

2011-09-22 Thread roger
Hi In my struts 2 action I'm using the @VistorFieldValidator @VisitorFieldValidator(message="",appendPrefix=true) public Rma getRma() { return rma; } and within the RMA class I'm using @ConversionErrorFieldValidator(message = "Serial Number must be numeric", shortCircuit=true)

Bug? Further problems with @ConversionErrorFieldValidator in nested @VisitorFieldVisitor

2011-09-23 Thread roger
In addition to the problem noted in http://struts.1045723.n5.nabble.com/Problem-with-ConversionErrorFieldValidator-td4829326.html (which incidentally has also turned up at http://stackoverflow.com/questions/7514301/how-to-control-conversion-error-with-struts2 ) I've come across a further issue wi

Re: Problem with @ConversionErrorFieldValidator

2011-09-23 Thread roger
I've been taking a look at this and I think that the reason for the double message is that conversion errors are being handled twice, firstly by the StrutsConversionErrorInterceptor and again by the AnnotationValidationInterceptor. Both these interceptors are in the struts-default stack. Removing

Re: To create new session without invalidating existing one

2011-09-30 Thread roger
You may want to take a look at the Scope plugin. This won't give you a new session, but it does provide an implementation of conversation scope which may suffice. Regards -- View this message in context: http://struts.1045723.n5.nabble.com/To-create-new-session-without-invalidating-existing-one-

Re: How to use tabbed panels with

2011-10-19 Thread roger
Hi I can confirm that it is possible to use the sj:tabbedpanel tag within a form. I've included a working example below (sorry about the size). One important thing to note is that you need to set theme="simple" on your s:form tag. If you use the default style which uses tables for layout and look

Re: Edit a list of Strings to action

2011-10-23 Thread roger
http://struts.1045723.n5.nabble.com/Edit-a-list-of-Strings-to-action-tp4931270p4931445.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additiona

Re: Convention plugin confusion

2009-06-03 Thread Roger
On Wednesday 03 June 2009 16:16:03 Dave Newton wrote: > Wes Wannemacher wrote: > > I think you have action and result confused... Instead of using > > @Action, try to add a @Result that configures a result for the string > > returned by the getDetails() call. > > I think he's saying that he was sur

Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Roger
I'm experimenting with Struts 2 and OpenJPA. I've got the database set up and the Entity classes are all defined. I was wondering if there was a tool available that would generate basic Struts 2 CRUD functionality for me. Regards -

Struts 2 Custom Tags & Custom Actions

2009-09-29 Thread Roger
Hi Apologies for the following, I hope it makes sense. I'm currently trying to develop a web-app that makes extensive use of elements in the UI. As I handed coded my n'th jsp implementation of the same today I thought I'd break out the tutorials and learn how to create a custom tag to do thi

Re: Struts 2 Custom Tags & Custom Actions

2009-09-29 Thread Roger
> > What I would like to know is if I can also "attach" a custom action to my > > custom tag to populate the select options, without interfering with the > > rest of the flow? So I would have a self contained "component". My > > limited understanding of the Struts cycle suggests that once I'm int

Re: Struts 2 Custom Tags & Custom Actions

2009-09-29 Thread Roger
> > Another approach would be to populate your select with ajax or just > use an ajax autocompleter. (just a thought) > > -Wes > OK - this is where I display the true depth of my ignorance - if I use an ajax call, how do I do that to an "independent&qu

Re: Convention Confusion [BUG]?

2009-09-30 Thread Roger
On Wednesday 30 September 2009 18:15:00 Musachy Barroso wrote: > that is pretty suspicious, can you open a jira ticket with the details? > > thanks > musachy > Will do. I need to construct a test case to remove all the DB activities etc. Is there a site with instructions on how to prepare a jira

Re: Convention Plugin - Setting dynamic parameter values

2009-10-28 Thread Roger
On Friday 16 October 2009 19:29:05 Musachy Barroso wrote: > when you declare a result using annotations, the param values can > contain OGNL values, just like in xml,: > > @Action(value="/different/url", > result...@result(name="success", type="httpheader", > params={"status", "%{status}", "e

Re: Convention Plugin & Struts Packages

2009-10-29 Thread Roger
On Thursday 29 October 2009 19:33:49 Musachy Barroso wrote: > also, the @ParentPackage can be applied to a whole package by putting > it in a package-info.java file. I will add that to the docs. > I've seen package-info.java mentioned in couple of places in the Convention docs. This is probably

[S2] Struts.xml and tag

2008-09-11 Thread Roger
I have a struts.xml with two package tags. The first package is named and contains my custom interceptor stack. The second package is named so that my custom interceptor stack is available to actions in the secure package. In my custom interceptor stack I have an interceptor in which I am try

[S2] Struts.xml and tag (follow up)

2008-09-11 Thread Roger
>String name = invocation.getProxy().getConfig().getPackageName(); returns the >name "secure" for all actions regardless of the package the class is actually >located in. If I now add a third package tag extends="default"> that contains no actions at all, String name = >invocation.getProxy().ge

[S2] Dynamic Text Tag Attributes

2008-09-11 Thread Roger
I've got some .jsp pages that are identical apart from the page title that I'm currently setting with "" and "" etc etc. I would like to set the name attribute dynamically from the supporting action, but "name="${title}"/> obviously doesn't work as the attribute name won't take an expression.

Re: [S2] Struts.xml and tag

2008-09-11 Thread Roger
in "empty" Any call to an action in "secure extends default" is still correctly identified as being in package " secure" unless I remove the "empty" and "bug" package definitions at which point all actions are shown as being in "secure"

[S2] PropertyTag display data

2008-09-12 Thread Roger
Hi The textfield property correctly displays the value , neither of the property tags display anything at all. What's the correct syntax for the property value attribute? Regards - To unsubscribe, e-mail: [EMAIL PROTECT

[S2] Indexed Lists

2008-09-12 Thread Roger
Hi I'm trying to get indexed lists working so that I can get any amendments back into my model. At the moment I've got <%-- And add one extra line --%> So, the iterator loops for each entry in my List valuables (each List entry

Re: [S2] PropertyTag display data

2008-09-12 Thread Roger
On Friday 12 September 2008 15:38:39 Dave Newton wrote: > --- On Fri, 9/12/08, Roger wrote: > > The textfield property correctly displays the value, neither > > of the property tags display anything at all. What's the > > correct syntax for the property value attribut

Re: [S2] Indexed Lists

2008-09-12 Thread Roger
On Friday 12 September 2008 16:18:02 Jeromy Evans wrote: > Roger wrote: > > Hi > > > > I'm trying to get indexed lists working so that I can get any amendments > > back into my model. At the moment I've got > > In the last line, did you confirm t

Re: [S2] Indexed Lists

2008-09-12 Thread Roger
On Friday 12 September 2008 16:18:02 Jeromy Evans wrote: > > In the last line, did you confirm that count has the correct value? > What if the list is empty? (in that case count has never been set) > seems to take of things nicely :-) Thanks for your help. -

Re: Struts 2 actions executing twice

2008-10-15 Thread Roger
On Wednesday 15 October 2008 18:24:20 wskent wrote: > Thanks for the tip, I was using Firefox 3.0.3 when the actions were getting > executed twice. I am not seeing this behavior in IE 7.0.5730.11 . I'm glad that it's not just me that has seen this. It does'nt happen all the time, and only certain

Re: Struts 2 actions executing twice

2008-10-15 Thread Roger
On Wednesday 15 October 2008 01:54:50 wskent wrote: > I am using struts 2.0.11 in JBoss 4.2 and with a debugger I am seeing the > action executing twice. The first time the values submitted from the form > show up as expected. In the second execution the values are all null. I am > also seeing this

Re: [S2] grabbing current URL in an interceptor

2008-10-19 Thread Roger
On Friday 17 October 2008 16:53:03 Pierre Thibaudeau wrote: > Is it possible, inside an interceptor, to "grab" the URL of the current > request? > Yes. Take a look at http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor and the following discussion which provides one way of

Re: Download PDF File in Internet Explorer w/SSL

2008-10-19 Thread Roger
On Sunday 19 October 2008 04:55:31 Wendy Smoak wrote: > On Sat, Oct 18, 2008 at 5:06 PM, gcj <[EMAIL PROTECTED]> wrote: > > Despite the numerous posts/suggestions I have read/implemented on the > > subject, I am not able to download or display existing PDF files from my > > SSL struts/tomcat applic

Re: Struts2 : Calling AJAX function on button click(ONLY)

2008-10-29 Thread Roger
On Tuesday 28 October 2008 20:01:41 Kanade, Sayali wrote: > Thanks for your reply, but not sure it answers my question. > > My question is: How can I prevent a div from refreshing its contents on > page load? The div should only be refreshed on button click. > > My problem is that, my div loads on

[OT] I18n goes wrong ....

2008-11-01 Thread Roger
http://news.bbc.co.uk/2/hi/uk_news/wales/7702913.stm Sorry, but I couldn't resist. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] apply i18n on java entity from DB

2008-12-23 Thread Roger
> > If the "Product" described in the first message is pure fiction and > you have the ability to change the data model you can get rid of the > multiple names from the "Product" entity, put a "unique_name", use it > to point to resource in your bundle with some static prefix like > "product.name."

Re: zipping files for download

2008-07-02 Thread Roger
On Wednesday 02 July 2008 23:44:16 Eric Hamacher wrote: > Followed my instincts, problem is solved. No need to reply! > So what did your instinct tell you? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [S2] Checking current month using struts 2 tags

2008-07-06 Thread Roger
On Sunday 06 July 2008 04:25:45 dusty wrote: > > <% > Calendar cal = Calendar.getInstance(); > cal.setTime(new Date()); > int monthNow = cal.get(Calendar.MONTH); > cal.setTime(date); //fruit.getDate() > int monthFruit = cal.get(Calendar.MONTH); > if(monthNow == monthFruit){ > %> > de

Re: Popup window

2008-08-08 Thread Roger
On Friday 08 August 2008 07:51:01 Frans Thamura wrote: > On Fri, Aug 8, 2008 at 9:08 AM, mujoko mujoko <[EMAIL PROTECTED]>wrote: > > Dear Struts 2 users > > > > > > I'm trying to create poup window in struts 2, > > Could you please to give sample code for this task in struts 2? > > taka a look our

Struts2 Application Structure

2008-08-16 Thread Roger
Having followed this group for a while I know that the generally accepted wisdom is that every page should be handled via an Action. However, I have an application that is probably going to be 70% static pages with 30% Strut-able actions to handle form entry etc etc. This means that I'm going to

Re: Struts2 Application Structure

2008-08-16 Thread Roger
plication passes directly to Struts 2. Regards > > Roger wrote: > > Having followed this group for a while I know that the generally accepted > > wisdom is that every page should be handled via an Action. However, I > > have an application that is probably going to be 70% s

Struts 2 & Database Connection Pooling

2008-08-20 Thread Roger
I need to implement a database connection pool and was considering using the JNDI facilities provided by the servlet container (in my case, Apache Tomcat). Is there a Struts "pattern" for accessing JNDI resources in (a) a container neutral manner and (b) without tying my action classes to the s

Action as Welcome File

2008-08-21 Thread Roger
Sorry, I know that I've read about this here before, but I can't find the thread. Can someone point me to how to configure an action as the "welcome" file? Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: only serializable objects into Session?

2008-08-26 Thread Roger
On Monday 25 August 2008 16:48:27 Dave Newton wrote: > --- On Mon, 8/25/08, "Stephan Schröder" wrote: > > This seems to indicate that all the objects reachable > > through this object should be serializable, too?! > > No, only the ones you want serialized. > I believe Servlet Containers such as To

[OT] Applying CSS to css_xhtml theme

2008-08-30 Thread Roger
Sorry for the OT-ish question, but I'd guess that most people have come across this and I'm just trying to learn CSS. I'm trying to force a to display as two columns, labels to the left and input fields to the right. Google gave me this; .wwgrp br {display: none;} .wwlbl { float: left; clear:

Possible bug with Struts 2.0.11

2008-09-01 Thread Roger
Hi Using the tag when getting the data from the action, appears not to retrieve the label text from my resource bundle. but when I list the options in the jsp it does. So; displays "label.homeInsurance.details.housetype" as the text for the label whereas; correctly displays the text from

re: Possible bug with Struts 2.0.11

2008-09-01 Thread Roger
Sorry for the noise. Please ignore me. My only excuse is that it's been a long day trying to get to grips with the framework. Regards >Hi > >Using the tag when getting the data from the action, appears not >o >retrieve the label text from my resource bundle. but when I list the options >in

Model Driven Tutorial/Howto

2008-09-01 Thread Roger
retrieved from the model why do I need to provide getters & setters in the action? Regards Roger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
On Monday 01 September 2008 22:46:00 Dave Newton wrote: > --- On Mon, 9/1/08, Roger wrote: > > If the parameters are being set & retrieved from the model > > why do I need to provide getters & setters in the action? > > You don't. Are you in devMode? What ver

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
On Monday 01 September 2008 23:19:31 Dave Newton wrote: > --- On Mon, 9/1/08, Roger wrote: > > Yes, I'm in devMode and using Struts 2.0.11. Maybe I > > was just panicing because it shows as a SEVERE error. > > It shouldn't; you may want to post some code, config, a

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
On Monday 01 September 2008 23:43:14 Dave Newton wrote: > --- On Mon, 9/1/08, Roger wrote: > > That's kinda why I was asking for a tutorial/howto for > > beginners before I make an idiot of myself - particularly > > in light of my recent post in the tag :-( > >

Re: Model Driven Tutorial/Howto

2008-09-01 Thread Roger
> > Top action? The "ordered" property doesn't have so much to do with "top > actions" as with making sure that nested properties are set in order, as > determined by the number of dots in the parameter name. > > Not sure how that would be related to his ModelDriven issue, although it's > hard to s

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Roger
On Tuesday 02 September 2008 00:08:40 Dave Newton wrote: > --- On Mon, 9/1/08, Roger wrote: > > One of the (many) messages I'm seeing is; > > 02-Sep-2008 00:03:39 > > com.opensymphony.xwork2.interceptor.ParametersInterceptor > > setParameters > > SEVERE:

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Roger
On Tuesday 02 September 2008 15:42:53 Dave Newton wrote: > --- On Tue, 9/2/08, Roger wrote: > > Here is a stripped down version that shows the error > > message appearing in the Tomcat logs. > > Do you mean if you submit addressLine1 on a model that doesn't have that >

Re: Model Driven Tutorial/Howto

2008-09-02 Thread Roger
On Tuesday 02 September 2008 16:33:35 Dave Newton wrote: > --- On Tue, 9/2/08, Roger wrote: > > The parameter "name" in the test case exists in the model > > (TestQuotation) but not in the action (TestAction) and > > Struts2 bleats in the Tomcat logs. It's d

Struts 2 Buttons

2008-09-02 Thread Roger
Is it possible to define a button ( in such a way that, instead of of calling a method in the action defined in the tag, it calls a completely different action.method. Is it possible to just add a button that calls an action on the jsp. Alternatively, I know I can style a link to look like a b

Re: Struts 2 Buttons

2008-09-02 Thread Roger
On Tuesday 02 September 2008 21:11:00 Dave Newton wrote: > --- On Tue, 9/2/08, Roger wrote: > > Is it possible to define a button ( in such a > > way that, instead of of calling a method in the action > > defined in the tag, it calls a completely different > > actio

Re: Dynamic include of a CSS stylesheet

2008-09-03 Thread Roger
> > I often use: > > > href="${pageContext.request.contextPath}/css/main.css"> > > > where ${initParam.css} refers to an init param in web.xml (useful if it > needs to change with the deployment, such as a version number) > Could you point me at some code examples on how to set this up. I've a

Emulate a modal screen (Struts newbie)

2004-08-23 Thread Varley, Roger
log is a really bad idea I would welcome suggestions on how to handle this scenario. Regards Roger __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If y

Select One Row

2004-08-26 Thread Varley, Roger
osite key consisting of three properties that together uniquely identify each row. I'd be grateful for any pointers to tutorials etc that would provide guidance on how to proceed. Regards Roger __ This e-mail and the

LookupDispatchAction (Newbie)

2004-08-27 Thread Varley, Roger
eful if someone could either explain or point me to documentation explaining, *why* it works? Regards Roger __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be pri

Using Struts HTML tags

2004-08-27 Thread Varley, Roger
the generated HTML is where myDomain is the value of bean user.getFromDomain(). I've tried "/> which fails to compile, whilst escaping the double quotes writes the string "" into the value attribute of the html.

Struts-Config.XML and script variables

2004-09-09 Thread Varley, Roger
nyone tried this type of thing been done already and, if not, has it already been considered and discarded as a really bad idea? Regards Roger __ This e-mail and the documents attached are confidential and intended solel

Implementing Field Level Search Facilities

2004-09-29 Thread Varley, Roger
appreciate some pointers. Regards Roger __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sen

RE: Seeking advice for buying a Struts book

2004-09-29 Thread Varley, Roger
experience to be able to assess whether a solution is good or bad. Regards Roger __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive

RE: new to Struts

2004-10-01 Thread Varley, Roger
> > $2,900 or $29.00 ? > try googling for references to I18N. __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in e

RE: Need Ideas for This Puzzle

2004-10-22 Thread Varley, Roger
rnative, rather than do everything on conditional tags in your jsp I would probably opt for either an addional bean or additional properties in your ActionForm that is contains methods such as isGroupADisplayed() etc etc and set the prop

RE: [OT] saving stats from session when session destroyed

2005-07-29 Thread Varley, Roger
uot;. Thus anyone who followed the specification to the letter, as many container authors did, ended up with a method that was somewhat less than useful. In the 2.4 specification, the wording was changed to "Notification that a session is about to be invalidated". I now return you

RE: JDBC Driver

2005-01-18 Thread Varley, Roger
> > There are a good number of drivers listed on the Sun web site > > http://servlet.java.sun.com/products/jdbc/drivers > > Product from JNetDirect and DataDirect promise much... but at > a price.. > Try http://jtds.sourceforge.net/ - it works for me and the price

RE: PlugIn and the base URL

2005-01-26 Thread Varley, Roger
irst experiment is to see what happens if I pass something that is a valid URL but doesn't actually point anywhere. In this way you could simply "hard-code" a string value into your plugin. It wouldn't be the first time I've come across a "mandatory" requiremen

Re: File Download with multiple files. Design question

2010-11-20 Thread Roger Varley
On Sat, 2010-11-20 at 09:41 +0100, Paweł Wielgus wrote: > Hi All, > read about streamResult (I assume You use struts2), and also there is > no need for next action in chain, user can simply check as many files > as he wants and click download what will call downloadAction that will > simply return

Re: Redirect and pass as a parameter the original url from an Interceptor

2011-03-17 Thread Roger Varley
On Thu, 2011-03-17 at 12:48 -0600, Alfredo Manuel Osorio Martinez wrote: > I am implementing a Login interceptor which needs to redirect to an > action to first authenticate the user. The problem is that I want to > send as a parameter to that action the original url, the one that the > user was tr

Re: optiontransferselect don't use hidden input.

2011-05-31 Thread Roger Varley
On Tue, 2011-05-31 at 13:44 +0200, Alejandro wrote: > Hi all, > > With optiontransferselect, I am trying to get the list of double list but it > is impossible if you dont select all them. > > I had seen an input hidden with __multiselect_ but it isn't filled > properly. > > Thanks for all! Can

Re: Need to lookup additional data to append to redirection to outside web site

2011-06-21 Thread Roger Varley
On Mon, 2011-06-20 at 20:44 -0500, John Himpel wrote: > Good evening, > > I have an S2 application the needs to: > 1) Verify some input parameters (I know how to do this) > 2) Retrieve some additional data based upon the input parameters (I > know > how to do this). > 3) Then format a "post" type

RE: MESSAGE TO ADMINIISTRATOR: Unscribing from this mailing list

2014-01-07 Thread Roger Chee
Same here! Regards, Roger Sent from Samsung Mobile Original message From: Francis Louis Date:08/01/2014 11:22 (GMT+08:00) To: Struts Users Mailing List Subject: RE: MESSAGE TO ADMINIISTRATOR: Unscribing from this mailing list Hi, Could someone please remove me also

Struts 2.3.20 Bug?

2014-12-16 Thread Roger Varley
Hi I have upgraded to Struts 2.3.20 and I'm trying to use the new s:datetextfield tag. The creation of the jsp fails with the error listed below. I've checked and the datetextfield.ftl is not in any of the template directories in struts2-core-2.3.20.jar org.apache.jasper.JasperException: Template

2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
Hi After upgrading to 2.3.20 from 2.3.16.1 the following .jsp snippet fails to compile. Reverting back to 2.3.16.1 and it starts to work again. org.apache.jasper.JasperException: tag 'select', field 'list', name 'platformId': The requested list key '#list.platforms' could not be re

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
ou post the whole log? Maybe there are some warnings > > 2014-12-16 14:48 GMT+01:00 Roger Varley : > > Hi > > > > After upgrading to 2.3.20 from 2.3.16.1 the following .jsp snippet fails > to > > compile. Reverting back to 2.3.16.1 and it starts to work again.

Re: Struts 2.3.20 Bug?

2014-12-16 Thread Roger Varley
ed that :( > Feel free to re-open the issue or create a new one. > > 2014-12-16 14:35 GMT+01:00 Roger Varley : > > Hi > > > > I have upgraded to Struts 2.3.20 and I'm trying to use the new > > s:datetextfield tag. The creation of the jsp fails with the error l

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
forms = Services.listAllPublishedPlatforms(); return SUCCESS; } public List getPlatforms() { return platforms; } } On 16 December 2014 at 16:09, Lukasz Lenart wrote: > > 2014-12-16 15:03 GMT+01:00 Roger Varley : > > Referring to the log file, the dump wa

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
Oh bugger :( I've got actions failing all over the place - but strangely, not all of them. The config-browser plugin see's my configured namespaces, but lists no actions in any of them. Regards On 16 December 2014 at 16:23, Roger Varley wrote: > > Yes, I do. I've chec

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Roger Varley
No - that marks it for auto-scanning. In the meantime I've gone back to 2.3.16.1 and everything is working again :( Regards On 16 December 2014 at 18:00, Lukasz Lenart wrote: > > 2014-12-16 15:23 GMT+01:00 Roger Varley : > > import org.springframework.stereotype.Service;

Convention plugin blues

2009-07-28 Thread Roger Varley
Hi Is there a setting/property I can set to get the Convention plugin to tell me where & what it's looking for to resolve to the result classes. Having split a Struts 2 (2.1.7) application that was running solely on Tomcat to now serve static content from an Apache Webserver and pass Struts reques

Re: Struts 2 Spring Plugin Usage

2009-11-02 Thread Roger Varley
> > If I am understanding you then that is fine. > > I often do the same, as I like to have a DAO as well as a Service layer. > So inject my DAO's into my Service and my Service into my actions. > > Good ole' code by interface approach :) > It's the means that I have to employ to go down the next

Re: Struts 2 Spring Plugin Usage

2009-11-03 Thread Roger Varley
> > I use the convention plugin for Struts and I take advantage of the > spring auto wiring (by name) to automagically inject my service layer. > You can do the same for the rest. Check out the reference guide over at > spring framework to do so. Weirdly I like having my DAO and Service > classes i

Re: Struts2+Spring2 Beans+Hibernate

2007-09-26 Thread Roger Ye
On 9/27/07, Vinicius Medeiros Peretti <[EMAIL PROTECTED]> wrote: > > I had problems with this combination using jdk 1.6, solved when I > changed the tomcat's jdk to 1.5. Yes, a bit off topic but the src of tomcat 6.0.14 or so even can't be built with java 6. Vinicius > > Tom Holmes Jr. wrote: >

Re: Populating dropdown

2008-02-11 Thread Roger Varley
ability issues with a dropdown of that size. Regards Roger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] best practice for reading POST body in an action

2009-01-07 Thread Roger Varley
On Wednesday 07 January 2009 17:58:48 John Cartwright wrote: > Hello All, > > Is there a best practice for using the body of a POST request w/in an > action? The request is not key/value pairs but a blob of XML. Before I > dropped back to using a traditional HTTPServletRequest approach, I'd see >

Re: [S2] best practice for reading POST body in an action

2009-01-09 Thread Roger Varley
On Thursday 08 January 2009 18:12:48 John Cartwright wrote: > No, in this case the mime type is not application/x-www-form-urlencoded > and not sent w/ KVP from a form. The body of the POST is all content. > Hmm, then I'm sorry I'm probably not going to be much help. Although I've done quite a bi

Re: How to get Exception info when I use global exception mappings?

2007-05-21 Thread Roger Varley
web facing (as opposed to an intranet) then you are probably revealing too much information about your system and it's set up. Regards Roger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[S2] Problem with ! notation

2007-05-21 Thread Roger Varley
t the Struts error page with the message There is no Action mapped for namespace / and action name StartOrder!execute. - [unknown location] (I've checked it with !Execute as well). I'm obviously missing something

Re: [S2] Problem with ! notation

2007-05-21 Thread Roger Varley
nvocation = true and restarted Tomcat but no joy I'm afraid - http://localhost:8084/Tiger/StartOrder!execute.action still gives me the error message. Regards Roger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

  1   2   >