You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Piotr Dzeviarylin <pe...@brestrw.by> on 2008/07/16 13:49:26 UTC

autocompleter bug in forefox3 but not in ie6

In the html form I have this tag:
<sx:autocompleter list="{'apple','banana','grape','pear'}" id="stnnzn" name="name" keyName="nameKey" />
It works fine but doesn't pass values to action <name> and <nameKey>
properties. I test it in ie6 and everything is alright.
Does anybody knows the problem?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Piotr Dzeviarylin <pe...@brestrw.by>.
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 the value sending to server? I mean the
> HTTP header? 

> Regards,

> Jishnu Viswanath



> <input dojoattachpoint="comboBoxValue" value="" name="name"
> tabindex="-1" style="display: none;"/>
> <input dojoattachpoint="comboBoxSelectionValue" value="" name="nameKey"
> tabindex="-1" style="display: none;"/>

> We don't have <id> param here, only <name>. And FF I think use
> getElementBuId() func, which return null if missed id param. IE in such
> cases use <name> param instead of <id>.
> But I still don't know how to fix problem.
> Don't anyone face this challenge?




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: autocompleter bug in forefox3 but not in ie6

Posted by Jeromy Evans <je...@blueskyminds.com.au>.
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Jishnu Viswanath <ji...@tavant.com>.
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 the value sending to server? I mean the
HTTP header? 

Regards,

Jishnu Viswanath

Software Engineer

*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Piotr Dzeviarylin [mailto:peter@brestrw.by] 
Sent: Wednesday, July 16, 2008 7:25 PM
To: Struts Users Mailing List
Subject: Re[5]: autocompleter bug in forefox3 but not in ie6

I Think I find the bug.
See here:

<input dojoattachpoint="comboBoxValue" value="" name="name"
tabindex="-1" style="display: none;"/>
<input dojoattachpoint="comboBoxSelectionValue" value="" name="nameKey"
tabindex="-1" style="display: none;"/>

We don't have <id> param here, only <name>. And FF I think use
getElementBuId() func, which return null if missed id param. IE in such
cases use <name> param instead of <id>.
But I still don't know how to fix problem.
Don't anyone face this challenge?

 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may 
contain confidential and/or privileged material. If you have received this in error, please contact the 
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies 
may be subject to our monitoring procedures.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Piotr Dzeviarylin <pe...@brestrw.by>.
I Think I find the bug.
See here:

<input dojoattachpoint="comboBoxValue" value="" name="name" tabindex="-1" style="display: none;"/>
<input dojoattachpoint="comboBoxSelectionValue" value="" name="nameKey" tabindex="-1" style="display: none;"/>

We don't have <id> param here, only <name>. And FF I think use
getElementBuId() func, which return null if missed id param. IE in such
cases use <name> param instead of <id>.
But I still don't know how to fix problem.
Don't anyone face this challenge?

 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Piotr Dzeviarylin <pe...@brestrw.by>.
I've already check the generated code in firebug. Yes, hidden fields
are in place. Here is html code:
<select dojoType="struts:ComboBox" id="synnzn" name="name" keyName="nameKey" initialValue="grape" visibleDownArrow="true" onblur="validate(this);" >
    <option value="apple">apple</option>
    <option value="banana">banana</option>
    <option value="grape" selected="selected">grape</option>
    <option value="pear">pear</option>
  </select>  
  
And this is code form firebug:
<span class="dojoComboBoxOuter dj_gecko" _="whitespace and CR's between tags adds   in FF" style="">
 <input dojoattachpoint="comboBoxValue" value="" name="name" tabindex="-1" style="display: none;"/>
 <input dojoattachpoint="comboBoxSelectionValue" value="" name="nameKey" tabindex="-1" style="display: none;"/>
 <input class="dojoComboBox" type="text" dojoattachpoint="textInputNode" dojoattachevent="key:_handleKeyEvents; keyUp: onKeyUp; compositionEnd; onResize;" autocomplete="off" style=""/>
 <img class="dojoComboBox" hspace="0" vspace="0" src="/translator/struts/dojo/src/widget/templates/images/combo_box_arrow.png" dojoattachevent="onMouseUp: handleArrowClick; onResize;" dojoattachpoint="downArrowNode" style="width: 14px; height: 14px;"/>
 <span class="dojoComboBoxOptions" style="display: none; position: absolute;"/>
