??? Newbie "TagExtraInfo.isValid()" Sanity Check ???

2001-06-09 Thread Tony LaPaso
Hello, I'm new to Taglibs and I wanted to verify my understanding about the TagExtraInfo.isValid() method. I have a validation rule that requires me to examine the *value* of an attribute on a custom tag. As a simple example, let's say I have this: If the "attrib" value is "xxx" I want the "i

Re: assign a tag attribute value

2001-06-09 Thread Nils Janson
The bean is available in the tag thought the pageContex. I think you can do something like this in your tag class. name = ((Bean1)pageContex.getAttribute("bean1")).getCount(); you should check for null to avoid NullPointerExceptions. Bean1 bean = (Bean1)pageContex.getAttribute("bean1"); if (nul

assign a tag attribute value

2001-06-09 Thread sushma
I have to assign a bean property to a tag attribute value. I tried the following. ' %>" /> ## ERROR: Attribute bean1 has no value TIA, sushma __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.

Re: JSP EDITOR QUESTION. CAN ANYONE HELP?

2001-06-09 Thread Roger Cuddy
The jive forum package includes java syntax highlighting as one of it's features in the form of a filter. It would not be hard to use the filter for your purposes (if your site is servlet enabled ) or incorporate it into an app to do a straight conversion output to html files. Get the package from

Re: JSP EDITOR QUESTION. CAN ANYONE HELP?

2001-06-09 Thread David Morton
I've never tried this for this purpose, but maybe write a servlet that takes the name of the html file in..and spits out the results content-type being plain text of java.net.URLEncoder.encode().i'm sure there are more optimum way sto do it, but you are just sharing a couple of pa

JSP EDITOR QUESTION. CAN ANYONE HELP?

2001-06-09 Thread RuaidhrĂ­ Fernandes
Hi all, ok, ive just created a e-commerce web site using jsp. This was a project I had to do for my final year in college. I have to put up all the source code on the web so my lecturers can see it. I want to store my code in HTML file, and I also want thes HTML files to highlight the syntax in d