Taglib packaging of struts.jar!META-INF/tlds/*.tld not spec-compliant?

2002-08-08 Thread Bullock, David (EPA)
Howdy folks. I'm a build-engineer for building a JSP/struts project. As near as I can tell, the JSP 1.1 spec specifies that when you package a taglib in a jar file, you can expect: Packaged Tag Libraries JSP page authoring tools are required to accept a Tag Library that is packaged as a JAR

RE: form fields not showing in jsp after being set?

2002-08-08 Thread Zimmer, Robin (SSABSA)
Go to bed! You can forward from action to another (if I am reading you correctly). Plus the first bean should still still be alive on the request, so you should have access to it in the seconds action. (if you see what I mean). -Original Message- From: Bill Blackmon [mailto:[EMAIL PROTECT

Re: form fields not showing in jsp after being set?

2002-08-08 Thread Bill Blackmon
Thanks - that solved the problem. Unfortunately, I have 2 pages sharing the same bean and action. So, there are two 'states' sent to the action. The first form, 'memberOne' sees the bean and is displayed correctly. The second form, 'memberTwo', is also dependent on the same bean and is called from

RE: form fields not showing in jsp after being set?

2002-08-08 Thread Zimmer, Robin (SSABSA)
Bill, Large jsp file! As far as I can see, the form uses action /loadMemberOne. Now, by default the html:text tags will be looking for the form bean associated to the /loadMemberOne action in your action mappings. I cannot see this, so I will leave it up to you to check that you have the right bea

Re: form fields not showing in jsp after being set?

2002-08-08 Thread Bill Blackmon
Like this - THANKS <%@ page language="java" %> <%@ page import="java.util.*" %> <%@ page import="com.egps.utils.*" %> <%@ page import="com.egps.factories.*" %> <%@ page import="com.egps.beans.*" %> <%@ page import="com.egps.forms.*" %> <%@ page import="com.egps.utils.*" %> <%@ taglib uri="/WEB-INF

RE: form fields not showing in jsp after being set?

2002-08-08 Thread Zimmer, Robin (SSABSA)
What does your jsp look like? -Original Message- From: Bill Blackmon [mailto:[EMAIL PROTECTED]] Sent: Friday, 9 August 2002 12:09 PM To: Struts Users Mailing List Subject: form fields not showing in jsp after being set? I have an a large amount of input across two separate jsp pages tha

RE: Looking for C++ MVC Implementation

2002-08-08 Thread Martin Cooper
You might find this interesting: http://marc.theaimsgroup.com/?l=jakarta-general&m=102872414908508&w=2 It's not an MVC framework, but it might be of some use. -- Martin Cooper > -Original Message- > From: Brad Rhoads [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 08, 2002 6:07 AM

Re: OT: Re: Looking for C++ MVC Implementation

2002-08-08 Thread Melissa L Kelley
On Fri, 9 Aug 2002, Joel Rees wrote: > > We're starting up a new project and it's been dictated that we go with C/C++ > > CGI. > > > But I'm interested in still following the MVC design. > Well, you could follow the MVC with C/C++ by convincing whoever did the dictating to just have the componen

form fields not showing in jsp after being set?

2002-08-08 Thread Bill Blackmon
I have an a large amount of input across two separate jsp pages that is set by one bean. I'm able to write the information from both pages correctly but I'm having difficulties reading the bean and then repopulating the two pages separately in order to allow editing. Given the following definition

Re: Simple question about Struts

2002-08-08 Thread Melissa L Kelley
On Thu, 8 Aug 2002, Eddie Bush wrote: > Go check out Chuck's book to see what Struts can do and how easily it > can be configured. If you have specific questions about "Well, would my > end usrs have to program to do ?" just swing by and drop us a note. > There are a bunch (understatement!) of

OT: Re: Looking for C++ MVC Implementation

2002-08-08 Thread Joel Rees
> Does anyone know of a C/C++ MVC designed for a web front end? Plugged "C++ cgi MVC" in at google.com and found (through a smalltalk index page!) this site: http://www.webwareindex.com/tutorials/ It's got a an index on CGI, but mostly Perl CGI. It's got a huge load of stuff on Java, but no

Re: strusts + log4j

2002-08-08 Thread chuckcavaness
Make sure your log4j.properties looks like the one that I've attached. I've also attached my commons- logging.properties file. The other thing to check is to make sure you have the latest log4j.jar. Get something like 1.2.4. Chuck > Chuck, > > I went through the logging chapter and configure

Re: Simple question about Struts

2002-08-08 Thread Eddie Bush
Craig could address this better, and I'm sure that he will eventually (he's a busy guy). E. Laverdiere wrote: >Hi all, > >I've studiing Struts for the past 3 weeks because I have done a generic Jsp >"content-management" web site connected on a MySql database using a set of >custom tag libraries

Re: Changing value of a defined bean using tags?

2002-08-08 Thread Craig R. McClanahan
On Thu, 8 Aug 2002, James Turner wrote: > Date: Thu, 08 Aug 2002 21:01:05 -0400 > From: James Turner <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Changing value of a defined bean using tags? > > Is there an obvious way to do th

Changing value of a defined bean using tags?

2002-08-08 Thread James Turner
Is there an obvious way to do this I'm missing? Because of the limitations of JSP 1.1, you can't do: I Found My Life! Right now, I'm having to do: <% request.setAttribute("foundMyLife", "true"); %> I Found My Life! Is there any way to avoid bre

RE: Most of HTML:tags lack of a title attribute

2002-08-08 Thread Martin Cooper
As far as I'm aware, all of the appropriate tags have a 'title' attribute. If there are any that don't have it, and it's legal according to the HTML 4.01 spec, then please file a bug. If you're looking for where the attribute is generated in the code, it's done in BaseHandlerTag, which is the bas

RE: Does anyone know when next Struts1.1B Next Release???

2002-08-08 Thread Craig R. McClanahan
On Thu, 8 Aug 2002, Martin Cooper wrote: > Date: Thu, 8 Aug 2002 17:42:42 -0700 > From: Martin Cooper <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Does anyone know when next Struts1.1B Next Rel

RE: Does anyone know when next Struts1.1B Next Release???

2002-08-08 Thread Martin Cooper
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 08, 2002 8:38 AM > To: [EMAIL PROTECTED] > Subject: RE: Does anyone know when next Struts1.1B Next Release??? > > > > Oh boy here we go again... :) > > I don't know when, but someone

RE: Resending parameters

2002-08-08 Thread Martin Cooper
> -Original Message- > From: Michael Delamere [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 07, 2002 11:50 PM > To: Struts Users Mailing List > Subject: Re: Resending parameters > > > Thanks to both your answers but the value comes from the > previous request. > > The "forum_i

Simple question about Struts

2002-08-08 Thread E. Laverdiere
Hi all, I've studiing Struts for the past 3 weeks because I have done a generic Jsp "content-management" web site connected on a MySql database using a set of custom tag libraries following the Manning book "Tag Librairies". So I am still new at Struts, and I would like a simple advice over the S

Re: Visibility of newly-added cookie values in JSP?

2002-08-08 Thread Eddie Bush
Think about what happens when you do a forward. You have the exact same request/response (unless you modified it) as you did before. You add cookies to the response so they can be sent back to the browser. Therefore, you're not going to get that cookie until there is another request. In ot

RE: attributes

2002-08-08 Thread James Mitchell
I know what you are doing, because I did this one time myself. When you are loading the arraylist, you need to add a new Object to the list and not the same old copy. I've attached two zip files that demonstrate this. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Ope

Re: strusts + log4j

2002-08-08 Thread Chandra Gottipati
Chuck, I went through the logging chapter and configured log4j to implement logging in my action classes and JSPs. My problem is I can see the logging in my stdout but the log file I specified in my log4j.properties file is not being created. I am using jboss-3.0.0 that has it's own web containe

Re: how stable is 1.1b (for Craig)

2002-08-08 Thread Craig R. McClanahan
You'd be a lot better off with the recent nightly builds than with 1.1-beta1. This picks up all the recent bugfixes, some important improvements in the functionality, and (after all) "1.1-beta-2" is just going to be an arbitrary nightly build that we've tested enough to be satisfied with. Also,

RE: tag and Tiles

2002-08-08 Thread Jerry Jalenak
That was it! Thanks for the reply Jerry > -Original Message- > From: Developer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 08, 2002 2:54 PM > To: Struts Users Mailing List > Subject: Re: tag and Tiles > > > i set the requestURI to an action which forwards to the tiles >

how stable is 1.1b (for Craig)

2002-08-08 Thread Tahir Awan
Hi, I've been trying to get DynaBean to work for last two days and asked for help here. I am setting up a DynaBean from java code and using a simple tag like to display a property. Always got an exception that "No getting method found for property " and interestingly the stackTrace wont ma

RE: attributes

2002-08-08 Thread Kamholz, Keith (corp-staff) USX
Thanks for the help. When I printed out the elements from my action I found out that they really were all the same. I'll have to find my problem with filling the list. Thanks again. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Rajesh Kalluri [mailto:[EMAIL PROTECTE

Nested propertis -populating value Objects in ActionForm

2002-08-08 Thread Boyalla, Raveendra
Hi I have implemented Nested property, But I feel the way I have implemented is wrong. I am also proposing an alternative approach in PropertyUtils. Please First see Original Message at the end Now if I have a nested property like this, I need to initialize new PcCompany(). if I have pro

nesting logic tags under each other??

2002-08-08 Thread Eric_Wolf
Hi all, Is it possible to nest logic tags under each other?? At the bottom of my jsp page that contains a list of data with the page size being 20 I want to have logic to show/hide the navigation buttons. Only If the current row is greater than 19 show the first and previous buttons. Only if th

Re: I18N and locales

2002-08-08 Thread Craig R. McClanahan
On Thu, 8 Aug 2002, David Graham wrote: > Date: Thu, 08 Aug 2002 13:41:48 -0600 > From: David Graham <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: I18N and locales > > Thanks for the info Craig! More questions below... > >

Re: tag and Tiles

2002-08-08 Thread Developer
i set the requestURI to an action which forwards to the tiles definition. requestURI='request.getContextPath().concat("/something.do")' where something.do is the same way to get to the page you're on. - Original Message - From: "Jerry Jalenak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

RE: attributes

2002-08-08 Thread Rajesh Kalluri
Keith, I never had a problem with using a collection with html:options, can you print out from your action class all elements of the collection "hardwarelist" that you put in session scope, to make sure they are not duplicated in the action it self. Rajesh -Original Message- From: Kamho

Re: I18N and locales

2002-08-08 Thread David Graham
Thanks for the info Craig! More questions below... >If you have internationalized the text of the message already, you can >just store the String as a request or session attribute, and display it >with the tag. For example (assuming you stored the text >as a request attribute named "foo"): > >

Re: struts archictecture question

2002-08-08 Thread sean.schofield
> In Struts 1.1, your Actions' execute() method can pass exceptions back to > the controller (RequestProcessor) by not catching them. So your business > objects would throw a custom business exception that you could configure as > an in the struts-config.xml file. Ahah! I remember reading that

Re: I18N and locales

2002-08-08 Thread Craig R. McClanahan
On Thu, 8 Aug 2002, David Graham wrote: > Date: Thu, 08 Aug 2002 13:21:47 -0600 > From: David Graham <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: I18N and locales > > When using the tag do you have to supply a different locale