Displaying properties in a nested iterator

2004-02-04 Thread Michael Wiles
How do nest iterators? An exert from my jsp... logic:iterate property=orders name=allocationOrder id=element .. .. do stuff with element .. .. logic:iterate property=orderDetails name=element id=subElement .. .. do with with subElement ..

Re: Displaying properties in a nested iterator

2004-02-04 Thread Michael Wiles
the class for the contents of the nested form was not public! On Wed, 2004-02-04 at 12:35, Michael Wiles wrote: How do nest iterators? An exert from my jsp... logic:iterate property=orders name=allocationOrder id=element .. .. do stuff with element

generic component

2004-02-04 Thread Michael Wiles
and be able to invoke it from anywhere. It needs its own action class/jsp framework. Any ideas? -- Michael Wiles [EMAIL PROTECTED] Pick 'n Pay IS - 1665 Read our disclaimer at: http://www.picknpay.co.za/email-disclaimer.htm If you don't have web access, the disclaimer can be mailed to you on request

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
I did not mean that J. I meant let's see the code. Stop being so private. LOL. Give it up! At 02:19 AM 2/4/2004, you wrote: Sorry Michael. I do that in a jsp page. logic:iterate id=adminReceipts name=paymntTrnsctns div id=ExtractResults style=width: 760px; background-color

Re: Action without ActionForm

2004-02-04 Thread Michael McGrady
My two cents worth is that I am with Max on this one. I have discovered that when I use patterned solutions I get benefits I did not think of at the time. This is particularly true of the HTTP version of the MVC framework. At 09:35 PM 2/4/2004, you wrote: My perspective is that there is still

RE: Basic Tiles question!

2004-02-04 Thread Michael McGrady
And, more Hmm..., it looks like whatever is assumed to have a value other than null at line 528 of InsertTag.java, so that you can look at the source code to see what that might be. My guess is that there is some name object that is being passed into that processName method that is null. At

Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Michael McGrady
I think you really want something other than an ActionForm if you want to do this. Why anyone would use an ActionForm to do this makes no sense to me. If you want the request object, then it is in the Action. That is where it should be. At 06:59 PM 2/2/2004, Martin Cooper wrote: I can't

Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Michael McGrady
? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts and Pajes

2004-02-03 Thread Michael McGrady
Struts is not the presentation tools so you are fine. You can use any presentation, or even none. I do a lot of tunneling things with struts, including serving images with Action classes. Your question is not clear to me? You seem to be conflating mapping (control) and view (presentation)

[OT] Ted Husted

2004-02-03 Thread Michael McGrady
Hi, Ted, 'Hope this is appropriate. I have not received the copy of JUnit you were sending me on the drawing. Don't want to appear ungrateful, but it has been a while. Thanks. Michael McGrady - To unsubscribe, e-mail

Re: img tag with action as src

2004-02-03 Thread Michael McGrady
At 10:13 AM 2/3/2004, Greg Blomquist wrote: I apologize in advance if this question has already been answered somewhere. Looks like basebeans is down so I can't search the struts-user archives. I'm trying to do the following: img src=/some/dir/myAction.do The only problem is that it doesn't like

Re: img tag with action as src

2004-02-03 Thread Michael McGrady
I think I posted the code that works for my application that does this. Are you returning null with your action? At 03:47 PM 2/3/2004, you wrote: Were are attempting to do the same thing. (Have an action return an image) everything works great but we have the following error in the server

Re: folder structure

2004-02-02 Thread Michael McGrady
At 08:32 AM 2/2/2004, Namasivayam, Sudhakar (Cognizant) wrote: Hi all, i just wanted to know whethe i can store images outside the webapp and access them in my jsp. You can store them on another machine, if you like. The images are downloaded separate from the text for the page.

Re: What does do stand for in .do files

2004-02-01 Thread Michael McGrady
Yup. As several people have said, myself included, the do is purely conventional and has no import at all. If you look at my post, I said I use my name instead of do. You merely have to do something to allow the framework to know that you want it to forward the request to a servlet which

Re: What does do stand for in .do files

2004-02-01 Thread Michael McGrady
Otavio, this is not a struts thing. This is a servlets thing. Struts uses it to forward a request from the server to the ActionServlet, but that has NOTHING to do with Struts. This is purely an issue having to do with servlets and you should read something on servlets. Any book on servlets

