RE: Struts1 and Struts2 mailing lists separation ?

2008-07-07 Thread Jason Wyatt
Dave, may I ask why it has been consistently voted down (and voted by who?). It would seem to be a logical separation IMHO, what's the benefit of keeping them together when the platforms have nothing in common except the name struts? If people still don't know about or use the [S1] and [S2] conv

[S2] ajax themed submits

2008-02-10 Thread Jason Wyatt
I raised a JIRA ticket a while ago ( WW-1930 ) about the value of a tag not being set on the Action if the submit was ajax themed... apparently the problem was fixed in Struts2 release 2.1. I'm hoping to get my hands on the fix, but, although 2.

[S2] File upload in a tabbedpanel?

2007-12-04 Thread Jason Wyatt
I'm trying to implement a file upload tab in an ajax-themed tabbed panel, using the tag. The file uploading works OK if I view the action directly instead of inside a tabbedpanel. However, if I view the file upload page inside an ajax tabbedpanel and try submitting, with or without a file attach

RE: struts 2.1 beta

2007-10-04 Thread Jason Wyatt
Hi Meissa, You might want to see the post with subject "[s2] Struts head tag KILLS (> 10s) page load time"... Discusses the problem as we experienced it, and a hack /workaround to modify the freemarker template... Not ideal, but may help cut down the includes. Regards Jason -Original Me

RE: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-24 Thread Jason Wyatt
is loaded using dojo.require, it is not cached by the browser. > > > > musachy > > > > On 9/23/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > > Hi Martin, > > > > > > Yes, that's right. > > > > > > The dojo "requires"

RE: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-23 Thread Jason Wyatt
is loaded using dojo.require, it is not cached by the browser. musachy On 9/23/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > Hi Martin, > > Yes, that's right. > > The dojo "requires" seemed unexpectedly slow during our tests. I was > using Firefox's Fi

RE: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-23 Thread Jason Wyatt
ffect of faster response to the browser? Thanks/ Martin-- - Original Message - From: "Jason Wyatt" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, September 20, 2007 9:09 PM Subject: RE: [s2] Struts head tag KILLS (> 10s) page load ti

RE: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-20 Thread Jason Wyatt
I had the same issue... We use the ajax tabbed panel but no other dojo widgets, but the tag had dojo "requiring" all of the dojo widget library. This was causing our page to fire off 70+ requests when loading. As our app needs to be accessed up to a thousand km away, tests showed initial load tim

RE: [struts2] Button pressed

2007-09-19 Thread Jason Wyatt
Hi Marcos, In my understanding you can use a String instead of a boolean: Action: private String submit; public void setSubmit(String submit) { this.submit = submit; } And in the JSP: Note there is a bug in 2.0.9 that this doesn't work for ajax-themed submit button

RE: [S2] using the AJAX theme

2007-09-11 Thread Jason Wyatt
Hi Grish, We faced the similar problem... we wanted to use ajax tabbedPanels, which needed ajax-themed struts2 submit buttons. The submit buttons were producing additional html wrapping for the 2 columns. We just extracted the submit.ftl template code into a web\template\ajax directory and remove

RE: images tabbedpanel

2007-08-30 Thread Jason Wyatt
Hi Manuel, You'll need to extract the images directory into the same path where your custom templateCssPath is, then change the images. For example, I had a tabbed panel like such: The TabContainer.css is in the includes directory: web/includes/TabContainer.css The tabbed panel border colour

[S2] JSF plugin dependencies for struts 2.0.9

2007-08-23 Thread Jason Wyatt
I'm trying to understand the JSF dependencies in struts2 build 2.0.9. When I deploy our struts 2 app onto Oracle App Server 10.1.3.2 I get a java.lang.NoClassDefFoundError, with javax/faces/lifecycle/Lifecycle not found. Three questions: 1. Is the JSF plugin enabled by default in 2.0.9? 2. Does

[S2] Ajax performance optimisation

