Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Mike Hao
Hi Antonios and Dave, Thanks again for your responses. I actually downloaded the whole showcase project, and trying debugging on my local machine, trying to figure out what's the trick of it. At here, I think if the wiki pages provides more detail instructions on how to set some critical attribute

Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Dave Newton
I'd just try it; seems like `list` would be for immediate data (e.g., on first page load) and then it would be replaced by data from `href`--although I'm not sure what the point of using both would be. Dave On Wed, May 29, 2013 at 2:25 PM, Antonios Gkogkakis wrote: > I haven't used the sj:auto

Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Antonios Gkogkakis
I haven't used the sj:autocompleter (I'm using the jQuery autocompletedirectly), but from what I'm reading in the documentation if you use the href that points to a location that is returning json data you don't have to use the list attribute. Have you tried setting up the example in the document

Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Mike Hao
Hi Antonios, Thank you so much for your response. I was actually keep reading the wiki these days, but I am still not able to get what I expected. For , can these two attribute "list" and "href" used together? Thanks, Mike On Wed, May 29, 2013 at 4:13 AM, Antonios Gkogkakis wrote: > Hi Mike

RE: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Martin Gainty
> Subject: Re: Struts 2 jQuery autocompleter and dynamic list > From: gkogk...@tcd.ie > To: user@struts.apache.org > > Hi Mike, > > have a look at the following link > https://code.google.com/p/struts2-jquery/wiki/AutocompleterTag > > Antonios > > > > On

Re: Struts 2 jQuery autocompleter and dynamic list

2013-05-29 Thread Antonios Gkogkakis
Hi Mike, have a look at the following link https://code.google.com/p/struts2-jquery/wiki/AutocompleterTag Antonios On 29 May 2013 01:50, Mike Hao wrote: > I am trying to implement an auto complete feature using Struts 2 jQuery > plugin - . The suggestion list need to be dynamically > retriev

Struts 2 jQuery autocompleter and dynamic list

2013-05-28 Thread Mike Hao
I am trying to implement an auto complete feature using Struts 2 jQuery plugin - . The suggestion list need to be dynamically retrieved from backend based on the characters user entered. Is it possible to implement this behaviour using S2 jQuery plugin? Does anyone has a good example? I could not

Re: struts2 jquery autocompleter is not working

2012-11-26 Thread Higo Matos
clanmilano, this problem is reported in: http://code.google.com/p/struts2-jquery/issues/detail?id=647 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: autocompleter struts2 onchange parameter not working

2011-11-16 Thread vivek jaiswal
t: RE: autocompleter struts2 onchange parameter not working autocompleter contains a mechanism that triggers javascript function when value of monitored list changes e.g. Mit Freundlichen Gruben Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni

RE: autocompleter struts2 onchange parameter not working

2011-11-16 Thread Martin Gainty
autocompleter contains a mechanism that triggers javascript function when value of monitored list changes e.g. Mit Freundlichen Gruben Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

autocompleter struts2 onchange parameter not working

2011-11-15 Thread vivek jaiswal
  Dear All, I want to apply onchange parameter in function testjavscriptmethod() { alert('Hi'); } but the method is not call why? plz help me with regards, VIVEK KUMAR JAISWAL

Re: struts2 jquery autocompleter is not working

2011-09-09 Thread Dave Newton
Sounds like a bug off it's supposed to be serializing on submit, or an ambiguous spec--I'd check the tag code to see what seems to be intended and take it from there. Dave On Sep 9, 2011 6:16 PM, "clanmilano" wrote: > getAllProducts() is called any time the user type in

Re: struts2 jquery autocompleter is not working

2011-09-09 Thread clanmilano
getAllProducts() is called any time the user type in the autocompleter. Form values are sent to the action but they do not have the latest values, they just send the value that they have in loading of the page. What I expect is to get the form values latest selected. As it is specified in http

Re: struts2 jquery autocompleter is not working

