Custom ExceptionHandler

2005-08-24 Thread Xavier Vanderstukken
Hello, I don't find any information, how I can do to read the servletContext variable inside of my Custom ExceptionHandler class. I would like to get a reference to my logManager located in the application scoped variables and initialized by a struts plugins. ---

Questions about RowSetDynaClass

2005-08-24 Thread C.F. Scheidecker Antunes
Hello all, I would like to ask a few questions about RowSetDynaClass. I can successfully set up one in a DAO class and include it in the request scope of an action class to forward to a JSP. The problem is with the JSP. Problem number one: - If the bean is null or empty I have an error, that

Re: Fw: RE: [OT] Re: xmlparser simple question

2005-08-24 Thread Anil Pathak
Create your InputStream that extends the stream you are using for the xml retrival. The stream feeds root's starting at begning let it be and than your xml data ... and end. You provide your stream to the SAX parser. On 8/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Sorry, I'm using w

Re: Displaying errors for all except one key

2005-08-24 Thread Kishore Senji
> > I do have a problem I should solve: in the case where the only error in > errors is one I need to exclude, it does get excluded but I also get the > empty which displays a big red box on my page. Fortunately, that > happens very rarely. I guess I could extend messagesPresent as well to > take

Validator Questions?

2005-08-24 Thread 梁炳場
Struts 1.2.7 (1) The following tag can test the emptiness of the field. If I want to display a specific message when it is not empty and display error message when it is empty, what should be done in header="???" or something else (2) I have a message in MessageResources.properties like addUs

Accessing properties of a custom map

2005-08-24 Thread N G
Hi, I have a class that extends HashMap. This class holds a collection of different items plus a custom property 'total'. This "resultsMap" is stuck into the request to pass it to the JSP page. Inside the JSP page I am trying to output 'total' without having to use a scriplet... Does anyone kno

[Shale] error I'm getting when navigating.

2005-08-24 Thread Rick Reumann
I'm not sure if this error is because of the spring jars that I included (copied over from the use cases example), but when trying the following navigation rule: success /employeeForm.jsp I get the following error and I have no idea why. (Couple notes...

[JSF] / [Shale] - Buttons dont work if rendered attribute is use d

2005-08-24 Thread Chan, Jim
I have two buttons for create and update and they are shown depending on whether the userBean is new or not. The function userBean.isNew() depends on whether the id is empty. UserBean is in request scope. Here is the JSF code snippet. The buttons are rendered properly, but when I click on

RE: Shale/JSF/Java posts

