thanks a lot it's working properly
with regards,
VIVEK KUMAR JAISWAL
From: Martin Gainty
To: Struts Users Mailing List
Sent: Thursday, 17 November 2011 6:26 AM
Subjec
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 vertraulich
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
check the doc,Tag Reference
Parameters
Name: resultsLimit
Required: false
Default: 30
Description: how many results are shown as autocompletion options, set to -1
for unlimited results
On 4/27/09, NR031 wrote:
>
>
> Hi,
>
>I am following the tutorial given
>
> http://www.roseindia.net/stru
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]
I am not sure... Struts in turn uses dojo for its Ajax (it was .4) there
are lot of issues with dojo and ff3. I am not sure because of this it's
failing.
Can you tell me what exactly it's the error, if you have firebug
installed, tell is there any request in red?
Regards,
Jishnu Viswanath
Softw
I was hoping that someone could tell me why this is happening. I am not looking
for a solution on this as I have found a workaround. For a moment I thought the
problem may be related to submiting the file when autocompleters submit the
form, so I used a form filter to exclude file input but of n
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
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
I have also a problem with the onchange attribute :
http://www.mail-archive.com/user@struts.apache.org/msg76830.html
May new but more important problem is to save the idvalue after the submit.
Indeed i'm just get the value :
...
When I submit my form I'm get the userName (listValue) but I wa
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
Anybody have any idea ?
I'm just want to configure my s:autocompleter to allow to when a user select
a new value to submit my form automatically
Thanks.
Cédric
2008/6/10 Craftyman <[EMAIL PROTECTED]>:
> I have any errors and i use the s:head theme="ajax"/> in my head section a
> the auto search
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').submit;" doen't work
with autoc
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:autocompleter with a local l
This was just fixed on trunk, see WW-2220. There will be a "keyValue"
attribute to set the initial value of the key. The "key" attribute is
something else, not related to the autocompleter's "key"
musachy
On 9/28/07, Giovanni Azua <[EMAIL PROTECTED]> wrote:
> Hi Meissa,
>
> Yep it is possible ...
Hi Meissa,
Yep it is possible ... assuming you provide:
then include in the rendering Action associated to this JSP the
following two bean property getters:
// will provide the default display value that the user sees
public String
getSomeProperty()
{
// ...
}
// will provide the key corre
Use the "resultsLimit" attribute.
musachy
On 9/10/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm using the autocompleter tag and I'm little bit troubleshooted by it's
> behaviour.
>
> I have a list the contains more than 100 items. When the page is loaded,
> the select box dis
See if this helps:
http://www.mail-archive.com/user@struts.apache.org/msg61657.html
musachy
On 8/31/07, peter_smiley <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Currently I'm using struts 2.0.9 and am trying to use the autocompleter with
> a JSON key/value pair as the input for the autocompletion lis
I only wanted to return 10 of the 1000
I accoplished it with
Or something close to that
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 1:22 PM
To: Struts Users Mailing List
Subject: Re: autocompleter part of whole
Do you
Do you have the 1000 loaded in the autocompleter already? Or your
action returns 1000 and you want to show only 10 (why not returning
only 10?)? Or I didn't understand the question :) ?
regards
musachy
On 7/30/07, Phillip Grenier <[EMAIL PROTECTED]> wrote:
> say that you wanted to get part of a l
I found that struts 2 " link two autocompleter" of showcase apps can not
work correctly with IE 6, I test both struts 2.0.8 and struts 2.0.9 have
same javascript exception.
as metioned prior message, the struts live showcase also can not works with
IE 6.
http://www.planetstruts.org/struts2-showca
>>but I found follow URL works with IE 6:
>>http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/
today I found that the
URL(http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/)executed
failure IE 6 when click Autocompleter 2 of "Link two autocompleter
elements.", the IE
deploy showcase apps at tomcat 5.5.17 & JDK1.5.11, when I test "Link two
autocompleter elements" example, when click "Autocompleter 2", the same
error found at IE 6(Firefox works)
but I found follow URL works with IE 6:
http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/
:(
My Env
Musachy, we solved this by adding a white space in the text of the generated
json.
Now, when the user clicks one of the rendered options, it fires de value
changed event
is it possible?
Musachy Barroso wrote:
>
> Use the "notifyTopics" attribute.
>
> musachy
>
> On 7/13/07, rrecoba <[EMAI
Thanks for your answer. I´ve already try with notifytopics, but doesn´t work.
The notifyTopic isn´t fired when i select an item, it´s only fired when I
change the text of the selected one. Any Idea?
Musachy Barroso wrote:
>
> Use the "notifyTopics" attribute.
>
> musa
Use the "notifyTopics" attribute.
musachy
On 7/13/07, rrecoba <[EMAIL PROTECTED]> wrote:
Hi, I can´t capture the onChange event of an autocompleter. Now I have the
autocompleter working, but i need to fill a div from an ajax call when one
item is selected in the autocompleter. How can I do th
Oh, ok, I thought that was the generated html :)
musachy
On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Yes.
But I'm using dataURL, because I could not deal if autoLayout of ajax
componentes, so I'm using the dojo code direct, as you can see in this
code:
dataURL <=> href
and ini
Yes.
But I'm using dataURL, because I could not deal if autoLayout of ajax
componentes, so I'm using the dojo code direct, as you can see in this code:
dataURL <=> href
and initialValue <=> nameValue
Regards,
Felipe
Musachy Barroso wrote:
>
> Are you using the href attribute to load the
Found it...
Looking at Dojo attributes I found initialValue attribute.
My bad guys,
Thanks anyway.
Felipe
Felipe Rodrigues wrote:
>
> Doesn't work even if I set value with "value" or "key" attribute.
> So weird.
>
> Any other suggestion?
>
>
> []'s
>
> Felipe
>
>
> Felipe Rodrigues wr
Are you using the href attribute to load the values using AJAX?
musachy
On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Doesn't work even if I set value with "value" or "key" attribute.
So weird.
Any other suggestion?
[]'s
Felipe
Felipe Rodrigues wrote:
>
> No,
>
> Using keyName
Doesn't work even if I set value with "value" or "key" attribute.
So weird.
Any other suggestion?
[]'s
Felipe
Felipe Rodrigues wrote:
>
> No,
>
> Using keyName. I'll confirm, but I think I've already tried use value.
>
>
>
>
> Musachy Barroso wrote:
>>
>> Are you setting the value wit
No,
Using keyName. I'll confirm, but I think I've already tried use value.
Musachy Barroso wrote:
>
> Are you setting the value with the "value" attribute?
>
> musachy
>
> On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi Guys,
>>
>> This time I'm trying to make a autocom
Are you setting the value with the "value" attribute?
musachy
On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Hi Guys,
This time I'm trying to make a autocompleter component keep its value when
its property comes populated from action.
If I type some value and choose that, this va
All you have to do is make sure that the url used to load the second
autocompleter returns a JSON that has keys and values, like it is explained
here:
http://struts.apache.org/2.x/docs/ajax-tags.html
musachy
On 6/24/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
ok. but How I do this ?
I ne
ok. but How I do this ?
I need an example for the second combo be filled with names and keys too.
How I do this with autocomplete? What I need to change in options.ftl ?? I
need a complete example
Thanks
Pedro
Musachy Barroso wrote:
>
> You can linked them if the second one will have i
You can linked them if the second one will have its options loaded using
ajax.
musachy
On 6/24/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
yes ...
Musachy Barroso wrote:
>
> Do you want the options on the second autocompleter to be pre-populated
> like
> in the first one "%{'a','b'}"?
>
>
yes ...
Musachy Barroso wrote:
>
> Do you want the options on the second autocompleter to be pre-populated
> like
> in the first one "%{'a','b'}"?
>
> musachy
>
> On 6/23/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>> In the struts-showcase is showed an example of autocomplet
Do you want the options on the second autocompleter to be pre-populated like
in the first one "%{'a','b'}"?
musachy
On 6/23/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
Hi,
In the struts-showcase is showed an example of autocomplete.
http://www.planetstruts.org/struts2-showcase/viewSource
My bad, I didn't noticed it the first time around. I always forget that IE
doesn't like that trailing comma, do this:
[
<#list vars as var>
["${var}"]
<#if var_has_next>,
]
musachy
On 6/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
I found it. :-))
the problem was in my
I found it. :-))
the problem was in my template. The comma in the end of jSon return was
crasshing my list.
So I fixed only changin to that:
[
<#list vars as var>
["${var}"],
[""]
]
Thanks for your help.
Felipe
Felipe Rodrigues wrote:
>
> A strange thing is that ShowCase is working
A strange thing is that ShowCase is working on IE7.
Maybe the problem is in my template?
[
<#list vars as var>
["${var}", "${var}"],
]
How will be this comma in my last line? How could I remove the last comma?
Thanks,
Felipe
Musachy Barroso wrote:
>
>
>
> musachy
> //I have to
musachy
//I have to install IE 7 and test it, but I've been pushing that :)
On 6/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
debug-true worked.
But the message is not a big thing., at least for me. Doesn't say much.
FATAL exception raised: [object Error]
FATAL exception raised: [obje
debug-true worked.
But the message is not a big thing., at least for me. Doesn't say much.
FATAL exception raised: [object Error]
FATAL exception raised: [object Error]
FATAL exception raised: [object Error]
FATAL exception raised: [object Error]
But now I've removed loadOnTextChange, and the er
That's what that attribute is for, can you enable logging on head
(debug="true") and submit any logged error, or javascript errors? The ajax
tags still need to be tested on IE 7.
musachy
On 6/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Well,
Regarding that ShowCase is working on IE7,
Well,
Regarding that ShowCase is working on IE7, I suppose the issue is on
loadOnTextChange.
I'm using that because the list is really big, and I can't bring it in one
time. About 35000 records comming from Database. I would like to wait for 2
chars before make the select in Database. How could
You will have to take a look at Dojo's documentation. That form is submitted
using dojo.io.bind, and I don't think it supports multiparts
musachy
On 6/8/07, Nicolás Pace <[EMAIL PROTECTED]> wrote:
Hello
When I setup my form with encoding=multiaprt/form-data, the
autocompleter tag stops workin
On Mon, 16 Apr 2007 11:31:49 -0700 "Adam Ruggles" <[EMAIL PROTECTED]>
wrote:
>Ok so here is where the white rabbit went. If I add the autocomplete
>inside of a hidden div ("display: none;") element and then make it
>visible it will not display the icon. If the div is set to be displayed
>("di
I will give it a try tonight and let you know.
thanks
musachy
On 4/16/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
Ok so here is where the white rabbit went. If I add the autocomplete
inside of a hidden div ("display: none;") element and then make it
visible it will not display the icon. If t
Ok so here is where the white rabbit went. If I add the autocomplete
inside of a hidden div ("display: none;") element and then make it
visible it will not display the icon. If the div is set to be displayed
("display: block;") then it displays fine. After load, if I hide the
div and make it
Follow the white rabbit :)
//there could be a bug in the autocompleter anyway
musachy
On 4/16/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
The one in the showcase works. Interesting...
Musachy Barroso wrote:
> 2.0.6? Does the page in showcase for the autocompleter display the
arrows
> for you
The one in the showcase works. Interesting...
Musachy Barroso wrote:
2.0.6? Does the page in showcase for the autocompleter display the arrows
for you?
musachy
On 4/16/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
Nope. Still nothing displayed.
Musachy Barroso wrote:
> it is indeed. Do you
2.0.6? Does the page in showcase for the autocompleter display the arrows
for you?
musachy
On 4/16/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
Nope. Still nothing displayed.
Musachy Barroso wrote:
> it is indeed. Do you see the arrow if you don't specify anything in
> "visibleDownArrow"?
>
>
Nope. Still nothing displayed.
Musachy Barroso wrote:
it is indeed. Do you see the arrow if you don't specify anything in
"visibleDownArrow"?
musachy
On 4/16/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
I'm starting to play with the autocompleter tag but I'm running into one
issue. No matte
it is indeed. Do you see the arrow if you don't specify anything in
"visibleDownArrow"?
musachy
On 4/16/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
I'm starting to play with the autocompleter tag but I'm running into one
issue. No matter what I set showDownArrow to it will never display a
dow
I would expect that from a *windows* machine ;)
musachy
On 4/12/07, Rohit Dewan <[EMAIL PROTECTED]> wrote:
Hi Musachy,
I rebooted my linux machine for an unrelated reason and now cannot
reproduce
the issue. It is working now.
Sorry for the bother.
Regards,
Rohit
--
"Hey you! Would you
Hi Musachy,
I rebooted my linux machine for an unrelated reason and now cannot reproduce
the issue. It is working now.
Sorry for the bother.
Regards,
Rohit
Can you give more details on the problem? Any Javascript error? If you set
debug="true" on the head tag, does Dojo report any error? I use FF 2 on
Linux and the showcase examples work for me.
regards
musachy
On 4/11/07, Rohit Dewan <[EMAIL PROTECTED]> wrote:
I have a working autocompleter on F
Hi Musachy,
That was it. It works now!
Especially given that the autocompleter is structured as a key value pair,
supporting maps would be a natural fit. Thanks for creating the enhancement
request on JIRA.
Regards,
Rohit
On 4/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
The autocomplete
The autocompleter is expecting the "datasource" to be an array, not a map(or
object), so in this case it should be:
{"foos": [
["1", "chance"],
["10", "test"]
]
}
Although it would be convenient if it would take a map also:
https://issues.apache.org/struts/browse/WW-1872
The problem with the label rendering is tracked here:
https://issues.apache.org/struts/browse/WW-1602
and will be fixed for 2.0.7. If all you want to do is pass the text entered
on the autocompleter to the action to filter the results, you don't need to
use a form, that's supported by the autoco
Here is a jira ticket so you can track it:
https://issues.apache.org/struts/browse/WW-1633
musachy
André Faria wrote:
Hi Musachy,
Yes, you are right... The necessity is an attribute to specify the
name of the "key" field!
Could you implement that?
Regards,
Thank's,
André Faria
André Far
Thank you so much Musachy ...
Where can I get the last builds (not official)...
I am getting in
http://people.apache.org/maven-snapshot-repository/org/apache/struts/
That's right?
Musachy Barroso escreveu:
I will add a "keyName" attribute, which if not specified will fallback
the the current b
I will add a "keyName" attribute, which if not specified will fallback
the the current behavior of "${name}Key". That won't make it for 2.0.3.
musachy
André Faria wrote:
Hi Musachy,
Yes, you are right...
The necessity is an attribute to specify the name of the "key" field?
Regards,
T
Hi Musachy,
Yes, you are right... The necessity is an attribute to specify the name
of the "key" field!
Could you implement that?
Regards,
Thank's,
André Faria
André Faria escreveu:
Hi Musachy,
Yes, you are right...
The necessity is an attribute to specify the name of the "key" fi
Hi Musachy,
Yes, you are right...
The necessity is an attribute to specify the name of the "key" field?
Regards,
Thank's,
André Faria
Musachy Barroso escreveu:
Hi André,
Do you mean adding an attribute to specify the name of the "key"
field? That can be done. The "label" attribute
Hi André,
Do you mean adding an attribute to specify the name of the "key" field?
That can be done. The "label" attribute is a different thing, it is the
text that is displayed in front of the autocompleter and it is not
submitted to the server.
regards
musachy
André Faria wrote:
Hi Musach
66 matches
Mail list logo