RE: Validator files questions

2002-10-25 Thread Vincent PROSPER
Hi, You put as many xml files as you want, but they must be described in your struts-config.xml file: plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml,/WEB-INF/validat ion2.xml/ /plug-in

RE: Validator later rather than sooner?

2002-10-25 Thread Vincent PROSPER
John, thats obviously what I did... The thing is even you only select a property for your error message, you get the h3error/h3...hr/ message (due to Struts Validator). It of course doesn't happen if you only use your own validate() methods without calling Struts Validator... Vince

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Frederico Schuh
Though I agree with the CachedRowSet solution, I don't think using a ResultSet is bad at all. If you can find a way to wrap it around an interface like you are proposing, it can be cleaner to the JSP page and will be more memory efficient than using a CachedRowSet, and thus it will be more

RE: [tiles:put / logic:present] lost 'role' attribute

2002-10-25 Thread Vincent PROSPER
Hi, could you please give some answer to this crucial problem? Should I use cookies or any other trick to proceed? Thanks in advance for your answers. Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper;Alkinos.com] Sent: Thursday, October 24, 2002 7:35 PM To: [EMAIL

RE: [sub-apps] smthg missing... (?)

2002-10-25 Thread Vincent PROSPER
Eddie, Craig and James, Thanks a lot for your confirmations. It obviously helps!!! To avoid CVS weirdness between our projects, I guess what I gonna do is actually to include some arguments to my build.xml file in order to fetch only lib and classes files from the other projects. Vince

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Hookom, Jacob John
I guess I'm lost as to why CachedRowSet is a zero copy? The source code for the basicPortal's still copies all the data into another, internal collection. Isn't that copying the data or did I miss the definition of zero copy? With OJB, objects are placed in a cache, so if you are querying

Re: *reset* why is it not being called

2002-10-25 Thread Affan Qureshi
I think you should use JavaScript function for your req. and change teh tye of the Reset button to BUTTON and call a JS function on its click(). - Original Message - From: Joe Barefoot [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 5:11

Re: Dynamic Forms using XML

2002-10-25 Thread Affan Qureshi
Did you get a reply to this? I am faced with a similar situation but in my case the information is coming form a database. I created my Beans which had the properties to specify the field type. Display Label, ids(name), etc. When I unmarshall my information from the database I construct a

RE: Open an other window for information

2002-10-25 Thread Heligon Sandra
Yes, it is not linked to the help command only. My problem is that I would like to know the command to open a new InternetExplorer window. Do you understand my question ? Sandra -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: 24 October 2002 22:37 To:

Get ans Set automatic

2002-10-25 Thread BARADAT Benoit
Hello, I'm looking for a tool that do the java code for get and set automaticly. Where can I find it ? TIA -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: Get ans Set automatic

2002-10-25 Thread Hookom, Jacob John
Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at www.eclipse.org -Original Message- From: BARADAT Benoit [mailto:benoit.baradat;cramif.cnamts.fr] Sent: Fri 10/25/2002 2:49 AM To: Struts Users Mailing List Cc:

Re: Get ans Set automatic

2002-10-25 Thread Scott Barr
Hi Using Eclipse, you can add your fields to a class, then right click on them in the outline view, and select Generate Getters Setters Works just lurvely :) Regards Scott On Friday 25 October 2002 17:19, BARADAT Benoit wrote: Hello, I'm looking for a tool that do the java code for get

Re: Get ans Set automatic

2002-10-25 Thread Scott Barr
You're too quick for me! On Friday 25 October 2002 17:22, Hookom, Jacob John wrote: Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at www.eclipse.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: Get ans Set automatic

2002-10-25 Thread Hookom, Jacob John
well, it's an awesome IDE, I can't promote it enough ;-) -Original Message- From: Scott Barr [mailto:sbarr;chariot.net.au] Sent: Fri 10/25/2002 2:55 AM To: Struts Users Mailing List Cc: Subject: Re: Get ans Set automatic

