RE: Struts with JBuilder5

2002-03-12 Thread Jesse Alexander (KADA 12)
For quite some time we tried to rely on JB's features, but lately we enjoy ANT much more. Using the AntRunner plug-in it works very nice from within JB. With ANT building the war is easier... hth Alexander -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Montag, 11. März

Problem connecting to database. Please help.

2002-03-12 Thread Boney Sze
i already configured my struts-config.xml file with a datasource and have a servlet to access it. but i keep on having this error javax.servlet.ServletException: Exception initializing application data source org.apache.struts.action.DATA_SOURCE what seems to be wrong? i followed the examples

Re: Development approach question

2002-03-12 Thread keithBacon
Hi Vlad, What ever results in the least/simplest/fastest code! The way I look at is that you have a special 'ViewSupport' layer in your app that provides sorted copies of the data for presentation. This is seperate from the main business logic. You can supply the data as maps/sets/lists

Re: Servlet action is currently unavailable (Help)

2002-03-12 Thread @Basebeans.com
Subject: Re: Servlet action is currently unavailable (Help) From: Ronaldo Mercado [EMAIL PROTECTED] === I had something like that and I discovered that I had forgotten to compile and make the binary available to Tomcat. Tea Yu [EMAIL PROTECTED] schrieb im Newsbeitrag news:a6k48a$r5h$[EMAIL

RE: simple frames problem, no help in archives

2002-03-12 Thread Steve Earl
Joseph, I'm currently developing a multi-framed web-app using struts and have had no end of fun. I agree there isn't a great deal in the archive. My situation sounds somewhat similar to yours in that I have a two-framed page. The upper page has a search form whilst the lower should, when the

Installation of Struts In VisualAge and WebSphereTestEnvironment

2002-03-12 Thread cyril guszkiewicz
Hi everybody, I'm looking to install Struts in VisualAge and Websphere Test environnement. Acording to the jakarta site web, I've to modify web.xml in the Web-inf directory. However this file doesn't exist. Does anybody know what file I've to modify? and give me the next steps. Thanks a lot.

Re: UML example?

2002-03-12 Thread @Basebeans.com
Subject: Re: UML example? From: Pim [EMAIL PROTECTED] === In the resources, there's also a link to a struts framework in Rose: http://membres.lycos.fr/bist77/download/rose-jakarta-struts1.0-framework.zip I haven't used it yet but promisses to be very useful. Gr, Pim Vladimir Levin [EMAIL

RE: Determining the name of a calling class

2002-03-12 Thread Ken . Horn
You can do this kind of call checking in AspectJ (www.aspectj.org) -Original Message- From: Galbreath Sent: 15 February 2002 23:15 To: struts-user Cc: Galbreath Subject: RE: Determining the name of a calling class Most excellent - if this is not a reference to the new 1.4 utility!

Visual Age 4.0, WebSphere Test Environment and struts

2002-03-12 Thread Andrew.Fairburn
Does anyone have a good basic tutorial on setting up a struts application within Visual Age 4.0? I have seen a guide to setting up the example that comes with the struts download, but the instructions on serving the dtd files did not work - I searched for a another tutorial and found one at

Setting-up Struts FrameWork on TOMCAT 3.1

2002-03-12 Thread Alok Kumar
IS there any document available on net which can show the step by step tutorial how to install the Struts Frame work Component and also the Example which has been made using the Struts. Alok **Disclaimer Information

RE: Installation of Struts In VisualAge and WebSphereTestEnvironment

2002-03-12 Thread Patrick Logé
Take a look at http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocumentSubMast http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT=1 http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15733.html -Original Message- From: cyril guszkiewicz

Re: Setting-up Struts FrameWork on TOMCAT 3.1

2002-03-12 Thread Amitkumar_J_Malhotra
Hello Alok, i am not sure if this is what you are looking for but there is an article available on the javaranch site which explains the set up and also has an example. http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp hope this is what you are looking for, rgds amit -- To

RE: Setting-up Struts FrameWork on TOMCAT 3.1

2002-03-12 Thread sanjeev_dutt
when you download strtus, it comes with a file struts-documentation.war. Extract the files from this war file. it has good docs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 5:26 PM To: Struts Users Mailing List Subject: Re:

sorting of multiple records..

2002-03-12 Thread Sachin
Could anyone explain about the sorting of multiple records using an iterate tag logic:itearte bean:write tags display multiple records in the page. Is it possible in struts so that sorting of the records can be shown on a specific property(column). Sachin -- To unsubscribe, e-mail:

Re: Free (or inexpensive) web hosting site for JSP/Struts/MySql?

2002-03-12 Thread Jon Ferguson
Hi Theron, Yes it was, (the thread was 'Struts MySQL Hosting') and there are some with good prices.. Here's some that were mentioned: www.webappcabaret.com www.mmaweb.net Cheers, Jon [EMAIL PROTECTED] wrote: Hi Folks: A thousand pardon's if this has already been asked in the pastIs

RE: Multiple Datasources

2002-03-12 Thread BinhMinh Nguyen
I have a strange problem, can someone tell me what is wrong? I use form based authentication with Websphere using custom registry, setup in web.xml is as below. when I tried to access a protected resource URL, http://bhn.gers.com:9080/furnnet/main/dispatcher.do, since everything under dir

Re: UML example?

2002-03-12 Thread MARK NICHOLS
John - I found these when I was starting to do UML diagramming for my application. Business Delegate Pattern Sequence Diagrams: http://www.cayambe.org/docs/design/AddToCart.html http://www.cayambe.org/docs/design/BrowserCatalog.html http://www.cayambe.org/docs/design/ManageCart.html

RE: What do you call them beans?

2002-03-12 Thread Adam Hardy
No, I already have a DAO that does all the dirty stuff with connections, statements and resultsets. The classes I mean are the ones that get the data back from the DAO and put it in data classes, marshalling classes so to speak. I don't want to do that in the Action classes, nor in the data

RE: What do you call them beans?

2002-03-12 Thread Steve Earl
Business Objects? __ Steve Earl InfoGain Limited, 23-25 Marlow Road, Maidenhead, Berkshire SL6 7AA, UK email: [EMAIL PROTECTED] Tel: +44 (0)1628 580 600 Fax: +44 (0)1628 580 610 Mobile: +44 (0)779 026 3645 Disclaimer: Neither this e-mail nor any attachment

Templates, Tiles.....or am I just missing something!

2002-03-12 Thread Ian Hunter
Hi Folks, I want the effect of including some JSP/Java at the template and the page level. That is I want to write code for every page, along with subsequent code on a per page basis. So far, I have used templates for page assembly. The problem is the order of execution of the 'fragments' seems

RE: What do you call them beans?

2002-03-12 Thread Adam Hardy
Yeah, but what are the variable names and class names for them? I have major problems naming variables and have a bad tendency to end up calling everything bob (bob1, bob2, bob3) unless I have a standard to cling to. On Tue, 12 March 2002, Steve Earl wrote: Business Objects? Find the

AW: What do you call them beans?

2002-03-12 Thread Oliver Reflé
There is no such standard like prefixes or something in java, give names which describe things, we e.g call it Manager cause the manage the data objects, not because of any standard. Give names like DataManager Oliver -Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED]]

