formbean

2006-07-14 Thread Abhimanyu Koul
hi all! How can I access a particular formbean among a list in a jsp. also how can i access a particular value(using getter and setter) of a formbean in the list inside a jsp fileThanks and Regards, Abhimanyu Koul

Re: [FRIDAY] Struts poetry

2006-07-14 Thread James Mitchell
LMAO! A, the good ole days :) :) -- James Mitchell On Jul 14, 2006, at 3:00 PM, Wendy Smoak wrote: Wandering around the wiki, I ran across * http://wiki.apache.org/struts/StrutsHaiku and * http://wiki.apache.org/struts/StrutsLimerick -- Wendy -

Re: Problem with validation rule

2006-07-14 Thread Adam Gordon
Sebastian- What happens if you remove the "requireList" dependency and just use "mask?" -Adam Sebastian Stein wrote: Hi, I have a form, which should also use validation based on a mask. I already enabled this kind of validation in another form and there it works. So I guess I just have a type

Re: ActionMapping forward.findForward(str) with dynamic parameters

2006-07-14 Thread Hubert Rabago
Do you mean something like ActionRedirect? String key = "task"; String value = "displayAccountDetails"; // this value changes return new ActionRedirect(mapping.findForward("fwdDetail")) .addParameter(key, value); It still won't allow you to redirect to a tile, though. H

Problem with validation rule

2006-07-14 Thread Sebastian Stein
Hi, I have a form, which should also use validation based on a mask. I already enabled this kind of validation in another form and there it works. So I guess I just have a type or did something wrong during copy&paste. Here is the form definition in the struts-config.xml:

ActionMapping forward.findForward(str) with dynamic parameters

2006-07-14 Thread prasad pondugula
Hello all, In an action class, how do we pass some dynamic parameter/values to an action forward. So that we do not need to hard code any values in struts-config.xml's (). Example: TestAction.java: String key = "task"; String value = "displayAccountDetails"; // this value changes d

how to dynamically generate a property within JSP tags using JSTL -EL

2006-07-14 Thread Devkanth Jijjavarapu
Any help in this regard, would be appreciated.. I have been trying to generate a property using a list defined in the formbean. I want to know, if i can populate an empty list while looping through another outer list

Re: [FRIDAY] Struts poetry

2006-07-14 Thread Wendy Smoak
On 7/14/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 7/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Wandering around the wiki, I ran across > > * http://wiki.apache.org/struts/StrutsHaiku > > and > > * http://wiki.apache.org/struts/StrutsLimerick I was really tempted to remove these

Re: [FRIDAY] Struts poetry

2006-07-14 Thread Michael Jouravlev
On 7/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: Wandering around the wiki, I ran across * http://wiki.apache.org/struts/StrutsHaiku and * http://wiki.apache.org/struts/StrutsLimerick I was really tempted to remove these pages ;-))) (The power to remove a page should be granted only to s

[FRIDAY] Struts poetry

2006-07-14 Thread Wendy Smoak
Wandering around the wiki, I ran across * http://wiki.apache.org/struts/StrutsHaiku and * http://wiki.apache.org/struts/StrutsLimerick -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: How to disable the submit button after first click

2006-07-14 Thread Michael Jouravlev
On 7/14/06, priyadarsh kankipati <[EMAIL PROTECTED]> wrote: Thanks Krishna for your suggestion. Can you please elaborate on your suggestion? Thanks Robert for your suggestion. But I think this will not work as can't change the value of the "disabled" attribute till the page loads. My requ

RE: How to disable the submit button after first click

2006-07-14 Thread Caroline Jen
I hope this link http://www.learntechnology.net/struts-token.do could be of some help. --CJen --- priyadarsh kankipati <[EMAIL PROTECTED]> wrote: > Thanks Krishna for your suggestion. Can you please > elaborate on your suggestion? > > Thanks Robert for your suggestion. > But I think this

Re: how to dynamically generate select fields

