Issue using struts2 autocompleter.

View: New views
9 Messages — Rating Filter:   Alert me  

Issue using struts2 autocompleter.

by Rag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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"
and autocompleter is behaving like a combo box.

Jsp code for autocompleter is:

<s:head theme="ajax"/> inside head tag
<s:autocompleter list="mailNameList" name="mailName" theme="simple" /> inside body tag
In Action class: private  List<String> mailNameList;

when I remove <s:head theme="ajax"/> tag, both errors are not coming, but instead of autocompleter, combo box is displaying in the jsp page.

Kindly help me..

Thanks in advance

RE: Issue using struts2 autocompleter.

by Jishnu Viswanath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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 Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE

-----Original Message-----
From: Rag [mailto:sheevaj@...]
Sent: Tuesday, September 23, 2008 2:19 PM
To: user@...
Subject: Issue using struts2 autocompleter.


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"
and autocompleter is behaving like a combo box.

Jsp code for autocompleter is:

<s:head theme="ajax"/> inside head tag
<s:autocompleter list="mailNameList" name="mailName" theme="simple" />
inside body tag
In Action class: private  List<String> mailNameList;

when I remove <s:head theme="ajax"/> tag, both errors are not coming,
but
instead of autocompleter, combo box is displaying in the jsp page.

Kindly help me..

Thanks in advance
--
View this message in context:
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
3666.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

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@...
For additional commands, e-mail: user-help@...


RE: Issue using struts2 autocompleter.

by Rag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 advance

Jishnu Viswanath wrote:

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 Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE

-----Original Message-----
From: Rag [mailto:sheevaj@gmail.com]
Sent: Tuesday, September 23, 2008 2:19 PM
To: user@struts.apache.org
Subject: Issue using struts2 autocompleter.


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"
and autocompleter is behaving like a combo box.

Jsp code for autocompleter is:

<s:head theme="ajax"/> inside head tag
<s:autocompleter list="mailNameList" name="mailName" theme="simple" />
inside body tag
In Action class: private  List<String> mailNameList;

when I remove <s:head theme="ajax"/> tag, both errors are not coming,
but
instead of autocompleter, combo box is displaying in the jsp page.

Kindly help me..

Thanks in advance
--
View this message in context:
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
3666.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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: Issue using struts2 autocompleter.

by Jishnu Viswanath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Rag [mailto:sheevaj@...]
Sent: Tuesday, September 23, 2008 5:12 PM
To: user@...
Subject: RE: Issue using struts2 autocompleter.


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 advance


Jishnu Viswanath wrote:
>
>
>
> 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 Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Rag [mailto:sheevaj@...]
> Sent: Tuesday, September 23, 2008 2:19 PM
> To: user@...
> Subject: Issue using struts2 autocompleter.
>
>
> 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"
> and autocompleter is behaving like a combo box.
>
> Jsp code for autocompleter is:
>
> <s:head theme="ajax"/> inside head tag
> <s:autocompleter list="mailNameList" name="mailName" theme="simple" />
> inside body tag
> In Action class: private  List<String> mailNameList;
>
> when I remove <s:head theme="ajax"/> tag, both errors are not coming,
> but
> instead of autocompleter, combo box is displaying in the jsp page.
>
> Kindly help me..
>
> Thanks in advance
> --
> View this message in context:
>
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> 3666.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
> 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@...
> For additional commands, e-mail: user-help@...
>
>
>

--
View this message in context:
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
5899.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

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@...
For additional commands, e-mail: user-help@...


RE: Issue using struts2 autocompleter.

by Jishnu Viswanath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oops I mean Late version needs plugin

Regards,

Jishnu Viswanath

