Re: Dreamweaver ThirdPartyTags for HTML taglib?

2001-04-03 Thread Thierry Cools
Well it is exactly the way the translators are working, it translates struts-tags into HTML tags. The version I wrote was for the 0.5 version but make it works with the 1.0 version you should only replace the   If you need any further help don't hesitate to contact me.   Thierry   Thierry Coo

Re: Running Struts in ATG

2001-04-03 Thread Thierry Cools
I had the same problem when I tried sometimes ago to use ATG as a web-tier. And unfortunately it was not the only one (e.g : No automatic converson of non-String attributes).   I finally gave up and continued to use Tomcat as a servlet engine and used ATG only as a application server.   Thier

Exception

2001-04-03 Thread Jeremy Haile
My struts-driven page works fine on my development box (Win2k), but when I up it to a FreeBSD server running JDK1.3 and Tomcat 4(same as the dev box), I get the following error: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.struts.t

form-bean parameters?

2001-04-03 Thread Will Spies
I would like to provide paramaters to the ActionServlet which are passed ( or set ) into my overridden ActionForm class. Can the form-bean tag do this for me?               name="subscriptionForm"           type="org.apache.struts.example.SubscriptionForm">      this po

What is 'text' field for in ?

2001-04-03 Thread Shamdasani Nimmi-ANS004
The struts document says that 'text' field is for: The message text to be displayed to the user for this tag (if any) I tried to use the tag but it gives me error:"Attribute text invalid according to the specified TLD" This is how I used the tag: Is my understanding of 'text' field wrong? -N

Re: Dreamweaver ThirdPartyTags for HTML taglib?

2001-04-03 Thread Bill Bunting
Unfortunately, I jumped the gun.  I quickly realized that the Dreamweaver ThirdPartyTags only allows you to substitute an icon in place of a tag and can not render HTML elements as I first thought it might.  I found the alternatives posted to the list too intensive, "workaround", or complex fo

How to let struts handle every request on web site