Re: Capturing Previous Action Request

2004-02-01 Thread Michael McGrady
At 01:57 PM 2/1/2004, you wrote: I am working on a work-flow web app and need to provide the user with the ability to navigate back to their previous page by the use of a back button within the web app not the browser's back button. How can I capture the action mapping that was processed

Re: Capturing Previous Action Request

2004-02-01 Thread Michael McGrady
Sorry, David, I did not clean up that code. Here is a cleaner version to think on: public interface Command {} public interface Do extends Command {} public final class Redo implements Command {} public final class Undo implements Command {} public class UndoableList { private int

Re: request attributes and failed validation

2004-01-31 Thread Michael McGrady
One way is to put them temporarily in the session. But, why not just do it again? Is it too slow? At 11:28 PM 1/30/2004, you wrote: In my Action I am populating an ActionForm with data from a database. I am also setting some additional request attributes with Lists of beans. The purpose of

Re: request attributes and failed validation

2004-01-31 Thread Michael McGrady
more controller designed activity. Does this make sense to you when put this way? Michael McGrady At 12:01 AM 1/31/2004, you wrote: It's not slow, the lists are created from data from a database. I am assuming when you say 'do it again' you mean add these Lists to the request. Where

Re: request attributes and failed validation

2004-01-31 Thread Michael McGrady
Egg-zackly, Hubert. Nice work! Also, in an action we can go anywhere programmatically that we want, so there is no restriction by the input attribute, only a possibility. Wherever the cursor is in the course of the request's way to a response, we can go wherever we like and have whatever we

Re: Response not XHTML-comliant when using html:html xhtml='true'

2004-01-31 Thread Michael McGrady
I have run into similar difficulties with Tiles and have just made do. I welcome all insights in this area. Glad this issue is getting air. At 07:59 AM 1/31/2004, you wrote: Thanks for the anwers so far. But it is not working for me, because I still have this extra html tags included. I

Re: What does do stand for in .do files

2004-01-30 Thread Michael McGrady
The do stands for nothing. Since it is used to get the server to forward the request to an action in Struts, they used do. In my site, wanting to use the advertising space, I use .MichaelMcGrady. This all reminds me of that old wonderful saw: That's not a symbol, it stands for something.

DYSLOGIC: bytes != hold.getBytes(), where hold = new String(bytes)? Why?

2004-01-28 Thread Michael McGrady
be true. I never would have guessed. Aren't Strings capable of handling anything in a byte array? Why wouldn't they cough it back up? I am amazed. Perplexed. Stressed. Any help would be appreciated. Michael McGrad

Re: DYSLOGIC: bytes != hold.getBytes(), where hold = new String(bytes)? Why?

2004-01-28 Thread Michael McGrady
passing of encrypted byte arrays as Strings in Struts and found out that this can be true. I never would have guessed. Aren't Strings capable of handling anything in a byte array? Why wouldn't they cough it back up? I am amazed. Perplexed. Stressed. Any help would be appreciated. Michael

Re: WebGroups css

2004-01-27 Thread Michael McGrady
I upload all resources (CSS, GIFs, JPEGs, SWFs, etc.) with an action class to avoid all these maddening URL problems caused by the differing perspectives of the client and server. If you get away from the URL solution, and use the .do solution, then URLs are no longer an issue. If you look

Re: Help URL Rewriting

2004-01-26 Thread Michael E. Allen
Christian Bollmeyer wrote: Am Freitag, 23. Januar 2004 19:59 schrieb Michael E. Allen: Where would I put that? Already tried putting it in the %@ page [..] % on top of your JSP pages? :-) As Struts tends to create a session implicitly, such as for storing the default locale settings etc, doing

Re: [OT] accepting payment in real-time

2004-01-25 Thread Michael McGrady
PayPal allows you to handle most of the payment transaction on your own site, Andy. Take a closer look at the documentation. At 05:18 AM 1/24/2004, Adam Hardy wrote: Sorry it's a bit OT but I know of no other forum where I might find java developers doing e-commerce. googling brings up only

Re: Help URL Rewriting