2011-09-09 Thread Dave Newton
using struts2 + jquery > plugin. > I really like the autocompleter component since as you may know, it starts > filtering its content while we type on it. > The thing is that it does not submit the latest selected values in the > others elements at the jsp like s:select, while typing i

struts2 jquery autocompleter is not working

2011-09-08 Thread clanmilano
Hello there! I have a web project in which I'm using struts2 + jquery plugin. I really like the autocompleter component since as you may know, it starts filtering its content while we type on it. The thing is that it does not submit the latest selected values in the others elements at the jsp

Re: RE : jquery + struts2 => autocompleter example?

2011-03-10 Thread Dave Newton
On Thu, Mar 10, 2011 at 10:08 AM, Emi Lu wrote: > (1) http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag > (2) http://docs.jquery.com/Plugins/autocomplete > > I strongly hope that (1) can be added to (2). Not sure what you mean there, there will never be docs on the jQuery site that are

Re: RE : jquery + struts2 => autocompleter example?

2011-03-10 Thread Emi Lu
u.m...@ensam.eu De : Emi Lu [em...@encs.concordia.ca] Date d'envoi : jeudi 10 mars 2011 15:13 À : user@struts.apache.org Objet : jquery + struts2 => autocompleter example? Good morning, Does someone know where I can find a good: jquery + st

RE : jquery + struts2 => autocompleter example?

2011-03-10 Thread Matthieu.Marc
am.eu De : Emi Lu [em...@encs.concordia.ca] Date d'envoi : jeudi 10 mars 2011 15:13 À : user@struts.apache.org Objet : jquery + struts2 => autocompleter example? Good morning, Does someone know where I can find a good: jquery + struts2 => autocompleter exam

Sv: jquery + struts2 => autocompleter example?

2011-03-10 Thread Peter Östergren
Try this one http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag /peter >>> Emi Lu 2011-03-10 15:13 >>> Good morning, Does someone know where I can find a good: jquery + struts2 => autocompleter example? Since dojo deprecated, I am thinking using jquery

jquery + struts2 => autocompleter example?

2011-03-10 Thread Emi Lu
Good morning, Does someone know where I can find a good: jquery + struts2 => autocompleter example? Since dojo deprecated, I am thinking using jquery + struts2. Basically, autocompleter's value list needs to be calculated by struts2 action class to retrieve from Database. Thanks a

Re: Autocompleter allows more characters than maxlength value.

2011-02-04 Thread Dave Newton
Not sure how that's integrated into the Dojo stuff; you'll probably have to dig, w/ the understanding it's an *old* (0.4.3?) version of Dojo. Another reason why the Dojo plugin is deprecated. Dave On Fri, Feb 4, 2011 at 12:14 PM, Bruno wrote: > Hey guys. > > I'm using a auto completer as descri

Autocompleter allows more characters than maxlength value.

2011-02-04 Thread Bruno
Hey guys. I'm using a auto completer as described down below: I've set a maxlength, but it still allows the user to input more than 32 characters. Appreciate any help you can give. Thanks -- Bruno Morelli Vargas Mail: brun...@gmail.com Msn: brun...@hotmail.com Icq: 165055101 Skype: morell

Autocompleter positioning porblem

2010-05-14 Thread Stephane Cosmeur
Hey Struts 2 users i'm facing problem with a s:autocompleter. There is the definition Firstly i tried to use they key property and define label and name in the package.properties file. It didn't work and i gave up this solution. Any idea why ? So i defined my autocompleter like i me

Re: how to use autocompleter tag? Please......

2009-09-30 Thread Tommy Pham
__ From: taj uddin To: struts2 Sent: Tuesday, September 29, 2009 4:08:55 AM Subject: how to use autocompleter tag? Please.. Hi All, I am working on web application using struts 2.0.12 version. In my application there is a need to replace the select

how to use autocompleter tag? Please......

2009-09-29 Thread taj uddin
Hi All,       I am working on web application using struts 2.0.12 version. In my application there is a need to replace the select tag with autocompleter tag. I tried many ways using the list which i obtain from the action class and also tested with static list values but not able to