2007-07-27 Thread Jason Wyatt
I've been trying to speed up the Ajax performance of our application, based on the notes at http://cwiki.apache.org/WW/performance-tuning.html I'm a bit unsure where I should extract the static content to, such as the css and javascript files included by the Ajax theme (shown below): For

RE: [S2] IE crashing with ajax tabbedpanels

2007-07-12 Thread Jason Wyatt
ajax, but just javascript. A good test would be to reproduce your tabs using only dojo, no struts, if you get the same error then it is a dojo problem, otherwise it is an struts problem. regards musachy On 7/9/07, Jason Wyatt < <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]> wrote: > >

RE: [S2] IE crashing with ajax tabbedpanels

2007-07-09 Thread Jason Wyatt
ance there. regards musachy On 7/9/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > I've got an ajax tabbedpanel with six tabs. When I click on the tabs > in rapid sequence, it often causes IE to crash. > > It seems to happen if I click on a tab while one or two others are >

RE: ******** Java script not working in Netscape,Firefox,Safari*******URGENT PLS HELP ME**********

2007-07-09 Thread Jason Wyatt
The red colour doesn't show up in your email Hari, can you highlight the problem lines in another way? I normally use document.getElementById("name") which works in most browsers. The other format document.ChallengeQuestionForm.year might not work in some browsers. Instead, give the year field

[S2] IE crashing with ajax tabbedpanels

2007-07-09 Thread Jason Wyatt
I've got an ajax tabbedpanel with six tabs. When I click on the tabs in rapid sequence, it often causes IE to crash. It seems to happen if I click on a tab while one or two others are still loading. Some times IE locks up, and other times it gets the standard error message "Internet Explorer has

RE: [S2] How to integrate JSF with struts 2?

2007-06-26 Thread Jason Wyatt
ven that might be configurable, though I couldn't say for sure. Don On 6/25/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > I'm confused as to how to integrate a third-party JSF component with > our Struts 2 app. > > I've been able to get a the third-party example JSF pag

[S2] How to integrate JSF with struts 2?

2007-06-24 Thread Jason Wyatt
I'm confused as to how to integrate a third-party JSF component with our Struts 2 app. I've been able to get a the third-party example JSF page working with using one web.xml file, and our Struts 2 app works with another ordinary web.xml file, but I can't seem to get both working together using on

RE: Struts1 and 2

2007-06-19 Thread Jason Wyatt
. Regards Jason -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 June 2007 6:50 PM To: Struts Users Mailing List Subject: RE: Struts1 and 2 --- Jason Wyatt <[EMAIL PROTECTED]> wrote: > - we got bitten by the dependency on JDK 1.5. Our S2 web app

RE: Struts1 and 2

2007-06-18 Thread Jason Wyatt
Hi Priya, I had a similar experience to Jeff... We've used Struts 1 on several projects and had to choose whether to go with Struts 2 for our current project. We went with Struts 2 and have been happy with the decision, but there were pros and cons: Pros of Struts2 (IMHO): - flexible Intercepto

RE: [S2] Struts 2 JSP & servlet dependency

