Re: sorting problem with display tag: please help

2008-07-25 Thread dusty
So what the others are saying is that you should NEVER use chopsticks when you are eating soup No just kidding. Depending on what version of struts you are using you likely need a before the display tag. Otherwise your decorator could be messed up in which case you are back to eating so

Re: [S2] url tag to construct href in different namespace

2008-07-25 Thread John . C . Cartwright
Just what I needed - thanks! --john - Original Message - From: Dave Newton <[EMAIL PROTECTED]> Date: Thursday, July 24, 2008 5:31 pm Subject: Re: [S2] url tag to construct href in different namespace > Namespaces typically begin with a "/"; try that. > > Dave > > --- On Thu, 7/24/08,

[s2.1.2] DEBUG: widget ID collision on ID:

2008-07-25 Thread Bruyn, Bill
Hi all, Was having trouble with the app I'm writing, so devolved it to a hello world type experiment with tabbed panels. The original issue aside or the moment, I'm still seeing a "DEBUG: widget ID collision on ID: (x)" error for each nested div in the panel with sx:head debug="true". I wasn't

[ANNOUNCE] Stuts @ Ajax Experience

2008-07-25 Thread Ted Husted
I'll be giving three -- count 'em three -- presentations at the Ajax Experience at the end of September. Two talks are Struts-related reprisals form last year, and the third talk, new this year!, dives into popular tools for testing Ajax applications. * Ajax Testing Tool Review * Struts on Ajax:

Re: struts 1.2: calling an action by javascript

2008-07-25 Thread dvdface
Ingo Villnow wrote: > > Hello, > > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the action. Any ideas? I don't know a lot of javascript :-( > > thanks & greetings from Berlin > > >

Stuts 2 and Custom TextProvider

2008-07-25 Thread ayavorskiy
Hi, Is there a way to substitute default, bundle-based TextProvider in Struts 2 with a custom one? We have a very custom message resolution needs with our Struts 2 based application. Per other posts and explanation from "Struts In Action", overriding of all getText methods in the base Action clas

Implementing ParameterAware but still getting Unexpected Exception caught setting 'name' on 'class....

2008-07-25 Thread Jan Froehlich
Hi there... I have a page with a dynamic number of input fields that is submited to an action that implements ParameterAware. Cause the names of the parameters passed to that action change every now and then I can't write getters and setters for them. Thats what I thought ParameterAware is made fo

Struts Taglib + JSP: Best Practices For Complex HTML Attribute Construction

2008-07-25 Thread Brian Ferris
I'm not sure what that Struts Taglib "way" to do the following task would look like: I've got a bean on the ValueStack with a "boolean isActive()" getter. When active, I'd like to construct html like: And when in-active, I'd like to construct: The only real difference is the class att

[S2] Form doesn't redirect

2008-07-25 Thread Milan Milanovic
Hi, I have two forms in my .jsp page which are connected to one Action class. They both works fine, but when user submit second form, method in action class is called, but no redirection to resulting .jsp page (as defined GOOD in struts.xml) is done ? This is my (second) form:

Re: website link info

2008-07-25 Thread Fini Decima
Thanks, Jeromy Evans wrote: Fini Decima wrote: I'm posting here because I could not find a Web Master contact info: I'll like to know when the "Reporting Security Issues" link was added to the Struts home page.The link is under "Support". Is it a recent addition or has it been there for some

Re: similar comment

2008-07-25 Thread Musachy Barroso
What are you talking about Willis? musachy On Fri, Jul 25, 2008 at 10:25 AM, Al Sutton <[EMAIL PROTECTED]> wrote: > So can you develop one using Struts in less than a week?.. Bet now! (and > you don't have to use displaytag if you don't want to) > > Dave Newton wrote: >> >> --- On Fri, 7/25/0

Re: similar comment

2008-07-25 Thread Al Sutton
So can you develop one using Struts in less than a week?.. Bet now! (and you don't have to use displaytag if you don't want to) Dave Newton wrote: --- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: You think he got the message?, or are you expecting another message tomorrow?

similar comment

2008-07-25 Thread Dave Newton
--- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: > You think he got the message?, or are you expecting another > message tomorrow? So you're saying we need an off-track betting application? Dave - To unsubscribe, e-mai

Re: [Friday][OT] Re: sorting problem with display tag: please help

2008-07-25 Thread Al Sutton
You think he got the message?, or are you expecting another message tomorrow? Dave Newton wrote: --- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: What did the display tag people say when you posted on their lists [...] I see what you did there. Dave --

[OT] Re: sorting problem with display tag: please help

2008-07-25 Thread Dave Newton
--- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: > What did the display tag people say when you posted on their lists [...] I see what you did there. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [s2] Making textfield input optional

2008-07-25 Thread Milan Milanovic
O.K. Thanks. I've done it. But what should I do for get method? When I put BigDecimal or String as return value for method getValue() in my action class I get this error in loading form: Caused by: ognl.OgnlException: value [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodVal

Re: Ajax: invoke action by mouseClick and get simple string

