Re: Struts Ajax Newbie

2009-03-16 Thread Jiří Chaloupka
One more hint - using MSIE, I found following in server log. When I used Mozilla, there is not this error: 23:17:45,625 ERROR [[sourceloader]] Servlet.service() for servlet sourceloader threw exception javax.servlet.ServletException: resource not found (/net/sourceforge/ajaxtags/js/'+libraryNa

Re: Struts Ajax Newbie

2009-03-16 Thread Jiří Chaloupka
hmm I have next problem, I tested it in Mozilla and it works, but now I made a test in IE7 and it does not. I am using version 1.5 beta 0.1 (beta 0.2 does not works neither as demo application) I am running latest JBoss AS (5.0.0) and java 1.6 b12 I found similar question on Ajaxtags phorum wi

Re: Struts Ajax Newbie

2009-03-10 Thread mitch gorman
chumbobumbo wrote: > This is probably so basic - I'll put my flame proof suit just in case. > > I have a 2 combos and (yes ;-) I would like the second one to be loaded > depending on what's been chosen in the first one, so in my action execute > method I have: > take a look at . -

Re: Struts Ajax Newbie

2009-03-06 Thread Mileidys Gonzalez Prieto
Yes, u can implement with javascript, in the onClick method of the select, something like to change the document.src with the new address. On Fri, 2009-03-06 at 18:34 +0100, Jiří Chaloupka wrote: > Hi, it is working now. I do not know what concrete helped, I rewrite > web.xml mapping, implementin

Re: Struts Ajax Newbie

2009-03-06 Thread Jiří Chaloupka
Hi, it is working now. I do not know what concrete helped, I rewrite web.xml mapping, implementing BaseAjaxServlet instead of normal servlet, set base url, disable cache ... Now it is working. I have one more question -is there any way to modify autocompleter - after selectin one record, inste

Re: Re: Struts Ajax Newbie

2009-03-05 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi, about: >baseUrl: "http://127.0.0.1:8080/cars/FillCarModels";, >Check that the action is valid, example if u are using Struts, the >FillCarModels need to be define like an action in the struts-config >file. yes, it is real

Re: Struts Ajax Newbie

2009-03-05 Thread Mileidys Gonzalez Prieto
Some of the reasons can be: Well... I will give u a list of some reasons: - baseUrl: "http://127.0.0.1:8080/cars/FillCarModels";, Check that the action is valid, example if u are using Struts, the FillCarModels need to be define like an action in the struts-config file. > source: "make", Be sure

Re: Struts Ajax Newbie

2009-03-04 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi, I relpaced in by javascript instead of ajaxtag, but generated by ajaxtag: new AjaxJspTag.Select( { baseUrl: "http:///FillCarModels";, source: "make", onCreate: initProgress, onComplete: resetProgress, onFailure: reportErr

Re: Struts Ajax Newbie

2009-03-03 Thread Mileidys Gonzalez Prieto
baseUrl: "${contextPath}/FillCarModels", for me looks like the url is not the real url... can y send the piece of code where u call the ajaxtags? On Tue, 2009-03-03 at 10:37 +0100, k...@chalu.cz wrote: > BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; > }Hallo, it is not really

Re: Struts Ajax Newbie

2009-03-03 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hallo, it is not really for this forum, but thread is already here. I have following problem with ajaxtags, described in ajaxtags forum, but maybe it is not visited often. For javascript sources and function - it is the same if it

Re: Struts Ajax Newbie

2009-03-01 Thread chumbobumbo
t >> would in turn relaod the second combo again). >> >> Is there a way to serialize/cache the data that was retrieved in the >> first >> call so that it is available in the subsequent call other than putting it >> in >> the session? >> >> Thanks, >&

Re: Struts Ajax Newbie

2009-03-01 Thread Mileidys Gonzalez Prieto
Well, for to do actions like that in my code I'm using AjaxTags. http://ajaxtags.sourceforge.net/ Is really easy to use... On Sun, 2009-03-01 at 15:47 -0800, chumbobumbo wrote: > This is probably so basic - I'll put my flame proof suit just in case. > > I have a 2 combos and (yes ;-) I would li

Struts Ajax Newbie

2009-03-01 Thread chumbobumbo
first selection (that would in turn relaod the second combo again). Is there a way to serialize/cache the data that was retrieved in the first call so that it is available in the subsequent call other than putting it in the session? Thanks, 99-L Blue -- View this message in context: http: