Re:More than one submit buttons

2004-05-30 Thread praveen kulkarni
Hi Kalla, To use more than one submit buttons, in struts, u can use DispatchAction which is a subclass of Action. By configuring the action in Struts-config, u can add "parameter" attribute as "submit". And no need of writing n number of Action classes for n submit buttons!!! u can write

cant find hibernate2.jar file when downloading Hibernate

2004-05-30 Thread Zaid
Hi All, I know that this question is out of struts, however, I like to you guys, as u might have good experience. I downloaded hibernate-2.1, and in the installation it says that there is a file called hibernate2.ja, however I cant find this file. any advise ? Regards, - Original

Re: What was the name of this application? [was] Re: Are there any IDE's that understand Struts tags?

2004-05-30 Thread Axel Stahlhut
Rick Reumann wrote: bOOyah wrote: Actually there was a struts application/IDE that was for demo that was quite impressive but now I forgot the name. Was it NitroX from M7? http://www.m7.com/ Yes! That was the one thanks. That's the only one that I've found that will actually complete the diff

Use SiteMesh instead of Tiles

2004-05-30 Thread Rick Reumann
I've used Tiles for a long time and just recently switched to using SiteMesh. For those of you thinking, "Oh man, one more new thing to worry about it- Tiles works for me, forget it," trust me, SiteMesh is simple. MUCCH easier to set up and use than Tiles. The biggest advantage I've fou

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread Michael McGrady
I also would recommend you read Chapter 11 of Cedric Dumoulin's treat of tiles in Ted Husted's book Struts in Action. That Ted has a sense of humour, no? Struts in ACTION? LOL Mike At 05:14 PM 5/30/2004, David Stevenson wrote: Bear with a beginner's question, please. Loads of docs imply this

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread Michael McGrady
There are hundreds of ways to do this. Why don't you just use an ActionForward to go to the tiles definition in tiles-defs.xml you want? you are using Struts, right? Actually I am surprised that what you are doing works. I don't know from the code you showed how the application knows to ins

Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread David Stevenson
Bear with a beginner's question, please. Loads of docs imply this is possible, but I haven't found ones that actually illustrate how to do it. Standard scenario, a user can be logged in or out. I want to determine which Tile is included based on whether they're logged in. This can be determined f

Re: Page pre-processing - reply

2004-05-30 Thread Michael McGrady
I am interested in finding a solution for this recurrent problem, as I know many are. My first question, however, is what do Struts and Tomcat use to keep track of sesssions? Anyone have a reference to that information? I think the solution might be to keep something other than a session whic

JS generated by validator as plain text

2004-05-30 Thread Matthieu Guyonnet-Duluc
Hi, I try to use validator taglibs. When I add tag in my code, the javascript generated is rendered as plain text, without

Re: [OT] Why do you keep torturing me shaikh.sohrab!

2004-05-30 Thread Michael McGrady
I didn't even know you had a "shaikh.sohrab", Rick! LOL At 07:58 AM 5/30/2004, Rick Reumann wrote: "Why do you keep torturing me shaikh.sohrab of rave-tech dot com!" -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Page pre-processing

2004-05-30 Thread Eric Fesler
Hi Riyad, indeed, that's a way to do it. I guess I have to be careful with the form reset method to avoid all the information the user has already entered. --ERic On Sun, 2004-05-30 at 03:44, Riyad Kalla wrote: > Eric, > I have something exactly like this, and I get around it by setting the >

weird exception every once in a while!!

2004-05-30 Thread ali
every once in a while when i try to Run my application in JBuilder X i get the following exception. (i just stop the Run and start it again and everything is ok). i am afraid this bug will frighten my customer while running the app: E:\JBuilderX\jdk1.4\bin\javaw - classpath "E:\JBuilderX\thirdp

Dynaforms + w1251

2004-05-30 Thread Andrey Rogov
To work with "windows-1251" coding in forms I described the line request.setCharacterEncoding( "windows-1251" ) in the reset method. It allowed me to enter Cyrillic symbols in the database. How do I install "windows-1251" for DynaForms? Help is appreciated , Best regards, Andrey

[OT] Why do you keep torturing me shaikh.sohrab!

2004-05-30 Thread Rick Reumann
"Why do you keep torturing me shaikh.sohrab of rave-tech dot com!" -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Page pre-processing - reply

2004-05-30 Thread None None
Is your preparation being done in an Action? If so, why not just instantiate it yourself and call execute() manually? I do something I think is similar to your question in an application I just converted to Struts... I have a management-type screen that has a list of users that can be mainta