How do I configure a different RequestProcessor?

2002-03-12 Thread Alex Paransky
I need to create a custom RequestProcessor, however, I am not sure of how to tell struts to use it. Could someone give me a clue as to what configuration needs to be changed to allow this? Thanks. -AP_ http://www.alexparansky.com Java/J2EE Architect/Consultant

RE: What do you call them beans?

2002-03-12 Thread Chappell, Simon P
Struts actually has very little to say about the model side of your application. It provides the controller and the means to extend it and provides for the use of JSPs with custom tags to give you your view, but the ActionForm objects have only one foot in the model world. They are really

RE: What do you call them beans?

2002-03-12 Thread Michelle Popovits
I generally use suffixes based on the pattern or layer that they are in Value objects nameVo.java Data Access OBjects nameDao.java Perhaps the business object layer which co-ordinates the dao layer could be nameBo.java ? -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED]]

RE: What do you call them beans?

2002-03-12 Thread MARK NICHOLS
Stuffer. I like it. =) We have this: name.jsp -- nameForm -- nameAction -- nameBO -- nameDAO -- nameEntity BO = Business object - where we put the application logic DAO = Data Access Object - where the SQL is encapsulated Entity = An object representation of the table - this may have a 1:1

RE: What do you call them beans?

2002-03-12 Thread Adam Hardy
No problem, I'm just as boring. Factory sounds good. Perhaps SatanicMill - no, sounds too grim. Or CustomerButtReamer. On Tue, 12 March 2002, Chappell, Simon P wrote: Struts actually has very little to say about the model side of your application. It provides the controller and the

