Re: Current Xtags Release

2005-02-17 Thread Kris Schneider
I'm pretty sure there's never been an official production release. You can try
a nightly:

http://cvs.apache.org/builds/jakarta-taglibs/nightly/projects/xtags/

Unless you need something specific to XTags, you might want to look at the
Standard taglib's (JSTL) XML/XPath/XSLT functionality.

Quoting Allen, Dave L. [EMAIL PROTECTED]:

 Can anyone tell me why I don't see anything available in
 http://apache.osuosl.org/jakarta/taglibs/xtags/binaries/ ?
 
 Where and how do I get the current release?
 
  David L. Allen 
  Fidelity Investments Tax-Exempt Services (FITSCO) 
  Systems Department 
  508-787-7194 
  [EMAIL PROTECTED] 

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [BSF Taglib]

2005-02-17 Thread Kris Schneider
In your first example:

%= String htmlCtrlValue = document.all.someSelectControl.value; %

You seem to be confusing server-side and client-side processing. The JSP
scripting expression (%= %) will execute on the server, so it doesn't have
any connection to the browser's DOM. As for the second example:

bsf:scriptlet language=javascript
  out.println (Test successfull...)
/bsf:scriptlet

Make sure the JAR files for BSF and Rhino are in WEB-INF/lib and not added
explicitly to the server's classpath. 

Quoting Carlos Cajina [EMAIL PROTECTED]:

 Hi. I've just started using BSF hoping that this taglib (and the technology
 under the hood) could help me integrate portions of Java and JavaScript code
 within my JSP pages. My first attempt was to be able to assign an HTML
 control value to a Java variable (i.e. something like %= String
 htmlCtrlValue = document.all.someSelectControl.value; %), but I haven't
 been successful at it...
 
 Here's what I've done:
 
 1. Declared the taglib in my web.xml file adding the necessary *.jar and
 *.tld to their proper locations.
 2. Include %@ taglib uri=http://jakarta.apache.org/taglibs/bsf-1.0;
 prefix=bsf % in my JSP
 3. Added bsf.jar to my classpath.
 4. Added rhino1_5R3 (js.jar) to the classpath
 
 So far I keep getting this error:
 
 2005-02-11 20:51:28,296 INFO  [STDOUT] org.apache.bsf.BSFException: JavaScript
Error: Internal Error: java.lang.ClassCastException

8 snip 8

 when my JSP reaches the following test code:
 
 bsf:scriptlet language=javascript
 out.println (Test successfull...)
 /bsf:scriptlet
 
 I really don't have a clue what to try next or whether I'm missing something,
 and that's why I'll appreciate ANY suggestion ;^)
 
 Best regards,
 
 Carlos

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]