Problems Using a javax.xml.transform.dom.DOMSource with xtags library

2002-02-01 Thread Peter . Burgess
Hi, I have been having a great deal of difficulty transforming a org.w3c.dom.Document object with the xtags:style (and also x:transform) tag. All the examples have been targetted toward reading XML from a file ( url and StreamSource approaches). However, in our application we need to receive

[standard] c:if accepts what expression types?

2002-02-01 Thread Eric . Lewis
Hi I'm a newbie to JSTL (and Java more or less too) and was extremely confused about the syntax for the ECMAscript EL. Until I read http://www.mail-archive.com/taglibs-user@jakarta.apache.org/msg01249.html Of course, I had first tried something like c:if test=$rows.get('element_type') == 'i'

[standard] Newbie: How to extend the examples?

2002-02-01 Thread Eric . Lewis
Hi I'm new to JSTL and not quite new to Java. I think JSTL is the best thing since sliced bread :-) but I'm having a problem. Probably this is a very dumb question, but anyway... (I tried the examples and they all work) All I'm trying to do is set up a new iterator. Thus, I modify

Re: [standard] Newbie: How to extend the examples?

2002-02-01 Thread Shawn Bayern
Hi Eric, It actually looks like what you've done is correct. Make sure that you've recomppiled the org.apache.taglibs.standard.examples.startup.Init class and that the container is noticing your changes. For instance, add some logging to that class and see if your message is printed to the

XTags param

2002-02-01 Thread Chen, Gin
Hi all, I'm having a problem passing params to using the Xtags taglib. The example shows: !doctype html public -//w3c//dtd html 4.0 transitional//en html %@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0; prefix=xtags % %-- Demos the use of the xtags:style tag using

Re: JavaScript Functions-like Taglib

2002-02-01 Thread Greg Bishop
OK, save, here is something better /** Takes a string, and replaces the replace text with new text. * @param str String to replace into * @param pattern Pattern of text to replace. * @param replace What to replace it with. * @return str with the replace text replaced with