how to use autocompleter tag?

2009-09-29 Thread taj uddin
Hi All,       I am working on web application using struts 2.0.12 version. In my application there is a need to replace the select tag with autocompleter tag. I tried many ways using the list which i obtain from the action class and also tested with static list values but not able to

Re: Autocompleter of Struts 2

2009-04-27 Thread 周建新
p://www.roseindia.net/struts/struts2/struts2uitags/autocompleter-example.shtml > HERE > > The autocompleter is working well and good but it is listing only the 1st > 30 entries only (In the dropdown list). Why it is not showing the remaining > items? > > Thanks in advance, >

Autocompleter of Struts 2

2009-04-27 Thread NR031
Hi, I am following the tutorial given http://www.roseindia.net/struts/struts2/struts2uitags/autocompleter-example.shtml HERE The autocompleter is working well and good but it is listing only the 1st 30 entries only (In the dropdown list). Why it is not showing the remaining items

Re: Struts 2.0 autocompleter WW-2222 issue workaround

2009-04-23 Thread beren7
Hello. > I'm facing the WW- issue in struts 2.0.14 . > The problem is with autocompleter, > > value="%{eventDate.event.descName}" list="%{#eventAction.eventList}" > listValue="descName" listKey="id"/> > > The generated htm

Struts 2.0 autocompleter WW-2222 issue workaround

2009-04-16 Thread beren7
Hello. I'm facing the WW- issue in struts 2.0.14 . The problem is with autocompleter, The generated html is fine, but when I submit the form, the request parameter is setted to descName and not to id. Trying to switch listValue and listKey solve the problem, but the description

ajax autocompleter

2009-02-18 Thread Jiří Chaloupka
Hi, I tried to use autocompleter on base of tutorial http://www.benmccann.com/dev-blog/struts-2-ajax-tutorial-dojo-autocompleter-example/, which do nothing. My code is: public class HintAddresses extends ActionSupport{ private String namePart; private Map json; static Logger log

Struts 2 getting Autocompleter key/value pairs

2009-02-04 Thread gopidoss
#x27;).getValue(), dojo.widget.byId('job').comboBoxSelectionValue.value..but it wont works Expecting your suggestions... Thanks in advance, Regards Gopi. -- View this message in context: http://www.nabble.com/Struts-2-getting-Autocompleter-key-value-pairs-tp21829519p21829519.html S

Re: Issue getting autocompleter value in javascript

2009-01-29 Thread sheva j
> Hi, I am using struts2.0.11 for my project. I am using struts xml validation. I need to validate a date field(I am not using struts date picker) in dd/MM/ format, but struts is validating against MM/dd/ format. Is that possible to validate against dd/MM/ format? If

Re: Re : Struts2 ajaxified autocompleter is shrinking when use back tab

2009-01-09 Thread Sashik
rg > Envoyé le : Jeudi, 8 Janvier 2009, 22h27mn 48s > Objet : Struts2 ajaxified autocompleter is shrinking when use back tab > > > Hi > > I was using struts.2.0.11 version. Implemented autocompleter feature using > ajax. here is the example of the tag. > > a

Re : Struts2 ajaxified autocompleter is shrinking when use back tab

2009-01-09 Thread François Rouxel
I had the same problem with FF3 and IE7.. - Message d'origine De : Sashik À : user@struts.apache.org Envoyé le : Jeudi, 8 Janvier 2009, 22h27mn 48s Objet : Struts2 ajaxified autocomplet

Struts2 ajaxified autocompleter is shrinking when use back tab

2009-01-08 Thread Sashik
Hi I was using struts.2.0.11 version. Implemented autocompleter feature using ajax. here is the example of the tag. Auto completer works fine. But when I use back button to retype is auto matically shrinks and suddenly shows only one row with a down/up arrows buttons in the right corner

Re: Validating Autocompleter using javascript