2006-07-14 Thread Michael Jouravlev
On 7/14/06, Yanroy <[EMAIL PROTECTED]> wrote: I'm glad you confirmed for me that the Servlet version has little or nothing to do with the struts version... I was beginning to suspect this. There should be a wiki page somewhere that demystifies all this... Things I'd like to be able to find (all

Re: how to dynamically generate select fields

2006-07-14 Thread Yanroy
I'm glad you confirmed for me that the Servlet version has little or nothing to do with the struts version... I was beginning to suspect this. There should be a wiki page somewhere that demystifies all this... Things I'd like to be able to find (all in one place) are the relations between differe

Re: Shale - init and destroy being called twice

2006-07-14 Thread Craig McClanahan
On 7/13/06, vramineni <[EMAIL PROTECTED]> wrote: Hi, I am a newbie to web development in Java. Coming from ASP.Net background, I thought Shale framework would be easier for me to understand. Actually, I am able to progress well with Shale/Clay/MyFaces and pretty much do everything that I could

Re: how to dynamically generate select fields

2006-07-14 Thread Wendy Smoak
On 7/14/06, Yanroy <[EMAIL PROTECTED]> wrote: I guess I'm using 2.2... I've got this: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> This means your application is using version 2.2 of the Servlet specification. This has nothing to do with what version of _Struts_ you are using, though.

Re: how to dynamically generate select fields

2006-07-14 Thread Yanroy
I guess I'm using 2.2... I've got this: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> I'm glad you could settle that more or less definitively... The lab manager here (who IS in charge of server configuration) doesn't know what struts version we're using any more than I do. The second time

Re: how to dynamically generate select fields

2006-07-14 Thread Wendy Smoak
On 7/14/06, Yanroy <[EMAIL PROTECTED]> wrote: However, I've never before seen or used those tags that begin with c:. After a little googling, I discovered they're part of Struts EL. They are not. The 'c' taglib is part of JSTL. I found a wiki page at http://wiki.wsmoak.net/cgi-bin/wiki.pl?S

Re: how to dynamically generate select fields

2006-07-14 Thread Wendy Smoak
On 7/14/06, Yanroy <[EMAIL PROTECTED]> wrote: I couldn't find an easy way to find out what my version is, so I looked inside the struts.jar file in tomcat and I found files with a number of version numbers, the highest being 2.3, which leads me to believe I'm using struts 2.3. So if I'm reading

Re: how to dynamically generate select fields

2006-07-14 Thread Yanroy
Thank you very much for your reply. That looks like it could solve my problem. I guess I'd have to code the input fields by hand (i.e. using instead of a taglib tag), but that's not at all a problem. However, I've never before seen or used those tags that begin with c:. After a little googlin

Re: STRUTS INTERNATIONALIZATION

2006-07-14 Thread hicham
Hello thanks for replying is this tutorial in "http://www.roseindia.net/struts/strutsinternationalization.shtml"; still applicable for struts 1.2.9 ? hicham - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Compare two strings in Validator frame work]

2006-07-14 Thread Adam Gordon
For basic string validation you can do the following: Use the "validwhen" attribute value for the "depends" attribute on the element. I.e.: test (propertyName == "someValue") Where "propertyName" is the value of the "proper

Re: Dynamic Sort depending on the field requested by user.

2006-07-14 Thread Akshay Ahooja
Hi Anil, I have a similar section of a project that I am working on. I am using AJAX DOJO for the sorting. It is working for me great so far. If you go to www.dojotoolkit.org and download the scripts...They have a sortable table widget that you can wrap around any table. It is very simple to use

RE: How to disable the submit button after first click

2006-07-14 Thread priyadarsh kankipati
Thanks Krishna for your suggestion. Can you please elaborate on your suggestion? Thanks Robert for your suggestion. But I think this will not work as can't change the value of the "disabled" attribute till the page loads. My requirement is: I need to disable the submit button to avoid do

Re: Regarding DynaBean

2006-07-14 Thread Niall Pemberton
On 7/14/06, Medicherla Lakshmi <[EMAIL PROTECTED]> wrote: Hi All, Can anyone please tell me something regarding BasicDynaBean class and DynaProperties. Any examples or links where i can find examples will be of great help. http://struts.apache.org/1.x/userGuide/building_controller.html#ac

Re: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-14 Thread Niall Pemberton
On 7/14/06, Garner Shawn <[EMAIL PROTECTED]> wrote: I'm not sure the JRun which is only J2EE 1.3 compliant supports the requirements for Struts 1.3.x or 2.0. Also I'm not looking to upgrade to the latest or greatest which might introduce more bugs. I'm not trying to get artificial reasons. I'm t

