Off-topic? How to embed hyperlink in db-stored text?

2001-01-17 Thread Nathan Eric Probst
Struts Users, I know this is a little off topic, but I figure someone here has encountered my dilema before and solved it. (elegantly, I hope!) I am building a website for a client and I want to enable them to update their own pages and site structure. One of the challenges that I have not yet

Re: options-Tag

2001-01-17 Thread William Jaynes
I think the question was (and my question is), can the collection used for the options tag be a property of some bean, like the form bean? Or does the collection itself have to be in the request (or some other) context, as you've shown below. - Original Message - From: Ted Husted To:

Re: options-Tag

2001-01-17 Thread Ted Husted
On 1/15/2001 at 11:28 PM Johann Dorn wrote: Can anyone give me an example or some hints how the options-Tag must be used in conjunction with the ActionForm? Sorry, got distracted, and I never actually did that. So, starting with a working example of an ArrayList "options" bean in

Re: Off-topic? How to embed hyperlink in db-stored text?

2001-01-17 Thread Ted Husted
On 1/17/2001 at 1:42 AM Nathan Eric Probst wrote: One of the challenges that I have not yet solved is how to insert a hyperlink into a text paragraph while editing (via a web interface), without simply writing the whole tag in a static manner. An approach used by BBS's and Wikis to use some

Re: Javascript + localized messages

2001-01-17 Thread Till Nagel
Hi Denis, you have HTML-comments around the JavaScript code, right? So just delete them and it will work. It is not a Struts problem but a JSP one. If you want to support old browsers and include those HTML comments you must use JSP Script to print it. script language="JavaScript"

Experience with/best practices to avoid memory leaks or memory related problems with Struts

2001-01-17 Thread Laine Donlan
All - I was wondering if anyone had experience with Struts as it relates to managing the amount of objects created by the Framework. I am relatively new to Struts as well as jsp development and would appreciate any pointers or 'things to keep in mind' to avoid resources being wasted. Thanks in

RE: Javascript + localized messages

2001-01-17 Thread Denis Hanson
Till, You're absolutely correct - I was using !-- //-- comments around the Javascript functions. I removed them as you suggested and bean:message/ worked perfectly. Thanks very much. Denis -Original Message- From: Till Nagel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17,

HASHTABLE - NEED HELP URGENT

2001-01-17 Thread SPandith
Hi, I am using Struts 0.5. I have a bean called dispProductsBean which has a hashtable called "products". How do I get the contents of the hashtable in my jsp page using enumerate tag. Here is my jsp: %@ page language="java" % %@ page session="true" import="java.util.*" % %@ taglib

Re: i18n

2001-01-17 Thread Peter Alfors
We ran across the same problem a few months ago. The ActionSerlvet sets the current locale in the session when the first action is called. Thereafter, the processLocale() function retrieves it out of the session, rather than checking if the locale has changed. We chose to over-ride the

struts mods and weblogic 6 - availability?

2001-01-17 Thread Henry J Cooper
hello, i've read the messages about struts and weblogic 6 in the archive but something is not clear to me. Has Struts 1.0 code (nightly binaries) been updated to work with weblogic 6? If so, as of what build? thanx- Henry

Re: Javascript + localized messages

