[MessageResources] - in my Action: getResources(request) returns null

2002-10-03 Thread Alex Birch
Hi, I can't find the answer to this anywhere but apologies if I missed something obvious I have the default ApplicationResources.properties in my web.xml in my action class, I've tried: MessageResources messages = getResources(request); // returns null MessageResources messages =

Re: [MessageResources] - in my Action: getResources(request) returns null

2002-10-03 Thread Thomas Eichberger
What's the name of the properties file? Let's say ApplicationResources.properties This file has to be placed in the web-inf/classes directory. At 08:10 03.10.2002 +0100, Alex Birch wrote: Hi, I can't find the answer to this anywhere but apologies if I missed something obvious I have the

Re: [MessageResources] - in my Action: getResources(request) returns null

2002-10-03 Thread Alex Birch
it's in WEB-INF/classes called ApplicationResources.properties it works when I use bean:message key=prompt.login/ so I know it's loaded ok it also works when I call the deprecated getResources()... just when I add the request param or the request and key param I get null but getResources is

RE: [ANNOUNCE] Struts Console v2.2.1

2002-10-03 Thread Chuong Huynh Ngoc
Hi James, It's great. But using it with Netbeans 3.4, when I open a new config file, the window doesn't dock into the editor. Could you pls make it docked as default behavior? Thanks very much. -CH -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Re: [Tiles] Conditional menu items. Help !!!!

2002-10-03 Thread Cedric Dumoulin
Hello, There is several solutions to have different menu for different users or profile. You need to have some logic that select or build the menu according to the current user profile. Solution 1: * Create an action with one forward for each possible menu. The action checks

Re: How do you pass a variable controllerClass name to the classicLayout.jspin Tiles?

2002-10-03 Thread Cedric Dumoulin
It is because the controllerClass attribute is not specified as rtexpr in the tiles tld file. You can change the declaration to true and it should work. This is probably a bug ! Cedric Lou Morin wrote: I'm trying to pass the controller name from the tiles definition to the

Re: What mechanisms do Tiles use for layout

2002-10-03 Thread Cedric Dumoulin
In the tiles examples, there is several layouts: some use tables, other use div. As David says, Tiles doesn't care about your layout. You can reuse existing layouts, or define your own as you want. The layout is just a jsp page containing insert tag where you want to insert sub-tiles. You

[OT] Character Based User Interface

2002-10-03 Thread reigenheer
we have some customers who still prefer having a character based user interface (i.e. VT-emulation on unix systems). reasons: speed of data entry, used to etc. as we have to respect the customers reasons and don't want to start some philosophic discussion about (dis)advantages of GUI, HTML or VT

Newbie: problem with tiles definitions

2002-10-03 Thread S.Bharathi
Hi all, I just started working with tiles and struts. I have the following files xmls in the web-inf directory. I am working with the example given in the site http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html When I try to access the jsp files, there seems to

Re: Newbie: problem with tiles definitions

2002-10-03 Thread Cedric Dumoulin
Hello, Does your action exist ? Try to access the action directly from the browser, does it works ? Cedric S.Bharathi wrote: Hi all, I just started working with tiles and struts. I have the following files xmls in the web-inf directory. I am working with the example given in the

Setting the input from within the ActionForm in Struts 1.1 no longer allowed?

2002-10-03 Thread Karim Saloojee
Hi Using 1.0 I had a situation where I used to dynamically set the input from within my ActionForm. In 1.1 (b2) this is no longer possible, since the configuration of the object is frozen. An IllegalStateException is thrown and my app no longer works as required. What is the suggested way to

Re: Where do you convert (form) strings to other data types?

2002-10-03 Thread Ronald Rotteveel
Hi David, that's indeed another approach and it sounds like a very nice one. Would you share your code (tags and FormDate class) with this list? It would help me for sure! Thanks in advance. Regards, Ronald Rotteveel - Original Message - From: David Whitmarsh [EMAIL PROTECTED] To:

Re: Can't retrieve definition for form null

2002-10-03 Thread Stefan Arentz
On Wed, Oct 02, 2002 at 10:54:21PM -0400, Doug Dates wrote: I tried html:form action=test.do and html:form action=/test, I got same error. I guess I am trying to call the form with a null value. But I can't understand in which case, form can be null. Are you sure your form bean class is