2008-12-10 Thread Dave Newton
Have you looked at the rendered HTML? AFAIK you'd need to use the Dojo mechanisms for accessing Dojo component values. Dave --- On Wed, 12/10/08, aum strut <[EMAIL PROTECTED]> wrote: > From: aum strut <[EMAIL PROTECTED]> > Subject: Validating Autocompleter using javascr

Validating Autocompleter using javascript

2008-12-10 Thread aum strut
Do any one have any suggestion regarding this problem or do i need to drop down the idea of using autocompleter??? Hi all, i am struck in a simple problem but not able to proceed as i m unable to find any solution for this. I am using struts2 UI tags and in order to validate the user input i am

Validating Autocompleter using javascript

2008-12-09 Thread aum strut
but now i have to use auocompleter and here javascript validation is not working.i have created a seperated javascript file and validating the user input using this file. My javascript validation is working fine(even displaying errors) up to the point it encounters autocompleter but it stops

Struts autocompleter tag - how to add style?

2008-11-24 Thread pesho318i
Hello :) I am trying to use the struts autocompleter tag: The default style of the autocompleter is quite rudimentary. The dropdown arrow is smaller than the textbox, and the suggestions are floating without any margin. Can you suggest any css style that I could add to make it look more like

AutoCompleter functionality?

2008-11-20 Thread Burton Rhodes
way to configure the autocompleter to query the database to create a filtered list based off the first three characters they enter? I guess I would like it to function more like Google's auto-suggest feature I have my autocompleter using a JSON object via the "href" attribute, b

issue with autocompleter tag