2008-07-25 Thread Dave Newton
--- On Fri, 7/25/08, holod <[EMAIL PROTECTED]> wrote: > I've seen tag, but I didn't understand how can > I invoke request to action manually (by mouse click for example) ? http://struts.apache.org/2.x/docs/dojo-anchor.html Note that if you're using S2.0 you'll need to look at the docs at: htt

Re: [s2] How to force validation to combobox field

2008-07-25 Thread Milan Milanovic
So, comboxbox in Struts 2 cannot be validated, is it true ? Milan Milanovic wrote: > > Hi, > > does anyone know how I can force user to choose value from a combo box by > using S2 validation ? > Now, when he submit the form combobox is empty and the next time when he > submit error my occur

Re: Nothing helps

2008-07-25 Thread Jim Kiley
Just as a side note, message subject lines like "Nothing helps" and "A similar problem" should probably be avoided on this list. When someone looks at the archives because they're stumped about a problem with displaying problems within an iterator, there's no signal that this thread, for instance,

RE: Nothing helps

2008-07-25 Thread holod
Thank you, I've finally solved the problem! Previous solutions helped me, seems like I was making stupid mistakes. This code snippet prints links to my download action, my download action works fine. Thank you again!

Ajax: invoke action by mouseClick and get simple string

2008-07-25 Thread holod
I have very easy problem, can I solve it with the help of any struts2 tag? Explanation: I have an image. User clicks on this image. Request with several parameters goes to a server. Action is invoked, parameters used during action execution. Action sends back simple string "Success" or "Fail". thi

Re: something I don't get with i18n in Struts2

2008-07-25 Thread Paweł Wielgus
Hi Jean-Philippe try this: http://cwiki.apache.org/WW/internationalization.html Best greetings, Paweł Wielgus. On 25/07/2008, mague <[EMAIL PROTECTED]> wrote: > > Hello all, > > Here is my understanding of internationalization in struts 1 & 2 : > > In Struts 1.x, it's possible to use somethi

something I don't get with i18n in Struts2

2008-07-25 Thread mague
Hello all, Here is my understanding of internationalization in struts 1 & 2 : In Struts 1.x, it's possible to use something like to specify in which resource bundle "some.key" is to be found. As the Walking Tour of the Struts 2 MailReader Application explains, "In Struts 2, message resources a

RE: Nothing helps

2008-07-25 Thread Jishnu Viswanath
1.If var does not exist u are using struts 2.0.x not 2.1.x 2. Try doing something like this so this Document Title: Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION ::

Re: struts2 validation, tiles definition in input result type, problem!

2008-07-25 Thread Lukasz Lenart
Do you use xml based validation? If so, name the xml files correctly according to the name of actions, read [1], section Defining Validation Rules ProjectStatusAction-ProjectStatus_updateAddPage-validation.xml [1] http://struts.apache.org/2.1.2/docs/validation.html Regards -- Lukasz http://www

Re: struts2 validation, tiles definition in input result type, problem!

2008-07-25 Thread Halil Ağın
Sorry i amde a typo in the previous mail, ProjectStatus-validation,xml should be replaced with ProjectStatusAction-validation,xml 2008/7/25 Halil Ağın <[EMAIL PROTECTED]>: > Hello Dave; > > Yes you are right, There is no "ProjectStatus" action defined. > Now, i change the form action definition

Re: Nothing helps

2008-07-25 Thread Lukasz Lenart
2008/7/25 holod <[EMAIL PROTECTED]>: > > attribute "var" doesn't exist in my struts-tags.tld. I'm using the last one > struts2 pack. "var" attribute is used as from S2.1 and above which was not released yet (2.1.2 is beta), the latest release is 2.0.11.2, which version do you have? > > > try

Re: struts2 validation, tiles definition in input result type, problem!

2008-07-25 Thread Halil Ağın
Hello Dave; Yes you are right, There is no "ProjectStatus" action defined. Now, i change the form action definition to http://localhost:8080/TVQ/ProjectStatus_showAddPage.action (showAddPage function is defined in ProjectStatus action class) it shows the AddPage.jsp (which is expected), but it

similar problem

2008-07-25 Thread kattenok
I have similar problem. On one page of my site I configurate some settings (forexample attribute "country" set true). That changes set to data base (I cheked it). Then I go to other page , where (if attribute "country" is true) textbox "country" is visible, but it isn't. The problem that nhibern

Nothing helps

2008-07-25 Thread holod
attribute "var" doesn't exist in my struts-tags.tld. I'm using the last one struts2 pack. lawDraft.docs returns List with 5 elements. Simple printing shows 5 elements I've tried to invoke method "getTitle()" of class Document which instances are in ArrayList: 1. Nothing, empty string 2.

Re: sorting problem with display tag: please help

2008-07-25 Thread Al Sutton
What did the display tag people say when you posted on their lists at http://displaytag.sourceforge.net/11/mail-lists.html ? Varun Deep wrote: Hi I am using the display tag for displaying the employee names . I want to short the names of the employee. Following is the code that is in .jsp

sorting problem with display tag: please help

2008-07-25 Thread Varun Deep
Hi I am using the display tag for displaying the employee names . I want to short the names of the employee. Following is the code that is in .jsp file. <%@ taglib prefix="display" uri="http://displaytag.sf.net"%> when I use the above code nothing is display. Can anyone pl