Problem with JDBC Connector 2 driver

2002-10-03 Thread Billy Ng
My app still hangs once in a while. I am supsecting the problem comes from the JDBC driver becuase it only stalls on the pages that need database access. Would anybody please tell me if you have experieneced the same problem with using Linux, mysql, and Connector 2 driver. Thanks! Billy Ng

Populate form with ActionForm

2002-10-03 Thread Miguel Angel Medina Lopez
Hi all: I have an action that populate an ActionForm, when finish it forward to a page that have a html form. Now I want to populate the input fields with the value of the ActionForm. I have tried with different approaches but neither works. Somebody have a solution? Thank You in advance. MAML

threading question

2002-10-03 Thread Esbrook, Scott
Hello, Quick Struts/servlet threading question: If many classes extended the following 'AbstractAction' class (eg, 'ConcreteAction'), would use of the 'testString' member variable be threadsafe? public abstract class AbstractAction extends Action{ protected String testString; public

RE: Populate form with ActionForm

2002-10-03 Thread Miguel Angel Mulero Martinez
Put a action in the middle. The action puts the bean in the request of the second jsp. If the second jsp populates a form with this bean, you can pass the actionform to the request instead of the bean and struts will populate the form for you. The only requisite is that the action associated with

Re: threading question

2002-10-03 Thread Thomas Eichberger
Of course, if you have several objects of ConcreteAction, every object has its own testString. So if each object has only one thread attached to it, the access to testString is thread-safe. You could put a counter to see how many ConcreteAction objects there are: class ConcreteAction {

RE: How can I get a value from a Javascript for a formbean?

2002-10-03 Thread Galbreath, Mark
Use the attached JavaScript file for your codebase and call the appropriate function based on the user's action (onChange(), delete, submite, etc.). It's self-evident what values need to be passed. Mark -Original Message- From: Vernon Wu [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: [OT] Character Based User Interface

2002-10-03 Thread Galbreath, Mark
How can you connect a VT terminal to a website? Wouldn't you have to use Lynx? -Original Message- From: [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 6:35 AM we have some customers who still prefer having a character based user interface (i.e. VT-emulation on unix systems).

RE: Populate form with ActionForm

2002-10-03 Thread Miguel Angel Mulero Martinez
You must use a: req.setAttribute(formname,form) in the middle action. Formname is the name you give to the form in the struts-config.xml file, and form is the ActionForm you will use to populate the jsp. If this don't work, put here the struts-config.xml and the middle action. Regards. Miguel

RE: threading question

2002-10-03 Thread Galbreath, Mark
Yes. As a non-static instance variable, each thread would have it's own reference and be able to set and maintain it's value separately from any other thread. Mark -Original Message- From: Esbrook, Scott [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 7:45 AM Quick

RE: Where's the form-bean???

2002-10-03 Thread Lowe, Jeff
Hi Jason, Thanks for the reply. You've got it right in what I'm doing. However I think I could describe the problem more simply. The problem is that when validation fails and I'm forwarded back to the Action specified by the mapping's input attribute, the form that is passed in to

RE: Newbie: problem with tiles definitions

2002-10-03 Thread Galbreath, Mark
How do you access an Action class directly from a browser? -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 5:32 AM Does your action exist ? Try to access the action directly from the browser, does it works ? -- To unsubscribe,

RE: unable to unsubscribe.

2002-10-03 Thread Galbreath, Mark
This is the Hotel California list. You can check in, but can never leave. (And we've already sold your email address to WorldPorn Marketing.) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:30 AM 1 - Send the mail you sent 2 - Await a

RE: Populate form with ActionForm

2002-10-03 Thread nirdesh . mohan
You must set your form bean into request request.setattribute(Any Name, formBeanObject); and don't forget to define your formBeanObject in your struts-config.xml eg form-bean name=InsertUpdateResDepositForm type=CLASS NAME / action path=/InsertReserveDeposit

Re: [OT] Character Based User Interface

2002-10-03 Thread V. Cekvenich
This MVC (Struts) you can access your model (beans) via a console application, or JTable Swing (directly or via SOAP). The point of MVC is to reuse components, and have a disposable presentation layer. An easy solution would be JTable with beans. Else you have to write a console (system main

set ContentType to application/msword

2002-10-03 Thread Billy Ng
I am trying to let user to open the HTML with MS Word. I changed the content type to ContentType=application/msword in the jsp, but it still did not bring up the Word. Does Struts set the content type to text/html somewhere? Thanks! Billy Ng

RE: Wrapping the controller?

2002-10-03 Thread Smith, Johnathan M.
Your right. I would like to subclass it. Should I subclass the controller or provide a new RequestProcessor?? I am doing this just to add some logging lines into it -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 3:00 PM To: [EMAIL

RE: [Nested] Getting value from parent during iteration

2002-10-03 Thread Phase Web and Multimedia
This might be a suggested enhancement ala propertyValue=../foo for the nested:equal and all like comparative tags. Post it on the dev board. I could see where it would be useful for sure. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED]

SV: set ContentType to application/msword

2002-10-03 Thread Andreas Schyman
How are you setting it in the jsp? Using meta http-equiv=Content-Type...? Try using %@ page contentType=application/msword % instead. That works for me (with a different ContentType since I'm creating excel-data). -Ursprungligt meddelande- Från: Billy Ng [mailto:[EMAIL PROTECTED]]

Display Tag Library

2002-10-03 Thread Chen, Dean (Zhun)
Has anyone been successful in using the display tag lib? http://edhill.its.uiowa.edu/display-0.8/ It's a great tool, one piece that's not working is the export... The CSV export exports the entire HTML, and Excel export exports everything in one cell. Anyone had this problem before? Also, for

Re: Help with Struts + DB Access

2002-10-03 Thread Kevin . Bedell
Wendy - One approach I've used is: - Create (as it looks like you have) your form bean (that you refer to as the ActionForm extention) so you can set/get the properties using a collection. (eg, setDropdownValues(Collection values), etc.) - In your Action class, have

Basic Templating Recommendations?

2002-10-03 Thread Adam Sherman
I've tried asking this a few times, but I think I haven't been clear. I need a simple way to have requests converted into calls to Tiles definitions. So, requests like /pages/pageone.thtml, would get turned into a call to the tile pageone. /pages/main/pagetwo.thtml = main.pageone, etc. I

Re: [OT] Character Based User Interface

2002-10-03 Thread John Owen
I haven't coded anything for a specific terminal emulation, but I try to design my systems so that the view doesn't matter. I follow common J2EE design patterns and implement a business delegate that returns data that can be used by a character-based interface, a Swing GUI, a struts application

EL in Struts

2002-10-03 Thread Chen, Gin
Hi guys, I've been switching alot of my struts stuff to JSTL so that I can use the EL functionality. But I still want to use the Struts Framework. Any ideas if Struts will incorporate EL anytime soon? -Tim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: EL in Struts

2002-10-03 Thread Phase Web and Multimedia
It already has... check the contrib folder on the nigtly :-)) Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 8:24 AM To:

RE: Wrapping the controller?

2002-10-03 Thread Galbreath, Mark
I overrode RequestProcessor for logging. Mark -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 9:49 AM Your right. I would like to subclass it. Should I subclass the controller or provide a new RequestProcessor?? I am doing

RE: Basic Templating Recommendations?

2002-10-03 Thread Phase Web and Multimedia
I don't understand what you are asking. With struts you can specify the template you want to use by placing a tiles definition in the forward mappings. It will map you request url to a definition. Just make sure that everything is happening through struts controller and map you forward to tiles

RE: threading question

2002-10-03 Thread Galbreath, Mark
Absolutely right, Jerry! Ironically, I was just writing a non-Struts helper class to make a credit card validation method thread safe and I was not Thinking-in-Struts mode. The no-instance variables rule is one of the first things learned when starting out with Struts! The variable should be

RE: threading question

2002-10-03 Thread Galbreath, Mark
Sorry, Dave. Derry, not Jerry. (Man, I knew I shouldn't have drank that second bottle of cough syrup!) -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 9:48 AM To: Struts Users Mailing List Subject: Re: threading question Had your coffee

RE: set ContentType to application/msword

2002-10-03 Thread Galbreath, Mark
Haven't done this, but me thinks you will have to override setContentType() of ActionServlet. Mark -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 10:00 AM I am trying to let user to open the HTML with MS Word. I changed the content type

Re: Populate form with ActionForm

2002-10-03 Thread Miguel Angel Medina Lopez
Thanks, That was the problem, I had not set the bean with the method request.setattribute. I thought that the framework did it for me. Thanks Miguel Angel Molero too for his explication about. MAML - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: EL in Struts

2002-10-03 Thread Chen, Gin
ooh! thanks eddie and brandon and mostly david. :) this will make Struts so much more fun. -Tim -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 10:37 AM To: Struts Users Mailing List Subject: Re: EL in Struts It's been done. Grab a

RE: Wrapping the controller?

2002-10-03 Thread David Graham
Sounds like the best idea to me. The servlet delegates processing to its RequestProcessor so it makes sense to subclass the RequestProcessor instead of the servlet. I think it would be pretty easy to add the logging. Override a processor method put a logging statment in, call

html:file tag

2002-10-03 Thread Matt Sales
Hello, I'm having trouble with the html:file tag... Here's a snippet of my jsp: html:form method=POST action=/saveAction.do enctype=multipart/form-data html:file property=file/ ... /html:form I've also tried the html:file tag using the accepts attribute, accepts=java.io.File, and

RE: EL in Struts

2002-10-03 Thread Karr, David
-Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 7:24 AM To: 'Struts Users Mailing List' Subject: EL in Struts Hi guys, I've been switching alot of my struts stuff to JSTL so that I can use the EL functionality. But I still

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Karr, David
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 7:56 AM To: Struts Users List Subject: [OT] Mail list gone whack-o? I keep getting (several!) messages (one for each I send, I believe) that say my mail wasn't delivered - but it

[TILES] Frame's src attrib has html not a url

2002-10-03 Thread Sri Sankaran
Using Struts 1.0.2 and Tiles extension The page I am developing consists of frames. Upon display, all the frames display a 404 error. Looking at the source of the HTML, I find that the src attribute doesn't point to a URL but contains the contents of the file at that url. My frameset page:

Re: threading question

2002-10-03 Thread Dave Derry
U...that's Dave...but that's all right. Go get that second cup of coffee! ;-)) Dave Derry - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Absolutely right, Jerry! Ironically, I was just writing a non-Struts helper class to make a credit card validation

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Robert Taylor
I'm seeing the same behavior but I don't know what the problem is. robert -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 10:56 AM To: Struts Users List Subject: [OT] Mail list gone whack-o? I keep getting (several!) messages

DynaActionForm and hashmap property

2002-10-03 Thread Susan Bradeen
Hi All, My question is in regard to submitting a JSP form that contains form fields displayed by iterating over a hashmap. I have defined a DynaActionForm in my Struts-config file in which, besides numerous String properties, I have one hashmap. form-bean name=profileform

Re: Basic Templating Recommendations?

2002-10-03 Thread Adam Sherman
Phase Web and Multimedia wrote: I don't understand what you are asking. With struts you can specify the template you want to use by placing a tiles definition in the forward mappings. It will map you request url to a definition. Just make sure that everything is happening through struts

Re: [OT] Mail list gone whack-o?

2002-10-03 Thread James Mitchell
Yes, I've noticed it too. James Mitchell On Thu, 03 October 2002, Eddie Bush wrote: Message-Id: [EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED]

EL and the developer's roadmap

2002-10-03 Thread Vincent Stoessel
OK, I'll bite. What does EL stand for? From what I'm hearing, there seems to be a current trend of moving away from Struts taglibs if there is a JSTL tag that has the same functionality. I admit that makes me a bit nervous as a newbie. I'm still learning the struts tags! The Goodwill book has

Re: html:file tag

2002-10-03 Thread Thomas Eichberger
What I do: JSP file: html:form method=post action=/upload enctype=multipart/form-data table border=0 cellpadding=0 cellspacing=0 width=100% tr td colspan=5html:file property=theFile //td img src=picts/blind.gif width=30 height=1 border=0

Re: threading question

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Esbrook, Scott wrote: Date: Thu, 3 Oct 2002 07:45:21 -0400 From: Esbrook, Scott [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: threading question Hello, Quick Struts/servlet threading

Re: Populate form with ActionForm

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Miguel Angel Medina Lopez wrote: Date: Thu, 3 Oct 2002 13:53:09 +0200 From: Miguel Angel Medina Lopez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], Miguel Angel Medina Lopez [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: [OT] Mail list gone whack-o?

2002-10-03 Thread Eddie Bush
Yeah - you're exactly right, David. I hadn't thought of it that way. I think what made it seem odd to me is that it was from [EMAIL PROTECTED], which, I believe, is the server running the list - right? I don't know what made me think that now - but it's an impression I've had, I suppose.

Re: Wrapping the controller?

2002-10-03 Thread Eddie Bush
David Graham wrote: Sounds like the best idea to me. ... unless you're on a container supporting servlet spec 2.3 :-) In that case, use a filter ;-) and be independent of Struts and compliant with any server you choose to run on. The servlet delegates processing to its RequestProcessor so

Re: html:file tag

2002-10-03 Thread Joe Germuska
At 11:09 AM -0400 2002/10/03, Matt Sales wrote: Hello, I'm having trouble with the html:file tag... Here's a snippet of my jsp: html:form method=POST action=/saveAction.do enctype=multipart/form-data html:file property=file/ ... /html:form I've also tried the html:file tag using the

Re: unable to unsubscribe.

2002-10-03 Thread James Mitchell
LOL James Mitchell - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 9:12 AM Subject: RE: unable to unsubscribe. This is the Hotel California list. You can check in, but can never leave.

Re: html:file tag

2002-10-03 Thread Kevin . Bedell
There is an example application included in the Struts distribution showing how to upload files - or at least there was. It's probably still there, though I haven't looked recently. Best of luck - Kevin shamelessplug It's also covered in my book :-) with a sample application

RE: struts-config.xml question

2002-10-03 Thread Kevin HaleBoyes
Victor and Emmanuel, thanks for your answers. With them, and the later discussion on similar topics I think I understand. Part of my confusion comes from a bug I've not been able to repeat. At one point in time I changed the 'attribute' property to 'name' and my application stopped working. It

RE: EL and the developer's roadmap

2002-10-03 Thread Karr, David
-Original Message- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 8:31 AM To: Struts Users Subject: EL and the developer's roadmap OK, I'll bite. What does EL stand for? From what I'm hearing, there seems to be a current trend of moving

Using a default entry with LookupDispatchAction ???

2002-10-03 Thread Norman Klein
I am currently using LookupDispatchAction to handle all of the various submit buttons on my form. But when this particular webpage is first invoked, I would like to first pre-populate it with values. So I want to use the same Action (Form bean) to handle pre-populating the webpage and then

RE: EL and the developer's roadmap

2002-10-03 Thread Wendy Smoak
Sometimes I feel I am always running to to catch up in Struts. Mastered ActionForms? oops gotta learn DynaActionForms! Learned how to validate in the action class? , ha! better learn Dyna*Valid* stuff. Mastered struts-logic? no! learn JSTL! I feel the same way. :) I was trying to get a good

Re: EL and the developer's roadmap

2002-10-03 Thread Susan Bradeen
I'm with you Vincent! I am really enjoying getting into Struts, but wow, the new stuff comes up fast! I just got a copy of Goodwill's book last week, and am looking forward to other references coming out next month. I can't wait until I don't feel like such a newbie! A roadmap is a very handy

Re: EL and the developer's roadmap

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Vincent Stoessel wrote: Date: Thu, 03 Oct 2002 11:30:35 -0400 From: Vincent Stoessel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users [EMAIL PROTECTED] Subject: EL and the developer's roadmap OK, I'll bite. What does EL stand

Re: [TILES] Frame's src attrib has html not a url

2002-10-03 Thread Cedric Dumoulin
You should provide the attribute value as a String, not as its content to the frame: frame src='tiles:getAsString name=body/' name=body Also remember that you can only use valid url here, not tiles definitions. This is because the url is interpreted by the client browser, not on the

RE: threading question

2002-10-03 Thread Galbreath, Mark
Yeah, and now I'm W-I-R-E-D. :-0 -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:35 AM As others eventually drank enough coffee to figure out :-), -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Problem with Jrun

2002-10-03 Thread DjTweed
Hello, I'm running Jrun 3.1 (latest patch) on WinXP Pro with IIS. I have had this config for 2+ years and it works great. Lately I have been playing with Struts 1.1 beta. After intalling the struts example app, I get the following error when loading the index.jsp page. 500 Internal Server

RE: EL and the developer's roadmap

2002-10-03 Thread Galbreath, Mark
First time I've heard of EL too. Where can I get more info? -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:06 PM To: 'Struts Users Mailing List' Subject: RE: EL and the developer's roadmap -Original Message- From: Vincent

DynaFormAction problem

2002-10-03 Thread Germán Leonardo Largo Urrea
Hi everybody, I have this action !-- Editar institucion -- actionpath=/editarInstitucion type=co.com.proveedores.EditarInstitucionAction attribute=institucionForm scope=request validate=false forward name=success

Should I use a persistence layer?

2002-10-03 Thread Chen, Dean (Zhun)
Hi, For an web application, is there a way for a user to paginate through (similar to google) a lot of data across multiple browser windows. The usual way of paginating with session scope works fine. However, if a user has 2 windows open on the same application. When he/she queries on one, then

RE: [TILES] Frame's src attrib has html not a url

2002-10-03 Thread Sri Sankaran
Thanks that did it. While I understand what you are saying about needing a valid URL, wouldn't that always be the case. For example, in my case, when the 'Disclaimer' page is invoked, the tileDefinitions shows that it extends the BasicWizardPage which extends qsWizard. The value of 'body'

Re: Problem with Jrun

2002-10-03 Thread Ashish Kulkarni
Hi some times jrun does not pick jar files from web-inf/lib just try to set the class path in jrun and test, i had some different problem with jsp not getting compiled.. Ashish --- DjTweed [EMAIL PROTECTED] wrote: Hello, I'm running Jrun 3.1 (latest patch) on WinXP Pro with IIS. I have had

RE: EL and the developer's roadmap

2002-10-03 Thread Karr, David
-Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 9:55 AM To: 'Struts Users Mailing List' Subject: RE: EL and the developer's roadmap First time I've heard of EL too. Where can I get more info? You can first read the JSTL

RE: Wrapping the controller?

2002-10-03 Thread Smith, Johnathan M.
I does see where in the ActionServlet it calls the RequestProcessor -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: RE: Wrapping the controller? Sounds like the best idea to me. The servlet

RE: EL and the developer's roadmap

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Galbreath, Mark wrote: Date: Thu, 3 Oct 2002 12:54:54 -0400 From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: EL and the developer's roadmap First time I've

Multiple selected for html:select

2002-10-03 Thread Madel,Kurt
I have two collections, 1 is of managers that need to be preselected and the other is managers that can be selected from. Here is my jsp code: html:select property=managers[0].id size=4 multiple=true html:options collection=managerList property=person_id labelProperty=person.name /

RE: Multiple selected for html:select

2002-10-03 Thread Sri Sankaran
The property attribute of the html:select must allow for capturing multiple items. It should be a collection. Take a peek at html-select.jsp that is part of the struts-exercise-taglib application that ships with Struts. html:select property=foo size=4 multiple=true html:options

RE: Where's the form-bean???

2002-10-03 Thread Brian Holzer
Hi Jeff, Is that because your Action is populating the form before forwarding to the page? And if not, what exactly is your Action doing? Brian Lowe, Jeff [EMAIL PROTECTED] 10/03/02 07:22am Hi Jason, Thanks for the reply. You've got it right in what I'm doing. However I think I

Making the checkbox selected by default.

2002-10-03 Thread Sanjeev
Hi All, How do I make a checkbox selected by default ? I'm using struts' checkbox tag in my application. I couldn't find any fields in the corresponding tag. Please help.. Thankx in advance.. -Sanjeev -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: Making the checkbox selected by default.

2002-10-03 Thread Brandon Goodin
You can use multicheckbox to accomplish that. Check the docs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjeev Sent: Thursday, October 03, 2002 12:44 PM To: Struts Users Mailing List Subject: Making the checkbox selected by default. Hi All,

RE: Making the checkbox selected by default.

2002-10-03 Thread Sri Sankaran
It'll appear checked if the value of the property attribute (from your form-bean) matches the value of the value attribute. html:checkbox property=color value=red/ This checkbox will appear selected if getColor() returns red. Sri -Original Message- From: Sanjeev [mailto:[EMAIL

Re: EL and the developer's roadmap

2002-10-03 Thread Eddie Bush
Have you been filtering my posts again, Mark?! Galbreath, Mark wrote: First time I've heard of EL too. Where can I get more info? -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Should I use a persistence layer?

2002-10-03 Thread Joe Barefoot
Yes. The standard approach is to only keep in memory results that are currently on the page. Have a persistence layer (either EJB or O/R mapping tool, or a combination of the two) page the results for you. i.e., you give it search criteria, sort criteria, a begin index, and an end index, and

Re: Should I use a persistence layer?

2002-10-03 Thread David Graham
If they have 2 windows open they're likely to be in 2 different sessions. Besides, how often do you think your users will do this? I don't know of any persistence layer that solves this problem. Dave From: Chen, Dean (Zhun) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

RE: Multiple selected for html:select

2002-10-03 Thread Madel,Kurt
I solved this, not sure if it is good practice, but this might be useful to others. Below you will see that I am working with the managers Vector that contains Person objects. I changed the select part to: html:select property=managers size=4 multiple=true And, added the following to my

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Taylor, Jason
+1 are we being bugged? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 8:30 AM To: [EMAIL PROTECTED] Subject: Re: [OT] Mail list gone whack-o? Yes, I've noticed it too. James Mitchell On Thu, 03 October 2002, Eddie Bush wrote:

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Cliff Rowley
Hrm, not the first time its happened in the past couple of months or so.. -Original Message- From: Taylor, Jason [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 19:54 To: 'Struts Users Mailing List' Subject: RE: [OT] Mail list gone whack-o? +1 are we being bugged? -Original

RE: EL and the developer's roadmap

2002-10-03 Thread Chen, Gin
Hi Mark, You might want to check out Shawn Bayern's new book: JSTL in action, Manning ISBN: 1-930110-52-9 It's kind of geared towards beginners (which I know your not) but the information in it is great even for people who have worked with taglibs for a while now. Check

RE: Wrapping the controller?

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Smith, Johnathan M. wrote: Date: Thu, 3 Oct 2002 13:32:10 -0400 From: Smith, Johnathan M. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Wrapping the controller? I does see where in the ActionServlet it

Re: Tiles and Internationaliation

2002-10-03 Thread Vincent PROSPER
Hi, I am quite new to tiles stuff (only 1 and an half day experience, switching from Struts templates...) For the moment, I am just trying to insert internationalized messages in tiles and the only way I found to do this is: tiles:insert definition=portal.mainMenu

RE: Should I use a persistence layer?

2002-10-03 Thread Chen, Dean (Zhun)
Thanks for this, what good persistence layers are there? Is there something that works with struts and is simple? Dean Chen -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 2:41 PM To: Struts Users Mailing List Subject: RE: Should I

DynaFormAction problem

2002-10-03 Thread Germán Leonardo Largo Urrea
Hi everybody, I have this action !-- Editar institucion -- actionpath=/editarInstitucion type=co.com.proveedores.EditarInstitucionAction attribute=institucionForm scope=request validate=false forward name=success

RE: Wrapping the controller?

2002-10-03 Thread Galbreath, Mark
Look in your web.xml file. Mark -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 1:32 PM To: [EMAIL PROTECTED] Subject: RE: Wrapping the controller? I does see where in the ActionServlet it calls the RequestProcessor

RE: [OT] Should I use a persistence layer?

2002-10-03 Thread Kevin A. Smith
I've been playing around with Hibernate (http://hibernate.sourceforge.net) on personal project and it seems to be pretty easy to work with and has good performance. --Kevin -Original Message- From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 3:25 PM

RE: Should I use a persistence layer?

2002-10-03 Thread Joe Barefoot
If they have 2 windows open they're likely to be in 2 different sessions. Not 'likely', only possibly. Most users are familiar with the new window concept, which in most browsers (IE for sure) retains the current session. A user will quickly realize it is faster to do a new window than

  1   2   >