extending nested tiles templates

2004-02-16 Thread Nathan Coast
Hi I'd like to be able to nest templates within other templates. I know it can be done but I'm not sure I can do it the way I'm trying to do it. AFAICT you have to add n tiles defs for each page you want to add where n is the depth of nesting within tiles. MasterLayout.jsp and

RE: Problem using split() method in java script

2004-02-16 Thread McCormack, Chris
Ahh yes I see how this relates to struts... subscribe to a JS newsgroup google is your friend Chris -Original Message- From: Ramachandran [mailto:[EMAIL PROTECTED] Sent: 16 February 2004 07:52 To: Struts Users Mailing List Subject: Problem using split() method in java script Hi, I

overlapping cells in table with firebird

2004-02-16 Thread Frédéric Dreier
Hi, When displaying struts page in firebird or mozilla for the first time (increased load time due to jsp compilation) I got some strange effect: Some table's cells overllaps themself. Redisplaying the page using F5 corrects the problem. It's non-dynamical HTML with an external CSS. I'm

Re: [OT] - Request against Session

2004-02-16 Thread Mark Lowe
On 15 Feb 2004, at 23:43, Michael McGrady wrote: You [Mark Lowe] said: Having additional fields that may not related to the given form I'd say at least would confuse a site builder who comes along and has to work out what's going on. For example a bunch of user details in a credit card form

RE: overlapping cells in table with firebird

2004-02-16 Thread Andrew Hill
Have you tried 'dipping' the window? That is - dragging the window by its title bar partially off the bottom of the screen and back again to see if the forced re-rendering fixes the problem in the dipped part. Ive noticed the latest firebird sometimes stuffs up its rendering when it loads a page

RE: accessing dynamic radio and check boxes

2004-02-16 Thread Leticia Golubov
Hi, you probably worked out how to do this already, but if you haven't here is how I did it: to check check boxes with one click, use this Javascript function, or similar: function CheckAll( form_number ) { for( n=0; document.forms[form_number].elements[n] != null; n++) {

Re: perform vs execute

2004-02-16 Thread Janarthan Sathiamurthy
Hi, The reason perform is deprecated is, it can throw only exceptions of type ServletException and IOException. Whereas for the support of declarative exception handling in Struts 1.1, the execute() throws Exception. This is the main reason. Regards, Janarthan S Niall Pemberton [EMAIL

RE: overlapping cells in table with firebird

2004-02-16 Thread Veresh Jain
-Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 2:24 PM To: Struts Users Mailing List Subject: RE: overlapping cells in table with firebird Have you tried 'dipping' the window? That is - dragging the window by its title bar partially off

Re: persistent data storage - the right way

2004-02-16 Thread Paul Thomas
On 15/02/2004 12:26 Ben Turner wrote: hello, i have been looking (in vain) for a description how to implement database access in struts correctly. i would like to use the DAO (data access object) pattern in combination with datasources for connection pooling. however, i am having a hard way

RE: persistent data storage - the right way

2004-02-16 Thread Turner Benjamin
Thomas, The simple answer is that you don't. Struts has nothing to do with data persistence. What I think you're really asking is how to implement persistence in a web application. I do realise that. My question was indeed how to implement such a thing. Well, I suppose you could use the

Re: persistent data storage - the right way

2004-02-16 Thread Mark Lowe
One advantage hibernate has over ibatis is xdoclet support. You can generate your mapping files from xdoclet comments which means that you have the mappings and java code in the same place. Perhaps there's ibatisdoclet but I haven't noticed it. Other advantages vs disadvantages I haven't a clue

Re: Error Start Tag Exception

2004-02-16 Thread Niall Pemberton
html:errors changed from processing ActionErrors/ActionError to ActionMessages/ActionMessage from struts 1.1 to struts 1.2 - the most obvious cause of this is your app generating ActionMessages/ActionMessage messages but the tag is struts 1.1 version. Are you sure you are deploying the nightly

R: persistent data storage - the right way

2004-02-16 Thread Leonardo Francalanci
I think that with hibernate you don't need to write sql code to save/update/delete your objects or to retrieve objects by their id, with ibatis you have to write all your sql code. Example with hibernate (pseudo-code...): session.find(MyObject, id); MyObject.setProp1(newvalue) session.save() //

RE: Default locale gets intermixed with other locales

2004-02-16 Thread Paul McCulloch
I think I found the same problem some time ago. I can't remember what the underlying issue was (maybe mixing the struts jstl ii18n tags?), but the solution was to create an explicit bundle for the default locale - I have my build scripts copy Application.properties to Application_en.properties.

Struts form problem

2004-02-16 Thread Bernard Gaughran
I am having a problem with Struts. I have to present the user with a number of multi-selectable drop-down lists or text boxes. The number/type of input fields is not known until run-time (based on user selections in the previous screens). The 2 issues I see are: generating the JSP dynamically

Problem with calling another servlet to create an image

2004-02-16 Thread Poppenborg, Franz
Hi, i have written an application to create a barcode. Therefore i get some information from the user and then create a barcode out of it. For barcode creation i am using a servlet from java4less.com. I installed the BarcodeServlet in the same webapp as my application and put in the resulting jsp

Re: overlapping cells in table with firebird

2004-02-16 Thread Tim Coy
Are you using c:url to reference the external CCS file? Tim Hi, When displaying struts page in firebird or mozilla for the first time (increased load time due to jsp compilation) I got some strange effect: Some table's cells overllaps themself. Redisplaying the page using F5 corrects the

ActionForward(mapping.getInput()) ....

2004-02-16 Thread Daniel
I'm using Tiles for manager the layout of my application and it's a example of my geralLogin.jsp page, and works without problem except when I have a exception and get the mapping.getInmput() value for return tho the same page (login.jsp) with ActionErrors etc... at LoginAction.java. When this

Re: R: persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
Leonardo, You're correct. Unless you want to do specific queries on the database the hibernate layer takes care of all queries to the database. If you do have to do clever stuff, be sure to download hibern8ide it is very good for perfecting queries, and very powerful when combined with JOI.

Simple Question about Long property

2004-02-16 Thread Renato Romano
I have a form with a Long property; I used Long instead of long to have the property nullable, but if the (html) form includes such a property, struts sets the corresponding bean property to 0, even if it has no value (value=); what I'd like is struts to leave the property at null!! It also

[OT] persistent data storage - the right way

2004-02-16 Thread Leonardo Francalanci
I already use hibern8ide, I also use JFaceDb plugin for eclipse to get a first skeleton of configuration files from my tables. I don't know what JOI is: could you point me to some links? -Messaggio originale- Da: Paul-J Woodward [mailto:[EMAIL PROTECTED] Inviato: lunedi 16 febbraio

Re: [OT] persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
Java object inspector: http://www.programmers-friend.org/JOI/ When you dbl-click on a result in hibern8ide it pops up a JOI window and you can check the values of every attribute in the object - very useful indeed! Paul Global Equity

Reset button not working properly when page contains error

2004-02-16 Thread Marco Mistroni
Hi all, I have a form which contains a reset button (html:reset) and whenever I submit the form and got errors from Action class, it seems that the reset button does not work properly, since when I click on it it does not reset anything.. no matter if I specify my own custom javascript

RE: [OT]Eclipse CVS

2004-02-16 Thread Hibbs, David
This is some documentation I put together for a sourceforge project, but it should still give you the information that you need http://www.coruscant.cc/Struts/eclipseCVSsetup.ZIP Note that the docs under the eclipse help are very good, too, though they may be a bit intimidating to someone

Re: overlapping cells in table with firebird

2004-02-16 Thread Frédéric Dreier
Tim Coy wrote: Are you using c:url to reference the external CCS file? Tim Hi, When displaying struts page in firebird or mozilla for the first time (increased load time due to jsp compilation) I got some strange effect: Some table's cells overllaps themself. Redisplaying the page using F5

RE: Problem using split() method in java script

2004-02-16 Thread James Mitchell
-Original Message- From: McCormack, Chris [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 3:35 AM To: Struts Users Mailing List Subject: RE: Problem using split() method in java script Ahh yes I see how this relates to struts... subscribe to a JS newsgroup google is

Popup window

2004-02-16 Thread Daniel
There are some example of creating a popup window, for select (of datagrid for example )one value and come back to the window with the value selected with Struts. tnks Daniel S.

exception handling

2004-02-16 Thread Sniadach, Tomasz
Hi again :) Can I handle all exceptions in Struts? I tried in my struts-config: exception key=events.error.runtime type=java.lang.Exception path=jsp/Error.jsp/ /global-exceptions When I call a JSP where i make a NulPointerException , then i see not my Error.jsp. Is there

Re: Popup window

2004-02-16 Thread Jim Theodoridis
Hi This is the chooseAuthor.jsp. When U choose an author then javascript sets the values of id and name which are properties of the common form Common form used from the page addDocumentAuthor.jsp where u want to choose the Author top.opener.document.commonForm.id.value = id;

copyProperties different properties

2004-02-16 Thread Mailing List
Hi, We want to copy from one bean to another by using BeanUtils.copyProperties. There are some differences between the properties of these two beans. Is there any way that we can send, for example a HasMap, to this method (or similar method), and define the relation of properties of these

Re: Popup window

2004-02-16 Thread Daniel
Muito obrigado (so much thanks) Jim Theodoridis. - Original Message - From: Jim Theodoridis [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 16, 2004 11:05 AM Subject: Re: Popup window Hi This is the chooseAuthor.jsp. When U choose an author

Struts converts null to 0 ?

2004-02-16 Thread Renato Romano
I have a form with a Long property; I used Long instead of long to have the property nullable, but if the (html) form includes such a property, struts sets the corresponding bean property to 0, even if it has no value (value=); what I'd like is struts to leave the property at null!! It also

FileUploading Error

2004-02-16 Thread Mark Shifman
In trying to bulletproof file uploading I noticed something odd. If I type some junk in the field for the file name and hit Submit, I get a file of size 0. I can deal with that. If I type in a directory name in my home directory (admittedly a dumb thing to type) nothing seems to happen and I get

Re: Struts converts null to 0 ?

2004-02-16 Thread Jim Theodoridis
I think the best way is to use the String property on the form and then convert the value to Long - Original Message - From: Renato Romano [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, February 16, 2004 4:45 PM Subject: Struts converts null to 0 ? I

Re: way off topic

2004-02-16 Thread Martin Gainty
Reverted back to Tomcat 4.1 I put ojsputil.jar in %CATALINA_HOME%/webapps/NameOfApp/WEB-INF/lib and all is well. Thanks, -Martin - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 15, 2004 10:36 AM Subject:

RE: ActionForward(mapping.getInput()) ....

2004-02-16 Thread Paul McCulloch
This is a bit of a guess Are you using relative paths for your images? When you access the jsp directly your current page is /somewebapp/geral/geralLogin.jsp. So an image whichg refers to ../images/somepicture.gif will resolve to /somewebapp/images/somepicture.gif. When you get errors your

Subscribe-Please

2004-02-16 Thread f f
__ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

AW: Problem with calling another servlet to create an image

2004-02-16 Thread Poppenborg, Franz
Sorry for disturbing, i found the mistake in the BarcodeServlet which stops processing of the image. Regards Franz Poppenborg -Ursprüngliche Nachricht- Von: Poppenborg, Franz [SMTP:[EMAIL PROTECTED] Gesendet am: Montag, 16. Februar 2004 12:56 An: '[EMAIL PROTECTED]' Betreff:

Re: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
You [Mark Lowe] said: Perhaps HttpSession is a blunt instrument, and would need to be substituted by another persistence mechanism like say writing to a temporary text file, but IMO this would be something that one would want to fix in the case that something were broken. Hi, Mark, Your

Re: Struts converts null to 0 ?

2004-02-16 Thread Larry Meadors
Yeah, that is the joy of bean-utils. It is best to leave it a stringon the form and convert it yourself. [EMAIL PROTECTED] 02/16/04 7:45 AM I have a form with a Long property; I used Long instead of long to have the property nullable, but if the (html) form includes such a property, struts

Re: IBatis???

2004-02-16 Thread Larry Meadors
Go to www.ibatis.com for ibatis docs and downloads. Go to http://reumann.net/do/struts/main for tutorials. Use irc to get to #struts_users on irc.darkmyst.org to talk to people who use it. Larry [EMAIL PROTECTED] 02/14/04 7:00 AM can any one tell me what is IBatis? where can i get reference

Re: [OT] - Request against Session

2004-02-16 Thread Mark Lowe
Ah.. I'm having a bad hibernate day instead today so I'm a bit more distracted from this debate. Truth is I'm pretty stupid, my simplistic way of looking at the world tells me that if i need to temporally store data collected from some forms that storing in the session is a way to do this.

RequestUtils / TagUtils deprecations and migration

2004-02-16 Thread Hibbs, David
Per the release notes page, You are strongly advised to resolve all Struts 1.1 deprecations before moving to the newest release., and Alternatives should be available for all decprecated[sic] constructs. However, I am having some problems trying to determine my alternatives for some of

RE: [OT] - Request against Session

2004-02-16 Thread Mainguy, Mike
Just to throw a little liquid (gasoline or water) on this fire... Let's say there are two ways to look at determining your current session state: #1 Is the Deterministic Automaton (for any set of inputs there is an output) #2 Is the Nondeterministic Automaton (for any set of inputs the output is

Thanks

2004-02-16 Thread f f
Hi all, Sorry for this late reply. I have many work to do... on Thu, 12 Feb 2004. Mr. Heya Gosper wrote, Looks like you don't have the error string correct (ie you may have a misspelling) errors.cartIsEmtpy Yes you were right. and Mr. Navjot Singh wrote : 2. ActionMapping is not deprecated.

Re: [OT] - Request against Session

2004-02-16 Thread Niall Pemberton
Sorry if I'm regurgitating, but I haven't really been following this debate. The only good argument I've heard for session=evil is the memory bloat one. If every struts form was defined in session scope then a user running around alot of forms can quickly consume alot - and it stays around unless

RE: [OT] - Request against Session

2004-02-16 Thread shirishchandra.sakhare
very well said :-)) +1 -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 5:26 PM To: Struts Users Mailing List Subject: Re: [OT] - Request against Session Sorry if I'm regurgitating, but I haven't really been following this debate. The

Re: FileUploading Error

2004-02-16 Thread Joe Germuska
At 9:35 AM -0500 2/16/04, Mark Shifman wrote: In trying to bulletproof file uploading I noticed something odd. If I type some junk in the field for the file name and hit Submit, I get a file of size 0. I can deal with that. If I type in a directory name in my home directory (admittedly a dumb

Re: Error Start Tag Exception

2004-02-16 Thread Curtis Taylor
Hi Betty, I think you need to set the 'message' attribute to false here, as the tag is looking for an ActionMessage instance, not an ActionError one (which is what you get in the loop created by the html:errors / tag). Here's a snippet of an implementation I've used: logic:messagesPresent

Re: nested tag problem - image not shown

2004-02-16 Thread lixin chu
prolem found: need to use relative path : nested:image src=images/tree/km_plus.gif property=toggle/ ~~~ --- hi, i am trying the nexted MOnkey example, everything works fine except that the image is not shown.

Re: [OT] - Request against Session

2004-02-16 Thread Mark Lowe
On 16 Feb 2004, at 17:25, Niall Pemberton wrote: Sorry if I'm regurgitating, but I haven't really been following this debate. The only good argument I've heard for session=evil is the memory bloat one. But thats a good reason not to use java at all. I've one's got that much of a cob-on about

Java / J2EE Developer

2004-02-16 Thread Srini Pacharu
Hi friends, I am looking for the position of Java / J2EE developer.I have experience of about 3 years in developing Java / J2EE applications.I worked extensively with Java, JSP, Servlets,EJB,Oracle, UML,HTML,XML,BEA Weblogic and frame works like Struts and webworks.I have used

RE: Java / J2EE Developer

2004-02-16 Thread Kamal Gupta
Hi Srini, Can you please tell me where are u based at the moment Kamal -Original Message- From: Srini Pacharu [mailto:[EMAIL PROTECTED] Sent: 16 February 2004 16:59 To: Struts Users Mailing List Subject: Java / J2EE Developer Hi friends, I am looking for the position of

Please solve this...include and ActionForward

2004-02-16 Thread Jitender Kumar C
Please help me to come out of confusion. I am giving a sample scenario of how my app works. my code snippet is something like this my.jsp jsp:include page=/getList.do this action includes the list object in request/ I have to use the list in the rest of my jsp page. in

RE: Java / J2EE Developer

2004-02-16 Thread Srini Pacharu
Hi Kamal, I'm in Annandale, Virginia. Cheers, -Srini. Kamal Gupta [EMAIL PROTECTED] wrote: Hi Srini, Can you please tell me where are u based at the moment Kamal -Original Message- From: Srini Pacharu [mailto:[EMAIL PROTECTED] Sent: 16 February 2004 16:59 To: Struts Users

RE: Java / J2EE Developer

2004-02-16 Thread deepak saini
Come to India, there are lots of jobs for you here. From: Srini Pacharu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Java / J2EE Developer Date: Mon, 16 Feb 2004 09:27:22 -0800 (PST) Hi

DataGrid...

2004-02-16 Thread Daniel
I am looking for data grid(paging / navigation, sorting and filtering) for integrate with myapp (based on struts, without EJB) and tested HTMLTable - Table framework for Struts (http://htmltable.yuriy-zubarev.com/jsp/index.jsp) and displaytag( http://displaytag.sourceforge.net/), someone know

Re: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
At 07:41 AM 2/16/2004, you [Mark Lowe] wrote: Not on all fours but purring like a kitten :o) I think you are making this harder than it has to be, Mark. You can take some extended time and build some utility classes to do this sort of thing and it will save you time in the long run. I have not

RE: Error Start Tag Exception

2004-02-16 Thread Betty Koon
Thanks for the reply. I figurd out what happened. I upgraded my code to use struts 1.2 but some how the jar file got reverted back to 1.1. -Betty -Original Message- From: Curtis Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 8:32 AM To: Struts Users Mailing List

RE: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
I like the way you think, cf. infra, Mike Mainguy. No wonder you have the name you have. LOL. This is, I think, helpful. I still think, however, that you NEVER need to store the data from the view in session. That, for me, is an anathema. That is like going back to the single file data

Re: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
The bigger problem than bloat, Niall, as discussed earlier than when you came aboard is the fact that you are breaking MVC which leads to predictable difficulties with multiple windows, which are often needed. Michael McGrady At 08:25 AM 2/16/2004, you wrote: Sorry if I'm regurgitating, but I

RE: Java / J2EE Developer

2004-02-16 Thread Andy Engle
deepak saini [EMAIL PROTECTED] wrote: Come to India, there are lots of jobs for you here. This drives me crazy -- our future is being exported and nobody seems to care. http://www.wired.com/wired/archive/12.02/india.html -

Re: DataGrid...

2004-02-16 Thread Carl
Hi, I'm using displayTag and except the current lack of support for EL expression, it's very helpfull to me. Carl Daniel wrote: I am looking for data grid(paging / navigation, sorting and filtering) for integrate with myapp (based on struts, without EJB) and tested HTMLTable - Table

Re: [OT] - Request against Session

2004-02-16 Thread Mark Lowe
Sounds more useful than our amusing albeit exhausted debating.. I'm about to reach the end of getting something out in the next couple of days. I like the idea of using some reusable util classes to address this sort of thing, I'll look into it also. While I'm not really down with constantly

[OT]Re: Java / J2EE Developer

2004-02-16 Thread Mark Lowe
I'm only joking here guys so don't take me too serious. Role description: Must be able to spam mailing lists an forums with poorly defined questions like I need to build a webapp using struts and oracle, please help. On 16 Feb 2004, at 18:58, Andy Engle wrote: deepak saini [EMAIL PROTECTED]

RE: DataGrid...

2004-02-16 Thread David Friedman
Carl, There is EL support in the CVS (1.0-b3) version for displaytag. See: http://displaytag.sourceforge.net/changes-report.html Regards, David -Original Message- From: Carl [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 1:15 PM To: Struts Users Mailing List Subject: Re:

RE: Java / J2EE Developer

2004-02-16 Thread James Mitchell
Looks like the only way to compete is to improve yourself. That works for me, what about you? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] -Original Message- From: Andy Engle [mailto:[EMAIL

RE: Java / J2EE Developer

2004-02-16 Thread Smith, Darrin
I know better to get involved in this but... Improve yourself? How will that protect you unless that improvement happens to mean lowering your salary 80% or so? This is a problem to us in the US. Maybe folks from other countries don't care, and that is understandable, but it doesn't mean that

Re: [OT] - Request against Session

2004-02-16 Thread Niall Pemberton
Thanks for the tips...I'm off now to 1) Re-write my app so it doesn't use java 3) Develop everything as session scope until I implement, at which point I'll then re-write them again as request scope. 3) Put at least something from app back into session scope (s**t I just took everything out!) in

[OT] Re: Java / J2EE Developer

2004-02-16 Thread Mark Lowe
Look the US is the great bastion of free trade, take a look around the world and get real please. Both the US, UK and others have done well out of global trade. So its no good crying when the competition comes along. US and UK companies also benefit from being able to exploit the emerging

RE: [OT] Re: Java / J2EE Developer

2004-02-16 Thread Smith, Darrin
I think this isn't the place to discuss this, so I'll let this be my last message on the issue. Look at what I said. I never said a darn thing about restricting free trade. All I said was why should we in the US educate, and train foreign workers? We shouldn't. If they wish to immigrate to the

RE: [OT] - Request against Session

2004-02-16 Thread Hookom, Jacob
I've been looking a lot at JSF, and the way you can handle scoping issues is to actually store your controller in the session as a bean. Memory is only an issue if you cache data beyond the method scope: An Action updates OrderController in the session with parameters from the request. The view

Re: [OT] - Request against Session

2004-02-16 Thread Mark Lowe
Oh dear. Joins the debate late and tries writing cgi apps in java. Show me the numbers son shine. I've seen some crazy kids hell bent on this sort on premature optimization go months over deadlines this this sort of fanaticism, that impresses managers, i'm impressed already. If you're that

Re: DataGrid...

2004-02-16 Thread Carl
So the displayTag librairie is now perfect ! Carl David Friedman wrote: Carl, There is EL support in the CVS (1.0-b3) version for displaytag. See: http://displaytag.sourceforge.net/changes-report.html Regards, David -Original Message- From: Carl [mailto:[EMAIL PROTECTED] Sent: Monday,

controller for tiles

2004-02-16 Thread Dominik Stoettner
Hi! I am still trying to write a webapplication with tiles that allows the user to choose which tiles he wants to see. So each tile should have its own controller to receive and handle the user inputs. I know that I can define a controller for a tile in the tiles-defs.xml but how do I access that

[OT] RE: Java / J2EE Developer

2004-02-16 Thread Peter Abbot
Maybe you should have taken your own advice and maybe I should have too, but your comments are too one eyed american not to comment. Improving your self doesn't mean you would have to change jobs, you surely have spare time to learn and read new things and there is plenty of trial software out

RE: [OT] RE: Java / J2EE Developer

2004-02-16 Thread Hookom, Jacob
Please stop discussing this on the STRUTS-USER mailing list. Thanks -Original Message- From: Peter Abbot [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 1:34 PM To: Struts Users Mailing List Subject: [OT] RE: Java / J2EE Developer Maybe you should have taken your own advice

RE: Java / J2EE Developer

2004-02-16 Thread Andy Engle
James Mitchell [EMAIL PROTECTED] wrote: Looks like the only way to compete is to improve yourself. That works for me, what about you? I can improve myself all I want to, but if/when our CEO says that workers in India, China, or whatever other country work for pennies on my salary's dollar,

Re: controller for tiles

2004-02-16 Thread Niall Pemberton
I don't know...but I believe the shipped tiles sample app/documentation does this - take a look at that. Niall - Original Message - From: Dominik Stoettner [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 16, 2004 7:22 PM Subject: controller for

RE: [OT] RE: Java / J2EE Developer

2004-02-16 Thread Chappell, Simon P
You tell 'em Jacob. It's not even Friday! -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 1:33 PM To: Struts Users Mailing List Subject: RE: [OT] RE: Java / J2EE Developer Please stop discussing this on the STRUTS-USER mailing list.

RE: controller for tiles

2004-02-16 Thread David Friedman
Dominik, The pdf http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf (Tiles Advanced Features) lists various ways to do this. I suggest you extend your Action class as a tiles controller so that, within the action, you can set the pieces of the tile definition to those of your choosing.

Hoe to use Actionpath in validation.xml???

2004-02-16 Thread subramaniam . o
Hi All, how to use action paths in validation.xml. Sample code will be greatly appreciated. Thanks in advance. Thanks and Regards Subramaniam Olaganthan Tata Consultancy Services India Mailto: [EMAIL PROTECTED] Website: http://www.tcs.comDISCLAIMER: The information contained in this message

Re: html:link passing multiple parameters

2004-02-16 Thread phortonpeg
Thank you both for your suggestions! I haven't tried using EL or JSTL before. I guess it's time to learn it! Thanks again for your help. --- In [EMAIL PROTECTED], Nick Faiz [EMAIL PROTECTED] wrote: Thanks Adam - that's good to know. -Original Message- From: Adam L

preview form

2004-02-16 Thread Janice
Hi Gang, I have a form that the client would like to be 'previewed' before users can submit. The plan is to have a form with a button that takes the user to the exact same form, but with all the form elements set to readonly. From there the user can go back to the editable form or can submit.

Re: preview form

2004-02-16 Thread Dan Tran
select does support readonly , unfortunaely it does not understand readonly attribute, but only disabled -Dan - Original Message - From: Janice [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 16, 2004 1:03 PM Subject: preview form Hi Gang, I have a form that the

Exceptions

2004-02-16 Thread Jitender Kumar C
My application framework doesnt allow me to use message resource files. My Business logic has customized exceptions that contain user messages. Can anyone help me how to proceed without using html:errors (to display on the view) Is there any other alternative to handle exceptions apart from our

RE: preview form

2004-02-16 Thread Nicholson, Robb
We needed a read only version of a selection list as well, but the need wasn't apparent until after one of our developers had already finished writing all the JSP's. The solution I came up with was to write a subclass of the SelectionTag (and OptionTag, OptionsTag) to override the functionality

Re: preview form

2004-02-16 Thread Shyam A
Maybe you can use a read-only text field to display the selected value of the drop-down on your preview page. You can get the label of the drop down in your action class for Preview , and then set the form bean property for the same. Also, use logic:equal on your JSP to check for the user action,

RE: preview form

2004-02-16 Thread Nicholson, Robb
Read-only and disabled don't have the same meaning here. For a read-only field, the value cannot be changed by the user, but it still gets submitted with the rest of the form values. For a disabled field, the user cannot change the value, and the value does NOT get submitted. -Original

Separating Strut and Validator errors

2004-02-16 Thread Theodosios Paschalidis
Hi all, a quick newbie question. When I use an ActionError in my Action class in conjuction with the Validator, I get all my errors reported as server side validations (i.e. no java script). I have found the following code in the book Struts In Action to handle that but I guess it's

Re: Hoe to use Actionpath in validation.xml???

2004-02-16 Thread Niall Pemberton
Its all down to the flavour of ActionForm you use. There a four validation flavours of ActionForm shipped with Struts: org.apache.struts.validator.ValidatorForm org.apache.struts.validator.ValidatorActionForm org.apache.struts.validator.DynaValidatorForm

Re: Separating Strut and Validator errors

2004-02-16 Thread Niall Pemberton
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors http://jakarta.apache.org/struts/userGuide/struts-html.html#messages - Original Message - From: Theodosios Paschalidis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 16, 2004 10:41 PM Subject: Separating

Re: preview form

2004-02-16 Thread Niall Pemberton
Isn't the easiest solution to have two separate pages, something along the lines of html:form action=reviewOrder html:textname=orderForm property=custNo html:select name=orderForm property=productId html:optionsCollection name=productCollection

Re: preview form

2004-02-16 Thread Janice
Hello again, Thanks for the responses. What I ended up with was having my original form take the user to the preview form where all the form elements were disabled, instead of readonly. It even provides a nice visual clue that the form isn't for input, since all the fields are slightly greyed

Re: Struts converts null to 0 ?

2004-02-16 Thread Nathan Coast
internally BeanUtils uses ConvertUtils to convert from Strings to objects. You can deregister the default converters http://jakarta.apache.org/commons/beanutils/apidocs/org/apache/commons/beanutils/ConvertUtils.html The default converters are initialised as follows with 0 for most numeric

RE: Java / J2EE Developer

2004-02-16 Thread Andrew Hill
Mate, if you wanted a sheltered workshop then you should have become a b***y sugar farmer. -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 03:40 To: Struts Users Mailing List Subject: RE: Java / J2EE Developer James Mitchell [EMAIL

Re: Java / J2EE Developer

2004-02-16 Thread Vishal Arora
Hi Sirni, I think u played spoil sport over here.I think u r even mature enough and educated enough to understand this is a forum to discuss Struts related problems and look what uor foolish act of finding jobs in forum have done.I think if u did this act unkowingly then it is ok but

RE: FileUploading Error

2004-02-16 Thread Andrew Hill
Hmmm. Sounds rather like a browser issue to me. You might want to see what is actually being passed in that request - if its actually a valid multipart request or not! I had a try in IE, but IE's file selector is too smart to allow selection of a folder as the upload file. Which browser are you

Re: Hoe to use Actionpath in validation.xml???

2004-02-16 Thread subramaniam . o
Hi, Thanks Nial , im using ValidatorActionForm, let me try that one. Subramaniam Olaganthan Tata Consultancy Services Plot No. 21 Industrial Estate,, Ambattur Chennai,Tamil Nadu India Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Niall Pemberton [EMAIL PROTECTED] 02/17/2004 05:33

JavaMail examples

2004-02-16 Thread Martin Gainty
Will SUN out ant effort to supply build.xml for javamail examples? I noticed that the current environment uses bat(ch) files .very VERY user hostile.. Thank You, Martin Gainty (m)001-617-852-7822 (e)[EMAIL PROTECTED] - To

  1   2   >