HTML Error pages

2002-03-12 Thread Benoit Segaert
I have define the error page in the web.xml descriptor: error-page error-code400/error-code locationhtml/errorPage.html/location /error-page error-page error-code404/error-code locationhtml/errorPage.html/location /error-page error-page error-code500/error-code

Re: Which first ?

2002-03-12 Thread Louis Leung
well, obviously the html will be the last thing that gets out. the tags are really just java classes defined using the tld, so i assume it is just like compiling many classes and you are asking which class gets compiled first. If you are using tomcat, you can look at the work folder in the

Re: How do you do a map with hotspots in Struts

2002-03-12 Thread Matt Raible
This is called an image map in HTML terms. I'd recommend the following: 1. Search google for image map 2. Use Dreamweaver to create one - real easy 3. Sign up for an account at www.experts-exchange.com (it's free) to ask javascript and HTML questions too - free, easy and fast responses to

RE: What do you call them beans?

2002-03-12 Thread Cakalic, James
I've heard such objects called Business Delegates. This is the name of a pattern in the Core J2EE Patterns with the intent of decoupling the presentation tier clients and the business services that they require. It is helpful in hiding the underlying complexity of the service implementation and

Re: Session management in Struts

2002-03-12 Thread Dave Weis
On Mon, 11 Mar 2002, Mark Glass wrote: I'm developing a web application in Struts that requires a user to have a session before they can use the application. Currently anyone can bypass the logon and use the application. I would like the user to be required to login first. I am saving the

RE: javascript appearing before object is created.

2002-03-12 Thread Paul Idusogie
I discovered yesterday that I had mistakenly used the closing syntax for the form. I'll illustrate this through an example. I used this the following html:form action=/logon.do focus=userName/ .. /html:form instead of this html:form action=/logon.do focus=userName .. /html:form

Struts on JRUN

2002-03-12 Thread Gilson Nascimento D Elrei
I have installed STRUTS example package (.war) on my JRUN installation - I did modification like specified in jakarta-struts installation manual, particularly i did some updates in JSP files (from struts-example) for JRUN. When i try to execute the sample strut application i got this error in my

Template signin needed

2002-03-12 Thread Frankinet Philippe
Dear STRUTS users, Does STRUTS provide some template mecanisms and url control (required signin) ? Frankinet Philippe NSI s.a. Tél : 04 239 91 50 http://www.nsi-sa.be -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Krishnan
Hi Larry, Thanks for your suggestion. I downloaded the nightly build for struts (dated 3/11/02) and installed it in my Tomcat 4.0.1 environment. In My Jsp I have the following logic:iterate tag logic:iterate id=segmentElementRow type=com.xxx.ui.action.SegmentElementSelectRow

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Krishnan
Hi Larry, Thanks for your suggestion. I downloaded the nightly build for struts (dated 3/11/02) and installed it in my Tomcat 4.0.1 environment. In My Jsp I have the following logic:iterate tag logic:iterate id=segmentElementRow type=com.xxx.ui.action.SegmentElementSelectRow

RE: What do you call them beans?

2002-03-12 Thread Maturo, Larry
Yes, that's what we call them also. -- Larry Maturo [EMAIL PROTECTED] -Original Message- From: Soledad Villa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 6:38 AM To: 'Struts Users Mailing List' Subject: RE: What do you call them beans? how do you like DAO (data access

Re: What do you call them beans?

2002-03-12 Thread John M. Corro
I'll occassionally run a Tiered Accessor Entity to a Business Object.in which case I just label it a TaeBo Sorry couldn't resist : ) - Original Message - From: MARK NICHOLS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 8:04 AM Subject: RE: What do you call

RE: How do you do a map with hotspots in Struts

2002-03-12 Thread Maturo, Larry
Hi Matt, I know how to do them in html, but how do you do them in Struts? Struts doesn't have an image map tag, as far as I can tell. Also, in html they are links, while what I want in Struts is a submit. -- Larry Maturo -Original Message- From: Matt Raible [mailto:[EMAIL

Problem with ActionForm

2002-03-12 Thread Slimane Zouggari
Hi, I have a weird problem with a form which is always null. For example, in my FooAction class, I have the following method: public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,

Re: Problem with ActionForm

