Autocompleter search modification

2007-08-07 Thread King, Leon C
All, I've implemented the autocompleter for my project. For some autocompleters, my user would like the ability to enter a value and have the autocompleter display the name. IE. Enter a country code and the country autocompleter, and have the autocompleter 'refresh' with the count

Autocompleter search modification

2007-08-07 Thread King, Leon C
All, I've implemented the autocompleter for my project. For some autocompleters, my user would like the ability to enter a value and have the autocompleter display the name. IE. Enter a country code and the country autocompleter, and have the autocompleter 'refresh' with the count

RE: Dynamically set Autocompleter Search Limit

2007-05-08 Thread King, Leon C
PROTECTED] Sent: Tuesday, May 08, 2007 2:47 PM To: Struts Users Mailing List Subject: Re: Dynamically set Autocompleter Search Limit change limit: dojo.widget.byId("id").dataProvider.searchLimit = 10; no limit: dojo.widget.byId("id").dataProvider.ignoreLimit = true; mus

Dynamically set Autocompleter Search Limit

2007-05-08 Thread King, Leon C
All, Is there currently a way to dynamically set the autocompleter tag's search limit or to specify 'Infinity' like the Dojo docs suggest? Thanks. Leon

How to disable a submit button with ajax

2007-04-26 Thread King, Leon C
Hi all, I have a non-ajax button that I want to disable when my 'ajax' autocompleter(s) change values. (I DIDN'T go with the 'ajax' submit button because it doesn't work with IE 6) How would I do this? Is this even possible? CODE SNIPPET below:

AJAX validation

2007-04-20 Thread King, Leon C
Hi all, I'm using struts 2.0.6. I'm having an awful time trying to find a working example of form validation using AJAX. When I enable ajax on my forms, I notice a javascript error at the bottom of my MS IE 6.0 window. Is it possible to use plain Javascript for form validation if I

RE: Load One Tab @ startup

2007-03-27 Thread King, Leon C
-1860 regards musachy On 3/27/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- "King, Leon C" wrote: > > [...] I'm looking for a way to load only the > Selected > > Tab when my page is rendered. > > Does do what you > need? &

Load One Tab @ startup

2007-03-27 Thread King, Leon C
Hi all, I have a problem... I'm using a TabbedPanel to display a set of charts, using JFreeChart. Unfortunately, it takes about 1.5 secs to render each chart, so I'm looking for a way to load only the Selected Tab when my page is rendered. And delay the rendering of the other tab u

S:if question

2007-03-21 Thread King, Leon C
How do I perform string comparisons using the s:if tag? I'm trying to compare a static value of the Action Class to a form value. Thanks, Leon

RE: S:SUBMIT action usage

2007-03-13 Thread King, Leon C
ch 13, 2007 2:53 PM To: Struts Users Mailing List Subject: RE: S:SUBMIT action usage --- "King, Leon C" wrote: > it seems that only the first action defined for the > first button is being submitted. I'm using MS IE.. > Is this a bug? http://cwiki.apache.org/WW/submit

RE: S:SUBMIT action usage

2007-03-13 Thread King, Leon C
ns utilize the correct methods assigned. Is there another way I can do this? Leon -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 2:53 PM To: Struts Users Mailing List Subject: RE: S:SUBMIT action usage --- "King, Leon C" wrote:

RE: S:SUBMIT action usage

2007-03-13 Thread King, Leon C
EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 2:08 PM To: Struts Users Mailing List Subject: RE: S:SUBMIT action usage --- "King, Leon C" wrote: > Like this? action="CityCountryLevelQueryAction!getMhtTrend"> Er... I thought so :/ Do you have struts.enable.DynamicMethodI

RE: S:SUBMIT action usage

2007-03-13 Thread King, Leon C
SQLExceptionAction jsp/query_city_countrylevel.jsp -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 1:26 PM To: Struts Users Mailing List Subject: Re: S:SUBMIT action usage --- "King, Le

S:SUBMIT action usage

2007-03-13 Thread King, Leon C
Hi All, How do you utilize the s:submit tag in conjunction with 'Action Wildcards'. On my form I have 3 buttions: one to display tabular results, and the other 2 to display graphs. Here is my code excerpt.

RE: Struts 2 newbie question

2007-03-12 Thread King, Leon C
:) That's what I figured out and implemented. Thanks for the quick help. -Original Message- From: Mark Menard [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 5:22 PM To: Struts Users Mailing List Subject: Re: Struts 2 newbie question On 3/12/07 1:53 PM, "Paul Saumets" <[EMAIL

RE: Struts 2 newbie question

2007-03-12 Thread King, Leon C
] Sent: Monday, March 12, 2007 2:36 PM To: Struts Users Mailing List Subject: Re: Struts 2 newbie question You'll have to modify the associated template within your project. The actual form template (from the default xhtml) is wrapping inputs into a table, each input is appended has a row in

Struts 2 newbie question

2007-03-12 Thread King, Leon C
How do you modify the alignment of a button? Currently I'm using the following in my jsp: which produces a button on one line. I'd like to combine several buttons on the same line. Thanks, Leon