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;

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
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: 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
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.

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

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

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

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: 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: 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: 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

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

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)

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

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

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

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

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: 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

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

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: 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

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. --

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: 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: 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 -

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 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: 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: 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: 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: 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: 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: 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

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 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: 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: 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

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

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

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 -

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

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: [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] 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."

[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: 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

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: 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] 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: [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] 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

[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

[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

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] 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.

[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] 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

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

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

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: 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

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 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-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-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
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 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

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: 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

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

[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:

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

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

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

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

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: 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

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: 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: [OT] What slows you down?

2008-06-20 Thread Roger Varley
On Friday 20 June 2008 15:07:17 Al Sutton wrote: > Web Design :). I can code it in a few days, but getting it to look > pretty so that users don't complain, thats a b**ch. > That shouldn't be my problem. I'm a developer not a graphic designer. What would be nice though, would be if it were easier

Re: [Struts 2] Formatting double

2008-06-04 Thread Roger Varley
On Wednesday 04 June 2008 22:49:15 Felipe Lorenz wrote: > Are you brazilian to use a comma for decimal separator? > You might be surprised at the number of countries that use a comma as the decimal separaor as opposed to the dot. http://en.wikipedia.org/wiki/Decimal_point Regards -

Re: i18n Struts Jco Code in Windows English and Polish System

2008-05-23 Thread Roger Varley
On Friday 23 May 2008 13:51:08 Raghuveer wrote: > I am working on Struts ,SAP-JCO . > > This is i18n application running on Tomcat. > I have designed my application in UTF8 charset. > > When Saving the polish characters from application they are saved into SAP > Database properly. > Before Saving i

Re: [OT] What do you code today?

2008-04-07 Thread Roger Ye
are taken from corporate LDAP server I use Maven, Hibernate, Spring, Generic DAO, and displaytag, wonderful combination :) Roger On 4/7/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > I've been quiet on this one, but since I finally had a breakthrough > today, I feel l

Re: ajax layout - how to place 2 submit buttons one after the other?

2008-03-31 Thread Roger Varley
> > There are at least three choices: > > (1) Do something via CSS (inline or something) > (2) Modify the existing Ajax theme > (3) Create a new theme > I know I'm probably going to be shot down in flames for this, but why do the Struts 2 tags attempt to control any sort of layout? Why is there n

Re: [OT] XML Preprocessing

2008-03-17 Thread Roger Varley
I've never tried to do this since, normally, you want the XML processor to handle entities such as the & symbol - and if either the input XML or output XML contains these symbols unaltered then you don't have legal XML. If you really need to leave these unprocessed, then perhaps you can replace

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: 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: [Struts 2] baseRelativePath Problem

2007-09-25 Thread Roger Ye
Well, I googled, didn't get much help, Batteries may crush out, so do we, man, and sometime you're just in a rush like situation and don't have the mood to read through the docs. Hindsights are always correct, you know. Ah yes, a happy ending, now someone googling for the same question will just

Re: [Struts 2] baseRelativePath Problem

2007-09-25 Thread Roger Ye
thanks for nobody's reply, I read the dos and then got the answer. problem solved by overriding the built-in template head.ftl. just to make it a compete story. On 9/14/07, Roger Ye <[EMAIL PROTECTED]> wrote: > > Question: how to change the default baseRelativePath? > >

Re: [OT] Ajax recommendations for use with Struts1.1

2007-09-19 Thread Roger Ye
Struts 2 seems to have some connection with Dojo, so I appreciate a lot if you could share your story with Dojo. Thanks Roger On 9/20/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Hi Rick, > > AjaxParts is still a good alternative, especially given your past > experien

[Struts 2] baseRelativePath Problem

2007-09-13 Thread Roger Ye
Question: how to change the default baseRelativePath? using struts 2.0.9 and the xhtml template, the tag insert the following content in the page, where baseRelativePath: "/p/struts/dojo", while I want it to be "/p/js/dojo", so how can I change that? or I have to follow its requirement and put al

Re: SessionAware vs ActionContext access to session - confused..

2007-09-12 Thread Roger Varley
On Tuesday 11 September 2007 23:03, Nils-Helge Garli wrote: > You could, but I would recommend using the *Aware interfaces in your > actions. It makes them easier to test. > Hmm.. I've always handled session data by creating an application base action that implements a "getUserData()" and a "setU

Re: Dynamic Tree Example

2007-08-15 Thread Roger Varley
> > What I would really like to do is create a model Petshop application > for Struts 2. I've setup a Google Code site for this purpose, but I > haven't had a chance to seriously pursue it yet. > > * http://code.google.com/p/sq1-petstore/ > > My dream would be to have a full set of use cases, a re

Re: Struts 2 and Tomcat 5.0.27 filter start error

2007-07-13 Thread Roger Varley
ution that i can get to work. Has anyone gotten struts 2 to > work on 5.0.27 or .28. I had a simarly unhelpful error message today while migrating an existing project to a new machine. You are probably missing a .jar file in your project that is not needed to compile, b

Re: Spring Action Instantiation

2007-06-20 Thread Roger Varley
On 20/06/07, Dave Newton <[EMAIL PROTECTED]> wrote: ?! I didn't understand a word of that either :-) --- Martin Gainty <[EMAIL PROTECTED]> wrote: > Assuming Spring is your AOP framework > Logging is now an Advised entity > to be injected at compile time or runtime via > 'pointcut' > details

Re: facade stored in Session

2007-06-14 Thread Roger Varley
th a layer-aware interface to get the reference to a layer and an interceptor to inject the reference. All my actions extend the new base class and I can retrieve the business layer with a simple getLayer() method. This means I don't need to fiddle around with the session object in my actions.

  1   2   >