Re: page going out of tiles

2006-07-27 Thread Antonio Petrelli
Rauf Khan ha scritto: For *body* i have a registration form, for which iam validating using validator frame. For which the code is given below. When i enter only numbers in the password field it works fine & the *resultpage* will be displayed & ALSO the page will be in the tiles(body) only. Suppo

RE: Session Tracking

2006-07-27 Thread Chetan Pandey
1) User clicks on Logout on JSP page ( Can this be achieved by explicitly doing session.invalidate() ?) Yes. 2) User clicks on the close button on window This can be done in Javascript but I am told it doesn't work. In that case you have to depend on session timeout. Plus each time a new

Session Tracking

2006-07-27 Thread prerna.sawhney
H All, I am using struts framework and tomcat as the webserver. I want to implement session tracking and explicitly expire the session after a fixed period of inactivity. So the session needs to expire in the following scenarios 1) User clicks on Logout on JSP page ( Can this be ach

page going out of tiles

2006-07-27 Thread Rauf Khan
Hi All, Iam using tiles for my project which has a header,menubar, body & footer. For *body* i have a registration form, for which iam validating using validator frame. For which the code is given below. When i enter only numbers in the password field it works fine & the *resultpage* will be

Re: dynamic key/value parameters in the request url with struts/tiles

2006-07-27 Thread Laurie Harper
Better yet, put the key/value pairs into a Map and store it as a request attribute: Map values = new HashMap(); values.put("key1", "value1"); ... request.setAttribute("values", values); Then just access the values from the map in your JSP. L. Monkeyden wrote:

reloadable ApplicationResources.properties

2006-07-27 Thread Adam Hardy
I just finished replacing the text strings with language key strings in my application's JSPs. We're using Spring MVC which has a 'ReloadableResourceBundleMessageSource' class, configurable to monitor the state of the ApplicationResources.properties file. It meant the .properties file was re

Validate Properties in a "List" of an Object

2006-07-27 Thread Caroline Jen
I use the Struts validation.xml to make sure that users do not leave any of the text fields in the web page blank. The complications come. All text fields are properties of an object. The "form" that is associated with the action mapping has only the getter and setter of that object 'selectedATS

[ot] CipherTrust is looking for some Struts talent

2006-07-27 Thread James Mitchell
CipherTrust, the global market leader in messaging security, provides layered security solutions to stop inbound and outbound messaging threats. http://www.ciphertrust.com/ If you know Struts, you know that there is no shortage of opportunities, and if you know your stuff (you know who you

Re: dynamic key/value parameters in the request url with struts/tiles

2006-07-27 Thread Monkeyden
The TilesRequestProcessor appears to do an exact text match, to determine whether its a tile or not, so with a querystring it won't work. To get around it you could overrride that method in a subclass. On 7/27/06, prasad pondugula <[EMAIL PROTECTED]> wrote: Hello all, In struts/tiles environ

dynamic key/value parameters in the request url with struts/tiles

2006-07-27 Thread prasad pondugula
Hello all, In struts/tiles environment, how to pass dynamic key/value parameters from an action class? I know way of setting dynamic key/values from action class but it is not working with tiles. Let me be more clear. 1). TestAction.java: in execute() method, based on some logic, we might

Re: [ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-27 Thread Frank W. Zammetti
On Thu, July 27, 2006 12:34 pm, Monkeyden wrote: > The statement "This just goes to show, patenting every idea you ever > have..." just seemed to imply that you were the first with the idea. My > apologies if I perceived it the wrong way. Gotcha. No, I don't think you really perceived it wrong..

Re: very urgent

2006-07-27 Thread Monkeyden
Follow Lance, he knows the way. I use JSTL whenever I can. I also use Struts-EL to give Struts a dash of JSTL's expression language flavor. On 7/27/06, Lance <[EMAIL PROTECTED]> wrote: You can also use JSTL c:out tag Using The JSTL tags means you no longer require struts-bean or struts-log

Re: [ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-27 Thread Monkeyden
The statement "This just goes to show, patenting every idea you ever have..." just seemed to imply that you were the first with the idea. My apologies if I perceived it the wrong way. I certainly don't claim that I was the first either. I was just a code monkey at the time, but Coach may well h

RE: very urgent

2006-07-27 Thread Lance
You can also use JSTL c:out tag Using The JSTL tags means you no longer require struts-bean or struts-logic. You'll find jsp coding much less verbose and easier to read. (see http://java.sun.com/products/jsp/jstl/) -Original Message- From: Meenakshi Singh [mailto:[EMAIL PROTECTED] Sent

Re: [ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-27 Thread Frank W. Zammetti
On Thu, July 27, 2006 11:59 am, Monkeyden wrote: > You may have a battle with my former co-worker, Coach Wei at Nexaweb, to > lay > claim to the first "Ajax-like" application. He is widely referred to as > an > Ajax pioneer. We were doing this in '99-2000 and he was well into it > before > I got

Re: [ANNOUNCE] New article: The AjaxParts Taglib from Java Web Parts: AJAX for Java Developers the Easy (yet powerful) Way!

2006-07-27 Thread Monkeyden
You may have a battle with my former co-worker, Coach Wei at Nexaweb, to lay claim to the first "Ajax-like" application. He is widely referred to as an Ajax pioneer. We were doing this in '99-2000 and he was well into it before I got involved. Our initial approach was pretty unique, however. W

Re: pb using validator with struts1.2.9

2006-07-27 Thread Jeremy Jardin
Ok it works well now ! I didn't know that the validwhen rule was server-side validation.. so I expected to have js popup with the 'validwhen' worries .. It' s ok now thanks a lot for you help. ++ On 7/26/06, Adam Gordon <[EMAIL PROTECTED]> wrote: Jeremy- Sorry you're still having problems.

Re: Need ur help !

2006-07-27 Thread Antonio Petrelli
sunil.prabhu ha scritto: I am in need of SAMS "struts kick start" ebook. Do u have it. If so can u please send me through email. I think it's not legal to send through mail copyrighted material... Why don't you try: http://www.objectsource.com/ Ciao Antonio -