Re: IBM VisualAge WTE and struts

2001-10-19 Thread SLBrand
Hi Hitesh, I guess you could say that I "missed" some steps ... but I've learned to modify the .webapp files by hand.  (I provided the strutsexample.webapp with the directions so you don't _have_ to create one).  I suppose at some point I should take the 10-20 minutes and learn (and write-up) the

RE: Extending Struts TagLibs

2001-10-19 Thread Niall Pemberton
Billy, Struts tags are greatif you can use them "as is", that is. The problem with extending them is that most of the code is contained in 1 or 2 methods (doStartTag() for example). Which means if you want to change a small bit of functionality, you end up re-coding most of these core methods

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Hitesh Parashar
Hi Stephen: Did you miss some steps in this for conversion of web.xml file to strutsexample.webapp file using the XSL provided with WTE (webapp.xsl)? Thanks, Hitesh. --- [EMAIL PROTECTED] wrote: > Hitesh, > > Included are the instructions for getting the > struts-example (under Struts > v1.0

Using static ints as values in

2001-10-19 Thread Tony Li
In my jsp, I have this line: Instead of the string "search", I would like to use something like: Where ButtonNames is an interface and SEARCH is a public static final int. When I try to compile this jsp, I get: method setValue(int) not found in class org.apache.stru

bean:message inside html:link javascript function?

2001-10-19 Thread Mike Bridge
Is it possible to embed a bean:message inside an html:link tag? I want to pass a string into a javascript function, but I don't know how to get it to work: ')"> I get the error: org.apache.jasper.compiler.ParseException: /home/bridge/groupie_html/listmanager/index.jsp(84,135) Attribute popup

RE: Questions About Struts Validator

2001-10-19 Thread Paul Darling
Is is possible to use multiple 'mask' validators that apply different expressions? For instance, in addition to checking that a string contains only a-z or A-Z characters, you might want to validate the string length. It's possible to use an expression that combines the types of validation (e.

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Hitesh Parashar
Thanks Stephen/Eric/Alan/David: Stephen: Could you please send the .war file to me. Also, could you please tell us in this thread, what are the specific changes that you made for this sample to work with WTE / WAS? Eric: It is really a great idea to separate the VAJ projects along the product/AP

Re: XML include hack to split struts-config.xml

2001-10-19 Thread James Holmes
Done. Please reference the message titled "[PATCH] Allow Multiple Config Files" on the dev list. -james [EMAIL PROTECTED] http://www.ejcenter.com/struts/ --- Eric Rizzo <[EMAIL PROTECTED]> wrote: > James Holmes wrote: > > > I have the "fix" for multiple config files almost > > done. I need to

incrementing a number

2001-10-19 Thread Dua, Amit
how to increment a variable using struts in jsp pages equivalent of <% for(i=0;i<10;i++){ %> <=%i%> <%} %>

Re: XML include hack to split struts-config.xml

2001-10-19 Thread Eric Rizzo
James Holmes wrote: > I have the "fix" for multiple config files almost > done. I need to create the patch and send out an > email, but in the mean time you can use: > > http://www.ejcenter.com/struts/ActionServlet.java > > Just recompile the 1.0 source with the above file and > then in your w

RE: global forwards