2004-01-23 Thread Michael E. Allen
- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael E. Allen Sent: Thursday, January 22, 2004 10:37 PM To: [EMAIL PROTECTED] Subject: Re: Help URL Rewriting Ted Husted wrote: The container can't be sure that any given client supports cookies, so it will always use URL rewriting

Dynamic insertion of JSP

2004-01-22 Thread Michael Wever
How would/should I dynamic insert a JSP? We have a model where the main tile of the webpage comes from documents in our database. These documents often have layouts referencing to further sub-documents, and all infact undergo xslt. My problem arises when I want some of these sub-documents to be

Re: Help URL Rewriting

2004-01-22 Thread Michael E. Allen
=090280243 at the end is messing up starting java web start. I can tell me users to hit refresh once and it will go away... but there should be a better way! Thanks, Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: reference non-String/complex JavaBean attributes via struts-bean tag library?

2004-01-18 Thread Michael McGrady
I would be interested in this example. Thanks. Please send it to [EMAIL PROTECTED] instead of [EMAIL PROTECTED] Thanks again. At 08:52 PM 1/17/2004, David Liles wrote: Mike, If I understand you correctly, you have a bean that contains an arraylist which also contains an arraylist? If

RE: html:radio

2004-01-15 Thread Schabus Michael
Hi Frank! Maybe your TLD is malformed. Check out the TLD-File (struts-html.tld (default)) what it is saying. We use for example this code-line in one of our JSP pages and it is working: html:radio property=user.role value=%= HtmlConstants.OP_INTERN % disabled=true/ Maybe have a look into your

RE: accessing an image outside my webapp

2004-01-15 Thread Michael McGrady
You can do this so long as the parameter expects an output stream of some sort. How that stream gets there is of no consequence, so long as whatever you use as the src etc. is sufficient to tell the server what to send back. You can give a standard server URL and trust in the server to

Re: accessing an image outside my webapp

2004-01-15 Thread Michael McGrady
This is not quite right. The only thing you have to do is to give the server whatever it needs to retrieve the data. This can be a relative or absolute url or a protocol you develop on your own. The idea is that you have to tell the server what to do. That will depend on your set up. My

Re: accessing an image outside my webapp

2004-01-15 Thread Michael McGrady
The issue, again, is not about absolute versus relative addressing. The issue is whether you are giving the server the information it needs to return the resource. That can be accomplished in innumerable ways. At 07:45 AM 1/15/2004, Alain Van Vyve wrote: I think It is an intersting debate

RE: accessing an image outside my webapp

2004-01-15 Thread Michael McGrady
The truth is that relative and absolute are not that helpful. The thing to understand is that there are protocols or ways of telling the computer what to do. http://www.amazon.com/CHUCKLES.do?forty=twenty involves lots of protocols, for example. What they are depends upon the setup on the

Re: accessing an image outside my webapp

2004-01-15 Thread Michael McGrady
Actually, this does not require that the page be JSP. This solution works with HTML just as well. So long as you have some mechanism for notifying the server that the request should go to a controller, then HTML and JSP work the same. The controller, not the page handles the Java, so the

Re: accessing an image outside my webapp

2004-01-15 Thread Michael McGrady
the directory name in a properties file not a huge leap to make (at least i thought not). Any links explaining all this facade business? On 15 Jan 2004, at 17:02, Michael McGrady wrote: This is not quite right. The only thing you have to do is to give the server whatever it needs to retrieve

Re: action-path question

2004-01-15 Thread Michael McGrady
input is really more where it goes back to rather than where it came from. You can make it go back to wherever you like by the appropriate use of forward classes. At 02:32 PM 1/15/2004, you wrote: you could have a /user/add and a /user/update. If you're reusing the same form then have the

RE: Images as links in struts

2004-01-14 Thread Michael McGrady
Just do the normal thing? Put an image tag in the body of a link tag. http://jakarta.apache.org/struts/userGuide/struts-html.html#link The content displayed for this hyperlink will be taken from the body of this tag. - To

RE: Using ArrayList instead of String[] properties