2001-01-17 Thread Pierre Métras
Hi Denis, I'm using the i18n support in Struts in my applications, and am trying to localize my client-side Javascript validation messages using bean:message/. I've tried var msg='bean:message key="login.error.username"/'; alert(msg); and alert(bean:message

JSP-compile-error with IPLANET6.0

2001-01-17 Thread Oliver . Lauer
Hi, we use IPLANET6.0 AS/WS and translating the struts example JSP 'registration.jsp' produces a nullpointer in the following code: public final class EnumerateTei extends TagExtraInfo { public VariableInfo[] getVariableInfo(TagData data) { return new VariableInfo[] {

AW: JSP-compile-error with IPLANET6.0

2001-01-17 Thread Oliver . Lauer
Hi, one 'cheap' work-around is to comment the tag extra info class tag nameenumerate/name tagclassorg.apache.struts.taglib.EnumerateTag/tagclass !--teiclassorg.apache.struts.taglib.EnumerateTei/teiclass-- bodycontentJSP/bodycontent attribute namecollection/name

Re: trade-off

2001-01-17 Thread Ted Husted
The template tags in the Struts library seem a bit pokey, but there's a lot going on there (reads one file, then merges from another). I don't think alot of applications actually use these tags much. I believe that any JSP is suppose to compile down to a single servlet class file. The custom

AW: Auto Form Validation Not Done?

2001-01-17 Thread Juergen Ebert
Had the same problem today. Just forgot to include the taglib declaration in the JSP file ... %@ taglib uri="/WEB-INF/struts.tld" prefix="struts" % Juergen -Ursprngliche Nachricht- Von: Hee Meng, Poh [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 17. Januar 2001 17:38 An: [EMAIL

Re: Auto Form Validation Not Done?

2001-01-17 Thread Johan Compagner
Do you use the nightly builds (so a one after 0.5?) Then you shouldn't use the struts.tld. But use one of the bean/html/logif tld's johan - Original Message - From: "Juergen Ebert" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 7:52 PM Subject: AW: Auto Form

Action Path Problem (Again) when Doc Base used

2001-01-17 Thread Deping Chian
All my Struts actions work OK until I inserted base href='http://java' in my HTML document. After Craig fixed this for form:link page="/logoff.do" it works ok for NOT linking to http://java/logoff.do. I am very happy to use this tag now. But when I used: form:form action="listfaq.do"

RE: trade-off

2001-01-17 Thread Deadman, Hal
I know the pages that use template tags are slow the first time you hit them because there are normally several jsps that need to get compiled. After that I would think it would be the same performance-wise as a jsp that does lots of jsp:includes. Has anyone tried to use struts-templates in

WOBOT unsubscription requests....

2001-01-17 Thread Mike Campbell
"IH" == Irene Hernandez [EMAIL PROTECTED] writes: IH unsuscribe Is it just me, or has anyone else noticed an large number of unsubscription requests lately, all misspelled in exactly the same manner?

RE: trade-off

2001-01-17 Thread Ted Husted
They are used in the Template Example application, if you want to see a set in action. Another templating approach is Components Library for building JSP views by Cedric Dumoulin at http://gauss.ficsgrp.com/cdm/index.html . *** REPLY SEPARATOR *** On 1/17/2001 at 3:06 PM

Re: WOBOT unsubscription requests....

2001-01-17 Thread Ted Husted
Noticed the same. Even tried unsubscribing and subscribing again to see if there was a bug in the instructions, but I didn't see anything. *** REPLY SEPARATOR *** On 1/17/2001 at 12:57 PM Mike Campbell wrote: "IH" == Irene Hernandez [EMAIL PROTECTED] writes: IH unsuscribe

Outputting JSP/Struts from XML

2001-01-17 Thread Sitkewich, Julian
Title: Outputting JSP/Struts from XML I am developing an MVC Model II type application (running on WebLogic/Resin/Oracle). All the JSP files are created and output from XML and XSLT files (A simple batch script outputs all the JSP pages for the app). Could Struts easily work into this

How to pass parameter to a JSP inside a template?

2001-01-17 Thread Michael Mok
Hi Is it possible to pass parameter to a JSP inside a template? Or is there an alternate way to do this. I have a JSP page SQLDisplayRowResult.jsp, I created a link with will call its template SQLResult.jsp passing a parameter called "offset". SQLResult.jsp will detect if a parameter is passed

RE: How to pass parameter to a JSP inside a template?

2001-01-17 Thread Deadman, Hal
You could do something like this in the SQLResult.jsp: pageContext.setAttribute("offset",offset,PageContext.REQUEST); Then you could do: Object o = pageContext.getAttribute("offset",PageContext.REQUEST); inside SQLDisplayRowResult.jsp. I think that would work but it might be considered a hack.

Re: Error Messages don't print

2001-01-17 Thread Hee Meng, Poh
Hi, Problem solved by recopying the TLDs and struts.jar from struts-example.war. Seems to be incompatibility between TLDs and tag classes. Regards - Original Message - From: "Hee Meng, Poh" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 8:49 AM Subject: Re:

unsuscribe

2001-01-17 Thread Irene Hernandez
unsuscribe