2001-10-19 Thread Fletcher, Ken
Oh, nevermind -Original Message- From: Fletcher, Ken [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:52 PM To: '[EMAIL PROTECTED]' Subject: RE: global forwards I believe you forgot the path... -Original Message- From: chiji nwankwo [mailto:[EMAIL PROTECTED]] Se

RE: global forwards

2001-10-19 Thread Fletcher, Ken
I believe you forgot the path... -Original Message- From: chiji nwankwo [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:42 PM To: [EMAIL PROTECTED] Subject: global forwards Hi, Can anyone see what I am doing wrong? Application developer (ibm) seems to be complaining ab

global forwards

2001-10-19 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? Application developer (ibm) seems to be complaining about the use of a delimiter.  This is taken from within my strut-config file and I have an action called search. Is

RE: porb:

2001-10-19 Thread Dua, Amit
thanks Vanzin -Original Message- From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:59 PM To: [EMAIL PROTECTED] Subject: Re: porb: Dua, Amit wrote: > so, you mean to say that I will have to create a bean for doing this Not necessarily. You do not

RE: XML include hack to split struts-config.xml + StrutsDigester

2001-10-19 Thread Vaughan Jackson
James, Thanks! I'll give this a try. BTW, does anyone know what the general consensus is on being able to use these XML external entity references within a WAR? Is it reasonable to expect that the Struts Digester will ever be able to handle this? Vaughan. > -Original Message- > Fr

Re: porb:

2001-10-19 Thread Marcelo Vanzin
Dua, Amit wrote: > so, you mean to say that I will have to create a bean for doing this Not necessarily. You do not need to call the "property", you can write the "bean" directly with: It'll work like the <%=aBean%>. -- []'s Marcelo Vanzin Touch Tecnologia [EMAIL

RE: prob. with collections

2001-10-19 Thread Dua, Amit
thanks Wayne,it worked -Original Message- From: Fuller, Wayne [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:45 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections Is trying to access a bean named list and call a method on it called getName(). That is not what yo

RE: prob. with collections

2001-10-19 Thread Fuller, Wayne
Is trying to access a bean named list and call a method on it called getName(). That is not what you want. Try this. -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:38 PM To: '[EMAIL PROTECTED]' Subject: RE: prob. with collections i h

ApplicationResources.properties

2001-10-19 Thread Will Spies/Towers Perrin
This file is somewhat problematic if you want to keep these values in a database and then have them reflected in an application in real time. Has anyone out there every run into or built a solution to this problem? Any info would be appreciated, Will

RE: prob. with collections

2001-10-19 Thread Dua, Amit
i have written this code <%=list%> it works fine as my collection is collection of string now I tried doing this... but it did not worked -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:22 PM

RE: XML include hack to split struts-config.xml

2001-10-19 Thread James Holmes
I have the "fix" for multiple config files almost done. I need to create the patch and send out an email, but in the mean time you can use: http://www.ejcenter.com/struts/ActionServlet.java Just recompile the 1.0 source with the above file and then in your web.xml file you can use a comma (",")

RE: porb:

2001-10-19 Thread Dua, Amit
so, you mean to say that I will have to create a bean for doing this -Original Message- From: Fuller, Wayne [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:17 PM To: [EMAIL PROTECTED] Subject: RE: porb: Yes, you need to have a name on bean write tags. So it would now be the

RE: prob. with collections

2001-10-19 Thread Cobbie . Behrend
which did you do: ? That would not have given you the exception you mentioned, puting would have. CB "Dua, Amit" <[EMAIL PROTECTED]> on 10/19/2001 02:18:00 PM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: RE: prob. with collections

Re: porb:

2001-10-19 Thread Jonathan M Crater
define it first: if you're trying to peel a value off an object in some scope, you'll have to use the approprate syntax. all of this is covered in excellent detail by the documentation: http://jakarta.apache.org/struts/struts-bean.html "Dua, Amit" wrote: > it did not work > it threw this e

RE: porb:

2001-10-19 Thread Fuller, Wayne
Yes, you need to have a name on bean write tags. So it would now be the following. -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:16 PM To: '[EMAIL PROTECTED]' Subject: RE: porb: it did not work it threw this exception /current-report1

RE: XML include hack to split struts-config.xml

2001-10-19 Thread Vaughan Jackson
Hi, A while ago (Sept 10), Renaud Waldura posted this issue, saying that the only way he could get this to work was to hardwire the path to an included XML file like this: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd>; [ ] > I have found the same thing. This is not go

Re: Replacing the Form in an Action

2001-10-19 Thread Cobbie . Behrend
Assuming that you wish to replace the form in request scope, and that you are creating the new form in your action, then the code in your action would be: request.setAttribute( "formBeanName", newForm); where "formBeanName" = the name you used in your struts-config.xml when you defined the form

RE: prob. with collections

2001-10-19 Thread Dua, Amit
it did not work -Original Message- From: Barry Glasco [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:08 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections Highlight it and hit the delete key. If that does not work try this: -Original Message- From: Dua

RE: porb:

2001-10-19 Thread Dua, Amit
it did not work it threw this exception /current-report1.jsp(18): required attribute 'name' not specified for tag 'write' probably occurred due to an error in /current-report1.jsp line 18: -Original Message- From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]] Sent: Friday, October

Replacing the Form in an Action

2001-10-19 Thread Jake Thompson
Hi all,   I cannot seem to figure out what I need to do in order to replace the form in the current scope with a newly created one.    I have an action and I can get a form object fully populated for me, so I want to do something like:   form = newForm;   however this obviously does not work.

RE: porb:

2001-10-19 Thread MacKellar, Kimberly
-Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 12:24 PM To: '[EMAIL PROTECTED]' Subject: porb: how to write equivalent of <%=variable1%> in stuts

RE: prob. with collections

2001-10-19 Thread SUPRIYA MISRA
cant stop laffing "Highlight it and hit the delete key. If that does not work" >From: "Barry Glasco" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: prob. with collections >Date: Fri, 19 Oct 2001 14:08:25 -0400 > >Highlight it and hit the delete key. If th

RE: prob. with collections

2001-10-19 Thread Barry Glasco
Highlight it and hit the delete key. If that does not work try this: -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:43 PM To: '[EMAIL PROTECTED]' Subject: prob. with collections Hi I have a collection of string which I am displaying th

RE: How to enforce page breaks while printing

2001-10-19 Thread Stephen Owens
I'd suggest having a look at http://www.w3.org/Style/CSS/ for details...hope this helps -Original Message- From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:49 PM To: [EMAIL PROTECTED] Subject: RE: How to enforce page breaks while printing +do you hane an e

RE: How to enforce page breaks while printing

2001-10-19 Thread SUPRIYA MISRA
+do you hane an example from where I can get started >From: "Stephen Owens" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: How to enforce page breaks while printing >Date: Fri, 19 Oct 2001 13:18:08 -0400 > >Not sure if this helps, but the only way I know

prob. with collections

2001-10-19 Thread Dua, Amit
Hi I have a collection of string which I am displaying through <%=list%> Is there anyway of getting rid of <%=list%> in above code

RE: how to get the position when iterating over a vector?

2001-10-19 Thread dhay
That's true! (no pun intended!) Can someone change this? Dave "Tom Klaasen (TeleRelay)" <[EMAIL PROTECTED]> on 10/19/2001 09:51:37 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: how to get the position when iterating ove

Re: DB Connection Pooling

2001-10-19 Thread David Winterfeldt
Thanks. This looks nice, but I'll probably just stick with the Struts one for now since the connection can refresh and I have a lot of other things to do on my project. David --- Andy Noble <[EMAIL PROTECTED]> wrote: > David, > > One that appears popular here, and I'm also using is > Poolman.

Re: DB Connection Pooling

2001-10-19 Thread David Winterfeldt
Sorry. Never mind. I just saw that there was support added for refreshing the built in Struts Connection Pool, but I didn't know about it. You can add on of these lines in a data-source element. or David --- David Winterfeldt <[EMAIL PROTECTED]> wrote: > What would someone recommend for

porb:

2001-10-19 Thread Dua, Amit
how to write equivalent of <%=variable1%> in stuts

Re: AW: index for radio button in iterate

2001-10-19 Thread dhay
Bernhard, Sorry, didn't read things close enough to realise that the udmForm was your form bean. It doesn't make sense to use it in that manner. The use of the indexed tags is (obviously) within an iterate tag, and the index created will reflect the current iteration. For example, I iterate

RE: How to enforce page breaks while printing

2001-10-19 Thread Stephen Owens
Not sure if this helps, but the only way I know to control page breaks is to use a stylesheet (CSS). You can do attribute value matching in CSS, the combination may allow you to do what you want. Of course it's only available in relatively recent browsers, and using CSS in older browsers that 'kin

RE: struts-config.xml

2001-10-19 Thread James Holmes
No this would simply just be a change to the ActionServlet to read "digest" multiple files and does not involve any changes to the Digester code. -james --- Vaughan Jackson <[EMAIL PROTECTED]> wrote: > James, > > Does this fix involve changing the way the Digester > handles > XML external ent

Re: DB Connection Pooling

2001-10-19 Thread Andy Noble
David, One that appears popular here, and I'm also using is Poolman. It can be found at http://www.codestudio.com Andy - Original Message - From: David Winterfeldt <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 4:07 PM Subject: DB Connection Pooling > What w

Re: Tiles and template repeated files

2001-10-19 Thread Peter Pilgrim
Thanks Cedric Well I am using it on body content < 64KB -- 100KB on an Intranet site. I guess it the length of the dynamic data that is generated. If the content is going to be bigger than that I would put in it a separate file or use a frame. Oh by the way, do you have a Tiles.gif "Power by T

RE: struts-config.xml

2001-10-19 Thread Vaughan Jackson
James, Does this fix involve changing the way the Digester handles XML external entity references ("includes") by any chance? I ask because I am having trouble getting this to work. Thanks, Vaughan. > -Original Message- > From: James Holmes [mailto:[EMAIL PROTECTED]] > Sent: Friday,

Re: Tiles and template repeated files

2001-10-19 Thread Cedric Dumoulin
Hi, I have never tested the limit for the bodyContent of a tag. Internally, it is transformed to a String, but I don't thing there is a limit to it. The problem can be a memory one : I think the String is allocated each time you parse the tag ! I am not sure that it is more memory/time c

How to enforce page breaks while printing

2001-10-19 Thread SUPRIYA MISRA
I am trying to build a report where I want the printer to break page on the basis of a property value. Is there a way to achieve this. I have this button to do the printing for me. _ Get your FREE download of MSN Explorer at h

Form properties reset ?

2001-10-19 Thread Tom Klaasen (TeleRelay)
Hi all, I noticed the following: I have a jsp with a corresponding form. When I press "submit", it gets forwarded to an Action which sets some additional properties on the form. Then I forward to another Action. When I read the additional properties of the form, they have disappeared. Is this no

Re: DB Connection Pooling

2001-10-19 Thread Pete Carapetyan
David Winterfeldt wrote: > What would someone recommend for using as a connection > pool besides the Struts one? That's how I ended up an Expresso junkie. Yes, you will find a connection pool object there, but warning, you will also find a ton of other classes and features that may seem irres

DB Connection Pooling

2001-10-19 Thread David Winterfeldt
What would someone recommend for using as a connection pool besides the Struts one? Basically I'm looking for a similiar product, but I want it to be able to check if a connection has been lost or gone bad and create a new one to replace the bad one. I see that there is a pool project in jakarta

Re: struts-config.xml

2001-10-19 Thread James Holmes
Dirk-- I am working on a patch for Struts to allow multiple config files and application resource files to be used. This would allow the application to be more "modularized" and would solve the problem/complaint of very large unmanageable config files. -james [EMAIL PROTECTED] http://www.ejcent

Re: How to stop form submit on javascript error?

2001-10-19 Thread Sandeep Takhar
Sorry for the confusion... What I am asking is who has to do the trimming. I am assuming that I would need to write some function to do this and call it from the validate() method of the ActionForm class? If so, has someone already written this method. So what is Struts doing when it populates

Re: How to stop form submit on javascript error?

2001-10-19 Thread Jonathan M Crater
i'm not exactly sure what you're asking, but in your ActionForm's validate method, if you return a populated ActionErrors object, the action servlet does a forward to the resource you've defined by the input attribute in the mapping element. otherwise, it calls perform on your action class. Sand

Re: html:errors

2001-10-19 Thread David Winterfeldt
I thought I would send this modified from what Jonathan sent so it was clear how to add an error. The first parameter adding an error to ActionErrors is the key it is filed under. So typically you use the property name of the field so it can be retrieved next to the field if you need to. Action

Re: IBM VisualAge WTE and struts

2001-10-19 Thread SLBrand
Eric, I agree that I disliked the fact that IBM packaged up the xml stuff in their project, and I like your idea for separating it out, thank you for posting it.  If I get some time between my current projects I'll redo it in my VAJ and then add this to the directions. Thanks for the idea. Here

RE: bean:message with bean

2001-10-19 Thread Fabien Modoux
It works fine, thanks. I just had to specify the type attribute for the logic:iterate tag, because my collection was a Vector. -Fabien - Fabien Modoux, Voicemate - http://www.voicemate.com -Original Message- From: David Winterfeldt [mail

rtexprvalue not working in tag!!! --- REVISITED

2001-10-19 Thread Craig_Reichenbach
OK, this is weird. The page attribute doesn't work as expected when you append a query string to a scriptlet, as in . Here sample code that highlights the discrepancy. Can someone explain?? - SCENARIO ONE - no queryString - this works Yay! ---

RE: How to stop form submit on javascript error?

2001-10-19 Thread Sandeep Takhar
hmm, how would you do this on the java side of things in the form bean' validate() -- or is this automatically handled by the beanutils.populate() that struts does? sandeep --- Matt Raible <[EMAIL PROTECTED]> wrote: > Here's my version of a trim function as well as a > few others ;) > > I woul

Re: how to refer to images from JSPs in WEB-INF?

2001-10-19 Thread Sandeep Takhar
try the following url: http://www.jguru.com/faq/view.jsp?EID=471953 I am not sure if this works for servlet api 2.2. sandeep --- Rob Breeds <[EMAIL PROTECTED]> wrote: > The Struts example (or I read it somewhere on the > husted.com pages) > recommends putting JSPs under the WEB-INF folder so >

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Eric Rizzo
[EMAIL PROTECTED] wrote: > Hitesh, > > Included are the instructions for getting the struts-example (under > Struts v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I posted a > while ago... Cool, I think it's good idea to write this stuff up. But I would make one suggestion: instead of

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Eric Rizzo
[EMAIL PROTECTED] wrote: > What I have done to get round problems like these is to := > 1 Export IBM XML Parser for java to a directory - MY_IBM_XML > 2.Remove all the OMG packages from the directory. > 3. Remove the IBM Xml Parser from the Workspace > 4 Craete a new project IBM XML Parser - OMG

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Eric Rizzo
Hitesh Parashar wrote: > Hi: > > I am having tough time establishing peace between VAJ > 4.0 WTE and struts. I am following the "WebSphere > Version 4 Application Development Handbook". > > WTE requires IBM XML Parser for Java and struts > requires me to use Xerces. The following packages are

Re: Tiles and template repeated files

2001-10-19 Thread Sandeep Takhar
I may be misunderstanding, but you are suggesting using the body of the put and how big can that body be...? It is possible just to define the individual jsp's without the need for this intermediary "template" jsp. This is a big advantage of tiles. You can define the definition in the tilesDefi

RE: how to get the position when iterating over a vector?

2001-10-19 Thread Tom Klaasen (TeleRelay)
_and_ it should say: "... If true then ...", because indexed="yes" does not work! tomK > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: woensdag 17 oktober 2001 19:02 > To: [EMAIL PROTECTED] > Subject: Re: how to get the position when iterating over a ve

Re: Need some suggestion

2001-10-19 Thread Alex Lin
For me, i'm using JBuilder 5 Enterprise, especially data module and data express (with or without ejb) as the database wizard.  I like this way since JBuilder has a complete and well-done logic behind.  After finishing the data module, then, i branch it to connection pool (or proxy) for WebLogic

Re: Include of a Action-output in a JSP

2001-10-19 Thread Sandeep Takhar
It is possible if you use tiles. Here is a link to the archive that gives the details: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16127.html - Sandeep --- storck <[EMAIL PROTECTED]> wrote: > HI, > > is the following possible ? > > I have a JSP named Table.jsp wich looks lik

Re: How to do this type of validation?

2001-10-19 Thread Sandeep Takhar
There is a validate extension that may do what you want? http://home.earthlink.net/~dwinterfeldt/ I believe that it is part of the nightly build as well. - Sandeep --- Alex Colic <[EMAIL PROTECTED]> wrote: > Hi, > > could someone give me some architecture hints on how > to do the following: >

XMLHTTP

2001-10-19 Thread Mark Franklin
Title: Has anyone used the MSXML.XMLHTTP object with Struts (IE5.n) with a client side function such as:    function getClientList(sXML){        var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");        xmlhttp.Open("POST", "xmlservice.do, false);        x

How to do this type of validation?

2001-10-19 Thread Alex Colic
Hi, could someone give me some architecture hints on how to do the following: Lets say you have a business object that has a couple of mandatory and optional fields populated by the user. The user goes from page to page, each time inputting either a required piece of info or an optional piece of

Thanks to all that have helped me.

2001-10-19 Thread Alex Colic
Big thanks to all who have been helping me learn Struts. It's good to know that people on this list are willing to help each other. Alex

Validation Return Page

2001-10-19 Thread Stephen Owens
Struts Folk, In the case of a failure when validating a form bean on a multi-page form it looks to me like the user is always returned to the page defined as the input page in the struts action configuration. That works fine for a single page form but for multi-page forms I want to return to the

Include of a Action-output in a JSP

2001-10-19 Thread storck
HI, is the following possible ? I have a JSP named Table.jsp wich looks like the following: TEST And I have a action-class with several parameters. ->ShowBlackBo

Re: Properties of a FormBean

2001-10-19 Thread Keith Bacon
struts will call myFormBean.getMyField() & the result appears on your web page. also you can specify readonly="true" in the tag but that seemed to work on Internet Explorer but not on Netscape 5. Keith. --- storck <[EMAIL PROTECTED]> wrote: > Hi, > > how can I ONLY write out the con

Re: Properties of a FormBean

2001-10-19 Thread Jonathan M Crater
storck wrote: > Hi, > > how can I ONLY write out the content of formbeans property on a JSP as a > simple text (not a textfield)?? > Thanks!

Properties of a FormBean

2001-10-19 Thread storck
Hi, how can I ONLY write out the content of formbeans property on a JSP as a simple text (not a textfield)?? Thanks!

Re: AW: global forwards for menu generation

2001-10-19 Thread Jonathan M Crater
there is no built in struts way (that i know of) to do this. the action servlet stores the global forwards collection in the servlet context, so you have access to that collection from your web components. once you grab it you can simply use the iterate tag to spit out the values contained in th

AW: global forwards for menu generation

2001-10-19 Thread storck
How can I use global forwards for menu-generation? What is the main task if global forwards? For what is the input-property in the action-tag under action-mappings in the struts-config.xml? -Ursprungliche Nachricht- Von: Jonathan M Crater [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19.

RE: Cancel in struts

2001-10-19 Thread Alexander Jesse
Hi, struts generates a normal submit button, to give the action the chance to do a logical cancel. Can be usefull. I think the naming is a bit unlucky. To get the "normal" cancel-button: use the normal HTML-tag. hth Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: IBM VisualAge WTE and struts

2001-10-19 Thread SLBrand
Hitesh, Included are the instructions for getting the struts-example (under Struts v1.0) running in both VAJ 4.0/WTE and WAS 4.0 that I posted a while ago... (Note: The WAS instructions make reference to a .war file that is too big to upload to this group but I will send it directly to anyone who

Re: html:errors

2001-10-19 Thread Jonathan Asbell
IN YOUR ACTION ActionErrors errors = new ActionErrors(); if (myBoolean){errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("error.password.mismatch")); IN YOUR RESULTING JSP PAGE - Original Message - From: "storck" <[EMAIL PROTECTED]> To: "User Struts (E-Mail)" <[EMAIL PROTECTED]> S

global forwards for menu generation

2001-10-19 Thread Jonathan M Crater
i have found that my global forwards almost always contain my menu items, and thus it would be convenient to have an extra attribute on the forward element like "text" or "menu", the value of which could be presented in a jsp and would allow direct iteration through the forwards collection to gene

html:errors

2001-10-19 Thread storck
Hi, COULD you help me! Is there a possibility to write the ONLY the error for a CERTAIN property of a FormBean out at a possition where I want it? I have something in mind where I have a form with different inputfields and if a field has a wrong value than I have a message under that field wich t

struts-config.xml

2001-10-19 Thread storck
Hi, is it somehow possible that struts reads its configuration wich is defined in struts-config.xml and the content of the ApplicationResources.properties from a database? Is it possible to define for each and a bundle of JSP-Pages one ApplicationRescources.properties file so I dont have to put

Tiles and template repeated files

2001-10-19 Thread Peter Pilgrim
In the Struts Template in order to use dynamic layout features introduction.jsp <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %> underConstruction.jsp <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %> This is ti

How do install/use struts in iWS 6.0?

2001-10-19 Thread Mark Ashworth
Good Day, I would like to know how to use struts with iWS 6.0 and if there are any perculiarities that I should look out for. Regards, Mark Ashworth _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Re: how to refer to images from JSPs in WEB-INF?

2001-10-19 Thread Rob Breeds
OK I've sussed it myself. Got to use the tags with a page attribute to get context relative path. I need to avoid using in any JSPs because it reveals the absolute URL to the JSP. e.g. if I include it I get this appearing in the rendered page source: http://localhost:9080/myApp/WEB-INF/pages

Re: Tiles - Dynamic menu creation - logic problems

2001-10-19 Thread Cedric Dumoulin
Hello, There is some mismatch in your code ;-) First, in your , you put several time an attribute using the same name (linknormal). Each addition overload previous value, so only the last value remains. Second, in your submenu.jsp, you iterate on both lists, but you do logic on external

how to refer to images from JSPs in WEB-INF?

2001-10-19 Thread Rob Breeds
The Struts example (or I read it somewhere on the husted.com pages) recommends putting JSPs under the WEB-INF folder so the JSPs can't be served directly - only by action path. This seems a good thing but I can't get it to work satisfactorily. And no examples I've found ever put the JSPs under WEB

FormBean and Action-Class

2001-10-19 Thread storck
I have a problem. I would like to use the Action-class to access a EJB (wich I have already done and works). Than I would like to use a FormBean wich is filled by than Action-class. On a jsp I ONLY would like to write the content of the FormBean-properties out on my JSP not as a form where I can c

Re: IBM VisualAge WTE and struts

2001-10-19 Thread Alan . Owen
What I have done to get round problems like these is to := 1 Export IBM XML Parser for java to a directory - MY_IBM_XML 2.Remove all the OMG packages from the directory. 3. Remove the IBM Xml Parser from the Workspace 4 Craete a new project IBM XML Parser - OMG 5 Emport the MY_IBM_XML directory i

Re: Tiles Information

2001-10-19 Thread Cedric Dumoulin
Tiles are a contribution to Struts. You can find them under the contribution directory. If you have downloaded struts binaries, you can install struts-tiles.war, and check yourself what is it. You can also have a look to Tiles original websites : (main) : http://www.lifl.fr/~dumoulin/til

RE: PropertyUtils & dot notation

2001-10-19 Thread Rey Francois
The things you're talking about (making the getProperty return null instead of throwing an error when a nested property is null, and making the setProperty creating a nested object in the same situation) are indeed not supported within struts or within the commons BeanUtils. As you said, there is

Re: IBM VisualAge and struts

2001-10-19 Thread David A. D. Konrad
Hi Hitesh, I have done that. I have 3.5 enterprise updated to fixpack 3. My Tomcat test environment is version 3.2.1. There has not been any problems with that. regards,

iframe problem

2001-10-19 Thread Bernhard J. Hirschmann
Hello Struts-Users! I have a problem with the action handling of an internal frame: I display a table in an with some checkboxes to make a selektion in the table. Outside of this iframe I have some other select elements and a submit button. When I click now the submit button, the corresponding

RE: Need some suggestion

2001-10-19 Thread Mikkel Bruun
I would go for jndi lookup to poolman... the struts datasource is a little to close to the presentation layer for me ;-) Mikkel -Original Message- From: Antony To: [EMAIL PROTECTED] Sent: 18-10-2001 09:40 Subject: Need some suggestion Hello: I`d like any suggestion in applying Dat