</span>

As you can see everything seems good.

> Opera does not work with dojo, by the way try in safari can u see what
> is the generated code, I am using dojo 1, so had re written almost all
> the ftl's. Dojo uses a hidden field where we store the data. Check if it
> has given the proper name in generated code. 

> Regards,

> Jishnu Viswanath



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Jishnu Viswanath <ji...@tavant.com>.
Opera does not work with dojo, by the way try in safari can u see what
is the generated code, I am using dojo 1, so had re written almost all
the ftl's. Dojo uses a hidden field where we store the data. Check if it
has given the proper name in generated code. 

Regards,

Jishnu Viswanath

Software Engineer

*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Piotr Dzeviarylin [mailto:peter@brestrw.by] 
Sent: Wednesday, July 16, 2008 6:15 PM
To: Struts Users Mailing List
Subject: 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 any error.
autocompleter simply doesn't pass it's values in request after form
submitting and those params in action are null,  but on the other hand
fulfill its functionality
perfectly (autocomplete operations).
I also test autocompleter in opera 9.5 and the tag doesn't work
either.
The only browser that understand autocompleter is ie6.

> 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

> Software Engineer

> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll

> Tavant Technologies Inc.,

> www.tavant.com

> PEOPLE :: PASSION :: EXCELLENCE


> -----Original Message-----
> From: Piotr Dzeviarylin [mailto:peter@brestrw.by] 
> Sent: Wednesday, July 16, 2008 5:19 PM
> To: Struts Users Mailing List
> Subject: autocompleter bug in forefox3 but not in ie6

> In the html form I have this tag:
> <sx:autocompleter list="{'apple','banana','grape','pear'}" id="stnnzn"
> name="name" keyName="nameKey" />
> It works fine but doesn't pass values to action <name> and <nameKey>
> properties. I test it in ie6 and everything is alright.
> Does anybody knows the problem?










---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may 
contain confidential and/or privileged material. If you have received this in error, please contact the 
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies 
may be subject to our monitoring procedures.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Piotr Dzeviarylin <pe...@brestrw.by>.
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's values in request after form
submitting and those params in action are null,  but on the other hand fulfill its functionality
perfectly (autocomplete operations).
I also test autocompleter in opera 9.5 and the tag doesn't work
either.
The only browser that understand autocompleter is ie6.

> 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

> Software Engineer

> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll

> Tavant Technologies Inc.,

> www.tavant.com

> PEOPLE :: PASSION :: EXCELLENCE


> -----Original Message-----
> From: Piotr Dzeviarylin [mailto:peter@brestrw.by] 
> Sent: Wednesday, July 16, 2008 5:19 PM
> To: Struts Users Mailing List
> Subject: autocompleter bug in forefox3 but not in ie6

> In the html form I have this tag:
> <sx:autocompleter list="{'apple','banana','grape','pear'}" id="stnnzn"
> name="name" keyName="nameKey" />
> It works fine but doesn't pass values to action <name> and <nameKey>
> properties. I test it in ie6 and everything is alright.
> Does anybody knows the problem?










---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: autocompleter bug in forefox3 but not in ie6

Posted by Jishnu Viswanath <ji...@tavant.com>.
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

Software Engineer

*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Piotr Dzeviarylin [mailto:peter@brestrw.by] 
Sent: Wednesday, July 16, 2008 5:19 PM
To: Struts Users Mailing List
Subject: autocompleter bug in forefox3 but not in ie6

In the html form I have this tag:
<sx:autocompleter list="{'apple','banana','grape','pear'}" id="stnnzn"
name="name" keyName="nameKey" />
It works fine but doesn't pass values to action <name> and <nameKey>
properties. I test it in ie6 and everything is alright.
Does anybody knows the problem?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may 
contain confidential and/or privileged material. If you have received this in error, please contact the 
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies 
may be subject to our monitoring procedures.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org