Re: Get ans Set automatic

2002-10-25 Thread BARADAT Benoit
I have JBuilder 6. Can I generate set and get with this tool ? - Original Message - From: Hookom, Jacob John [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 25, 2002 9:52 AM Subject: RE: Get ans Set automatic Most IDE's have it built in. I

RE: Get ans Set automatic

2002-10-25 Thread René Eigenheer
sorry to jump in...recently I was looking for a thing related to eclipse - outline - setters, maybe you have a solution: I would like to have the possibility to hide the setters and getters within the outline view, or even better, to have a outline tree with the top level elements: attribute,

Re: Get ans Set automatic

2002-10-25 Thread Reinhard Spisser
Netbeans 3.4 (www.netbeans.org) supports this feature. Netbeans is free. Reinhard Il ven, 2002-10-25 alle 09:49, BARADAT Benoit ha scritto: Hello, I'm looking for a tool that do the java code for get and set automaticly. Where can I find it ? TIA -- To unsubscribe, e-mail:

Re: Open an other window for information

2002-10-25 Thread Affan Qureshi
Use JavaScript: window.open() method which takes in URL among other options. - Original Message - From: Heligon Sandra [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 25, 2002 12:11 AM Subject: RE: Open an other window for information Yes, it

Display the first sheet with data

2002-10-25 Thread BARADAT Benoit
Hello, I would like display a sheet with data and a form. This sheet is the fisrt of the application. The data are stored in an ArrayList. Where is the good method (in the ActionForm) to fill the arrayList ? TIA -- To unsubscribe, e-mail:

Re: Validator later rather than sooner?

2002-10-25 Thread Michael Delamere
Hi, there is actually quite an easy way to do this. Instead of your forms beans being extended from ValidatorForm, you should extend from ValidatorActionForm. This means that you can validate on a per action basis. This is how I did it anyway. Before I knew of this method I created three

AW: Get ans Set automatic

2002-10-25 Thread sem . Gottofrey
http://codecentral.borland.com/codecentral/ccweb.exe/prodcat?prodid=3catid= 11 -Ursprüngliche Nachricht- Von: BARADAT Benoit [mailto:benoit.baradat;cramif.cnamts.fr] Gesendet: Freitag, 25. Oktober 2002 10:01 An: Struts Users Mailing List Betreff: Re: Get ans Set automatic I

multibox : problem with preselected array

2002-10-25 Thread sanjana
Hi, I have been trying to use multibox and am facing a strange problem. I want a few values to be preselected when I load the form. If I initialize my selected string array in default constructor of the form then everything works properly and I can see those checkboxes as selected when the

Message key obtained from bean

2002-10-25 Thread Ian Crossfield
I'm attempting to display an internationalised String, obtaining the key from a bean: bean:message name=title property=key/ However when I run this I'm told that the key attribute is a required attribute. According to the TLD attribute key is mandatory for tag message But the tag

tiles problem with tomcat 4.1.12

2002-10-25 Thread Marco Machmer
hy, if i start tomcat 4.1.12 with struts used in my webapplication i get the following error on server console (server started with catalina.sh run) Oct 25, 2002 11:19:28 AM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 1 column 9: Document root element taglib,

RE: Open an other window for information

2002-10-25 Thread Divakar Satyanarayan
Sandra, Visit the following link to get more info on opening new window http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref erence/methods/showmodaldialog.asp http://www.webreference.com/js/column90/9.html Regards, Divakar -Original Message- From: Affan

cross context notifications

2002-10-25 Thread Mohan Radhakrishnan
Hi, Our problem is one of those classic cases. We load report parameters into the application scope. These parameters change but not too frequently. We don't want to fetch the parameters with every request because they don't change very frequently. 1. Is there any way to reload data that

File organization

2002-10-25 Thread Fabrice BLANQUART
Hi, Is someone have a whitepaper or an example on the best way to organize the file inside the WEB-INF directory for multiple subapplication ? One directory for struts-config,tiles config .. ? Rgs Fabrice *---* *

RE: Struts does not work with Tomcat 3.2.3

2002-10-25 Thread Holman, Cal
Jitendra No specific changes - Maybe the context is not being set correctly in your server.xml. Can you get the examples to work on 3.2.3? Can you get a html page in your app to come up without going through Struts - like an image? Why not just switch to 4? Cal http://www.calandva.com/

Internationalization - user setting the language manually?

2002-10-25 Thread Stefan.Landro
Hi there! I find the internationalisation feature of struts real nice, but there is something that is bothering me. What if a browser doesn't have a language setting, or if the user wants to change to a particular language just for this one application? On most web-sites the user is able to set

Re: tiles problem with tomcat 4.1.12

2002-10-25 Thread Cedric Dumoulin
Sound like an error in your struts-tiles.dtd file. Maybe you have an old or corrupted version. Try to replace it with a fresh one. Cedric Marco Machmer wrote: hy, if i start tomcat 4.1.12 with struts used in my webapplication i get the following error on server console (server started

Re: deprecated perform method in Action means roll your own Command Pattern

2002-10-25 Thread Tony Baity
David, Perhaps I misinterpreted the UML for command pattern as is shown in Applied Java Patterns by Sun. I was assuming that the Action class was a combination of the aCommand:Command and the :Receiver on page 52 and herefore contained both the execute() and the doAction() (AKA perform). -Tony

Re: Internationalization - user setting the language manually?

2002-10-25 Thread Gemes Tibor
2002. október 25. 13:33 dátummal [EMAIL PROTECTED] ezt írtad: Hi there! I find the internationalisation feature of struts real nice, but there is something that is bothering me. What if a browser doesn't have a language setting, or if the user wants to change to a particular language just

Re: tiles problem with tomcat 4.1.12

2002-10-25 Thread Marco Machmer
Am Freitag, 25. Oktober 2002 12:31 schrieb Hue Holleran: Hi, We had a few probs getting tiles to run with Tomcat 4.1.12 but have now sorted all those issues - to be honest some were with Java Sec Mgr, some with the tiles-documentation.war supplied in 1.1b2 - changing to the nightly build and

RE: Internationalization - user setting the language manually?

2002-10-25 Thread James Mitchell
-Original Message- From: [EMAIL PROTECTED] [mailto:Stefan.Landro;swisscom.com] Sent: Friday, October 25, 2002 7:34 AM To: [EMAIL PROTECTED] Subject: Internationalization - user setting the language manually? Hi there! I find the internationalisation feature of struts real nice,

[FRIDAY] Preview of a new version of windows! (WinRG) ;-)

2002-10-25 Thread Andrew Hill
http://www.surfersonacid.com/pages/winrg.html -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: Internationalization - user setting the language manually?

2002-10-25 Thread Stefan.Landro
Thanks to both of you. This is exactly what I needed to know. Stef. -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: Freitag, 25. Oktober 2002 14:11 To: Struts Users Mailing List Subject: RE: Internationalization - user setting the language manually?

Re: [tiles:put / logic:present] lost 'role' attribute

2002-10-25 Thread Cedric Dumoulin
Hi, Vincent PROSPER wrote: Hi, Ok, my question may be obvious for some of yours, but I guess I am not the only newbie having this kind of trouble (I hope ;-) All I wanna do is to customize jsp pages (made of struts tiles) depending on user's role. Here is my trouble: I've got a tile (among

Re: Internationalization - user setting the language manually?

2002-10-25 Thread Tumi Mathibedi
hi Stefan, if (request.getLocale() == null) { yada yada yada... } In short what I am saying is that u can have a logic to help solve the browserNotSetLocale to do what you want. On Fri 25 Oct 02 13:33, you wrote: Hi there! I find the internationalisation feature of struts real nice, but

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Bryan Field-Elliot
On Fri, 2002-10-25 at 00:55, Hookom, Jacob John wrote: I guess I'm lost as to why CachedRowSet is a zero copy? The source code for the basicPortal's still copies all the data into another, internal collection. Regards, Jacob Here's how my thinking has evolved since I opened

DynaActionForm and indexes

2002-10-25 Thread Praful . Kapadia
I'd like to display a table of data (several columns and rows). It is easiest to describe what I want using pseudo-code: Iterate over users objects textbox: users.name combobox: users.status end iterate Where users is a collection. Users[i].name

Using Struts Taglib Outside of Struts

2002-10-25 Thread Vinh Tran
I am working on a side project that uses a roll-your-own MVC approach. After using Struts on a separate project I would like to make use of the Struts taglibs for this new project. I would simply use JSTL but I am constrained to Tomcat 3.X which is a JSP 1.1 container. Any thoughts from the

RE: multibox : problem with preselected array

2002-10-25 Thread Sri Sankaran
How is the TestForm(boolean) constructor being invoked? The Struts framework will simply invoke the default constructor. How are you setting the selected string array in Action class? Are you creating this form bean in the Action class then setting the array? If so, are you persisting this

RE: Using Struts Taglib Outside of Struts

2002-10-25 Thread Sri Sankaran
Just use the struts jar and make the necessary taglib entries in your application's web.xml. Sri -Original Message- From: Vinh Tran [mailto:vinht;processintelligence.com] Sent: Friday, October 25, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: Using Struts Taglib Outside of Struts I am

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Jacob Hookom
That's the thing though, granted objects are passed by reference, but, with cached rowset, each call to the db will result in the creation of a new set of container objects to hold all of the fields (container for all rows, a container for each column of that row). The only real resolve to this

RE: Dynamic Forms using XML

2002-10-25 Thread Bhamani, Nizar A TL56E
Can you clarify that the standard logic:.../ html:.../ tag lib were sufficient to render these beans as user input fields? Or did you have to build your own rendering taglibs ? Nizar Bhamani Senior Software Engineer YouDecide.com Inc, a subsidiary of Ace INA Holdings Corp [EMAIL PROTECTED]

Re: Zero-copy persistence with Struts?

2002-10-25 Thread V. Cekvenich
errr the source is in ZIP. It was in CVS, then a new programer on bP project droped the CVS by accident. It will take at least a day to clean up left over files, waiting on SF to do that. Check PM/tmrw for CVS or use a ZIp a bit out of date. (I have had 4 private e-mails on this) .V Jacob

Re: Internationalization - user setting the language manually?

2002-10-25 Thread David Graham
I posted a tag that lets users select a different language on bugzilla a while back. You could look at that and see if it helps. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12648 David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Frederico Schuh
The CachedRowSet has to perform copying of data, it cannot keep track of references only . The ResultSet has a small volatile buffer that gets overwritten as it is iterated over. So this means that if the CachedRowSet stored only pointers, it would point to the most recent rows being fetched from

Re: deprecated perform method in Action means roll your own Command Pattern

2002-10-25 Thread David Graham
I don't have that book so I can't reference it but the basic command pattern states that commands know how to execute themselves. So, the Struts Action class is an implementation of this pattern. Each Action just knows how to execute one command like SavePersonAction puts a person in a

question about Action overhead and best practice

2002-10-25 Thread Andy Kriger
I have the current setup JSP (behind an Action) - Action - JSP (behind an Action) The Action in the middle does several things, none particularly large (let's say 10 lines of code each). It would probably be cleaner design to separate the tasks into separate actions. However, I am curious about

a validation rule called mask

2002-10-25 Thread Vincent Stoessel
Hello, Just for clarification. Mask is for testing on customized regular expressionsm, right? -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: Zero-copy persistence with Struts?

2002-10-25 Thread Eddie Bush
No, you're right Jacob. It would, in fact, have to do a copy. I don't, quite frankly, know why I misrepresented it. I think it's still more minimalistic than OJB though - so the original person asking may yet prefer it. I certainly would rather see a person use CRS than keeping ResultSets

Re: Zero-copy persistence with Struts?

2002-10-25 Thread V. Cekvenich
Hookom, Jacob John wrote: I guess I'm lost as to why CachedRowSet is a zero copy? The source code for the basicPortal's still copies all the data into another, internal collection. No it does not. CVS will be up, else I would link you. Pseudo code is soemthing like this: getNameX () {

Re: question about Action overhead and best practice

2002-10-25 Thread David Graham
I see nothing wrong with an Action returning a different ActionForward depending on system conditions. If you break it up you won't notice any performance difference. Struts only creates one object per Action, effectively making Actions Singletons, so the memory requirement is very small.

Re: Zero-copy persistence with Struts?

2002-10-25 Thread V. Cekvenich
RowSet from Sun is closed source but there are way to look in. Open Source RowSet is at jxUtil on Sourceforge, easy to look at. Also Oracle has RowSet as optional download to the JDBC (it is not a part of regular Oracle JDBC) I found it to be fastest, easiest. My favorite part is that

Strange Parsing Error

2002-10-25 Thread Adam Sherman
I'm getting: Oct 25, 2002 10:36:38 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 490 column 81: The string -- is not permitted within comments. Then I get: Oct 25, 2002 10:36:38 AM org.apache.struts.action.ActionServlet initApplicationConfig SEVERE:

RE: Question - DynaActionForm and indexed property

2002-10-25 Thread Taylor, Jason
hope you're using struts 1.1-- you're going to need the indexed attribute. Here's the basic idea: logic:iterate id=creditCard name=myForm property=creditCards Type: html:text name=creditCard property=type indexed=true / Name: html:text name=creditCard property=name indexed=true / ...

scope = session or request

2002-10-25 Thread Marc AMIR-TAHMASSEB
Hi everybody what is the difference between scope=request and scope=session ? thank's Marc -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Nested html:form

2002-10-25 Thread Michael Marrotte
What's the best way to nest forms? I want to: html:form action=A html:form action=B html:img src=B/ /html:form html:img src=A/ html:form But, when I try this, src B always invokes action A -- I want src B to invoke action B. Any help is greatly

Struts in J2EE

2002-10-25 Thread Bill Chmura
I am starting to play with J2EE... If I am going to use struts, do I build the whole thing in the J2EE archive, or do I keep that stuff separate and connect to it from the Tomcat I am running? Me confused William B Chmura Director of Internet Technology Explosivo Internet Technology Group

RE: scope = session or request

2002-10-25 Thread Divakar Satyanarayan
Get the information at following link.. http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_model.html#jav abeans Regards, Divakar -Original Message- From: Marc AMIR-TAHMASSEB [SMTP:[EMAIL PROTECTED]] Sent: Friday, October 25, 2002 8:15 PM To: [EMAIL PROTECTED]

Re: Strange Parsing Error

2002-10-25 Thread Vikas Malla
I had this error. I just got rid of the nested comments. try this on your struts-config.xml. see if this works in your case. Adam Sherman [EMAIL PROTECTED] wrote:I'm getting: Oct 25, 2002 10:36:38 AM org.apache.commons.digester.Digester fatalError SEVERE: Parse Fatal Error at line 490 column

RE: Struts in J2EE

2002-10-25 Thread Stephen . Thompson
It all depends upon your system structure. If you are using an integrated jsp server (ie tomcat inside jboss) then you can package struts inside you normal war file. This war file is packaged with the ejb jar file inside your ear file. This can then be deployed as a single package. Regards,

RE: Question - DynaActionForm and indexed property

2002-10-25 Thread Andy Kriger
does that type format of class[] apply to Arrays and Lists? -Original Message- From: Taylor, Jason [mailto:jtaylor;cobaltgroup.com] Sent: Friday, October 25, 2002 10:42 To: 'Struts Users Mailing List' Subject: RE: Question - DynaActionForm and indexed property hope you're using struts

RE: Nested html:form

2002-10-25 Thread Miller, Jason
I could be wrong, but I don't think it's legal to nest forms. I'm fairly sure that the form element in HTML cannot have a nested form element. In any case, it seems like a pretty obfuscated thing to do. What are you hoping to accomplish? What's the best way to nest forms? I want to:

RE: Struts in J2EE

2002-10-25 Thread Bill Chmura
Ah... That's exactly what I am using. So I would just go and make the war file like I would for a simple Tomcat servlet type program, except use JNDI to get the EJB components, everything else stays the same inside the WAR (directory structure, config files, etc)? Thanks for the information!

RE: Nested html:form

2002-10-25 Thread Michael Marrotte
I want all the elements of the inside form to get submitted with the request, but not vice versa. Also, I want to seperate forms. -Original Message- From: Miller, Jason [mailto:jmiller;ostglobal.com] Sent: Friday, October 25, 2002 10:55 AM To: 'Struts Users Mailing List' Subject: RE:

Re: Nested html:form

2002-10-25 Thread Michael Delamere
I don´t think that this is conform at all. I´m not sure if earlier versions of Netscape are important to you, but it will definitely not work there! Is there no other option for you other than nesting the forms? Regards, Michael - Original Message - From: Michael Marrotte [EMAIL

RE: Nested html:form

2002-10-25 Thread Miller, Jason
So you have two forms, and when one is submitted you want to include every element from both forms, and when the other is submitted, you want only the specific elements included? I think you will have to do some funky server manipulation to pull off this trick. Basically, it looks like you'll

RE: Struts in J2EE

2002-10-25 Thread Kevin . Bedell
Bill - Another issue you'll have to address is making sure all the appropriate jar files are available to your Web Application. While the specific jar files you need in the webapp will depend on how you configure your application, you may have to include: - jar files with the EJB stubs used

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
Vikas Malla wrote: I had this error. I just got rid of the nested comments. try this on your struts-config.xml. see if this works in your case. I removed *all* comments, still get the error. I think it's referring to a different file... Thanks, A. -- Adam Sherman Software Developer Teach

RE: Struts in J2EE

2002-10-25 Thread Bill Chmura
Excellent - thanks for the tips! -Original Message- From: [EMAIL PROTECTED] [mailto:Kevin.Bedell;sunlife.com] Sent: Friday, October 25, 2002 11:36 AM To: Struts Users Mailing List Subject: RE: Struts in J2EE Bill - Another issue you'll have to address is making sure all the

RE: [FRIDAY] Preview of a new version of windows! (WinRG) ;-)

2002-10-25 Thread James Mitchell
-Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Friday, October 25, 2002 8:15 AM To: Struts Subject: [FRIDAY] Preview of a new version of windows! (WinRG) ;-) http://www.surfersonacid.com/pages/winrg.html LOL...THAT WAS S FUNNY For

[OT] Serialization issue - stream has problems flushing?

2002-10-25 Thread Eddie Bush
I've got a friend asking me questions I don't have the answers to. I was in hopes one of you may. My buddy uses serialization (ie. ObjectOutput/InputStream wrapping FileOutput/InputStream for writing/reading objects to/from disk) as per a suggestion I made when asked for a non-database

Re: [FRIDAY] Preview of a new version of windows! (WinRG) ;-)

2002-10-25 Thread Jan Fetyko
Nice Flash, True Windowz. Thanks. Andrew Hill wrote: http://www.surfersonacid.com/pages/winrg.html -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail:

RE: [OT] Serialization issue - stream has problems flushing?

2002-10-25 Thread Gavin Terrill
Check out: http://staff.develop.com/halloway/code/objectio.html You may want to use ObjectStreamWalker to see what is being written to the file. -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Friday, October 25, 2002 12:01 PM To: Struts Users List Subject: [OT]

Re: [OT] Serialization issue - stream has problems flushing?

2002-10-25 Thread Brian Hickey
Eddie If he is writing his own wrappers then the class should take the basic form of this: import java.io.*; public class ser { public static void main(String args[]) throws IOException { FileOutputStream f = null; Integer i = new Integer(1); f = new FileOutputStream(tmp); ObjectOutput

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Craig R. McClanahan
On Fri, 25 Oct 2002, Frederico Schuh wrote: Date: Fri, 25 Oct 2002 07:01:05 -0700 (PDT) From: Frederico Schuh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Zero-copy persistence with Struts? The

RE: [OT] Local DTDs to satisfy DOCTYPE

2002-10-25 Thread Craig R. McClanahan
On Thu, 24 Oct 2002, VEDRE, RANAPRATAP REDDY wrote: Date: Thu, 24 Oct 2002 23:04:00 -0400 From: VEDRE, RANAPRATAP REDDY [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT] Local DTDs to satisfy DOCTYPE

Re: cross context notifications

2002-10-25 Thread Craig R. McClanahan
On Fri, 25 Oct 2002, Mohan Radhakrishnan wrote: Date: Fri, 25 Oct 2002 15:18:18 +0530 From: Mohan Radhakrishnan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: cross context notifications Hi, Our

Re: [OT] Serialization issue - stream has problems flushing?

2002-10-25 Thread Eddie Bush
That is exactly what I suggested to him, but he suggests he is doing this. I do recall him having asked me about the flush because close is supposed to flush, but he assured me he *is* calling flush before close. So far as I was aware, that was the one thing you had to be careful of - but

Re: Strange Parsing Error

2002-10-25 Thread Craig R. McClanahan
On Fri, 25 Oct 2002, Adam Sherman wrote: Date: Fri, 25 Oct 2002 10:41:45 -0400 From: Adam Sherman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Strange Parsing Error I'm getting: Oct 25, 2002 10:36:38 AM

Re: [OT] Serialization issue - stream has problems flushing?

2002-10-25 Thread Craig R. McClanahan
On Fri, 25 Oct 2002, Eddie Bush wrote: Date: Fri, 25 Oct 2002 11:45:46 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: [OT] Serialization issue - stream has problems flushing? That

Stop the auto fill in html:password

2002-10-25 Thread Kwok Ng
Hi folks, IE has the auto fill feature to put the history in the text field. Is there a way that Struts's html:password has the work around to stop IE from doing this? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands,

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
Craig R. McClanahan wrote: The message is telling you exactly what's wrong. One way to cause this is to try a comment like this: I have *no* comments in my config. Is it possible that another file is the problem? Also, I do not have 490 lines. Here's my struts-config.xml, verbatim: ?xml

Enable a button from the program

2002-10-25 Thread H471247
How can I enable a button from the program ? The property of the button is in my FormBean. From which type must be this property, if I will enable the button from the program ? Can I take the setter-method of this property ? With JavaScript, the following for disabling of the button, works

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Bryan Field-Elliot
On Fri, 2002-10-25 at 10:33, Craig R. McClanahan wrote: Conceptually, one can imagine a RowSet implementation that did not copy anything unless you tried to *modify* existing data, at which point it would keep dirty copies of the data that was changed. As long as the underlying ResultSet

MultiBox problem.

2002-10-25 Thread Kavitha ranga
Hi, I am using a multibox as follows in my JSP page: logic:iterate id =unAssOrgs property=unAssignedOrgs tr html:multibox property=unAssOrganizations bean:write name=unAssOrgs property=value/ /html:multibox bean:write name=unAssOrgs property=name/ /tr /logic:iterate where unAssignedorgs is an

Re: [OT] Serialization issue - stream has problems flushing?

2002-10-25 Thread Brian Hickey
Eddie, HEH :) The only things I have been able to geek up were serialized objects in J2EE. One time was a classpath problem and the other was some goofy versioning thing that insisted on calling every method except the one I wanted ... Darn computers. Don't they know what we want to do? Brian

RE: Question - DynaActionForm and indexed property

2002-10-25 Thread Taylor, Jason
If it's an ArrayList, you'd specify the type as java.util.ArrayList -Original Message- From: Andy Kriger [mailto:akriger;greaterthanone.com] Sent: Friday, October 25, 2002 8:00 AM To: Struts Users Mailing List Subject: RE: Question - DynaActionForm and indexed property does that type

RE: Nested html:form

2002-10-25 Thread Taylor, Jason
Nested forms don't work because browsers don't handle them. The best practice so far as I know is to have one large form with multiple submission buttons that specify different values for a 'form type' form property which is inspected in the Action class that handles the request. You can

Re: Enable a button from the program

2002-10-25 Thread H471247
In einer eMail vom 25.10.2002 18:22:52 Westeuropäische Normalzeit schreibt [EMAIL PROTECTED]: you trying to disable a button based on the value of bean property Yes, I'm trying to disable a button based on the value of bean property, but how can I do this ? John

RE: JavaScript Validation: MinLength MaxLength Functions Don't Work

2002-10-25 Thread Nekkalapudi, Viplava
Thanks! Actually, we ended up creating our own custom JavaScript methods called validatePasswordMinLength and validatePasswordMaxLength and placed them in our own abc-validator-rules.xml file. These two functions only work on password fields. We placed these new functions in our own file

RE: Enable a button from the program

2002-10-25 Thread James Mitchell
Here's a good one for you: http://javascript.internet.com/forms/disable-submit.html James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955)

RE: Stop the auto fill in html:password

2002-10-25 Thread Karr, David
I don't see how. The browser user can control this behavior. I can't envision any way the generated HTML page could defeat this behavior. -Original Message- From: Kwok Ng [mailto:kwokng;earthlink.net] Sent: Friday, October 25, 2002 9:53 AM To: [EMAIL PROTECTED] Subject: Stop the

nested:iterate recursion inverts tree

2002-10-25 Thread Steve Hall
I'm new to using nested tags. I've worked through the keyboard monkey tutorial and started experimenting with the nested tags on my own. I've run into something that perplexes me. My tree's are inverted when I use recursive calls to a jsp that iterates over the nested nodes. i.e.:

a little javascript problem

2002-10-25 Thread Vincent Stoessel
Uh oh, it seems I can't use the 'id' attribute in html:* form elements. I need to do this in a form element : onClick=disableIt(document.getElementById(myID)) but I cannot do this on the target form element. html:checkbox property=boo id=myID because that violates the DTD, I guess. Any

Re: a little javascript problem

2002-10-25 Thread Eddie Bush
try styleId=myID id is used for other things, as you've discovered ... Vincent Stoessel wrote: Uh oh, it seems I can't use the 'id' attribute in html:* form elements. I need to do this in a form element : onClick=disableIt(document.getElementById(myID)) but I cannot do this on the target form

Re: a little javascript problem

2002-10-25 Thread Vincent Stoessel
Egads! You are quite right sir. And I had a book right next to me. Thanks. [EMAIL PROTECTED] wrote: If I am correct the documentation states that the tag attribute styleId will render the html id. Vincent Stoessel [EMAIL PROTECTED] on 10/25/2002 01:30:01 PM Please respond to Struts Users

OT - Can someone explain this feature to me

2002-10-25 Thread Charles Brault
I was thinking of sending this to the Car Guys for the weekly Puzzler, but then decided to send to this list instead, hoping one of you wizards out there can explain what's going on. Is the class name Component a sacred name in Introspection/BeanInfo land? Here's a little test of 2 classes,

  1   2   >