2007-06-18 Thread Jason Wyatt
sage- From: Mike Jennings [mailto:[EMAIL PROTECTED] Sent: Monday, 18 June 2007 11:05 PM To: Struts Users Mailing List Cc: Jason Wyatt Subject: Re: [S2] Struts 2 JSP & servlet dependency Jason, I am using Oracle Applicaiton Server 10.1.3.2 and eveything works great except for the fac

[S2] Struts 2 JSP & servlet dependency

2007-06-18 Thread Jason Wyatt
Hi, I'm wondering "how much" Struts 2 depends upon Servlet API 2.4 and JSP API 2.0. Reason I ask is, I've managed to get a Struts 2 application running on our client's current production App Server, which is Oracle Application Server 10.1.2, although that App server only provides J2EE 1.3 compli

RE: [S2] Struts2, JDK 1.4, retrotranslator

2007-06-06 Thread Jason Wyatt
-20070207.130156-4.jar tiles-core-2.0-20070207.130156-4.jar OAS also needed el-api-2005-08-17.jar Regards Jason -Original Message- From: Jason Wyatt [mailto:[EMAIL PROTECTED] Sent: Monday, 4 June 2007 12:00 PM To: 'Struts Users Mailing List' Subject: RE: [S2] Struts2, JDK 1.4, retro

RE: [S2] Struts2, JDK 1.4, retrotranslator

2007-06-03 Thread Jason Wyatt
-core-2.0.6.jar and xwork-2.0.1.jar translated. Cheers, Taras On 5/31/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to deploy Struts 2 on Oracle Application Server 9i, > which uses JDK1.4, and I'm getting an error: > > Caused by: java.lang.UnsupportedCla

RE: [S2] Struts2, JDK 1.4, retrotranslator

2007-05-31 Thread Jason Wyatt
By the way, the application works fine under tomcat 5.5 with JDK 1.5, with the normal struts-core and xworks jars and no retrotranslator jars. -Original Message- From: Jason Wyatt [mailto:[EMAIL PROTECTED] Sent: Friday, 1 June 2007 12:09 PM To: 'Struts Users Mailing List' Su

[S2] Struts2, JDK 1.4, retrotranslator

2007-05-31 Thread Jason Wyatt
Hi, I'm trying to deploy Struts 2 on Oracle Application Server 9i, which uses JDK1.4, and I'm getting an error: Caused by: java.lang.UnsupportedClassVersionError: org/apache/struts2/codebehind/CodebehindUnknownHandler (Unsupported major.minor version 49.0) I included the backported Struts 2 and

[s2] how to get "onclick" working with ajax themed submit button

2007-05-28 Thread Jason Wyatt
Hi, We're using an ajax-themed submit button to submit a form. We now need to add an "onclick" trigger to call some javascript before it submits. However, the javascript never seems to be called when using the ajax theme on the submit button. Is there a way to trigger an "onclick" javascript eve

RE: [S2] Is there a way to turn of formatting of controls with ajax theme?

2007-05-20 Thread Jason Wyatt
t.htm > l > > 2)override the setContext with a new context > > (JspContext) where > > Honestly, I have no idea what that has to do with this issue, but > maybe it does. I've had a few extra Guinness this evening. > > > From: "Jason Wyatt" <[EMAIL PR

[S2] Is there a way to turn of formatting of controls with ajax theme?

2007-05-17 Thread Jason Wyatt
I want to use ajax submit buttons to refresh tabs, but when ajax theme is set, the buttons are wrapped in additional and tags. This is doing interesting and unhelpful things to our page layout. This submit tag: generates the following HTML: I'm hoping to remove the , and tags. T

RE: [S2] How to refresh one tab in Tabbedpanel instead of whole page?

2007-05-16 Thread Jason Wyatt
le page? Jason, Using the includeParams="all" attribute of the s:url tag will probably give you what you need. Marco On 5/15/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > Hi Marco, > > I tried using the code template you gave, but couldn't get it to do a >

RE: [S2] How to refresh one tab in Tabbedpanel instead of whole page?

2007-05-15 Thread Jason Wyatt
- From: "Jason Wyatt" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Tuesday, May 15, 2007 8:36 PM Subject: RE: [S2] How to refresh one tab in Tabbedpanel instead of whole page? > Hi Marco, > > I tried using the code template you gave, but

RE: [S2] How to refresh one tab in Tabbedpanel instead of whole page?

2007-05-15 Thread Jason Wyatt
ad it anytime you want. > > regards > musachy > > On 5/15/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > > > Hi, we're using the Struts 2 tabbedpanel tag. One problem we're > > having > is > > that whenever we do a submit from within a tab,

[S2] How to refresh one tab in Tabbedpanel instead of whole page?

2007-05-15 Thread Jason Wyatt
Hi, we're using the Struts 2 tabbedpanel tag. One problem we're having is that whenever we do a submit from within a tab, we to reload the same tab with the results. At the moment we our submit button posts to an XAction mentioned in the tag for the given X tab. The XAction returns a TabsResu

[S2] What does tabbedpanel "name" do?

2007-05-13 Thread Jason Wyatt
The docs for tabbedpanel at http://struts.apache.org/2.x/docs/tabbedpanel.html mention a "name" option... What does this do? Thanks for any help, regards Jason - Falun Dafa Truth - Compassion - Forbearance A mind & body practice under persecution in China http://www.faluninfo.net

[S2] How to refresh "remote" tabbedpanels on user entry?

2007-05-13 Thread Jason Wyatt
The docs for tabbedpanel at http://struts.apache.org/2.x/docs/tabbedpanel.html mention: "The tabbedpanel widget is primarily an AJAX component, where each tab can either be local content or remote content (refreshed each time the user selects t

RE: [s2] Dreamweaver plugin for Struts 2?

2007-05-06 Thread Jason Wyatt
ou talking about the one available here ?? http://www.fwasi.com/downloads/ I am just curious to know if there are any free Struts-1 plugins available for Dreamweaver 8 ? (or "free" is just too much to ask for from the outside Eclipse world ?? :-)) please update.. robin Jason Wyatt wrote

[s2] Tabindex not working on

2007-05-06 Thread Jason Wyatt
Hi Struts 2 developers, It seems the tabindex isn't working on the tag for Struts2 v2.0.6. The jsp tag I am using: The resulting HTML: The tabindex seems to not make it through to the HTML... it'd be great if this can be fixed. Thanks in advance, kind regards Jason - Falun Daf

[s2] Dreamweaver plugin for Struts 2?

2007-04-30 Thread Jason Wyatt
I'm hoping to use Dreamweaver for complex JSP layouts with Struts 2 tags. I have a Dreamweaver plugin for Struts 1.x but there doesn't seem to be one for Struts 2 yet. There seems to be a Dreamweaver plugin for WebWorks and was thinking the Struts 2 tags might be close enough to WebWorks for the

RE: Struts2 Tabbedpanels in mozilla

2007-04-19 Thread Jason Wyatt
tabs example (under test/widget), if you see the same problem then it is a Dojo bug on that version of Mozilla, and there isn't much we can do. regards musachy On 4/19/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > Hi Musachy, > > I'm using Mozilla 1.6 on Windows XP

RE: Struts2 Tabbedpanels in mozilla

2007-04-19 Thread Jason Wyatt
en you try the examples in the Showcase application, do they render properly in mozilla? regards musachy On 4/19/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm attempting to use the experimental Struts 2 tabbedpanel tag... It > looks like just what

Struts2 Tabbedpanels in mozilla

2007-04-19 Thread Jason Wyatt
Hi, I'm attempting to use the experimental Struts 2 tabbedpanel tag... It looks like just what's needed for our current project, which is designed to use nested tabs throughout. The tabbedpanel works fine for IE, however the other of our customer's standard browsers, mozilla, is only "almost" wo

Struts 2 interceptors vs

2007-04-17 Thread Jason Wyatt
Hi, I've written a simple PagingInterceptor in a Struts 2 project to do a trivial calculation of the pageNumber used to display paged results, based on whether the user pressed either a "Search", "Next Page" or "Previous Page" submit button. I'm using the following interceptor stack:

RE: Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-27 Thread Jason Wyatt
, Jason Wyatt <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm trying to use the "prepare" interceptor in Struts 2, and although > the Action's prepare() function IS being called, the session doesn't > seem to be set on the action before the pre

Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-27 Thread Jason Wyatt
Hi, I'm trying to use the "prepare" interceptor in Struts 2, and although the Action's prepare() function IS being called, the session doesn't seem to be set on the action before the prepare() function is called. The action implements SessionAware, and has a setSession(Map session) function. T