2002-03-12 Thread Slimane
Ignore this mail, the fact that theForm was null, is only because I made a typo in the struts-config.xml !!! :((( (in the action-mappings) Sorry, for the annoyance :( Friendly Regards, Slimane At 17:18 12/03/2002 +0100, you wrote: Hi, I have a weird problem with a form which is always null.

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Maturo, Larry
Hi Krishnan, See: http://jakarta.apache.org/struts/struts-html.html#checkbox It has the indexed attribute: indexed Valid only inside of logic:iterate tag. If yes then name of the html tag will be rendered as id[34].propertyName. Number in brackets will be generated for every iteration and

difference between 1.0.1 and 1.1 Struts

2002-03-12 Thread Patria Lukman
hi all this might some a stupid question, but I have searched the apache site without avail. my question is: nested tags according to documentation is available as of Struts v 1.1. However. the Struts latest release is 1.0.2 can someone clarify me? thanks P PS: (I have been using nested

amberjack-struts.war, where?

2002-03-12 Thread @Basebeans.com
Subject: amberjack-struts.war, where? From: Jim Azeltine [EMAIL PROTECTED] === I see the reference in the dowload for Struts about putting the amberjack-struts.war file in place to be deployed, but it was not in the distribution, and I can't seem to find it anywhere. Has it been retired? Jim

RE: What do you call them beans?

2002-03-12 Thread Cakalic, James
IMO, the problem with using DAO is that Data Access Objects are really in a lower layer of the architecture than the layer you are addressing. At least according to the pattern descriptions I have read, including that in Core J2EE Patterns. In fact, the structure and sequence diagrams in that

Re: How do you do a map with hotspots in Struts

2002-03-12 Thread Arron Bates
Html image map is basically links. Work the same way, sending GET requests only. Only way to submit a form without JavaScript is to use the image tag. Then you cn do the form thing. When clicked, it will pass the x y coordinates. You can figure it out on the server. Much harder than links

RE: Struts on JRUN

2002-03-12 Thread Bill Page
Memory is a little vague but I know I did not do the special instructions for jrun (current what is that 3.1?). But pay attention to the ISAPI connector if you're running IIS, the default is over in the jrun directories and it must be in the inetpub scripts directory (you switch that or add an

RE: Struts on JRUN

2002-03-12 Thread Galbreath, Mark
This has been a very common problem and has been discussed many times here. Check out the archive: http://www.mail-archive.com/struts-user%40jakarta.apache.org/ BTW: the only way I got JRun (on Apache) to see the application.properties file (where the exception is originating) was to expand

Why no struts.jar on the classpath?

2002-03-12 Thread Chappell, Simon P
I want to start out by saying that I have read the fine manual and realise that the struts FAQ says that the struts.jar must not be placed on the application server's CLASSPATH. My question to this list is why is this the case? I have a build manager who very much wants only a single instance

RE: Why no struts.jar on the classpath?

2002-03-12 Thread Galbreath, Mark
Struts is actually a virus, though the delivery is a bit low-tech. Mark -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 12:15 PM To: Struts mailing list (E-mail) Subject: Why no struts.jar on the classpath? I want to start out by

RE: How do you do a map with hotspots in Struts

2002-03-12 Thread Maturo, Larry
Hi Arron, Thank you for your suggestions. I hadn't thought about using one button (via the image tag) and sorting it on the server. Perhaps not great, but it should definitely do the trick. Thanks again. -- Larry -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED]] Sent:

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Krishnan
Hi Larry, When I invoke my jsp page this is the exception thrown. It is not the getter method but setter method. I tried it with indexed=true and indexed=yes. Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

RE: Why no struts.jar on the classpath?

2002-03-12 Thread Chappell, Simon P
It's not Friday yet! :-) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 11:17 AM To: 'Struts Users Mailing List' Subject: RE: Why no struts.jar on the classpath? Struts is actually a virus, though the delivery is a bit low-tech. Mark

[ANNOUNCE] Chiki v0.27 released (now with Revision Control)

2002-03-12 Thread Emaho, Ghoot
Version 0.27 released and ready for download. This released includes: - Simple Revision Control: providing Revision History and Tracking and the option to Revert to a previous revision. ('diff' not included in this release) Uses Xml binding (via Castor) to provide 'out-of-the-box'

Re: How do I configure a different RequestProcessor?

2002-03-12 Thread Cedric Dumoulin
Write your request processor, and specify it in each struts-config.xml as follow : controller processorClass=a.class.name / Declaration must be done after action-mapping declarations. Cedric Alex Paransky wrote: I need to create a custom RequestProcessor, however, I am not sure

Re: Templates, Tiles.....or am I just missing something!

2002-03-12 Thread Cedric Dumoulin
The order of execution is the order of insert tags in your template. Each fragment is drawn and rendered at its place in the page.The only way to change the order is to change the place of the insert. But this is very limited as this changes the page rendering. Tiles will not solves your

RE: simple frames problem, no help in archives

2002-03-12 Thread Galbreath, Mark
The problem is the background color; the action class is choking on your bad taste. Mark -Original Message- From: Joseph Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 6:05 PM The frameset page: %@ page language=java % %@ taglib uri=/WEB-INF/struts-html.tld

RE: simple frames problem, no help in archives

2002-03-12 Thread Galbreath, Mark
This is just a shot-in-the-dark. Perhaps the use of frames is resetting the session? Mark -Original Message- From: Joseph Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 6:05 PM To: Struts Users Mailing List Subject: simple frames problem, no help in archives Hi all,

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Maturo, Larry
Hi Krishnan, So it's not a compile error. Hmmm! I haven't tried my solution, so perhaps its still legal syntax, but no longer supported. Any comments from the news group on this? I know there is a multibox tag, but it doesn't have an indexed attribute, so I'm not sure how one would go about

RE: EBJ Alternatives?

2002-03-12 Thread Robert
Have you looked at the Apache Avalon project? It provides almost everything you mentioned. It is a component/service management framework, in a nutshell. It has nice configuration support, component lifecycles (you can pick what life cycle interfaces you want to use), lookups, etc. From the

the best way to log action hits

2002-03-12 Thread Caoilte O'Connor
Hi, I need to change my webapp to log the number of hits certain actions get and from which session etc etc. Can anyone point me towards the right way to look at doing this. Ideally I would use Log4J or something similar, but I'm a bit worried about having to parse lots of large text files every

Re: Why no struts.jar on the classpath?

2002-03-12 Thread keithBacon
Below is an extract from the link below. I don't really understand it that well but if no guru answers. You might search the archives further I'm sure I've seen this answered there but didn't find it. It's something to do with which class loader loads the struts classes. It has to be your

Re: What do you call them beans?

2002-03-12 Thread keithBacon
nice one. I was thinking of DataUni Negotiotor xxxDUNG.But don't allocate too many or you'll full up th heap. --- John M. Corro [EMAIL PROTECTED] wrote: I'll occassionally run a Tiered Accessor Entity to a Business Object.in which case I just label it a TaeBo Sorry couldn't resist : )

Re: Why no struts.jar on the classpath?

2002-03-12 Thread Mikael Eriksson
The long answer (or several long answers, at least one good written by Craig) can be found by searching the archives of this list. The short answer is that it is a classloader issue. The classes in struts.jar instantiates your action classes and formbean classes. Those classes _really_

Passing objects in Custom tags

2002-03-12 Thread Syed Niaz
Hi Is it possible to pass objects as attributes in Custom tags ? (and without using a scripting variable) eg : tagaa:aa attr1=some string attr2=some object / Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Unable to see Resource File

2002-03-12 Thread Rich Reese
Hey All, I have a resource file which holds some of my labels and messages that I display to the screen. Everything was working fine for a couple of months, but now my code can not see the resource file. The reasons I think this is the problem is because: 1.) bean:message calls are

RE: the best way to log action hits

2002-03-12 Thread [EMAIL PROTECTED]
Log4J can do appends in a database, so just log to a database and a file. The contribs have a JdbcAppender. You might want to check on the AsyncAppender to avoid having the logging calls being executed while the user waits for the request and to delay the performance hit of the insert (logging

can't remove attributes from request scope - error in example?

2002-03-12 Thread @Basebeans.com
Subject: can't remove attributes from request scope - error in example? From: Paul Tomsic [EMAIL PROTECTED] === Ive searched google for this error: cant remove Attributes from request scope but didn't really see any answers for it. Could someone point me in the right direction to get this error

RE: simple frames problem, no help in archives

2002-03-12 Thread Joseph Barefoot
very funny. The background color is actually there just so's I can be assured the page is refreshing. I picked maroon because it suites my mood after trying to decipher these !$#%@$# frames problems. :) ;) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent:

RE: simple frames problem, no help in archives

2002-03-12 Thread Joseph Barefoot
hmmm...pretty good shot, Mark. I was thinking about that too, that maybe the browser, when issuing the request for the frame source, is losing the context somehow, such that the relative URI in the src attribute is not resolved correctly. That would certainly explain why my action class isn't

RE: Problem handling arrays in an ActionForm

2002-03-12 Thread Javier Campoamor
I'm sorry. Again there has been a human failure. This time the problem was that the form scope was linked to the request instead of the session. What confused to me is that the normal fields, (non array fields) were populated and for that reason I've lost a few hours looking for the problem.

RE: can't remove attributes from request scope - error in example?

2002-03-12 Thread Maturo, Larry
If you forward, the request gets forwarded as well. If you redirect, the request gets discarded. I'm not sure if this helps or not. As far as I know, you can't add or remove attributes from the request. -- Larry Maturo [EMAIL PROTECTED] -Original Message- From: Struts Newsgroup

RE: simple frames problem, no help in archives

2002-03-12 Thread Joseph Barefoot
Steve, Thanks for the insight on how you're managing the workflow with forms and frames...it will come in handy later. Right now, however, I can't even get the damn frame source to load, period, from my frameset page, even on the initial request. Do you use the same action forward to

dynamicly set an attribute of tags

2002-03-12 Thread yanming lu
Is there any way in the struts to dynamically set an attribute? Example: html:text ... readonly=true.../ For this tag, can we somehow to set readonly to true sometimes to false based on certian conditions? _ Join the world’s

RE: simple frames problem, no help in archives

2002-03-12 Thread Robert Nocera
Try it without the body tags. Robert Nocera New England Open Solutions www.neosllc.com You supply the vision, we'll do the rest. -Original Message- From: Joseph Barefoot [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 2:14 PM To: Struts Users Mailing List Subject: RE: simple

Re: dynamicly set an attribute of tags

2002-03-12 Thread Louis Leung
you can define whether an attribute is a RTExpression (runtime expression) or not. for many of the struts tags, the attributes value can be of a RTExpression. so for your case, you are certainly legal to do something like html:text ... readonly=%=giveMeTrueOrFalse()%/ or any scriplet you

Re: Passing objects in Custom tags

2002-03-12 Thread Louis Leung
depends on how you code your tags. I know that you can do something like putting the object in a certain scope (i.e. session), in your example, it will be some_object, then just have the tag class to retrieve the object by its reference in the right scope. but what it boils down to is just how

LookupDispatchAction - how can I still use execute?

2002-03-12 Thread Matt Raible
I want to subclass LookupDispatchAction and eliminate the need to call a pre-perform method in each of my CRUD methods (invoked by the button I push). I implemented the execute (perform) method, and noticed that it was being hit before the appropriate button's method, but I'm unable to get my

RE: How do I configure a different RequestProcessor?

2002-03-12 Thread Alex Paransky
Cedric, is there a particular version of the nightly build that I should use or is this feature available in released versions of Struts? Thanks. - -AP_ See my profile at http://www.myprofiles.com/member/view.do?profileId=128 -Original Message- From: Cedric Dumoulin

Re: dynamicly set an attribute of tags

2002-03-12 Thread yanming lu
louis: is giveMeTrueOrFalse() a form function defined in my struts form? From: Louis Leung [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: dynamicly set an attribute of tags Date: Tue, 12 Mar 2002 14:51:11

struts menu

2002-03-12 Thread yanming lu
Is there anyone who downloaded the struts menu example from the struts user guide home page? I'v had difficulty to download it. The page is not avaliable now. _ Join the world’s largest e-mail service with MSN Hotmail.

RE: Unable to see Resource File

2002-03-12 Thread Satish Jeejula
I had seen the problem, only and only if the application properties file doesn't have the entry for that property ... For example: error.generic is missing from the properties file. So can you check if the resources\properties file hasn't changed recently .. Hope this helps. Satish

Re: dynamicly set an attribute of tags

2002-03-12 Thread yanming lu
I got error: Method isReadOnly() not found in class org.apache.jsp.RegForm$jsp. when I define isReadOnly() function the the form and used in the tag: html:text ... readonly=%=isReadOnly()% / Why? From: Louis Leung [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

RE: What do you call them beans?

2002-03-12 Thread Adam Hardy
On Tue, 12 March 2002, Michelle Popovits wrote: I generally use suffixes based on the pattern or layer that they are in Value objects nameVo.java Data Access OBjects nameDao.java Perhaps the business object layer which co-ordinates the dao layer could be nameBo.java ? Hmmm, I'm

Re: dynamicly set an attribute of tags

2002-03-12 Thread Louis Leung
you can't do that, because your jsp page won't know where to find that function. if, in your case, you want to call a form's function, then you have to store the form in some scope, then use bean:define to get the form bean in your jsp, then you can call the form's function freely yanming lu

Re: Using struts with UIX and or BC4J

2002-03-12 Thread Benjamin
Hi, Has anyone used UIX and or BC4J (Oracle 9iAS) with struts? I'm working with with Struts and BC4J on a project.. After getting used to the paradigms of BC4J it's quite easy I think. Although you have to do some work to get the glue between Struts and BC4J automated it still works. At first

RE: What do you call them beans?

2002-03-12 Thread Adam Hardy
On Tue, 12 March 2002, Cakalic, James wrote: These Business Objects are what I referred to before as Business Delegates or Command Beans. Really, as I see it, you want your Actions to be the transformation point between your presentation (using JSPs, HTML, ActionForms, etc.) and your model.

Re: What do you call them beans?

2002-03-12 Thread Adam Hardy
I was thinking, because each has a bit of logic, of calling them HasBeans On Tue, 12 March 2002, keithBacon wrote: nice one. I was thinking of DataUni Negotiotor xxxDUNG.But don't allocate too many or you'll full up th heap. --- John M. Corro [EMAIL PROTECTED] wrote: I'll

RE: What do you call them beans?

2002-03-12 Thread Cakalic, James
Yes. It is authorized to act on behalf of the client, in this case an Action. The Action _could_ do the whole job by itself. Nobody claims otherwise. But separating the business function from the Action, which is technically tied to the presentation, reduces coupling between the presentation and

Re: struts example

2002-03-12 Thread Selvan Hitler
The Online Auction sample that ships with WSAD is using struts ! From the File New Project you can select the Auction example. If you execute the installation steps in the help (to configure your database) you should be able to run it. Struts sample application is simple to deploy and run in

Re: can't remove attributes from request scope - error in example?

2002-03-12 Thread Steve Wilkinson
Try searching http://www.mail-archive.com/struts-user%40jakarta.apache.org/ I searched on remove Attributes from request scope and found several of the 165 returned that may help. - Original Message - From: Struts Newsgroup Sent: Tuesday, March 12, 2002 11:58 AM To: [EMAIL PROTECTED]

ActionForm reset

2002-03-12 Thread @Basebeans.com
Subject: ActionForm reset From: Donny Ryan Chong [EMAIL PROTECTED] === Hi, Anybody know when will the actionform call the reset method ? Thanks in advance Donny Ryan Chong -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[JSTL] Announcing Public Review / RI Beta 1

2002-03-12 Thread Shawn Bayern
Taglibs community, The JSP Standard Tag Library (JSTL) just entered its Public Review stage under the Java Community Process, and Beta 1 of the reference implementation (RI) is now available through Jakarta Taglibs. This new draft spec and RI milestone solidifies JSTL in a number of respects.

Use of stuts in J2EE

2002-03-12 Thread Vikram Goyal01
Hi all, I am implementing a J2EE (Enterprise application with EJBs) project using struts. If anyone has done a similar project and would like to share some guidelines please mail back to me. Alternatively, if you have any online pointers, articles etc. please forward these as well. Regards

RE: Use of stuts in J2EE

2002-03-12 Thread Dave J Dandeneau
We are currently implementing a j2ee / struts project. If I had any advice to you it would be to make sure you read up about common j2ee patterns. They can save you a lot of time and help you avoid some of the common EJB problems. We are using a command pattern which works very well. It is

Help needed in define tag..........urgent

2002-03-12 Thread Piyush Srivastava
hi, I am facing problem with the bean:define tag provided by struts. When I directly give the package name for the type attribute, it works fine but when we define a variable to refer the package name and use it through JSP expression for the type attribute. It throws class cast exception. To

RE: How do I configure a different RequestProcessor?

2002-03-12 Thread Alex Paransky
O, thank you, thank you, thank you. I love struts! -AP_ http://www.alexparansky.com Java/J2EE Architect/Consultant http://www.myprofiles.com/member/view.do?profileId=127 -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 11:58 AM To: