RE: Error messages in tiles using tiles-defs.xml

2004-05-31 Thread Ashutosh Satyam
Hi Ganesh, Listing down what all has to be done to display error message when you are using resource bundle and tiles definition. This is a very simple example which should give you a picture of how to go about it. application.properties ( The resource bundle file ) error.auth.failure=Error:N

Error messages in tiles using tiles-defs.xml

2004-05-31 Thread Ganesh Rao
Hi everybody! Can anybody tell me how to display error messages using saveErrors() from resouecebundle properties. Here i'm using tiles.So i need to follow tiles-defs.xml file configureation rules. Ur help thankfully accepted. Ganesh - Y

Hibernate configuration problems

2004-05-31 Thread Zaid
HI Friends, I am facing many difficulties in configuring HibernatePlugIn with struts (I am using Struts Studio), do I need to initialize jndi ? or there might be another way ? cause the jndi showing me the message "cannot find resource". Any advice from you ? thanx alot Zaid --

Re: Page pre-processing - reply

2004-05-31 Thread Eric Fesler
Where do you call the action when the form validation failed? In this case, Struts automatically forward the request back to the input. --ERic On Mon, 2004-05-31 at 20:35, [EMAIL PROTECTED] wrote: > Manually calling execute() will work if execute() only does the initializing > collections or dat

Redirecting from index.jsp causes NullPointerException

2004-05-31 Thread J. Patterson Waltz III
I spent a ridiculous number of hours trying to get my index.jsp forwarding to a Tile, and have finally succeeded. I had looked through the struts-user archives for others with my problem, but never found the answer to my issue, so I'm posting the results of my efforts in the hopes they'll help some

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

2004-05-31 Thread David Stevenson
On 31/5/04 23:27, "David Friedman" <[EMAIL PROTECTED]> wrote: > I didn't mention it because you described wanting a file-based control My intention was to ask for the /best/ solution, but I wasn't steered towards Tiles controllers by the poor Husted book, which doesn't even mention them. I didn'

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

2004-05-31 Thread David Friedman
A black whole? There are good examples in the tiles advanced features pdf listed linked to from the Struts site under the tiles tag developer guide (bottom of the page): http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf I didn't mention it because you described wanting a file-based co

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

2004-05-31 Thread David Stevenson
On 31/5/04 23:16, "ksitron" <[EMAIL PROTECTED]> wrote: > I think what you're looking for is a TileConroller. That's exactly what I'm looking at right now - I only didn't respond earlier in case it was a dead end. It's a black hole documentation-wise (Husted doesn't even mention Tile Controllers)

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

2004-05-31 Thread ksitron
I think what you're looking for is a TileConroller. David Friedman wrote: Why not use two different put (or add) statements with a 'role=""' attribute? One for a role logged in, one for all other roles (might need blank quotes "" to make that work). If course, if you're not using container based

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

2004-05-31 Thread David Friedman
Why not use two different put (or add) statements with a 'role=""' attribute? One for a role logged in, one for all other roles (might need blank quotes "" to make that work). If course, if you're not using container based authentication (JAAS), this probably won't work for you. Does that fit yo

RE: cant find hibernate2.jar file when downloading Hibernate

2004-05-31 Thread David Friedman
> 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 ? First, it is usually in the main

Re: Page pre-processing - reply

2004-05-31 Thread vancega
Manually calling execute() will work if execute() only does the initializing collections or data used on a form. Good idea. Kathy - Original Message - From: "None None" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 30, 2004 10:13 AM Subject: Re: Page pre-processing - repl

property name mismatch / trouble

2004-05-31 Thread Samuel Rochas
Hello, I am using a form displaying properties from a bean. One property of this bean is the unique id from db: id. The bean as a property which is a list of other beans (call it items), which ones has the property of the unique id from db too: id. In my form, I want to know which user is shown,

RE: More than one submit buttons

2004-05-31 Thread Voinea, Marina
Regariding the same issue : multiple submit buttons on a form : We've implemented this succsefully, however, there is still an issue , does anybody have an idea what would be the best and simplest way to deal with it? The problem is as following : A form gets submitted not only through a

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

2004-05-31 Thread Rick Reumann
Axel Stahlhut wrote: Was it NitroX from M7? http://www.m7.com/ Thanks, I might check it out. IntelliJ Idea supports this, too. And for about one year now already. Those guys are really smart... What does IntelliJ support? I used IDEA, and it has no knowledge of being able to complete property

Checkbox (boolean) with DynaActionForm

2004-05-31 Thread Bill Siggelkow
I am using a DynaActionForm in session scope with a boolean property corresponding to a checkbox. Is there a way of configuring the DynaActionForm for the behavior that would normally be put into the "reset" method to set the property to false? I tried using initial="false" but it did not seem

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

2004-05-31 Thread David Stevenson
On 31/5/04 2:52, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Why don't you just use an > ActionForward to go to the tiles definition in tiles-defs.xml you > want? Maybe I didn't explain myself well. The point is that I don't want to have one set of tile definitions for when they're logged in,

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

2004-05-31 Thread Mark Lowe
I did once but the doctor gave be a cream to clear it up. On 30 May 2004, at 22:02, Michael McGrady wrote: 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 -