Re: [S2] Problem of validation with a select in my form

2007-08-05 Thread MLENEVEUT
The Change() method is rather doing nothing, just modifying a flag : function Change(){ document.forms[0].change.value = '1'; } My validattion xml is simple, it is just a requiredstring on the select item : true

Re: Handling Session Objects

2007-08-05 Thread Sawan
Thanks buddy for your reply, Very firstly I am sorry for provide the confusing code here. I am not putting the same data into each session and I am sure that I am getting the same instance of that data , not just separate copies of the same data. Actually I have a Login.jsp page and on click S

Re: How to use JFreeChartPlugin in tag

2007-08-05 Thread vamsi
Is that escaping the output ? Can u post that weird characters. - Original Message - From: "Struts2 Fan" <[EMAIL PROTECTED]> To: Sent: Friday, August 03, 2007 1:20 PM Subject: How to use JFreeChartPlugin in tag Hi all, I am trying to put a JFreeChart in a tag ---jsp file--- ..

Re: OT: Tomcat struts-2.0.9 noClassDefFoundError

2007-08-05 Thread Zoran Avtarovski
Hi Dale, I should preface this by saying that we have only used Tomcat 6 and have found it to be great, no issues until this. Solid, fast, no complaints at all. I found a post on the Tomcat Users list from Frank Zammetti which looked pretty similar, which meant it wasn't a Mac issue (phew). Frank

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-05 Thread Joe Lam
This might help http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect Piero Sartini-3 wrote: > > I have the following situation: > a searchfield is on top of a table presenting results. if there is only > one > result

Cannot extend a theme

2007-08-05 Thread Aymeric Levaux
Does this (https://issues.apache.org/struts/browse/WW-1328) means, that at this moment we cannot create our own theme with a theme.properties that specifies that we extend an other theme ? I made a theme that extends xhtml and set it as the default one in struts.properties. But every template

Re: popping messages from an action

2007-08-05 Thread Rene Gielen
Session, your question is not very much related to struts in the first place, but more to understanding web technologies such as html, http and javascript. The brief answer to your question is: yes, it works, but it is a bit complicated due to the http request/response system and usually intr

Re: obtaining a user selection, please help

2007-08-05 Thread Rene Gielen
Session, please make sure your read (at least) the following chapters carefully: http://struts.apache.org/2.x/docs/crud-demo-i.html http://struts.apache.org/2.x/docs/type-conversion.html After that, it would be quite good to have a look into the showcase app distributed with struts2. Most of yo

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-05 Thread Ray Clough
Complaining about features in an open source program written by volunteers isn't really very nice, and I apologize for it. All programs have sub-optimal features, mine included, of course, and no one likes having their work sniped at by outsiders. The fundamental architecture of S2 is really s

Linking to wildcard URLs

2007-08-05 Thread peterv
Hi, Is there a way to make the tag generate 'nice' URLs linking to actions with wildcards in their names? For example, let's take the following mapping using DefaultActionMapper: < param name="galleryID">{1} /pages/galleries/GalleryViewer.jsp

Re: Cannot extend a theme

2007-08-05 Thread Aymeric Levaux
Thanks Pedro, But this is not really my problem. For all form related template, I had to copy them all in my new theme due to the fact that 'hard' xhtml templates references exists in the xhtml theme. (The following include is every where: <#include "/${parameters.templateDir}/xhtml/controlfooter

[s1][ANNOUNCE] Commons BeanUtils 1.8.0 Beta release

2007-08-05 Thread Niall Pemberton
The Commons team is pleased to announce the release of Commons BeanUtils 1.8.0 Beta. Commons BeanUtils provides easy-to-use wrappers around the Reflection and Introspection APIs provided by the Java language. BeanUtils 1.8.0 Beta is binary compatible with version 1.7.0 and contains quite a few bug

Re: MVC2 question

2007-08-05 Thread Dave Newton
--- debussy007 <[EMAIL PROTECTED]> wrote: > what is the benfit of having the front controller > dispatching the request to the appropriate controllers? > Why not calling the appropriate controller directly? How would you do that? d. _

Re: Problems migrating Roller to Struts 2.0.9

2007-08-05 Thread Antonio Petrelli
2007/8/5, Dave <[EMAIL PROTECTED]>: > On 8/4/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > > So I downloaded 2.0.9. First, I found that the old Tiles listener > > > "org.apache.tiles.listener.TilesListener" is gone. > > > > Wrong, it has been renamed to org.apache.tiles.web.startup.TilesListe

Re: Cannot extend a theme

2007-08-05 Thread Pedro Herrera
I had the same problem. I´ve created my own template, in theme.properties I put 'parent=css_xhtml' . I´ve copied controlheader.flt from template.css_xhtml to my template and changed to : <#include "/${parameters.templateDir}/${themeProperties.parent}/controlheader.ftl" /> <#if parameters.label

MVC2 question

2007-08-05 Thread debussy007
Hello all, I understand the benefit of having a controller for each possible user action. But what is the benfit of having the front controller dispatching the request to the appropriate controllers ? Why not calling the appropriate controller directly ? Thank you for any help. -- View this mes

Re: Problems migrating Roller to Struts 2.0.9

2007-08-05 Thread Dave
On 8/4/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > So I downloaded 2.0.9. First, I found that the old Tiles listener > > "org.apache.tiles.listener.TilesListener" is gone. > > Wrong, it has been renamed to org.apache.tiles.web.startup.TilesListener. Thanks. I changed my web.xml accordingly

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-05 Thread Ted Husted
On 8/4/07, Ray Clough <[EMAIL PROTECTED]> wrote: > Sorry for the rant, but I do like many of the S2 features well enough that I > continue to use > it Feel free to start a Struts 3 roadmap on the wiki that identifies some of the "features" we might subtract, as well as those that we might add. -