2001-04-03 Thread Mindaugas Idzelis
I found out a nice way for struts to handle every request on the website. Just set action /* in web.xml. In struts-config.xml I have a default handler. What this does is handle the cookies, and set up some generic things that have to be done on first visit to the site. It then forwards the re

RE: Confusion with form beans

2001-04-03 Thread Nigel Ainslie
I guess you can but then why use Struts at all. The 'user input' can just be clicking a link and all info be read only. The ActionServlet can instantiate any number of beans which can then be assigned to ActionForm properties for jsp retrieval or can be 'chained' from one object which gets add

RE: Confusion with form beans

2001-04-03 Thread Trevor Griffiths
Hi, It seems like the action/formbean system assumes that the user is always inputting something. Does this hold true if, for example, a user clicks on a link which takes them to a page which displays read only information pulled from an XML file? Can I just use a simple bean (created by a method

RE: Another request for struts on orion

2001-04-03 Thread Rick Hightower
I am getting the same error in the same log. --Rick Hightower Software Developer http://www.geocities.com/rick_m_hightower/ -Original Message- From: Shawn Stephens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 3:13 PM To: [EMAIL PROTECTED] Subject: RE: Another request for s

RE: Confusion with form beans

2001-04-03 Thread Nigel Ainslie
Dave, yes the form is created within the struts framework when the action is invoked...essentially its a request object and gets prepopulated (setter methods) with whatever user input is included in the httpRequest, this is then available for use by your Action class through th getter methods. You

relative taglib uri

2001-04-03 Thread Smith, Ryan
I beleive my last message might have been a bit confusing. I found a similiar problem on the sun forum that will help me clarify it a bit more: I have a question on distributing JSP custom tag libraries in Wep Apps (.war files). I would like to distribute a custome tag library in a WAR file that

Re: jndi

2001-04-03 Thread M M
Try to find email with a body "unknown protocol: jndi". I have remembered it. --- Shawn Stephens <[EMAIL PROTECTED]> wrote: > Hello, > Does anyone have the strut examples working with > orionserver 1.4.5 > or later. If not, does anyone know where I can find > more information on how > to g

Re: Port 80 interfering w/Struts in NN

2001-04-03 Thread Tom Miller
Well I'll be a worn out mouse pad. I sort of solved my own problem, but can't say I totally undestand why. On a hunch, I removed the tags that I had used in each JSP file. The problem went away. Apparently the added port number (by who?) in the browser was not comparing well with the URL supplie

relative taglib uri

2001-04-03 Thread Smith, Ryan
I have created a tag handler extending TagSupport, compiled it into a jar and deployed that jar on my Dynamo server. I hav also created a taglib.tld file and placed that on my server. I have also created a jsp page which has the following line in it: <%@ taglib uri="http://my.server.com/common/

RE: Another request for struts on orion

2001-04-03 Thread Shawn Stephens
I too tried the same thing. Can you check your \orion\log\global-application.log and see if you are getting this error: java.net.MalformedURLException: unknown protocol: jndi at org.apache.struts.digester.Digester.resolveEntity(Digester.java:581) at org.apache.xerces.readers.Defa

Another request for struts on orion

2001-04-03 Thread Rick Hightower
I am also having a problem running struts on Orion. I followed the instructions and noticed that the directions to install the sample application on Orion (as written) would not work. First it only mentions copying one xml file not action.xml (it mentions struts_config.xsl). Then it asks you to p

jndi

2001-04-03 Thread Shawn Stephens
Hello, Does anyone have the strut examples working with orionserver 1.4.5 or later. If not, does anyone know where I can find more information on how to get this to work. I have implemented the extra procedures required to set up strut with orion. Thanks, Shawn Stephens I get this err

ActionForm vs. ActionFormBean

2001-04-03 Thread Will Spies/Towers Perrin
I would like to supply a new class for my Forms. When I look at the view documentation and the example, I see that it uses an 'ActionForm' class. However, when I look at the controller documentation it refers to an 'ActionFormBean' class. When I go and look at the struts source I find both of th

Debugging struts exceptions

2001-04-03 Thread Will Spies/Towers Perrin
Seems certain exceptions don't come with very good explanations. For example, I have a tag which had a bad property: If 'badpropertyname' does not exist the exception I see in the log file is: javax.servlet.ServletException: runtime failure in custom tag 'form' at jsp_servlet._logon._jsp

Debugging struts exceptions - correction

2001-04-03 Thread Will Spies/Towers Perrin
Oops...I put the wrong tag in there: (see what I mean?) - Forwarded by Will Spies/Towers Perrin on 04/03/01 08:12 AM -

RE: Struts & XML/XSL

2001-04-03 Thread Greg Reddin
Yes, We are using XSL as our output format instead of JSP. Here's what we've done: 1) We created a "Message" object that is an ActionForm. All of our ActionForms inherit from this object. This way we enforce that the "Message" object is present for each action and is either in session or req

Re: Options tag confusion - can't find label bean

2001-04-03 Thread dhay
Thanks for the help - this works fine. Just seems a little awkward to me - presumably this situation crops up quite often. Is there any chance of struts tag being changed to allow this? Cheers, Dave David Winterfeldt <[EMAIL PROTECTED]> on 04/03/2001 02:17:43 PM Please respond to [EMAI

Confusion with form beans

2001-04-03 Thread dhay
Hi. Would appreciate it if someone could clear up my confusion with using different form beans on two consecutive pages. I have logFilter.jsp which allows user to specify the information they wish to filter the logfile with. This is contained in LogFilterForm. The next page displays the filt

Re: html:link and ssl

2001-04-03 Thread Lou Parks
I am having the exact same problem. My configuration is as follows.. IWS sitting in front of WebSphere3.5.3 using an NSAPI plugin. struts-example works perfect when SSL is turned off, however when I turn on SSL and go to the same page (index.jsp of struts-example) the link tag ceases to work.

Port 80 interfering w/Struts in NN

2001-04-03 Thread Tom Miller
Struts Collegues I have a couple of small Struts applications hosted on the web. I am finding that when I access the Struts jsp pages using Netscape, port 80 (:80) gets attached to the base URL (e.g.. www.stgabe.org:80/whatever.do;jsessionid=cekru16pr1?action=View). After that, various start to

Running Struts in ATG

2001-04-03 Thread McAllister, Michael P.
I've tried running the sample application that comes with Struts in ATG. The submit and reset button does not show up on the logon page. Is there a problem running Struts in ATG? Mike McAllister Software Engineer 425-288-7343 [EMAIL PROTECTED]

Re: Options tag confusion - can't find label bean

2001-04-03 Thread Mikael Eriksson
Hmm, I was writing too fast and without checking the jsp I took my idea from close enough :-], you need to get the collection by using a bean:define in the jsp page. Mikael Eriksson wrote: > Hello > > I think the following might work: > >labelProperty="label" /> > > This should giv

Orion Application Server and struts

2001-04-03 Thread Shawn Stephens
I am using orion application server and I am trying to get the examples to work with struts. I followed the directions in the orion specific install and I have had no luck. I get this error. It says it cannot find the jndi protocol. I have jndi.jar in the classpath? 4/3/01 1:17 PM Started 4

Re: Options tag confusion - can't find label bean

2001-04-03 Thread Mikael Eriksson
Hello I think the following might work: This should give you one option for each element in the collection returned by getSeverities() in your form Bean. If I remember correctly the labelName attribute is used when you have separate collections of beans for the value and the labe

Re: Options tag confusion - can't find label bean

2001-04-03 Thread David Winterfeldt
You can use the bean:define to get the collection in scope for the options tag to use. David --- [EMAIL PROTECTED] wrote: > > > Just realised my confusion with labelName and > labelProperty. > > BUT, still doesn't work! Figure I have to use > "Collection=", to specify the > Vector I

Re: Options tag confusion - can't find label bean

2001-04-03 Thread dhay
Just realised my confusion with labelName and labelProperty. BUT, still doesn't work! Figure I have to use "Collection=", to specify the Vector I wish to iterate over, and then property="value" to get the value from the bean in the Vector. The Vector is called "severities" in the form bean, b

Options tag confusion - can't find label bean

2001-04-03 Thread dhay
Dear All, Hi. Would really appreciate some help on this one. I have a Vector called severities in my form bean, which holds my SelectOptionBeans - these simply hold value and label of my select options, with appropriate getters and setters. Having problems referencing these in the tag. Her

Struts & XML/XSL

2001-04-03 Thread Java SV
Has any one integrated struts with XML/Xsl? I'd like to know a few thoughts/issues/ideas/patterns on that. Thanks, Ven __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

RE: Help PLEASE!!!! How do you create struts template file usingframe instead of table

2001-04-03 Thread Hoang, Anh
Hi Cedric, Thank you so much for helping me, it's worked!! Again, thanks a million. anh > -Original Message- > From: Cedric Dumoulin [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, April 03, 2001 11:55 AM > To: [EMAIL PROTECTED] > Subject: Re: Help PLEASE How do you create struts

Logon Dialog (Repost)

2001-04-03 Thread James Bell
- Original Message - From: "James Bell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 01, 2001 11:48 AM Subject: Logon Dialog > All > > I have protected my struts application with the following directives from > the web.xml file for the application (see below). This w

remove unsubscribe

2001-04-03 Thread Azeem Niazi
remove unsubscribe >From: Wilfried Zeise <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: remove unsubscribe >Date: Tue, 03 Apr 2001 09:02:41 +0200 > >remove unsubscribe > > Get your FREE download of MSN Explorer at http://explorer.msn.com

Problem using the the dtd for the stuts-config.xml file

2001-04-03 Thread McAllister, Michael P.
There seems to be an error in the http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd file. When I try to display it I get the following error message: Cannot have a DTD declaration outside of a DTD. Line 26, Position 12 Mike McAllister Software Engineer 425-288-7343 [EMAIL PROTECTED]

Newbie - Digester/Sax Parsing Error

2001-04-03 Thread Trevor Griffiths
Hi, I'm doing some simple tests and set up with Digester to get familiar with it before starting in for real. The following xml produces a java.net.MalformedURLException error when digester.parse attempts to parse it. orange carrot I've tried it with and without the DOCTYP

Re: Date input tag

2001-04-03 Thread dhay
Yes please! Dave [EMAIL PROTECTED] on 04/03/2001 12:35:21 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Date input tag Hi! I am a little puzzled that there is no date input tags available (correct me if I am wrong!). There

Re: Help PLEASE!!!! How do you create struts template file usingframe instead of table

2001-04-03 Thread Cedric Dumoulin
Hi Anh, Does your application is at your server root directory, or in a site directory (like struts-example) ? In this later case, you need to prefix getted url () with your site url (<%=request.getContextPath()%>) like in the following : Do the same for each getted url. If this doe

Re: Dreamweaver ThirdPartyTags for HTML taglib?

2001-04-03 Thread Martin Duffy
Bill, There is a Dreamweaver/Ultradev Taglib Manager that is available. It uses the Live Data feature of Ultradev and the tags are dynamic in the page when you put put them on the page. Struts tagslibs work with it. I have had mixed success with it. Sometimes I get errors.   I have included

Re: problem running struts-template example

2001-04-03 Thread Cedric Dumoulin
Hi Eric, It seems that your server doesn't flush out content while including the template parts. Cedric Éric Chamberland wrote: > Hi, > > i find a way to run struts-blank, struts-documentation and little part of > struts-example. But, when i tried struts-template, i've got only the >

How to make as an image?

2001-04-03 Thread Shamdasani Nimmi-ANS004
Hi, Does anyone know how to associate an image with the tag? Thanks. -Nimmi

how to use image to submit a form with html taglib.

2001-04-03 Thread See Yam Lim
Title: how to use image to submit a form with html taglib. Hey, everybody. Please help on this one. is anyone know how to use img to submit a form with Struts html taglib? Thanks. See-Yam See-Yam Lim Software Engineer Netvendor Inc. http://www.netvendor.com mailto:[EMAIL PROTECTED]

Re: Using Tag with bean that has a collection

2001-04-03 Thread Rob Leland
I may be wrong but after looking over and debugging the OptionsTag I believe that: name="cache",property="productList" Your productList must be a String. At this time it can't return another Bean which itself has properties. If product is a Bean and it has a property named productID that you nee

RE: Dreamweaver ThirdPartyTags for HTML taglib?

2001-04-03 Thread Ludwig, Pat
Bill,     there is a DreamWeaver translator written by Thierry Cools for Struts 0.5 that works pretty well that you can find and download at Ted Husted's site. http://www.husted.com/about/struts/dw-struts.zip  it doesn't use the new Translation Manager xml approach, but will allow you to see

RE: menu component for struts

2001-04-03 Thread Scott Sayles
Ioannis, > i've just downloaded your app (actually a great idea! ) but > cannot load the > advanced menu example. > i get an error: > > org.xml.sax.SAXParseException: Document root element is missing. > void com.sun.xml.parser.Parser.fatal(java.lang.String, > java.lang.Object[ > ], java.l

Dreamweaver ThirdPartyTags for HTML taglib?

2001-04-03 Thread Bill Bunting
Has anyone built ThirdPartyTags (xml) for Dreamweaver (UltraDev) for the struts JSP taglibs -- specifically the HTML taglib?  [Without a custom third party tags for struts, you can not visualize how the screens will look in Dreamweaver.  So, without a good visual HTML editor, then graphic artis

How to turn off Jsessionid?

2001-04-03 Thread See Yam Lim
Title: How to turn off Jsessionid? I know that in LinkTag has hyperlink method check the Action.TRANSACTION_TOKEN_KEY and append the sessionid for URL rewriting purpose. and i wonder is it configurable so i can turn it on and off and where can i do it. please help! By the way, i like the a

RE: Date input tag

2001-04-03 Thread Szlapa, Michael
I would appreciate it. Even if its crude, it sure beats creating one from scratch! You may also consider ziping it and posting here, should be very small file I guess. Thank you, Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

Using Tag with bean that has a collection

2001-04-03 Thread Zeltser, Mark
Hello, I am trying to use OPTIONS tag with bean that has a collection as one of its member variables ( the appropriate getter method is provided). Assuming the following scenario == public class Cache { private ArrayList productLi

RE: entity beans within an Action

2001-04-03 Thread rhayden
Hi Gary, To keep track of a stateful session bean (or any other object for that matter) across multiple requests, you will need to store its reference in the session using setAttribute(). You will also need to perform a check in the Action each time a request is processed to see if that object al

RE: Help PLEASE!!!! How do you create struts template file using frame instead of table

2001-04-03 Thread Hoang, Anh
Hi Mr. DuMoulin, Thank you for answering my question in both component and template. Template and Component are similar so I thought I try both. Any way, I had tried using component and template the way you show me, but I only see the frame display but nothing else but the following error: "Acti