Software Engineer

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Jishnu Viswanath [mailto: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

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Rag [mailto:sheevaj@...]
Sent: Tuesday, September 23, 2008 5:12 PM
To: user@...
Subject: RE: Issue using struts2 autocompleter.


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 advance


Jishnu Viswanath wrote:
>
>
>
> 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 Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Rag [mailto:sheevaj@...]
> Sent: Tuesday, September 23, 2008 2:19 PM
> To: user@...
> Subject: Issue using struts2 autocompleter.
>
>
> 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"
> and autocompleter is behaving like a combo box.
>
> Jsp code for autocompleter is:
>
> <s:head theme="ajax"/> inside head tag
> <s:autocompleter list="mailNameList" name="mailName" theme="simple" />
> inside body tag
> In Action class: private  List<String> mailNameList;
>
> when I remove <s:head theme="ajax"/> tag, both errors are not coming,
> but
> instead of autocompleter, combo box is displaying in the jsp page.
>
> Kindly help me..
>
> Thanks in advance
> --
> View this message in context:
>
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> 3666.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
> 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@...
> For additional commands, e-mail: user-help@...
>
>
>

--
View this message in context:
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
5899.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

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@...
For additional commands, e-mail: user-help@...

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@...
For additional commands, e-mail: user-help@...


RE: Issue using struts2 autocompleter.

by Rag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 version needs plugin

Regards,

Jishnu Viswanath

Software Engineer

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Jishnu Viswanath [mailto:jishnu.viswanath@tavant.com]
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

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Rag [mailto:sheevaj@gmail.com]
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 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 advance


Jishnu Viswanath wrote:
>
>
>
> 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 Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Rag [mailto:sheevaj@gmail.com]
> Sent: Tuesday, September 23, 2008 2:19 PM
> To: user@struts.apache.org
> Subject: Issue using struts2 autocompleter.
>
>
> 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"
> and autocompleter is behaving like a combo box.
>
> Jsp code for autocompleter is:
>
> <s:head theme="ajax"/> inside head tag
> <s:autocompleter list="mailNameList" name="mailName" theme="simple" />
> inside body tag
> In Action class: private  List<String> mailNameList;
>
> when I remove <s:head theme="ajax"/> tag, both errors are not coming,
> but
> instead of autocompleter, combo box is displaying in the jsp page.
>
> Kindly help me..
>
> Thanks in advance
> --
> View this message in context:
>
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> 3666.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
>
>
>

--
View this message in context:
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
5899.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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

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: Issue using struts2 autocompleter.

by mgainty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


djConfig.baseScriptUri.length' is null or not an object means the dojo.js which configures baseScriptUri attribute
via the function
dojo.hostenv.getBaseScriptUri = function(){
was never initialised properly
with the end result the baseScriptUri ws never initialised
struts needs to know the location of head.ftl
which is located using the templateDir attribute (which you supplied to the struts widget) as seen here
<#include "/${parameters.templateDir}/simple/head.ftl" />

if templateDir="anywhereOtherThanLocationOfDojo.JSFile"
you'll never configure baseScriptUri for Struts or anyone else to load dojo javascript files

http://struts.apache.org/2.0.11.2/docs/autocompleter.html

Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.


> Date: Tue, 23 Sep 2008 05:20:21 -0700
> From: sheevaj@...
> To: user@...
> 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 version needs plugin
> >
> > Regards,
> >
> > Jishnu Viswanath
> >
> > Software Engineer
> >
> > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
> >
> > Tavant Technologies Inc.,
> >
> > www.tavant.com
> >
> > PEOPLE :: PASSION :: EXCELLENCE
> >
> >
> > -----Original Message-----
> > From: Jishnu Viswanath [mailto: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
> >
> > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
> >
> > Tavant Technologies Inc.,
> >
> > www.tavant.com
> >
> > PEOPLE :: PASSION :: EXCELLENCE
> >
> >
> > -----Original Message-----
> > From: Rag [mailto:sheevaj@...]
> > Sent: Tuesday, September 23, 2008 5:12 PM
> > To: user@...
> > Subject: RE: Issue using struts2 autocompleter.
> >
> >
> > 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 advance
> >
> >
> > Jishnu Viswanath wrote:
> >>
> >>
> >>
> >> 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 Technologies Inc.,
> >>
> >> www.tavant.com
> >>
> >> PEOPLE :: PASSION :: EXCELLENCE
> >>
> >> -----Original Message-----
> >> From: Rag [mailto:sheevaj@...]
> >> Sent: Tuesday, September 23, 2008 2:19 PM
> >> To: user@...
> >> Subject: Issue using struts2 autocompleter.
> >>
> >>
> >> 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"
> >> and autocompleter is behaving like a combo box.
> >>
> >> Jsp code for autocompleter is:
> >>
> >> <s:head theme="ajax"/> inside head tag
> >> <s:autocompleter list="mailNameList" name="mailName" theme="simple" />
> >> inside body tag
> >> In Action class: private  List<String> mailNameList;
> >>
> >> when I remove <s:head theme="ajax"/> tag, both errors are not coming,
> >> but
> >> instead of autocompleter, combo box is displaying in the jsp page.
> >>
> >> Kindly help me..
> >>
> >> Thanks in advance
> >> --
> >> View this message in context:
> >>
> > http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> >> 3666.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@...
> >> For additional commands, e-mail: user-help@...
> >>
> >> 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@...
> >> For additional commands, e-mail: user-help@...
> >>
> >>
> >>
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> > 5899.html
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@...
> > For additional commands, e-mail: user-help@...
> >
> > 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@...
> > For additional commands, e-mail: user-help@...
> >
> > 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@...
> > For additional commands, e-mail: user-help@...
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p19626461.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>

_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Re: Issue using struts2 autocompleter.

by Rag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks for your replay Martin.

I am new to struts. In my project I am not at all changing any dojo file.
Whether I need to include any javascript code to fix the issue.

Kindly help me...

Thanks in advance.

On 9/23/08, Martin Gainty <mgainty@...> wrote:

>
>
> djConfig.baseScriptUri.length' is null or not an object means the dojo.js
> which configures baseScriptUri attribute
> via the function
> dojo.hostenv.getBaseScriptUri = function(){
> was never initialised properly
> with the end result the baseScriptUri ws never initialised
> struts needs to know the location of head.ftl
> which is located using the templateDir attribute (which you supplied to the
> struts widget) as seen here
> <#include "/${parameters.templateDir}/simple/head.ftl" />
>
> if templateDir="anywhereOtherThanLocationOfDojo.JSFile"
> you'll never configure baseScriptUri for Struts or anyone else to load dojo
> javascript files
>
> http://struts.apache.org/2.0.11.2/docs/autocompleter.html
>
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
> > Date: Tue, 23 Sep 2008 05:20:21 -0700
> > From: sheevaj@...
> > To: user@...
> > 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 version needs plugin
> > >
> > > Regards,
> > >
> > > Jishnu Viswanath
> > >
> > > Software Engineer
> > >
> > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
> > >
> > > Tavant Technologies Inc.,
> > >
> > > www.tavant.com
> > >
> > > PEOPLE :: PASSION :: EXCELLENCE
> > >
> > >
> > > -----Original Message-----
> > > From: Jishnu Viswanath [mailto: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
> > >
> > > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
> > >
> > > Tavant Technologies Inc.,
> > >
> > > www.tavant.com
> > >
> > > PEOPLE :: PASSION :: EXCELLENCE
> > >
> > >
> > > -----Original Message-----
> > > From: Rag [mailto:sheevaj@...]
> > > Sent: Tuesday, September 23, 2008 5:12 PM
> > > To: user@...
> > > Subject: RE: Issue using struts2 autocompleter.
> > >
> > >
> > > 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 advance
> > >
> > >
> > > Jishnu Viswanath wrote:
> > >>
> > >>
> > >>
> > >> 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 Technologies Inc.,
> > >>
> > >> www.tavant.com
> > >>
> > >> PEOPLE :: PASSION :: EXCELLENCE
> > >>
> > >> -----Original Message-----
> > >> From: Rag [mailto:sheevaj@...]
> > >> Sent: Tuesday, September 23, 2008 2:19 PM
> > >> To: user@...
> > >> Subject: Issue using struts2 autocompleter.
> > >>
> > >>
> > >> 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"
> > >> and autocompleter is behaving like a combo box.
> > >>
> > >> Jsp code for autocompleter is:
> > >>
> > >> <s:head theme="ajax"/> inside head tag
> > >> <s:autocompleter list="mailNameList" name="mailName" theme="simple" />
> > >> inside body tag
> > >> In Action class: private  List<String> mailNameList;
> > >>
> > >> when I remove <s:head theme="ajax"/> tag, both errors are not coming,
> > >> but
> > >> instead of autocompleter, combo box is displaying in the jsp page.
> > >>
> > >> Kindly help me..
> > >>
> > >> Thanks in advance
> > >> --
> > >> View this message in context:
> > >>
> > >
> http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> > >> 3666.html
> > >> Sent from the Struts - User mailing list archive at Nabble.com.
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: user-unsubscribe@...
> > >> For additional commands, e-mail: user-help@...
> > >>
> > >> 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@...
> > >> For additional commands, e-mail: user-help@...
> > >>
> > >>
> > >>
> > >
> > > --
> > > View this message in context:
> > >
> http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> > > 5899.html
> > > Sent from the Struts - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@...
> > > For additional commands, e-mail: user-help@...
> > >
> > > 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@...
> > > For additional commands, e-mail: user-help@...
> > >
> > > 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@...
> > > For additional commands, e-mail: user-help@...
> > >
> > >
> > >
> >
> > --
> > View this message in context:
> http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p19626461.html
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@...
> > For additional commands, e-mail: user-help@...
> >
>
> _________________________________________________________________
> Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie.
>
> http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

RE: Issue using struts2 autocompleter.

by Rag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

   I tried the example given in "http://struts.apache.org/2.x/docs/autocompleter.html"(to get list from an action), but it is not working with struts2.0.11. It is getting the list form action, but all the values are displaying in same line.

Kindly help me.

Thanks in advance.



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 version needs plugin

Regards,

Jishnu Viswanath

Software Engineer

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Jishnu Viswanath [mailto:jishnu.viswanath@tavant.com]
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

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

Tavant Technologies Inc.,

www.tavant.com

PEOPLE :: PASSION :: EXCELLENCE


-----Original Message-----
From: Rag [mailto:sheevaj@gmail.com]
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 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 advance


Jishnu Viswanath wrote:
>
>
>
> 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 Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Rag [mailto:sheevaj@gmail.com]
> Sent: Tuesday, September 23, 2008 2:19 PM
> To: user@struts.apache.org
> Subject: Issue using struts2 autocompleter.
>
>
> 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"
> and autocompleter is behaving like a combo box.
>
> Jsp code for autocompleter is:
>
> <s:head theme="ajax"/> inside head tag
> <s:autocompleter list="mailNameList" name="mailName" theme="simple" />
> inside body tag
> In Action class: private  List<String> mailNameList;
>
> when I remove <s:head theme="ajax"/> tag, both errors are not coming,
> but
> instead of autocompleter, combo box is displaying in the jsp page.
>
> Kindly help me..
>
> Thanks in advance
> --
> View this message in context:
>
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
> 3666.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
>
>
>

--
View this message in context:
http://www.nabble.com/Issue-using-struts2-autocompleter.-tp19623666p1962
5899.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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

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