2005-08-24 Thread David G. Friedman
From: Craig McClanahan [mailto:[EMAIL PROTECTED] > I just need to clarify one detail ... Shale is a > Struts sub-project, so such questions *are* on > topic for this list. Prefixing the subject with > "[shale]" is certainly appropriate, just like > prefixing a Tiles question with [tiles] would be.

Re: [OT] Re: Validator's indexedListProperty

2005-08-24 Thread Dave Newton
Josh Cronemeyer wrote: I'm having some problems with mutt or imapfilter or something. I'm getting all the email I send to list list except ones with the subject of this thread. It is really weird. Technology: Improving our lives one reboot at a time. Dave ---

Re: [OT] Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
On Wed, Aug 24, 2005 at 05:13:28PM -0400, Dave Newton wrote: > Dave Newton wrote: > > >Feel free to assume we've all seen it three times now. > > I meant four. > > Dave > *hat in hand* I'm having some problems with mutt or imapfilter or something. I'm getting all the email I send to list list

Re: Shale/JSF/Java posts

2005-08-24 Thread Dave Newton
Craig McClanahan wrote: I just need to clarify one detail ... Shale is a Struts sub-project, so such questions *are* on topic for this list. I know--didn't mean to imply otherwise; sorry. Dave - To unsubscribe, e-mail: [

test

2005-08-24 Thread Josh Cronemeyer
Sorry, Having troube getting my mail to the list. Just testing. Pardons, Josh Cronemeyer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: Validator's indexedListProperty

2005-08-24 Thread Dave Newton
Dave Newton wrote: Feel free to assume we've all seen it three times now. I meant four. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validator's indexedListProperty

2005-08-24 Thread Dave Newton
Josh Cronemeyer wrote: Looks like at least a few other people have this same issue I do. I have found a existing bug report 23372 http://issues.apache.org/bugzilla/show_bug.cgi?id=23372 that deals with this. Basically Validator can handle indexed properties, but the indexed error messages tha

Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
Ok, Looks like at least a few other people have the same problem as me. I have found a existing bug report 23372 http://issues.apache.org/bugzilla/show_bug.cgi?id=23372 that deals with this. Basically Validator can handle indexed properties, but the indexed error messages that it creates cannot be

Re: Tag that uses tags

2005-08-24 Thread Rahul Akolkar
On 8/24/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Lucas Bern wrote: > > Hi guys... > > > > I need to do something like this: > > > > x = new SomeTag(); > > > > x.setContext(this.getContext()); > > > > x.doStarTag(); > > > > x.DoBody(); > > > > ... > > > > etc... > > > > I´m not sure the way i

Re: [Shale] Re: Building shale from SVN trunk-ShaleWebContext.getChain() not found

2005-08-24 Thread Craig McClanahan
On 8/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/24/2005 04:30:11 PM: > > > It sounds like you re-downloaded the source distro into a directory > > that had an old copy. That means you won't have reflected the fact > > that InvokeCommand

Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
Looks like at least a few other people have this same issue I do. I have found a existing bug report 23372 http://issues.apache.org/bugzilla/show_bug.cgi?id=23372 that deals with this. Basically Validator can handle indexed properties, but the indexed error messages that it creates cannot be hand

Re: Shale/JSF/Java posts

2005-08-24 Thread Craig McClanahan
On 8/24/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Hi, > > > PLEASE put [SHALE], [JSF], or [OFF-TOPIC GENERAL JAVA QUESTION I SHOULD > ASK ELSEWHERE] in the subjects of your posts relating to these topics! > > As much as I would like to be able to spend time with Shale, JSF, and > off-topic ge

Re: Tag that uses tags

2005-08-24 Thread Laurie Harper
Lucas Bern wrote: Hi guys... I need to do something like this: x = new SomeTag(); x.setContext(this.getContext()); x.doStarTag(); x.DoBody(); ... etc... I´m not sure the way i should do that, has anybody ben dealing wit this before?? Why would you want to instantiate / invoke a tag manu

[Shale] Re: Building shale from SVN trunk-ShaleWebContext.getChain() not found

2005-08-24 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/24/2005 04:30:11 PM: > It sounds like you re-downloaded the source distro into a directory > that had an old copy. That means you won't have reflected the fact > that InvokeCommand was deleted yesterday. (If you'd been using the > SVN repository d

Re: obtain action path from a forward definition

2005-08-24 Thread Martin Bunen
Ok, found a solution to my own problem: ... moduleConfigImpl = (ModuleConfigImpl)mapping.getModuleConfig(); if (moduleConfigImpl != null) { actionConfigs = moduleConfigImpl.findActionConfigs(); if (actionConfigs != null) { for (ActionConfig actionConfig

Re: Shale/JSF/Java posts

2005-08-24 Thread Dave Newton
Frank W. Zammetti wrote: Hey, how about prefixing your own message with [WHINY-BITCH]? It's so much harder to filter for the tag in the text of the message. I figure most people already have a filter on my email address for that ;) Dave --

Re: Shale/JSF/Java posts

2005-08-24 Thread Michael Jouravlev
My dear whiny Toto, if you do not like [SHALE], [JSF], or [OFF-TOPIC GENERAL JAVA QUESTION I SHOULD ASK ELSEWHERE] topics, maybe you should start your own mailing list and call it, umm... may I suggest "Struts Users Mailing List"? Oh gawd, the name is already taken. Are we still in Kansas? On 8/2

Fw: RE: [OT] Re: xmlparser simple question

2005-08-24 Thread erikweber
Sorry, I'm using web mail, and I keep sending responses directly to the sender by accident. Erik -Forwarded Message- From: [EMAIL PROTECTED] Sent: Aug 24, 2005 4:26 PM To: "Gilbert, Antoine" <[EMAIL PROTECTED]> Subject: RE: [OT] Re: xmlparser simple question Well, as I said, if you use

Re: Shale/JSF/Java posts

2005-08-24 Thread Frank W. Zammetti
Hey, how about prefixing your own message with [WHINY-BITCH]? It's so much harder to filter for the tag in the text of the message. :) LOL :) Frank On Wed, August 24, 2005 4:28 pm, Dave Newton said: > Hi, > > > PLEASE put [SHALE], [JSF], or [OFF-TOPIC GENERAL JAVA QUESTION I SHOULD > ASK ELSEW

Re: Shale/JSF/Java posts

2005-08-24 Thread gramani
Sorry, guilty as charged.. Won't happen again. Sorry again, Geeta Dave Newton <[EMAIL PROTECTED]> wrote on 08/24/2005 04:28:35 PM: > Hi, > > > PLEASE put [SHALE], [JSF], or [OFF-TOPIC GENERAL JAVA QUESTION I SHOULD > ASK ELSEWHERE] in the subjects of your posts relating to these topics! > > A

Re: Building shale from SVN trunk-ShaleWebContext.getChain() not found

2005-08-24 Thread Craig McClanahan
On 8/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I downloaded Shale from SVN here: > http://struts.apache.org/shale/index.html#download and after creating the > proper build.properties for my system (just curious: how come there isn't > a "sample" build.properties included in the download

Shale/JSF/Java posts

2005-08-24 Thread Dave Newton
Hi, PLEASE put [SHALE], [JSF], or [OFF-TOPIC GENERAL JAVA QUESTION I SHOULD ASK ELSEWHERE] in the subjects of your posts relating to these topics! As much as I would like to be able to spend time with Shale, JSF, and off-topic general java questions that should be asked elsewhere, I can't,

Building shale from SVN trunk-ShaleWebContext.getChain() not found

2005-08-24 Thread gramani
I downloaded Shale from SVN here: http://struts.apache.org/shale/index.html#download and after creating the proper build.properties for my system (just curious: how come there isn't a "sample" build.properties included in the download..?) anyways, I got past every error but one: Seems like on

How to replace ValidatorUtil

2005-08-24 Thread Pierre Thibault
Hello, I am a newbie to struts. I'm reading 'The Complete Reference Struts' to learn Struts and there are using ValidatorUtil. But it seems deprecated and I would like to know what I should use instead. Regards. - Pierre

Re: List selection manager 'widget'

2005-08-24 Thread Laurie Harper
I think you still forgot to attach it? L. Daniel Schaller wrote: Sorry, forgot the Javascript file. On 23/8/05 20:59, "Daniel Schaller" <[EMAIL PROTECTED]> wrote (with possible deletions): Hi, Try the javascript in the attached file. Works brilliant for me: The function you need to us

Re: xmlparser simple question

2005-08-24 Thread Greg Reddin
Gilbert, Antoine wrote: I want to read an xml file using a SAXReader combined with a ParserHandler. The file have n o XML root, so I have to find how to add it in the parsing processing. Assuming that the file can be pretty big, how I can do it without at any time having the entire file in memory

RE: [OT] Re: xmlparser simple question

2005-08-24 Thread Gilbert, Antoine
My file is something like that x y There is no root tags, and I cant modify this file. I would like to be able to parse it without loading it entirely in memory (buffer) or without make a copy of this file to add the root tags... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[OT] Re: xmlparser simple question

2005-08-24 Thread erikweber
Gilbert, SAX works on an event based model. Memory is not an issue unless *you* are caching information as you receive events in your parser handler. The parser starts reading the stream. Each time it encounters the beginning of an element or an attribute, or the value of an element or attribut

Re: Struts Validator Framework

2005-08-24 Thread Hubert Rabago
I've never used Validator outside of Struts, but I do know I've successfully referenced nested elements while validating, by using dot notation. In your case, you can refer to fields "a", "b", "obj.i, "obj.j", "obj.obj.k". Hubert On 8/24/05, Ashutosh Satyam <[EMAIL PROTECTED]> wrote: > Hi, > I a

Re: How to replace ValidatorUtil

2005-08-24 Thread Hubert Rabago
Take a look at Validator. See chapter 12 of Struts In Action: http://www.manning.com/books/husted/chapters Hubert On 8/24/05, Pierre Thibault <[EMAIL PROTECTED]> wrote: > Hello, > > I am a newbie to struts. I'm reading 'The Complete Reference Struts' > to learn Struts and there are using Valida

xmlparser simple question

2005-08-24 Thread Gilbert, Antoine
Hi I want to read an xml file using a SAXReader combined with a ParserHandler. The file have n o XML root, so I have to find how to add it in the parsing processing. Assuming that the file can be pretty big, how I can do it without at any time having the entire file in memory ?

How to replace ValidatorUtil

2005-08-24 Thread Pierre Thibault
Hello, I am a newbie to struts. I'm reading 'The Complete Reference Struts' to learn Struts and there are using ValidatorUtil. But it seems deprecated and I would like to know what I should use instead. Regards. - Pierre ---

Re: Problem in action forwarding

2005-08-24 Thread Frank W. Zammetti
On the surface at least, that seems to be how I would expect it to work... I would think the tag renders as: ...you might also see the context before that slash, I'm not sure... Since you have defined a welcome page, and since this request would map to it, it makes sense that the JSP would exec

Struts Validator Framework

2005-08-24 Thread Ashutosh Satyam
Hi, I am using the Struts Validator(Commons Validator) outside the Struts framework, to do validation. I would like to know how to validate an object when it has objects nested within it, and I need to validate the fields in those nested objects, too. Precisely I intend to achieve the followin

Re: Problem in action forwarding

2005-08-24 Thread wilson wong
Found my own problem In one of my include JSP I have this html tag defined This will trigger the Struts frmawork to execute contextpath/index.jsp if you have this in your JSP page Wonder if this the way how struts work or this is a bug. --- wilson wong <[EMAIL PROTECTED]> wrote: > Greeti

RE: Problem With NOT EMPTY Using the Tag

2005-08-24 Thread Walton, Kaleb \(ISS Southfield\)
I may be mistaken with the version of EL you're using, but I use syntax such as: "${!empty logRows}" Less typing and its easier on the eyes ;-) Regards, Kaleb -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 2:29 PM To: Struts Users Mai

Tag that uses tags

2005-08-24 Thread Lucas Bern
Hi guys... I need to do something like this: x = new SomeTag(); x.setContext(this.getContext()); x.doStarTag(); x.DoBody(); ... etc... I´m not sure the way i should do that, has anybody ben dealing wit this before?? Thanks Lucas __ Corr

Re: Problem With NOT EMPTY Using the Tag

2005-08-24 Thread Rahul Akolkar
On 8/24/05, Caroline Jen <[EMAIL PROTECTED]> wrote: > I use the NOT EMPTY to do the testing. I have > javax.servlet.jsp.JspException: An error occurred > while evaluating custom action attribute "test" with > value "${NOT EMPTY log > Rows}": Encountered "EMPTY", expected one of ["}", Keywords, i

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 08/24/2005 02:20:50 PM: > From: <[EMAIL PROTECTED]> > > > It seems like Maven's dependency management would be pretty useful for > > this project. > > Every time I see "where is the xxx.jar", I think Maven. Thoughts? > > For Geeta's project? That's up

Problem With NOT EMPTY Using the Tag

2005-08-24 Thread Caroline Jen
I use the NOT EMPTY to do the testing. I have <%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> at the top of my JSP file. But, I got an Internal Server Error 500 problem (The log is shown after my code snippet.) I am unable to see the problem with my tag. . No Failed Log-in So

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> It seems like Maven's dependency management would be pretty useful for this project. Every time I see "where is the xxx.jar", I think Maven. Thoughts? For Geeta's project? That's up to her. :) Standalone Tiles has both Maven and Ant build files. If you're buildin

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Greg Reddin
[EMAIL PROTECTED] wrote: root cause java.lang.NoSuchMethodError: org.apache.tiles.DefinitionsFactory.getDefinition(Ljava/lang/String;Ljav ax/servlet/ServletRequest;Ljavax/servlet/ServletContext;)Lorg/apache/til es/ComponentDefinition; Ok, now you're into the place where Tiles changes have be

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
Figured it out. dynabean.map.prop should be .map. Where is the name of your form from struts-config. You can't actually use 'dynabean'. On 8/24/05, John Hutchinson <[EMAIL PROTECTED]> wrote: > I was under the impression that the form bean itself is a 'gimmie' and > does not explicitly ne

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 08/24/2005 01:50:23 PM: > [EMAIL PROTECTED] wrote: > > now after a bit of fumbling, I get the following error: > > > > javax.servlet.ServletException: Can't get definitions factory from > > context. > > Do you have TilesServlet configured in your web.xml

Re: [SHALE] How stable is Shale?

2005-08-24 Thread Craig McClanahan
On 8/24/05, Bjørn T Johansen <[EMAIL PROTECTED]> wrote: > I am working on a new JSF project and I was wondering if I should include > Shale (specially > the view controller looks interesting). > But how stable is Shale at the moment? Can I include it and expect it to > work? And also > ready for

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Greg Reddin
[EMAIL PROTECTED] wrote: now after a bit of fumbling, I get the following error: javax.servlet.ServletException: Can't get definitions factory from context. Do you have TilesServlet configured in your web.xml? If it's not configured the Tiles Definitions won't be loaded at startup. Greg

RE: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Jeremy_Barth
A comment: It seems like Maven's dependency management would be pretty useful for this project. Every time I see "where is the xxx.jar", I think Maven. Thoughts? Jeremy J. Barth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005

[SHALE] How stable is Shale?

2005-08-24 Thread Bjørn T Johansen
I am working on a new JSF project and I was wondering if I should include Shale (specially the view controller looks interesting). But how stable is Shale at the moment? Can I include it and expect it to work? And also ready for a production environment in a month or two? Or should I wait x month

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Wendy Smoak <[EMAIL PROTECTED]> wrote on 08/24/2005 01:35:38 PM: > From: <[EMAIL PROTECTED]> > > > test.jsp has this: > > <%@ taglib uri="http://jakarta.apache.org/tiles"; prefix="tiles" %> > > Geeta, that caught my eye because it's not the right uri for Standalone > Tiles. It looks like there

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> test.jsp has this: <%@ taglib uri="http://jakarta.apache.org/tiles"; prefix="tiles" %> Geeta, that caught my eye because it's not the right uri for Standalone Tiles. It looks like there might be a problem with the build files-- the wrong tld is getting included in

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Craig McClanahan <[EMAIL PROTECTED]> wrote on 08/24/2005 12:55:18 PM: > > Besides being bundled inside the example webapp, nightly builds of > standalone tiles are available too: > > http://cvs.apache.org/builds/struts/nightly/sandbox/tiles-core/ > Yes, thank you Craig, I did manage to find

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Craig McClanahan
On 8/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi again, > > So now that I have a trivial login page working, I want to integrate tiles > in..:) I found this link: > > http://jroller.com/page/dgeary?entry=shale_adds_tiles_integration > > which seems pretty promising. But there's ment

Form File

2005-08-24 Thread dumbQuestionsAsker _
Hi everybody, Im redesigning a webapp and I got a weird problem with a FormFile object. Actually I got a FormFile into an ActionForm class, to make a better design I want to store this FormFile into a "File" class and access it modifiying the getters/setters content, the problem is when I want

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 08/24/2005 12:01:06 PM: > > The internals of Tiles have been dramatically changed in the last week > and just yesterday David was working on changes to the Shale > integration. I'm not sure if those changes are complete and checked in > yet. So if you

Re: How can I switch locale and refresh current JSP?

2005-08-24 Thread Michael Taylor
I do the same trick except that I put my locale selector in the page header for all pages. To make this work, I write the current URL to a hidden form field when rendering the locale selection form. The action then knows which page to return to using this parameter. By having the form stored

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Greg Reddin
[EMAIL PROTECTED] wrote: I wondered about that actually. I mean I know shale is still evolving and what not and seems like the shale-tiles.jar was created only like last month or something, but in any case, if using it needed the tiles standalone jar, why wasn't it (the tiles jar) bundled in t

RE: How can I switch locale and refresh current JSP?

2005-08-24 Thread Braun, James F
On my login page I put this code:            The action is this: public class LocaleAction extends Action {

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Greg Reddin <[EMAIL PROTECTED]> wrote on 08/24/2005 11:36:39 AM: > Probably not :-) I think the main problem is that shale and standalone > tiles are both still evolving. I downloaded a build of shale about a > month ago and it's so out of date I'm not even trying to use it anymore. Yeah. I

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/24/2005 11:30:55 AM: > [EMAIL PROTECTED] wrote the following on 8/24/2005 10:45 AM: > > > Btw, if anyone has successfully got tiles to work with shale, could you > > please share your code? If I manage to do this I shall write this up so it > > may

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Greg Reddin
[EMAIL PROTECTED] wrote: I don't think Tiles integration ought to be difficult, right..?.. [..falls over laughing..] Probably not :-) I think the main problem is that shale and standalone tiles are both still evolving. I downloaded a build of shale about a month ago and it's so out of date

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
I was under the impression that the form bean itself is a 'gimmie' and does not explicitly need to be set in the request scope (or any other scope for that matter). For example, the tag works without needing the 'name' property, so somehow the tag knows to look in the form bean in this case. I

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 8/24/2005 10:45 AM: Btw, if anyone has successfully got tiles to work with shale, could you please share your code? If I manage to do this I shall write this up so it may help soembody else.. I don't think Tiles integration ought to be difficult, right.

How can I switch locale and refresh current JSP?

2005-08-24 Thread Bryce Crossman
Hello, I have a Struts application that also uses Tiles for header/sidebar/footer. In my header there is a common button for switching languages. When this button is pressed I would like the locale to be switched and the current page to be refreshed. The current page may have been reached

[PARTIALLY SOLVED] RE: handleConfigException in Struts 1.1

2005-08-24 Thread Pilgrim, Peter
FYI / HTHSB Looks like it is the dreaded application server ClassLoader issue again and this episode perfectly illustrates the best practice for logging in Enterprise business software and for framework writers. http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html It is appears t

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Martin Gainty
I did'nt realise he wanted the nightly build I was 'error'ing on the side of the released (builds without errors and has passed unit, integration and regression test) package Caveat emptor Martin - Original Message - From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mai

Re: Check Disk space before file upload

2005-08-24 Thread Shey Rab Pawo
Since we are on this tack, has anyone seen a Java program that uses the NIO to do something like a unix "tail" command? There is supposed to be one in chainsaw, but it really is just a simple polling app. On 8/24/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > I have written a long time ago, the

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread Hubert Rabago
You should try using the name you're using for the form when you pass it from your action to your JSP. > final DynaBean dynaForm = (DynaBean)form; > dynaForm.set("displayName", "test"); If you're using request.setAttribute("displayForm", dynaForm); then try > In my JSP, I have a element that

RE: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread David G. Friedman
Martin, Would that download even work? I followed your link and it mentions it is from 2002. Doesn't Shale with tiles REQUIRE the tiles standalone distribution in the 1.3 trunk or nightly build? I think you'll need the tiles-core from the tiles nightly build: http://svn.apache.org/builds/struts

RE: Check Disk space before file upload

2005-08-24 Thread Pilgrim, Peter
I have written a long time ago, the JavaUNIX API framework http://www.xenonsoft.demon.co.uk/products/javaunix/ > -Original Message- > From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] ==== > > > Hello, > > How can I check for disk space on the server before > uploading a file on

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Hi Martin, that's just the tiles.jar, right? I needed the shale-tiles.jar.. which I found within struts-shale-core-library/lib in the latest cvs download.. (I'm not being ambitious just yet - so I'm not building from source, just trying to use the jar files will do for now..;)) Btw, in case an

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread Hubert Rabago
What name did you use to pass this form from action to jsp? Hubert On 8/24/05, John Hutchinson <[EMAIL PROTECTED]> wrote: > Hi there. > > I have a form that uses org.apache.struts.validator.LazyValidatorForm. > > When I pre-populate this form before displaying it, I use code like > the followin

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread Martin Gainty
Geeta Did you try downloading from Cedric DuMoulins site? http://www.lifl.fr/~dumoulin/tiles/doc/download.html Martin- - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, August 24, 2005 10:04 AM Subject: Shale and Tiles integration - where oh

Re: editor for Tomcat and struts

2005-08-24 Thread Larry Meadors
IDEA from Jetbrains is the bomb. Version 5.0.1 came out this week and just continues to amaze me. Larry On 8/24/05, Ayusman dikshit <[EMAIL PROTECTED]> wrote: > > Hi list, > I am new to Struts. > I am using Tomcat5.0 and Struts 1.1 to learn. > Of late I feel I should use an IDE. > Could any on

RE: editor for Tomcat and struts

2005-08-24 Thread David G. Friedman
+1 for Sysdeo. It is excellent. -Original Message- From: Gareth Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 9:36 AM To: Struts Users Mailing List Subject: Re: editor for Tomcat and struts I'd suggest eclipse, With a number of plugins, sysdeo - for tomcat control my

RE: Tiles standalone implementation

2005-08-24 Thread Walton, Kaleb \(ISS Southfield\)
Thanks! I must have been looking around in all the wrong places ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 10:07 AM To: Struts Users Mailing List Subject: Re: Tiles standalone implementation Ah I think I actually found this .

Re: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
oops, sorry, please ignore this note.. My bad.. The jar is bundled right into the struts-shale core library in the latest build..). Sorry for wasting your time. Geeta [EMAIL PROTECTED] wrote on 08/24/2005 10:04:06 AM: > Hi again, > > So now that I have a trivial login page working, I want to

Re: Tiles standalone implementation

2005-08-24 Thread gramani
Ah I think I actually found this .. Here it is: http://cvs.apache.org/builds/jakarta-struts/nightly/sandbox/tiles-core/ Regards, Geeta "Walton, Kaleb \(ISS Southfield\)" <[EMAIL PROTECTED]> wrote on 08/24/2005 10:02:10 AM: > I'm in the process of building the Shale trunk and have one depende

Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread gramani
Hi again, So now that I have a trivial login page working, I want to integrate tiles in..:) I found this link: http://jroller.com/page/dgeary?entry=shale_adds_tiles_integration which seems pretty promising. But there's mention of a shale-tiles.jar but no word about where to download it..? Goog

Tiles standalone implementation

2005-08-24 Thread Walton, Kaleb \(ISS Southfield\)
I'm in the process of building the Shale trunk and have one dependency left to resolve. The build.properties calls for a build of the Tiles standalone distribution. I have found what seems to be a Tiles distro but cannot seem to build it without the Struts 1.3.0 core libraries (which I cannot find

DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
Hi there. I have a form that uses org.apache.struts.validator.LazyValidatorForm. When I pre-populate this form before displaying it, I use code like the following in the action: final DynaBean dynaForm = (DynaBean)form; dynaForm.set("displayName", "test"); In my JSP, I have a element that loo

Re: editor for Tomcat and struts

2005-08-24 Thread Gareth Evans
I'd suggest eclipse, With a number of plugins, sysdeo - for tomcat control myeclipseide - for the jsp editing, struts management ... (as well as a whole host of extra features) http://www.eclipse.org/ Gareth Ayusman dikshit wrote: Hi list, I am new to Struts. I am using Tomcat5.0 and Struts

Re: Validator's indexedListProperty

2005-08-24 Thread Josh Cronemeyer
Ok, Looks like at least a few other people have found Struts guilty here. I have found a existing bug report 23372 http://issues.apache.org/bugzilla/show_bug.cgi?id=23372 that deals with this. Basically Validator can handle indexed properties, but the indexed error messages that it creates cannot

Re: Check Disk space before file upload

2005-08-24 Thread Dakota Jack
Thanks! On 8/23/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi Jack, > > You can grab the latest version off the Bugzilla ticket: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=36325 > > It's one of those things that you'll look at the code and go "D'oh! > That's obvious as hell!"

Re: editor for Tomcat and struts

2005-08-24 Thread Letícia Álvares Barbalho
I suggest netbeans (http://www.netbeans.org/), which I think is easy to use and complete. You could also easily use Eclipse, but you'd have to be looking for plugins all the time. On 8/24/05, Ayusman dikshit <[EMAIL PROTECTED]> wrote: > > > Hi list, > I am new to Struts. > I am using Tomcat5.0

Re: editor for Tomcat and struts

2005-08-24 Thread Ayusman dikshit
Hi list, I am new to Struts. I am using Tomcat5.0 and Struts 1.1 to learn. Of late I feel I should use an IDE. Could any on suggest good IDE that would help me to start building my applications a little easily and an accepted Enterprise level IDE. I want an IDE that would be easy to grasp and I ca

Re: [OT] DAO Pattern in Struts

2005-08-24 Thread Larry Meadors
EXACTLY! :-D I think Paul and I mis-communicated on the point of the iBATIS DAO earlier. It is something very different from iBATIS SQL Maps. One of the key principles of Object-Oriented programming is encapsulation – the separation of an implementation and its public interface. The DAO pattern

Re: [OT] DAO Pattern in Struts

2005-08-24 Thread Emmanouil Batsis
Larry Meadors wrote: You can (and should) use the DAO pattern with Hibernate, too. So true, plus a good DAO interface can decouple your database access implementation and the rest of your app, so that you can switch from hibernate to ibatis or plain jdbc or whatever without having to make

Re: [OT] DAO Pattern in Struts

2005-08-24 Thread Rokibul Islam Khan
Whats about a thread local variable to store the connection instead of as instance variable ? On 8/24/05, Gareth Evans <[EMAIL PROTECTED]> wrote: > Hi Paul, > > How about using a DBCP, that way the connections are always there, a getting > a connection each time > you need to do a unit of work b

Re: [OT] DAO Pattern in Struts

2005-08-24 Thread Gareth Evans
Hi Paul, How about using a DBCP, that way the connections are always there, a getting a connection each time you need to do a unit of work becomes less of an overhead. With dbcp you can create your connection by using an xml file usually named 'something.jocl', drop this into you classpath an