RE: Index within iterate tags

2001-08-27 Thread Arnaud Heritier
Thanx for the correction Martin. arno -Message d'origine- De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Date: samedi 25 aout 2001 23:02 A: [EMAIL PROTECTED]; Heritier Arnaud Objet: Re: Index within iterate tags Not quite. You need to specify the property attribute instead

RE: xml is html in fourletter word format

2001-08-27 Thread devon . bowen
Sorry, had to to vent, been parsing/generating a lot of xml lately. The fact that xml has only three letters doesn't change my opinion! Have a good weekend folks. Have you looked into JAXB? Given a DTD, it automatically generates a collection of Java classes with getter/setter methods for

Re: Dynamic forwardings...

2001-08-27 Thread Jan Sorensen
Personally I would like to see this better supported by Struts, and there is also an enhancement request in the bug database (number 866). I have attached a class (ParameterizedActionForward) where you can write something like: return new ParameterizedActionForward( mapping, forwardName,

Re: Dynamic forwardings...

2001-08-27 Thread David Corbin
I understand the first choice presented below. But I don't understand the second choice. I think I fail to fully understand ActionForm. Are you saying that if I have a populated ActionForm, then all of those arguments get passed on when I forward to another action? - Original Message

Re: Dynamic forwardings...

2001-08-27 Thread Jan Sorensen
I think Ted is saying that you can add a property to your ActionForm, and use this property instead of the parameter. So before forwarding you have to set this new property, and then forward as normal. He is also saying the you can populate the property from a hidden field when submitting a

Re: Dynamic forwardings...

2001-08-27 Thread Ted Husted
If you are forwarding the request, then everything in the request, including the original parameters are forwarded too. So you don't really need to specify the parameters again. If you need to change the parameters, then you could generate a new query string for the next forward, or put the

AW: The never ending story: Turning caching off --- Oooops

2001-08-27 Thread Matt Raible
This message is in response to posting http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12450.html Which one of these solutions worked for you? Thanks, Matt

Probleme with form:select ...

2001-08-27 Thread emmanuel.boudrant
Hello, Here my struts form : %@ page language=java % %@ taglib uri=/WEB-INF/struts-form.tld prefix=form % form:form action=rechercheclient.do form:select property=type form:option value=nom / /form:select form:text property=search / /form:form My struts-config.xml is good but

Overwriting ApplicationResources.properties

2001-08-27 Thread Hamelmann Stefan
Hi Sometimes my personal prop file located in the package tree is replaced by on older version after restarting jakarta-tomcat container. I do not know where this old version comes from. Does anyone experience the same problem ? With kind regards, Stefan

RE: Probleme with form:select ...

2001-08-27 Thread Assenza, Chris
Just an aside, don't know if it will impact your problem but struts-form.tld and associated tags are deprecated. If you're using 1.0 they have been replaced by the classes referenced in struts-html.tld Chris Christopher Assenza Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from

RE: Weblogic 5.1 and struts 1.0 -- resolved

2001-08-27 Thread sbhujwa
I had to put my project classes folder in weblogic classpath. baris.guzelordu@turkce

Multibox Question

2001-08-27 Thread SUHAS G. KULKARNI
The below code works - html:multibox property=stringMultibox String 0 /html:multibox But if I write html:multibox property=stringMultibox / does not work I get javax.servlet.ServletException: You must specify the value attribute or nested tag content I checked the

RE: Overwriting ApplicationResources.properties

2001-08-27 Thread Claudio Parnenzini
Could be because you have a .war file of your web app containing your old properties file. Regards -Original Message- From: Hamelmann Stefan Sent: Mon 8/27/2001 4:08 PM To: '[EMAIL PROTECTED]' Cc: Subject: Overwriting ApplicationResources.properties Hi

Re: Why is it so difficult to make Struts working in JBuilder 5?

2001-08-27 Thread Peter Alfors
Liu, Xin wrote: Why can't we treat struts.jar the same as other struts, i.e., why cannot we put struts.jar into classpath? You can place the struts.jar in the classpath. However, then you must make sure you do not have another copy of it in the lib directory. begin:vcard n:;

Re: New window with the current session.....

2001-08-27 Thread Peter Alfors
Check out the window.open() javascript method. HTH, Pete Jean-Francois Brassard wrote: Hello,I need some help for create a new window with no status bar and a specific size, and with the current session.Thank you in advanceJeff begin:vcard n:; x-mozilla-html:FALSE org:BRIMG

Problem with Digester

2001-08-27 Thread Tom Tibbetts
I'm wondering if there's a way of registering a factory method with the Digester so that when addCreateObject creates an object, I can do additional setup of the object from within the factory method. Has anyone considered adding this to the Digester?? Thanks in advance, Tom Tibbetts

FW: Multibox Question

2001-08-27 Thread SUHAS G. KULKARNI
Again html:multibox property=stringMultibox String 0 /html:multibox This code is generating input type=checkbox name=stringMultibox value=String 0 I did not understand where is ** value=String 0 ** is coming from ?? The code in the Multibox.java looks something like this

Re: building struts

2001-08-27 Thread Brian . Duchouquette
Will, Here's Craig McClanahan's message from a while back which I think addresses your problem: I build Struts on both Linux and Windows. Here is what I did: * Download and install Ant 1.3 as an application (i.e. put $ANT_HOME/bin on your PATH variable so you can say ant dist and things

Database Pool Connection

2001-08-27 Thread Claudio Parnenzini
Hi, I'm new in Struts Development and I would like to know if Struts manage Pool Connection to a database with datasources ( Static or dynamic ) ?? I want to put SQL requests in to a XML file where they can be called everywhere in the application. Regards

Using Bean properties as MessageTag args

2001-08-27 Thread Luna, Katherine
Title: Using Bean properties as MessageTag args Hi all, I am trying to display a report heading that incorporates the properties reportResult.startDate and reportResult.endDate into a custom bean:message tag like this: bean:message key=report.heading arg0= arg1= / where arg0 is

RE: xml is html in fourletter word format

2001-08-27 Thread Mac Ferguson
i can vouch for castorXML( http://castor.exolab.org/ ), same idea... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 3:58 AM To: [EMAIL PROTECTED] Subject: RE: xml is html in fourletter word format Sorry, had to to vent, been

ActionForm and reset method question

2001-08-27 Thread O'Neill, John H
Hi, I'm having trouble accumulating data across mutiple JSP pages using a single ActionForm object. Having read the previous postings on this subject it seems that the ActionForm object has session scope and that its reset methods default implementation does nothing to the ActionForms data.

Re: Using Bean properties as MessageTag args

2001-08-27 Thread Brian . Duchouquette
Kat, Use: bean:define id=NameOfPageScopeVariableToDefine name=BeanName property =PropertyNameOnBean/ someLibrary:someControl selected=% =(String)NameOfPageScopeVariableToDefine%/ In this example, the variable is defaulting to page scope. I would not define the variable as session scope since

Re: iterate in a template

2001-08-27 Thread Cedric Dumoulin
I'm not sure this will solves your problem, but you should use at least REQUEST_SCOPE rather than PAGE_SCOPE to store your list. Page scope is only available in the current jsp page. If you use templates, you include/insert different pages, so you can't pass your list with PAGE_SCOPE.

Iteration-Issue

2001-08-27 Thread Metehan Selvi
What to do, if an iteration has got , say 200 elements, and you want to display at the first page only the first 20 items. The following items should be reached by an link which displays the following next 20 items. Also, as possible, should be a link provided that goes backt to the first

RE: Disgester Problem

2001-08-27 Thread Tom Tibbetts
Never mind on the earlier post. I created a new create rule which calls my factory method.

Re: template tags

2001-08-27 Thread Cedric Dumoulin
With Tiles, you can do something like : template:insert template='/chapterTemplate.jsp' template:putList name='listName template:add content='name_1'/ template:add content='name_2'/ template:putList / /template:insert and in the template itself : template:importAttribute

html:button and onclick - doesn't work

2001-08-27 Thread Matt Raible
Does anyone know why this works: html:submit styleClass=inputButtonNormal onclick=submitForm('Reset') Click me /html:submit BUT this doesn't? html:button styleClass=inputButtonNormal onclick=submitForm('Reset') Click me /html:button __

Error Messages

2001-08-27 Thread krishna murthy
Title: Using Bean properties as MessageTag args Hi I would like to how to access error messages identified with pre defined constants inside STRUTS framework, can i define some catalog file that contains the error number and error messages along with the reason for the errors and use the

RE: html:button and onclick - doesn't work

2001-08-27 Thread Jay Patel
You need: onclick=javaScript:sub... Jay. -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: html:button and onclick - doesn't work Does anyone know why this works: html:submit

Cannot retrieve mapping for action /logon

2001-08-27 Thread Thinh Doan
As a newbie to Struts, I tried to duplicate the logon example from bluestone and I got the above error. This is my struts-config.xml ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN

Re: Tiles Component Factory and html:link problems

2001-08-27 Thread Cedric Dumoulin
Hi Sean, Looks like an incomplete integration of Tiles with Struts. Your html:link ... tag looks for the path, and found a Tile name. It doesn't look for something else, because Struts is not aware of Tiles. I have no solution yet, but I put this issue on my todo list. Could you

Re: building struts

2001-08-27 Thread Will Jaynes
Thanks, Brian. I do have jaxp, crimson, and xalan on my classpath. Unfortunately, I still get the following error message. Still not sure what I need. - [style] Failed to read stylesheet stylesheets\tld.xsl BUILD FAILED c:\jakarta\jakarta-struts\build.xml:215:

RE: html:button and onclick - doesn't work

2001-08-27 Thread Matt Raible
The problem I'm having is that I get a missing id/attribute error from my app server - I can't even get the page to render to test my javascript! Might be an iPlanet bug though... --- Jay Patel [EMAIL PROTECTED] wrote: You need: onclick=javaScript:sub... Jay. -Original

Re: building struts

2001-08-27 Thread Brian . Duchouquette
Will, If the [style] tag is still failing, you probably still need jakarta-ant-1.3-optional.jar in the lib directory of ANT. Brian Will Jaynes

RE: html:button and onclick - doesn't work

2001-08-27 Thread Jay Patel
the property attribute is required; so, html:button property=foo onclick=javascrip:submitForm( 'reset' ) value= Click Me / should work. Jay. -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 1:17 PM To: [EMAIL PROTECTED] Subject: RE:

Re: building struts

2001-08-27 Thread Will Jaynes
Brian, Well I've got the jakarta-ant-1.3-optional.jar in the ANT/lib directory. I've got jaxp.jar, crimson.jar, and xalan.jar on my classpath, and they are the only thing on my classpath. Perhaps I have some version problem? I couldn't use the jaxp, crimson, and xalan from the Sun Jaxp site

nesting bean:write inside of html:link

2001-08-27 Thread Tom Tibbetts
Hi All. Is it possible to nest a bean:write inside of html:link such as you have the following: html:link href=somepage.jsp?action=someactionid=bean:write name=somebean property=id / link text/html:link When I do this I get an error that attribute somebean is not found, even though it does

RE: No action instance for path /blah could be created

2001-08-27 Thread Anthony Martin
:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 11:18 AM To: '[EMAIL PROTECTED]' Subject: No action instance for path /blah could be created I was just minding my own business, trying out the nightly build (20010827) when I got the following: 2001-08-27 11:14:39 - path=/webcbp :action

Re: nesting bean:write inside of html:link

2001-08-27 Thread John Raley
Sorry - nesting like this is not allowed in JSP (another of its weaknesses IMO). Tom Tibbetts wrote: Hi All. Is it possible to nest a bean:write inside of html:link such as you have the following: html:link href=somepage.jsp?action=someactionid=bean:write name=somebean property=id /

Getting formName from an ActionMapping

2001-08-27 Thread Matt Raible
In one of my Action classes, is it possible to get a form name of another action? For instance, I want to get signInForm and all the information I have is signIn action path=/signIn type=foo.bar.SignInAction name=signInForm scope=request validate=false

Re: building struts

2001-08-27 Thread Brian . Duchouquette
Maybe these versions don't play well? It is possible that the jar files that come from Tomcat might not be compatible. You still need to get JAXP 1.1 from the Sun Web site at: http://java.sun.com/xml/download.html (I did not have any trouble). Also, it is not necessary to place the XML

Re: nesting bean:write inside of html:link

2001-08-27 Thread Tom Tibbetts
I would then agree. It's kind of a pain to create special tags to handle stuff like this At 12:03 PM 8/27/01 -0700, you wrote: Sorry - nesting like this is not allowed in JSP (another of its weaknesses IMO). Tom Tibbetts wrote: Hi All. Is it possible to nest a bean:write inside of

Barracuda vs. Struts (request for review)

2001-08-27 Thread Christian Cryder
Hi guys, I've put together a fairly detailed architectural comparison of Struts vs. Barracuda: http://barracuda.enhydra.org/cvs_source/Barracuda/docs/barracuda_vs_struts.h tml While I've tried to keep the document fair and even-handed, it's quite possible that I've not given Struts a fair shake

Re: building struts

2001-08-27 Thread Will Jaynes
Thank you very much. Copying crimson.jar and xalan.jar (from the Sun JAXP 1.1 release) into ANT/lib (there is already a jaxp.jar there) did the trick. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 27, 2001 3:22 PM Subject: Re: building struts

Re: Getting formName from an ActionMapping

2001-08-27 Thread Ted Husted
If you want the form type, look up Action.FORM_BEANS_KEY in the application context. This is the ActionFormBeans class that Struts loads from the configuration file. http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionFormBeans.html If you need to instantiate the type, take a

RE: Barracuda vs. Struts (request for review)

2001-08-27 Thread Assenza, Chris
I haven't read it all yet (and would like to - Barracuda looks intriguing), but: Barracuda definitely aims at the Java Developer end of the spectrum (with the idea that tools integration will ultimately bridge the gap to less sophisticated Page Author types). ... Unlike Barracuda, Struts is

RE: Barracuda vs. Struts (request for review)

2001-08-27 Thread Assenza, Chris
I should clarify that I don't disagree with what you're saying per se, I just think there is a better way it can be said. :) Basically pretty much ignore me until I read the whole thing, lol! :D Best, Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL

popUp windows

2001-08-27 Thread Gonzalez, Rafael E
This problem has two parts, First: I have a .gif file representing a button and I will like to call a javascript function when I click on it and pass some parameters (dynamically) to the js function. For example: % Order myOrder = (Order)pageContext.getAttribute( order ); int

What is this error?

2001-08-27 Thread Shamdasani Nimmi-ANS004
Hi, I decided to move my application to the latest Struts 1.1 build (20010827) and Tomcat 4.0- b7. But I am getting the error below. My application was working fine with Struts 1.0 and Tomcat 3.2.1 Could someone please help me solve it. Thanks. -Nimmi Here's the error

Re: nesting bean:write inside of html:link

2001-08-27 Thread John Raley
As a workaround, I wrote an 'eval' tag that captures its content to a bean. You can bind the content to a scripting variable and use the variable. It's ugly but it works. So, you'd do this: x:eval id='idValue'bean:write name=somebean property=id //x:eval html:link

Re: Barracuda vs. Struts (request for review)

2001-08-27 Thread Bill Clinton
Christian, I too will have to make some time to read the whole thing later, but I also disagree with your opening comments about Struts being aimed at Page Author types. Using your definitions of Page Authors and Java Developers, your statement is not biased, it is incorrect. I

Question about the use of enumerated types in struts

2001-08-27 Thread Weber, Neil
Is there an intended usage model in struts for C++-like enumerated type classes ala LabelValueBean? Read no further if you understand the question. In the application I'm working on I have several C++-like enumerated type classes. For example, I have one class called WidthType for which there

Really need you to get me out of a jam!!!!

2001-08-27 Thread Alex Colic
Hi, Big problem. I have a major demo tommorow and I can't get my web apps to work with struts. I am using Tomcat 3.2 + the latest nightly build of struts. I needed the iterate tag. All my apps work within JBuilder but I cannot get them to work on there own. Every time I access a page I get an

Re: Question about the use of enumerated types in struts

2001-08-27 Thread John Raley
This problem comes up with Date fields every now and then. Basically you have two properties: one with type String and one with type WidthType. The String property is backed by a WidthType (i.e. there's no String inside the form object - getWidthAsString() converts the WidthType on the fly,

Re: nesting bean:write inside of html:link

2001-08-27 Thread Brian . Duchouquette
Actually, struts-bean.tld has a define tag which does the same thing (no custom eval tag necessary): bean:define id=idValue name=somebean property=id/ html:link href=somepage.jsp?action=someactionid=%= idValue % link text/html:link

Re: Really need you to get me out of a jam!!!!

2001-08-27 Thread Brian . Duchouquette
Alex, First, I definitely would not use a nightly build for a major demo since I have found them to be somewhat buggy in certain areas. Our development efforts are based solely on the 1.0 release which I augment with new tested functionality on an on-going basis (only as an extension layer).

RE: nesting bean:write inside of html:link

2001-08-27 Thread Mindaugas Idzelis
I wrote a param taglib that also works around this. You use it like this: param:map id=param scope=request param:entry key=view value=artist/ param:entry key=id bean:write name=artist property=artistid/ /param:entry /param:map html:link page=somepage.jsp

Re: nesting bean:write inside of html:link

2001-08-27 Thread John Raley
eval captures the output from one or more tags, which define doesn't do. [EMAIL PROTECTED] wrote: Actually, struts-bean.tld has a define tag which does the same thing (no custom eval tag necessary): bean:define id=idValue name=somebean property=id/ html:link

Re: Really need you to get me out of a jam!!!!

2001-08-27 Thread Luis Olivares
I Agree with Brain. Looks like your problem is related with your Classpath (or in your ApplicationResources.properties file you don't have such key). Make sure you point to where your ApplicationResources.properties is. Regards. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

Re: URGENT: PLEASE HELP

2001-08-27 Thread Shelly Dhiman
Hi Chris, Sorry to bother you but for me it doesn't work. Below is th e snippet for my code template:insert template='testpage.jsp' template:put name='title' direct='true'HELLO/template:put /template:insert Shelly Assenza, Chris wrote: Shelly, I've cut and paste the template for one

Re: Really need you to get me out of a jam!!!!

2001-08-27 Thread Ted Husted
Is is a euApplicationResources file, or a euApplicationResources.properties file? You might also snag a quick download of Resin from caucho.com, and try that with the Struts 1.0 jar. Alex Colic wrote: Hi, Big problem. I have a major demo tommorow and I can't get my web apps to work with

Re: URGENT: PLEASE HELP

2001-08-27 Thread Shelly Dhiman
By the way what version of struts do you have? I have 1.0 version Shelly Assenza, Chris wrote: Shelly, I've cut and paste the template for one of our pages (minus a lot of extra puts). This does indeed work. template:insert template=/template.jsp template:put name=title

Re: URGENT: PLEASE HELP

2001-08-27 Thread Shelly Dhiman
Hi, That part is working now. Can i say something like this template:insert template='testpage.jsp' template:put name='title' direct='true'htmlbHELLO/b/html/template:put /template:insert I mean insert html tags in it Shelly Shelly Dhiman wrote: Hi Chris, Sorry to bother you but for me

Re: URGENT: PLEASE HELP

2001-08-27 Thread Shelly Dhiman
It's working Shelly Shelly Dhiman wrote: Hi, That part is working now. Can i say something like this template:insert template='testpage.jsp' template:put name='title' direct='true'htmlbHELLO/b/html/template:put /template:insert I mean insert html tags in it Shelly Shelly

Re: custom tags and Action servlet

2001-08-27 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, Mike D wrote: Date: Wed, 22 Aug 2001 16:31:17 + From: Mike D [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: custom tags and Action servlet I have a custom tag that I've written, and I want it to talk to the Action Servlet (to get

Re: struts-user Digest 22 Aug 2001 16:40:53 -0000 Issue 668

2001-08-27 Thread Craig R. McClanahan
On Wed, 22 Aug 2001, [EMAIL PROTECTED] wrote: The main problem is that Struts [v1.0] seems to assume that the app root is always going to be a simple hardcoded slash / More precisely, Struts deals (mostly) with context-relative paths that start with a /. The actual context path assigned

Model 2 vs. Struts

2001-08-27 Thread Venkat Jonnalagadda
Hi, i have a doubt which i think is silly but legitimate. With Model 2, i used to do %@ page imports=com.xxx.yyy.zzz% which reference some other helper/utilities classes that i use for proper rendering of dynamic data. Now, as i see in struts, all the examples have only references to tag

RE: STRUTS and EJB

2001-08-27 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Juha Paananen wrote: I also agree on that stuff that has references to STRUTS should not be transmitted to the EJB level. The problem here is simply that I would not want to make another, exactly similar (except extends ActionForm), class for transporting the

Re: findForward failures

2001-08-27 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, David Corbin wrote: Date: Thu, 23 Aug 2001 17:09:29 -0400 From: David Corbin [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts User [EMAIL PROTECTED] Subject: findForward failures When a findForward(name) fails, because name isn't known, why isn't there an

building dynamic components

2001-08-27 Thread Shelly Dhiman
Hi IN our site we want to build navigation dynamically depending on what is the content in a specific area, say A on the page we are at. Now we have a main template that may be used by 50 pages. And content in the area A is different on each of these pages. Navigation has to be built from the

Re: Experience of using Struts and custom tag libraries to divide...

2001-08-27 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Jeff Bannister wrote: Date: Fri, 24 Aug 2001 12:36:19 +0100 From: Jeff Bannister [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Experience of using Struts and custom tag libraries to divide... Hi, I am currently development a web

Re: Digester and Factory methods

2001-08-27 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Tom Tibbetts wrote: Date: Fri, 24 Aug 2001 09:52:30 -0500 From: Tom Tibbetts [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Digester and Factory methods Greetings. I'm using the digester to read a poor-person's DB and am wondering if

Application layout pattern?

2001-08-27 Thread Kai Zaunick
Hi all, in an application you often have a general layout, e.g. menu bar to the left, header on top and a content section. Now, lets say you would define an action which displays threads in a message forum. Naturally you would define some subclass of Action which forwards the result to a jsp

Re: tags build upon tags

2001-08-27 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, John Raley wrote: Date: Fri, 24 Aug 2001 12:18:02 -0700 From: John Raley [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: tags build upon tags Funny, I was just griping about this to a friend last night: that tags aren't composable

Original request

2001-08-27 Thread David Corbin
If I have an action, which forwards to another action, and then forwards to another action, which then forwards to a .JSP, is there any history available to the .JSP, of how it got there?

Re: findForward failures

2001-08-27 Thread David Corbin
Yes, I understand that, and I CAN check the return value, but since the most common idomatic usage is: return mapping.findForward(foo); and the returning of a null means I have to write ActionForward forward = mapping.findForward(foo); if (forward != null) return forward; throw new

RE: Image display problem

2001-08-27 Thread Craig R. McClanahan
On Sat, 25 Aug 2001, Jay Patel wrote: Date: Sat, 25 Aug 2001 08:21:58 -0700 From: Jay Patel [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Image display problem Sandeep, When you specify an image src as images/foo.gif that image

Re: localized html options labels

2001-08-27 Thread Craig R. McClanahan
On Sun, 26 Aug 2001 [EMAIL PROTECTED] wrote: Date: Sun, 26 Aug 2001 17:31:11 -0400 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: localized html options labels Is there a proper Struts way of implementing localized html options labels? I need to

Re: tags build upon tags

2001-08-27 Thread David Corbin
Well, while I understand you solution, I worry about one thing. I'll have the code that preloads the lists in a lot of different actions, and I don't want to have to repeat that code. I don't think it violates that at all, if the tag is written correctly. The tag doesn't access the database

Re: Classpath problem

2001-08-27 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, Frederick N. Brier wrote: Date: Mon, 27 Aug 2001 01:41:30 -0400 From: Frederick N. Brier [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Classpath problem Help me understand something. commons-beanutils.jar, commons-collections.jar,

Re: building struts

2001-08-27 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, Will Jaynes wrote: Date: Mon, 27 Aug 2001 15:27:44 -0400 From: Will Jaynes [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: building struts Thank you very much. Copying crimson.jar and xalan.jar (from the Sun JAXP 1.1 release) into

Re: Model 2 vs. Struts

2001-08-27 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, Venkat Jonnalagadda wrote: Date: Mon, 27 Aug 2001 16:51:28 -0700 From: Venkat Jonnalagadda [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Model 2 vs. Struts Hi, i have a doubt which i think is silly but

BUILDING DYNAMIC COMPONENTS IN A SITE:Somebody Please reply

2001-08-27 Thread Shelly Dhiman
Hi IN our site we want to build navigation dynamically depending on what is the content in a specific area, say A on the page we are at. Now we have a main template that may be used by 50 pages. And content in the area A is different on each of these pages. Navigation has to be built from the

Re: Barracuda vs. Struts [LONG]

2001-08-27 Thread Ted Husted
First, this is a very impressive document, Chris. I personally consider Surveying the MVC Landscape required reading (along with Jason Hunters The Problems with JSP), and am glad to see that the tradition of high-quality documentation continues at Barracuda. Though, I personally can't justify

Re: Application layout pattern?

2001-08-27 Thread Craig R. McClanahan
Check out the template tag library included inStruts. It addresses these sorts of application layout issues. Craig On Tue, 28 Aug 2001, Kai Zaunick wrote: Date: Tue, 28 Aug 2001 02:13:09 +0200 From: Kai Zaunick [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

Re: Original request

2001-08-27 Thread Craig R. McClanahan
On Mon, 27 Aug 2001, David Corbin wrote: Date: Mon, 27 Aug 2001 20:25:18 -0400 From: David Corbin [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts User [EMAIL PROTECTED] Subject: Original request If I have an action, which forwards to another action, and then forwards to

Re: Barracuda vs. Struts [How do I run a sample app?]

2001-08-27 Thread Matt Raible
The article got me interested - I downloaded the beta2 zip file - and I've spent 5 minutes with it - and I don't know what to do next. No sample applications, so what do I do? This brings up a couple more questions - what application servers will this work on? Or better yet, what application

RE: Barracuda vs. Struts [How do I run a sample app?]

2001-08-27 Thread Christian Cryder
Hi Matt, It'd be great to have a war file like struts provides to drop it into Tomcat and whalla! The entire Barracuda project conforms to the WAR format. Unpack the zip and drop it into Tomcat (or ay other appserver), and then access it on your local machine with a virtual root of

RE: Barracuda vs. Struts [LONG]

2001-08-27 Thread Christian Cryder
Thanks for taking the time to respond Ted! Its going to take me a bit to digest all of this...I will try to do this tomorrow. May I email you offline if I have questions about any of your comments? tia, Christian Christian Cryder [[EMAIL

Off-topic: XML-binding tool (Was: xml is html in fourletter word format)

2001-08-27 Thread John Yu
Another option, http://www.sourceforge.net/projects/quick It's very stable, up to version 4.0. (I've been using version 3.3 as version 4.0 was short of documentation.) p.s. If I understand correctly, while JAXB always generates the java classes for you, both Quick and Castor allows arbitrary

Re: Getting formName from an ActionMapping

2001-08-27 Thread martin . cooper
I think this is what you're after: ActionMapping targetMapping = getServlet().findMapping(/signIn); String formName = targetMapping.getName(); -- Martin Cooper - Original Message - From: Matt Raible [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 27, 2001 12:05 PM

Performance, Reflection, and Object Creation vs. Cacheing (was: Barracuda talk)

2001-08-27 Thread Bryan Field-Elliot
Ted, I read your rebuttal tonight re: Barracuda, and I have questions about one of your points. Actually this has nothing to do with Barracuda: - Reflection Every recent report I've seen says reflection is no longer a point of concern. Ditto for object creation and garbage collection.

Urgent : Any Example which will show htlm:select html:option tag

2001-08-27 Thread yogesh b
Hi All, Any one can send the simple example which will eloborate me how to use struts htlm:select html:option with form and jsp.It's very urgent. Thanks in Advance. regards Yogesh Borse

RE: Urgent : Any Example which will show htlm:select html:option tag

2001-08-27 Thread Jay Patel
Title: Message Yogesh, This is straight from one of my JSPs: html:select property="templateId" html:options collection="designs" property="id" labelProperty="name"//html:select I have a loaderTag that loads the design objects from the database and puts them into ArrayList. This array

win98 struts-example problem/tomcat bug

2001-08-27 Thread John McClain
I have tomcat3.2.3, struts, xreces1.4.3 setup on win98. I have insured that I have all needed files in tomcat\lib, and that all struts jars are in WEB-INF\lib. I have copied the struts-example.war file into tomcat\webapps. When I startup tomcat, I get all kinds of class not found errors.

RE: win98 struts-example problem/tomcat bug

2001-08-27 Thread Jay Patel
Title: Message Last I checked, I had to mess with the tomcat.bat to make sure that the latest version of XML parser was being used. I am not sure if that is your problem, but it is a good place to look. Check the Struts installation instructions. I think it talks about how to resolve this

Re: Urgent : Any Example which will show htlm:select html:option tag

2001-08-27 Thread yogesh b
Title: Message Thanks Jay.Thanks for your valuable help. Yogesh - Original Message - From: Jay Patel To: '[EMAIL PROTECTED]' Sent: Tuesday, August 28, 2001 10:13 AM Subject: RE: Urgent : Any Example which will show htlm:select html:option tag

FW: Multibox Question

2001-08-27 Thread SUHAS G. KULKARNI
Still not clear why it works ? any one wants to clarify this !! Suhas -Original Message- From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 7:51 PM To: [EMAIL PROTECTED] Subject: Multibox Question The below code works - html:multibox