AW: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-14 Thread Martin Kindler
Shawn, I do not know whether any bug fixes in the 1.2.x releases fix bugs in the 1.1.x releases. I would read the release notes of the releases newer than your currently used release. The same for security patches. And you should also check whether the problems fixed in a newer release are releva

Re: STRUTS INTERNATIONALIZATION

2006-07-14 Thread Niall Pemberton
You can name it whatever you like - for the default implementation you configure the actual file name using a element in the struts-config.xml and specifying the file name in the "parameter": http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section6 http://struts.apache.org/

Re: logic:messagesPresent not working for nestedProperty

2006-07-14 Thread fea jabi
Thanks, that worked giving messages="true" on the logic:messagesPresent and html:messages tags But not sure when this has to be given? ActionMessages are saved have to give this??? Thanks. From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apach

RE: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-14 Thread Garner Shawn
I'm not sure the JRun which is only J2EE 1.3 compliant supports the requirements for Struts 1.3.x or 2.0. Also I'm not looking to upgrade to the latest or greatest which might introduce more bugs. I'm not trying to get artificial reasons. I'm trying to get real reasons that others know of off han

RE: How to disable the submit button after first click

2006-07-14 Thread Robert Langridge
If you a variable to the sessionscope called disableSubmit for example you can do it with ease. After the first press set disableSubmit = "disable". Have the default setting of disableSubmit = "" Sorted :) Rob Langridge Analyst Programmer - Java CoE e: [EMAIL PROTECTED] -Original Mess

RE: How to disable the submit button after first click

2006-07-14 Thread Krishna, Hari
If u want to avoid double submit use isTokenValid() inside Action .Why do u need to mess up the jsp?? -Original Message- From: priyadarsh kankipati [mailto:[EMAIL PROTECTED] Sent: Friday, July 14, 2006 4:57 PM To: user@struts.apache.org Subject: How to disable the submit button af

custom tag as attribute value

2006-07-14 Thread Jean-Marie Pitre
Hi, I am not sure is the right forum ... I am working with struts and displaytag library. I want to display a table with a title value provided by a custom tag: . Have you got an idea to do this? my custom tag is : Thanks, Best regards. --- Email Disclai

formbean - urgent

2006-07-14 Thread Abhimanyu Koul
hi all! How can I access a particular formbean among a list in a jsp. also how can i access a particular value(using getter and setter) of a formbean in the list inside a jsp file Thanks and Regards,Abhimanyu KoulFinEng Solutions (P) Ltd.# +91 22 66950676 Extn. 212 DISCLAIMER This e-mail

STRUTS INTERNATIONALIZATION

2006-07-14 Thread hicham
Hello newbie to struts, I'm readin a tutorial on i18n, on struts 1.1 using a "application.properties" file but I couldn't find that, on the struts-blank web application as I 'm using struts 1.2.9 do I have to create a new file "application.properties" or the name has changed ? Thanks hicham --

Problem using logic:present tag

2006-07-14 Thread Pankaj Gupta
Hi All, I am passing parameters to my JSP like: contextRelative="false"/> and reading the parameter using logic:present tag which is not working: < bean:message key = "activeTitle"/> However if I do the same thing using scriptlets: <% if(request.getParameter("isActive") != null

Re: Compare two strings in Validator frame work

2006-07-14 Thread paz . periasamy
You can implement your own Plugin (method and context name) to compare the strings... Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Raghuveer" <[EMAIL PROTECTED]> 14/07/2006 05:18 PM Please res

Compare two strings in Validator frame work

2006-07-14 Thread Raghuveer
How to Compare two strings in validator framework? What i need to do in validation.xml. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamic Sort depending on the field requested by user.

2006-07-14 Thread paz . periasamy
Sorting is purely Java logic. I dont think Struts has anything with sorting logic. You can use Java comparators to do the job easily rather than you programming it. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +6

regarding HSM

2006-07-14 Thread mansooraks
Dear guys, My question is out scope of this Group. Any how if anyone know about this.plz help me. I accessing the hardware. HSM-hardware security module. Through java. I don't know how to pass commands to HSM to generate keys. through java. If anyone have idea of this.plz help  regards,

Dynamic Sort depending on the field requested by user.

2006-07-14 Thread Anil Kumar T
Hi Group, I have a requirement like I need to display a list containing Name, Date, Department, Last update etc., after displaying the list the user can select any field to sort the list display, but it should not query again, only with the first time result we should be able to provide the sor