2004-01-13 Thread Michael McGrady
Hi, Wendy, Just do this or whatever is similar that you like. This is what I do. public class ArrayListWrapper extends ArrayList { private ArrayListWrapper(Object [] param) { for(int i = 0; i param.length; i++) { this.add(param[i]); } } public static ArrayList

Is a controller based access to Applets possible in Struts?

2004-01-12 Thread Michael McGrady
Is there anyway I can use the controller in struts to access applets rather than the codebase and documentbase parameters in applets? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Using ArrayList instead of String[] properties

2004-01-09 Thread Michael McGrady
that right. Regards, Michael McGrady At 01:46 PM 1/9/2004, you wrote: I have a String[] property in a DynaValidatorForm. It works fine with multiple checkboxes and accepts multiple selections. Now I need to do an advanced user interface, where the user can enter the information in text boxes

Action Class to Load Resources: Applets

2004-01-08 Thread Michael McGrady
{ new WriteResponseImpl().write(new InitResponseImpl().init(request.getParameter(MimeConstant.RESOURCE), response), response); return null; } } /// ;-) Michael McGrady HomeSites I also use this in OBJECT tags for Flash, as follows: param name = movie value

bean:write not writing?

2003-12-27 Thread Michael Marrotte
Here's the bean: public class Cart extends HashMap { private double subTotal = 400.00; public double getSubTotal(){return subTotal;} } Here's the Java: session.setAttribute(cart, new Cart()); Here's the JSP bean:write name=cart property=subTotal/ // no output? %=

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
Here's the bean: public class Cart extends HashMap { private double subTotal = 400.00; public double getSubTotal(){return subTotal;} } Here's the Java: session.setAttribute(cart, new Cart()); Here's the JSP bean:write name=cart property=subTotal/ // no output? %=

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
] Subject: RE: bean:write not writing? Michael; Did you forget to specify the taglib directive for bean:write tag library in your JSP? In such case, have following in your JSP. %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % Hope this helps. Sharad From: Michael Marrotte [EMAIL PROTECTED

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
, Michael Marrotte wrote: %@ taglib uri=/tags/struts-bean prefix=bean % is at the top of the JSP file and other bean:write tags are working in the same page... -Original Message- From: Sharad Acharya [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 9:48 AM To: [EMAIL

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
-Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 3:52 PM To: Struts Users Mailing List Subject: Re: bean:write not writing? Aren't tags usually in /WEB-INF? On 27 Dec 2003, at 14:57, Michael Marrotte wrote: %@ taglib uri=/tags/struts-bean

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
value=${cart.subTotal} / c:out value=${session.cart.subTotal} / JSTL give better debug info even if it doesn't look as clean as the tag libs. And there's also jsp:getProperty name=cart property=subTotal / On 27 Dec 2003, at 15:04, Michael Marrotte wrote: Yes. And mine are. But, a logic

RE: bean:write not writing?

2003-12-27 Thread Michael Marrotte
it is) and then call Map.get to retrieve the property value. Since you've defined subTotal as a standard JavaBean property, bean:write (or really PropertyUtils) won't be able to find it. Michael Marrotte wrote: Here's the bean: public class Cart extends HashMap { private double subTotal = 400.00

missing bean:message weblogic8.1 Workshop

2003-12-17 Thread Michael Bay
I have deployed successfully the struts-example on Tomcat Weblogic8.1 (war file in .../user_projects/domains/mydomain/applications). Its trying to get it via Weblogic8.1 WORKSHOP... The problem: javax.servlet.jsp.JspException: Missing message for key index.title (in the

Fwd: missing bean:message weblogic8.1 Workshop

2003-12-17 Thread Michael Bay
my bad.. i meant myprojectWeb instead of testerWeb, for the directories. Thanks ahead for the help. ---BeginMessage--- I have deployed successfully the struts-example on Tomcat Weblogic8.1 (war file in .../user_projects/domains/mydomain/applications). Its trying to get it via Weblogic8.1

Checkbox deselect problem

2003-12-15 Thread Frers Michael
Hello i have a problem with the checkbox tag i have a ActionForm Bean containg one value test private class testBean extends ActionForm{ private String test; //+ Getter and Setter } no i inserted in my jsp page: html-el:checkbox property=test /html-el:checkbox now if i select the field the

iterate and checkbox (getting frustated)

2003-12-12 Thread Frers Michael
-el:iterate can anyone help me please? Thx for any help Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

iterate over string array and html:text tag

2003-12-10 Thread Frers Michael
differernt version all with no success Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: MessageResources in ActionForm

2003-11-25 Thread Frers Michael
Globals are in the struts.jar org.apache.struts.Globals Have a nice day Michael - Original Message - From: Honza Spurn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 11:07 AM Subject: Re: MessageResources

[Q.] how to port appl with frames to Struts? any good ways to do it?

2003-11-25 Thread Michael Korolyov
to port it to Struts? Thanks. Best Regards. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Declarative Security and Struts

2003-11-17 Thread Michael Blair
Can this be done? I have been able to get a MemoryRealm in Tomcat to work using BASIC authentication. If I try to do this with FORM based authentication it seems to think the ACTION=j_security_check in my login.jsp seems to make struts think this is an action that should be in the struts-config.

Once you forward to another Action can you return to back to the forwarding action...

2003-11-13 Thread Michael Pompa
or if this will work. I would like to thank anyone who helps in advance... Thanks Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How do un-load (destroy) a servlet after startup?

2003-11-07 Thread Michael Cardon
Hello, I have a couple of servlets that I start with my struts application that read some xml files and initialize my program for use. After the initialization is done, I no longer need the servlets and would like to un-load (destroy) them. Does anyone know how to do this? Thanks.

html:submit and 2 buttons

2003-11-06 Thread Frers Michael
Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do new the other update how can i make my action class know which button was hit? additionally i want that the buttons get there labels from a property file that works as shown below

Best Practices in Struts for Form objects?

2003-11-06 Thread Michael Cardon
Hello, If I have 5 Action classes that all need to reference the same Form object, should I map each Action to the same form name, or use different names for each of the Forms in the Actions? Does it make a difference if I’m using session scope vs. request scope? Example using the same form

Re: Best Practices in Struts for Form objects?

2003-11-06 Thread Frers Michael
it (except you explicite destroy it) Michael - Original Message - From: Michael Cardon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 06, 2003 4:35 PM Subject: Best Practices in Struts for Form objects? Hello, If I have 5 Action classes that all need to reference the same

Re: Doing an action and get back to executing page?

2003-10-31 Thread Frers Michael
hello thx for reply as far as i understood you mean i should create for each jsp an extra action mapping entry in the struts config and then doing a mapping.getInputForward() in the action class only problem is that i have about 100+ jsp sites which can call this specifc Action Michael

Re: tiles question

2003-10-30 Thread Frers Michael
Hi well this is ok tiles is used to manage many jsp sides with all nearly the same layouts over one configuration file this means you have to maintain (if you use full tiles power) minimum 3 files: the layout jsp (setting positions of header, body, footer, and so on) the content files (foreach

Re: Manually populating a dynaActionForm

2003-10-30 Thread Frers Michael
Hello have a look at http://www.reumann.net/do/struts/lesson3/step5 there the DynaActionForm is populated over an ActionClass with the Values needed in the select boxes Hope this is what you have meant Good luck Michael - Original Message - From: Looser [EMAIL PROTECTED] To: [EMAIL

Locale - how to set?

2003-10-30 Thread Frers Michael
and then the application is displayed in english? Thanks for any help Michael

Doing an action and get back to executing page?

2003-10-30 Thread Frers Michael
be adding a hidden field telling the action who was the caller (with probably much handling of beans from request etc) any other (better) ideas? thx in advance Michael

Re: a query regarding message-resources

2003-10-29 Thread Frers Michael
Hello on my first look: shouldnt u use message-resources property=languages / i think there is a missing s - Original Message - From: Mahin Jeyachandran [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:57 AM Subject: a query

Calling execute() with errors in ActionForm.validate()

2003-10-29 Thread Michael Koss
returns with errors? Thanks for your help, Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LookupDispatchAction

2003-10-29 Thread Michael Blair
Has anyone ever gotten a LookupDispatchAction to work with more than one locale? I am simply trying to do a small in english and spanish, all is well until I hit a lookupdispatchaction. It then uses the translated text as the method name instead of the map lookup name. Mike

dynaactionform values to a bean

2003-10-28 Thread Frers Michael
of the HashMap from the DynaActionForm to an existing Bean? Or do i have to create my own copyproperties method? Thanks for any help Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DynaValidatorForm and copyProperties

2003-10-27 Thread Frers Michael
Hello anyone have an idea how to easy copy values from a dynavalidatorform to an existing bean? i have a dynavalidatorform like: form-bean name=SearchForm type=org.apache.struts.validator.DynaValidatorForm form-property name=searchString type=java.lang.String/ /form-bean and a Bean looking

[Q] Free charting?

2003-10-27 Thread Michael Korolyov
Hello, Would anyone point me to a free chart lib? pls. tag support isn't must, but nice to have. thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LookupDispatchAction and I18N

2003-10-27 Thread Michael Blair
Greetins all, As a newbie in struts, I am sure this is something simple. I have some LookupDispatchActions setup and working fine. Now, I want to internationalize this app. I created a second resource file ending in es_MX. Ok, now what happens is when it does the lookup to find the method in my

Struts and Tiles

2003-10-23 Thread Frers Michael
Hello again a small question about tiles i have a layout with header,body and footer and a another with left and right now i want that in body of the first is again another tile to get the second layout into it like: definition name=result-layout-top path=/MasterLayout.jsp put name=title

Re: Struts and Tiles

2003-10-23 Thread Frers Michael
knows that getothertiles is a tiles definition any idea? - Original Message - From: Frers Michael [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 3:12 PM Subject: Struts and Tiles Hello again a small question about tiles i have

Re: Struts and Tiles

2003-10-23 Thread Frers Michael
or in other words how can i make that i can use frame src=tiles:getAsString name='body'/ name=body while 'body' is replaced with a tiles defnition - Original Message - From: Frers Michael [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 23

base URI in WEB-INF/web.xml

2003-10-23 Thread Michael Gleeson
I know this question has been asked a few times and I havn't seen a solution that has been made public. if anyone can help here I think it would be appreciated, thank you. When moving to the latest struts.jar release, there is a Digester parsing exception that is introduced when the base URI

RE: base URI in WEB-INF/web.xml

2003-10-23 Thread Michael Gleeson
PROTECTED] Sent: Thursday, October 23, 2003 11:02 AM To: Struts Users Mailing List Subject: Re: base URI in WEB-INF/web.xml Michael Gleeson wrote: I know this question has been asked a few times and I havn't seen a solution that has been made public. if anyone can help here I think it would

Tiles and Frames

2003-10-22 Thread Frers Michael
/frameset so how can i use now the tiles:insert attribute=left/ instead of left? all still clear? (*i hope so*) Michael

multiple struts-config.xml - multiple modules?

2003-10-21 Thread Michael Blair
I have a question regarding overall architecture. I am going to have a huge web app; well it will be a suite of web based tools. Lets say I will have one main menu, and from there possibly 5 separate modules (separate content areas). First, how hard is it to have a struts-config for each module (I

RE: HTML:SELECT giving headaches

2003-10-17 Thread Michael D. Norman
it is the clearest as to what you are doing, plus you can create the empty spaces more easily. -- Michael D. Norman ProbuSoft -- Custom Software Development http://www.probusoft.com/ 913-390-6951 [EMAIL PROTECTED] -Original Message- From: Sethi, Mandeep [mailto:[EMAIL

RE: HTML encoding of text returned from a bean

2003-10-17 Thread Michael D. Norman
. However, I'm not sure exactly what you're trying to accomplish by returning JSP from a method so this may not be helpful at all. -- Michael D. Norman ProbuSoft -- Custom Software Development http://www.probusoft.com/ 913-390-6951 [EMAIL PROTECTED] -Original Message- From: Chadha

Indexed Properties examples?

2003-10-14 Thread Michael Blair
I am still trying to get this to work. I simply want to display records in table format in a browser and be able to change the data, do a submit and have access to the changes back in the action. Currently I am getting : HTTP ERROR: 500 No getter method for property AwardIndexed[0].safAwardCode of

RE: HashMap with options

2003-10-13 Thread Michael D. Norman
Could you elaborate what happens when I specify the name along with the property attribute? The name attribute tells the bean:define/ tag what key to use in the page/request/session/application scope. Without it, you're trying to get a property from nothing. Does struts iterate through each

Processing a 'POST' from the JSP Page for an ArrayList?

2003-10-10 Thread Michael Blair
I'm new to struts and so far love it, but this piece is killing me. I have a jsp, form bean, view, action. I am ok with loading an arraylist and embedding it into the jsp page using the iterate. Now, I want to make changes to the table in the browser which is represented as an iterator, and then I

Re: HashMap with options

2003-10-10 Thread Michael D. Norman
, with the attributes you have defined above for html:options.../. However, your bean:define.../ needs a name attribute if you're going to use the property attribute. -- Michael D. Norman ProbuSoft - Custom Software Development http://www.probusoft.com/ 913-390-6951 [EMAIL PROTECTED

Unexpected Server Round-trip

2003-10-09 Thread Michael C. Clark
the workflow works as expected. A trip through the RequestProcess source has not helped me understand why theBack button causes a trip back to the server. I'm not setting Expire headers, so itseems that all data should be cached in the browser. Insight appreciated. Thanks, Michael C. Clark

Re: action class for more than one mapping

2003-10-08 Thread Michael D. Norman
as described above?) Also, check out your app server or web server logs and find out what resource is actually giving the 300 server error. It would help to know what application server you're running, as well as the version of Struts. -- Michael D. Norman ProbuSoft - Custom Software Development

Re: how to keep developing time as short a possible?

2003-10-07 Thread Michael Nascimento Santos
Depeneding on your application server, you can deploy your application in expanded mode, i.e., without any need to pack it into an ear. So, you are able to change the file and test it immediately. []s Michael Nascimento Santos JSR-207 Expert Group Member http://today.java.net/pub/au/80 Sun

RE: can not get bean property, help!!

2003-10-03 Thread Michael Ruppin
The actionformbean has not been specified anywhere in this code snippet. Try adding nested:nest property=foo before the nested:write where foo is the instance of the actionformbean you have instantiated. m --- Karr, David [EMAIL PROTECTED] wrote: That's a different error. You always have

Re: Handling Exceptions in ActionForm

2003-10-03 Thread Michael Ruppin
At your own risk, manipulate the ActionErrors and ActionMessages collections any way you like. They're in the request scope and named according to Globals.ERROR_KEY and Globals.MESSAGE_KEY. m --- Shane Mingins [EMAIL PROTECTED] wrote: Hi I have a Swing app where the SwingView implements

Re: Taking only the first value in a list?

2003-10-03 Thread Michael Ruppin
Try bean:write name=bean property=list[0]/ m --- Smith, Johnathan M. [EMAIL PROTECTED] wrote: I have bean in struts that returns a list of names how can I only take the first name out of the list? Please do not transmit orders or instructions regarding a UBS account by email. The

RE: Taking only the first value in a list?

2003-10-03 Thread Michael Ruppin
Perhaps if you posted some code someone could provide more specific help. m --- Smith, Johnathan M. [EMAIL PROTECTED] wrote: Does not work! -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 4:20 PM To: Struts Users Mailing List

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Michael Ruppin
+1 (#1). m --- Brandon Goodin [EMAIL PROTECTED] wrote: #1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignificant (how long does it take for your ide to generate getters/setters?). -Refactoring is easier is traditional

display tags and large result sets

2003-09-26 Thread Michael Muller
I'd love to use this package, but I often deal with large result sets returned from a database. I'm afraid that I wouldn't be able to support many users if I kept sucking the whole table into memory. I deal with this manually by using MySQL's LIMIT and OFFEST syntax. Clicking on column

RE: [Poll] action mappings

2003-09-25 Thread Michael Ruppin
+1 (#3) --- Mainguy, Mike [EMAIL PROTECTED] wrote: #2 and #3 are, to me, flip sides of the same coin. Our team is really divided over which is better. Currently, we're using #3 and I personally think it's the best way, but, the argument that has been made that it is much simpler to

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Michael Nascimento Santos
The only way to get a NPE in that use would be to have a null return for getJobClass(). Check it and let us know if that's the case. []s Michael Nascimento Santos JSR-207 Expert Group Member http://weblogs.java.net/pub/au/80 htp://www.soujava.org.br - Original Message - From: Mick

<    1   2   3   4   5   6   7   8   9   10   >