2008-10-16 Thread akash agrawal
Hi, I am trying to attach javascript event onkeypress with autocompleter tag but can't. I can't seem to attach any event for that matter. Can anyone throw any light on it? Please find my code details below. Thanks. My code: Javascript: function processKey(e) { if (null == e)

Re: Issue getting autocompleter value in javascript

2008-09-29 Thread sheva j
Hi, Thanks for your reply. I got the point. Below two lines of code, will give the selected value of autocompleter to js. var selectedValue = dojo.widget.byId('auto'); var value1 = selectedValue.textInputNode.value; Thank you again. On 9/29/08, Struts Two <[EM

Re: Issue getting autocompleter value in javascript

2008-09-29 Thread Struts Two
autocompleter is a dojo widget, you should try to get its value through dojo api for widgets not dom api. Your javascript will not work (as you have already noticed). regards, - Original Message From: sheva j <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Monday, Septem

Issue getting autocompleter value in javascript

2008-09-29 Thread sheva j
Hi, I am using struts2.0.11(I missed out in the previous mail). One more question, Is it possible to trigger onchange event of autocompleter(Ajax). Kindly help me Thanks in advance.

Issue getting autocompleter value in javascript

2008-09-29 Thread sheva j
Hi, I am facing an issue in getting, selected value of autocompleter in javascript. Issue: On the onclick event of a button, I am calling a javascript function. getAutoValue() { var selectedValue = document.getElementById("auto").value; alert(selectedValue); } where 'auto'

RE: I am trying to ignore any white space entered by the user in the autocompleter combobox.

2008-09-24 Thread Jishnu Viswanath
Message- From: rza [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2008 10:38 PM To: user@struts.apache.org Subject: RE: I am trying to ignore any white space entered by the user in the autocompleter combobox. I want to do it on the client side, basically I want the autocompleter to work

RE: I am trying to ignore any white space entered by the user in the autocompleter combobox.

2008-09-24 Thread rza
I want to do it on the client side, basically I want the autocompleter to work and find the proper string even if there is a difference between the string from the list and the string typed by the user.. Jishnu Viswanath wrote: > > You want a client side removal or server side? If

RE: I am trying to ignore any white space entered by the user in the autocompleter combobox.

2008-09-24 Thread Jishnu Viswanath
EOPLE :: PASSION :: EXCELLENCE -Original Message- From: rza [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2008 9:39 PM To: user@struts.apache.org Subject: I am trying to ignore any white space entered by the user in the autocompleter combobox. I am trying to ignore any white

I am trying to ignore any white space entered by the user in the autocompleter combobox.

2008-09-24 Thread rza
I am trying to ignore any white space entered by the user in the autocompleter combobox. I appreciate any help/hint -- View this message in context: http://www.nabble.com/I-am-trying-to-ignore-any-white-space-entered-by-the-user-in-the-autocompleter-combobox.-tp19652266p19652266.html Sent from

Issue using struts2 autocompleter.

2008-09-24 Thread sheva j
Hi, I am facing an issue in struts2.0.11 autocompleter. Issue: In jsp page where I have used autocompleter, IE is showing an alert message with "stack overflow at line: 8259" and in the same jsp page, I have an error as "djConfig.baseScriptUri.length' is null or not an o

RE: Issue using struts2 autocompleter.

2008-09-24 Thread Rag
rom: Jishnu Viswanath [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, September 23, 2008 5:15 PM >> To: Struts Users Mailing List >> Subject: RE: Issue using struts2 autocompleter. >> >> Which version of struts are you using? Later versions of sturts 2.1.x >&

Re: Issue using struts2 autocompleter.

2008-09-24 Thread sheva j
> transmission. > > > > Date: Tue, 23 Sep 2008 05:20:21 -0700 > > From: [EMAIL PROTECTED] > > To: user@struts.apache.org > > Subject: RE: Issue using struts2 autocompleter. > > > > > > Hi, > > > > I am using struts2.0.11. I will tr

RE: Issue using struts2 autocompleter.

2008-09-23 Thread Martin Gainty
> To: user@struts.apache.org > Subject: RE: Issue using struts2 autocompleter. > > > Hi, > > I am using struts2.0.11. I will try the example given in the url. Thanks for > the url. > > > Jishnu Viswanath wrote: > > > > Oops I mean Late vers

RE: Issue using struts2 autocompleter.

2008-09-23 Thread Rag
91 ) 9731209330ll > > Tavant Technologies Inc., > > www.tavant.com > > PEOPLE :: PASSION :: EXCELLENCE > > > -Original Message- > From: Jishnu Viswanath [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 23, 2008 5:15 PM > To: Struts Users Mailing

RE: Issue using struts2 autocompleter.

2008-09-23 Thread Jishnu Viswanath
] Sent: Tuesday, September 23, 2008 5:15 PM To: Struts Users Mailing List Subject: RE: Issue using struts2 autocompleter. Which version of struts are you using? Later versions of sturts 2.1.x check http://struts.apache.org/2.0.11.2/docs/ajax-tags.html Regards, Jishnu Viswanath Software Engineer

RE: Issue using struts2 autocompleter.

2008-09-23 Thread Jishnu Viswanath
:: EXCELLENCE -Original Message- From: Rag [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 5:12 PM To: user@struts.apache.org Subject: RE: Issue using struts2 autocompleter. Hi, Thanks for your replay Viswanath. 1. I tried without theme attribute, eventhen its behaving like

RE: Issue using struts2 autocompleter.

2008-09-23 Thread Rag
Hi, Thanks for your replay Viswanath. 1. I tried without theme attribute, eventhen its behaving like a combo box. 2. When I put theme = "ajax" in autocompleter tag, its behaving like a textbox, not at all displaying the list from action class. Kindly help me... Thanks in advanc

RE: Issue using struts2 autocompleter.

2008-09-23 Thread Jishnu Viswanath
1. You need to have theme=ajax otherwise autocompleter won't work. 2. Did you try to remove simple theme from s:autocompleter ? or put ajax there instead of simple. Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologie

Issue using struts2 autocompleter.

2008-09-23 Thread Rag
Hi, I am facing an issue in struts2 autocompleter. Issue: In jsp page where I have used autocompleter, IE is showing an alert message with "stack overflow at line: 8259" and in the same jsp page, I have an error as "djConfig.baseScriptUri.length' is null or not an object&q

Issue using struts2 autocompleter.

2008-09-23 Thread Rag
Hi, I am facing an issue in strts2 autocompleter. Issue: In jsp page where I have used autocompleter, IE is showing an alert message with "stack overflow at line: 8259" and in the same jsp page, I have an error as "djConfig.baseScriptUri.length' is null or not an object&q

problem with submit value of autocompleter tag

2008-09-12 Thread Gawain Hammond
I'm trying to use autocompleter with struts 2.1.2 to replace a select drop down with too many options, but on submission it seem autocompleter submits the listValue rather than the listKey. (The same params work fine with , I've had this same issue since 2.0.11.x) My jsp: H

Re[7]: autocompleter bug in forefox3 but not in ie6

2008-07-17 Thread Piotr Dzeviarylin
I've checked the request and those values from hidden input fields (name, nameKey) are not there. > I noticed that but I don't think id is a mandatory field... id is > give for users to do manipulation on the widget, other wise it would be > mandatory field. > Any way did you check what is th

RE: Re[5]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jishnu Viswanath
Re[5]: autocompleter bug in forefox3 but not in ie6 I Think I find the bug. See here: We don't have param here, only . And FF I think use getElementBuId() func, which return null if missed id param. IE in such cases use param instead of . But I still don't know how to fix problem. Don

Re: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jeromy Evans
Piotr Dzeviarylin wrote: I Think I find the bug. See here: For the sake of completeness, does your form work in Firefox 2.x? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re[5]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
I Think I find the bug. See here: We don't have param here, only . And FF I think use getElementBuId() func, which return null if missed id param. IE in such cases use param instead of . But I still don't know how to fix problem. Don't anyone face this challenge? ---

Re[4]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
I've already check the generated code in firebug. Yes, hidden fields are in place. Here is html code: apple banana grape pear And this is code form firebug: As you can see everything seems good. > Opera does not work with dojo, by the way try in safari can u s

RE: Re[2]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jishnu Viswanath
bject: Re[2]: autocompleter bug in forefox3 but not in ie6 Yes, dojo in firefox3 works with bugs. Only loading dojo libs requires manually change some firefox defalt parameters and this a big problem for deploying web project with dojo running on ff3. I have firebug installed but it doesn't show

Re[2]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
Yes, dojo in firefox3 works with bugs. Only loading dojo libs requires manually change some firefox defalt parameters and this a big problem for deploying web project with dojo running on ff3. I have firebug installed but it doesn't show any error. autocompleter simply doesn't pass it&#

RE: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jishnu Viswanath
iling List Subject: autocompleter bug in forefox3 but not in ie6 In the html form I have this tag: It works fine but doesn't pass values to action and properties. I test it in ie6 and everything is alright. Does anybody kn

autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
In the html form I have this tag: It works fine but doesn't pass values to action and properties. I test it in ie6 and everything is alright. Does anybody knows the problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [S2] autocompleter action extension

2008-06-29 Thread Pierre Goupil
You're absolutely right ! I'll stick to the .xhtml extension, as I have no need for .html. Thanks ! Pierre 2008/6/26 Laurie Harper <[EMAIL PROTECTED]>: > My guess is that using an action extension of .html creates a conflict with > the Dojo template resources, which are .html files. If you loo

Re: [S2] autocompleter action extension

2008-06-26 Thread Laurie Harper
My guess is that using an action extension of .html creates a conflict with the Dojo template resources, which are .html files. If you look at your access logs (or use Firebug to see what XHR requests are being made during page rendering), you'll see what I mean. The easiest thing to do is pic

[S2] autocompleter action extension

2008-06-25 Thread Pierre Goupil
Hello all, I would like my S2 project to be mapped to .html actions, so I have set this up : - struts.action.extension=html in my struts.properties - in my xwork-default.xml - in my struts-default.xml. Please note that for the two last ones, I have simply added the property to the original f

Re: Autocompleter tag fails when file tag is added

2008-06-17 Thread Struts Two
it first. - Original Message From: Struts Two <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, June 16, 2008 5:15:51 PM Subject: Autocompleter tag fails when file tag is added I have a page with a few autocompleter inputs as well as some textfield and text area

Autocompleter tag fails when file tag is added

2008-06-16 Thread Struts Two
I have a page with a few autocompleter inputs as well as some textfield and text area input fields. Everything upto this point was working fine till I added an extra file input field : (also added enctype="multipart/form-data") to my form as well. All my autocompleter have stopped f

Re: Autocompleter tag issues

2008-06-16 Thread Craftyman
Thanks a lot, i'm just regret we can find easily this information in the documentation. I hope to find a solution to my last problem with s:autocopleter onUpdate statuts and my demo will be good :) 2008/6/16 Struts Two <[EMAIL PROTECTED]>: > Your "id" will be saved in "selectedUserKey". Add this

Re: Autocompleter tag issues

2008-06-16 Thread Struts Two
Your "id" will be saved in "selectedUserKey". Add this property in ur action and you will have the id for the username selected. __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-n

Re: Autocompleter tag issues

2008-06-16 Thread Craftyman
lue) but I want the userId (listId) Please help me, I must quickly resolv that. (I'm work on a Struts 2.0.9 demo) Cédric 2008/6/16 Struts Two <[EMAIL PROTECTED]>: > Where and how do you listen for the topics. I have currently 4 > autocompleter boxes hooked together using n

Re: Autocompleter tag issues

2008-06-16 Thread Struts Two
Where and how do you listen for the topics. I have currently 4 autocompleter boxes hooked together using notify and listen attributes [though I am using 2.0.11.1, and it seems you are using 2.1.x]. If it is of any help here is my code: On every change being made in my first autocompleter, the

Autocompleter tag issues

2008-06-16 Thread Jukka Välimaa
Hi all, I'm trying to use struts 2 autocompleter tag, and having trouble doing so. My first problem is that valueNotifyTopics attribute works only incompletely. When I've written something in the text field, even one letter is sufficient, and pick the first option from the filtered

Re: Autocompleter onchange attribute

2008-06-12 Thread Craftyman
y head section a > the auto search work fine > > I juste want to add a onchange event whitch submit my form. Before usind > the autocompleter tag i have : > > > > name="selectedItem" > onchange="javascript:document.getElementById('myForm').submi

Re: Autocompleter onchange attribute

2008-06-10 Thread Craftyman
I have any errors and i use the s:head theme="ajax"/> in my head section a the auto search work fine I juste want to add a onchange event whitch submit my form. Before usind the autocompleter tag i have : onchange="javascript:document.getElementById('myForm'

Re: Autocompleter onchange attribute

2008-06-10 Thread Laurie Harper
What do you mean by 'No ajax use'? s:autocomplete is an Ajax tag... Do you have in the head section of your page? Do you get any Javascript errors when you load the page, or when you interact with the autocompleter control? L. Craftyman wrote: Hi, I'm using a s:autocomplet

Autocompleter onchange attribute

2008-06-10 Thread Craftyman
Hi, I'm using a s:autocompleter with a local list (No ajax use - Struts 2.0.9). The auto seach work fine but the onChange event doesn't run. Indeed, I want to submit myForm when the user select a right value (Ie a value present in my select). Here my configuration : I'm try the notifyTopic

Re: How to set a value in a autocompleter?

2008-05-02 Thread Márcio Gurgel
Hi, I resolved this value=""%{bean.Attr}; Regards, Márcio Gurgel 2008/5/2 Márcio Gurgel <[EMAIL PROTECTED]>: > Hi! > > I need some help to set a selected value in a autocompleter, when I open > data, all fields are populated, except two autocompleters. &

How to set a value in a autocompleter?

2008-05-02 Thread Márcio Gurgel
Hi! I need some help to set a selected value in a autocompleter, when I open data, all fields are populated, except two autocompleters. I used JSON to populate the autocompleter list option. Thanks in advance. Márcio Gurgel

RE: How to use "Autocompleter" like GMail style.

2008-04-10 Thread Allen, Daniel
The showcase [1] has an autocompleter example page with demonstrations of several of its features and accompanying source. ~DVA [1] http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/ -Original Message- From: Joey [mailto:[EMAIL PROTECTED] Sent: Thursday, April 10, 2008 6

How to use "Autocompleter" like GMail style.

2008-04-10 Thread Joey
Hi Everybody. Just want to know how to can I use "Autocompleter" as GMail style, I mean, in GMail website, When I type more than 1 recipient name in "To:" text box, the text box can complete with each recipient name. I have checked Antocompleter document in Struts2 website,

Re: Struts 2.1 autocompleter, get the value

2008-03-27 Thread sassien
Ok, I finally managed to make it work. so now the answer... as I said, I did it exactly the same way as the example: Autocompleter 2 and here we never get the result (the selected thing). Of course if we want to have it we have to add name="mySelectedValue" and have a setMySel

Re: Struts 2.1 autocompleter, get the value

2008-03-26 Thread sassien
Yes I mean to use the value on my action, and I did set name="myVar" and I do have a "myVar" field and a public setMyVar() method on my action. This is strange, because when I write my autocompleter this way: here the value is "stored" and I can use it in my actio

Re: Struts 2.1 autocompleter, get the value

2008-03-26 Thread Musachy Barroso
sien <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I'm new to struts 2, and I finally managed to link 2 autocompleters using a > few examples like this one: > > http://www.planetstruts.org/struts2-showcase/viewSource.action?page=/ajax/autocompleter/inde

Struts 2.1 autocompleter, get the value

2008-03-26 Thread sassien
Hi everyone, I'm new to struts 2, and I finally managed to link 2 autocompleters using a few examples like this one: http://www.planetstruts.org/struts2-showcase/viewSource.action?page=/ajax/autocompleter/index.jsp or this one: http://struts.apache.org/2.x/docs/autocompleter.html As

Re: Issue In Autocompleter

2008-03-17 Thread Ozzy
coming from the action is in JSON format > > {"Arizona":"AZ","Arkansas":"AR","Armed":"AE","California":"CA","Florida":"FL"} > the jsp code is > <%@ taglib prefix="s"

Re: Issue In Autocompleter

2008-03-14 Thread Laurie Harper
Ankur Agar wrote: Hi All, I am tryin to make an autocomplete work with its theme="ajax" I am using struts 2.0.x The data coming from the action is in JSON format [...] But still the autocomplete is not working gives a syntax error on page when Including the actual error message would he

Issue In Autocompleter

2008-03-14 Thread Ankur Agar
ot;:"CA","Florida":"FL"} the jsp code is <%@ taglib prefix="s" uri="/struts-tags" %> Struts 2 Autocompleter Example! But still the autocomplete is not working gives a syntax error on page when

struts 2.0.11: autocompleter

2008-01-15 Thread Otto, Frank
hi, I have 6 autocompleter. The first refreshs the second, the second the third and so one. But If I clear the second autocompleter value, so that the combo box is empty, the notifyTopics-Event will not be send. Has someone an idea? I have to refresh the third combo box and then the next

AW: struts 2.0.11: autocompleter and notify-/listenTopics

2008-01-14 Thread Otto, Frank
when selection changes, 'load' when the request succeeds, or 'error' when it fails * request: request javascript object, when type='load' or type='error' -Ursprüngliche Nachricht- Von: Otto, Frank Gesendet: Montag, 14. Januar 2008 14:

struts 2.0.11: autocompleter and notify-/listenTopics

2008-01-14 Thread Otto, Frank
Hi, I have 6 autocompleter combo boxes. The first refresh the second, the second the third and so one. I use notifyTopics and listenTopics: My problem is, that the topics were called more than one time, If I will select a value from the first combo box. This is to many overhead

autocompleter reload from json action ...

2007-12-03 Thread Giovanni Azua
hi, This is a follow up to my posts before "best choice for this use case ... ?" Now it works: I get the two autocompleters connected and the JSON action generating the JSON result list properly that also gets populated in the right autocompleter. So far so good BUT the only singl

  1   2   3   4   >