Hi Frank
> -----Original Message----- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] ==////== > > Peter A. Pilgrim wrote: > > Well that ok because I am now official on holiday (vacation ;-) > > As am I :) I have plenty of work to do at home though! > I am back from vacation, and I solved the issue with taglibs. I had to downgrade the taglib DTD version from 1.2 to 1.1 for some reason, and the application deployed to WebLogic 8.1 I have a couple of questons. I am getting a 404 because the target URL in the Ajax JavaScript is wrong. How do I set the right target and make it context relative? E.g. the web context is `asds' Weblogic access.log 127.0.0.1 - auth1 [06/Jan/2006:17:26:12 +0000] "GET /asds/secured/typeAheadSuggestions?enteredText=pe&assureUnique=2 HTTP/1.1" 404 14169 127.0.0.1 - auth1 [06/Jan/2006:17:26:15 +0000] "GET /asds/secured/typeAheadSuggestions?enteredText=pet&assureUnique=3 HTTP/1.1" 404 14169 127.0.0.1 - auth1 [06/Jan/2006:17:26:18 +0000] "GET /asds/secured/typeAheadSuggestions?enteredText=pete&assureUnique=4 HTTP/1.1" 404 14169 My ajax_config.xml is <ajaxConfig> <!-- Define a single form. --> <form ajaxRef="ContactDetailsForm"> <!-- Only the textbox is Ajax-enabled. --> <element ajaxRef="enteredTextChange"> <!-- Any time a key is pressed (released actually), fire an event. --> <event type="onkeyup"> <!-- Just going to submit a simple query string with a single --> <!-- parameter, enteredText, that will take the value of the --> <!-- enteredTextbox element of the form. --> <requestHandler type="std:QueryString" method="get"> <target>typeAheadSuggestions</target> <parameter>enteredText=search.contact.contactName</parameter> </requestHandler> <!-- When we get back, just insert the returned results into the --> <!-- div named suggestions on the page, which contains the --> <!-- matching suggestions. --> <responseHandler type="std:InnerHTML"> <parameter>search_contact_contactName_suggestions</parameter> </responseHandler> </event> </element> </form> </ajaxConfig> Assuming I get this working for one control. How do expand this example so that it support multiple fields submit to the same suggestion servlet? Thanks in advance > > Ok that makes sense then. Maybe when people switch Maven 2 then this > > dependency issues can be worked out. > > Maybe. I know *I* won't be switching to Maven any time soon, > 1 *or* 2. > Ant still serves my purposes just fine (did you notice the > dependencies task in the JWP script? Ironic that it uses the Maven > repository!) > > Even with Maven, it would still be an external dependency > though... if > someone uses JWP in their project, they would still need to know that > they need Commons Lang and Commons BeanUtils and so on, even > if they are > simply going to specify it in their Maven config and forget > about it. I > prefer not having those dependencies at all, hence the reason > they got > rolled in. > > >>> In order to build the type suggestion, what are the correct jars > >>> to include. I thought it was ``javawebparts_core.jar'' and > >>> ``javawebparts_taglibs.jar''. Now I get a strange deployment > >>> error like Error: Could not load asds: > >>> weblogic.servlet.jsp.JspException: (line 6): Error in using tag > >>> library uri='/tags/javawebparts_ajaxtags.tld' > prefix='ajax': cannot > >>> find tag class: 'javawebparts.taglib.ajaxtags.AjaxEventTag' > >> > >> > > > > I downloaded the 1.0 beta release version. I found that the binary > > release included *.class in the javawebparts_taglib.jar file. > > Also, I checked the javawebparts_core.jar file. This was fine. > > > > I think there is problem with the `make_jars' in the ant > build. I found > > that running that ant target (re-)created all the jars, but the > > `javawebparts_taglib.jar' contained only the TLD and > Manifest.mf. Weird. > ==////== -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]