Re: s2: Logging

2007-07-13 Thread Gary Feidt
What did you use for an Initialization procedure? >>> [EMAIL PROTECTED] 7/12/2007 3:21:42 PM >>> Hi, How to enable logging in S2? I added log4j.jar and isDebug statements in my actions, but do not see any messages. Leena ___ Confidentia

Re: Deploy struts Application

2007-05-09 Thread Gary Feidt
Did you deploy all the Struts jar files with your deployment file? >>> [EMAIL PROTECTED] 5/9/2007 3:57:44 AM >>> Hi, I'm new user in Struts, so i develop a application and I deploy it in my server. when I execute it I have this problem: Servlet action not available. For more information I use:

Re: internationalization in struts

2006-12-12 Thread Gary Feidt
-login - resources - application.properties - application_fr.properties which means resources folder is there in WEB-INF and is seperated from the com.login package containing java code should work?? On 12/13/06, Gary Feidt <[EMAIL PROTECTED]> wrote: > > What i

Re: internationalization in struts

2006-12-12 Thread Gary Feidt
What is you package name? I have an app that called cmo.resources and would use the following: Gary >>> [EMAIL PROTECTED] 12/12/2006 11:38 AM >>> Hi, i am working on internationalization in struts. for this i did the following 1) WEB-INF/classes/resources folder defined all the files exam

Re: HTML Input field event with ' (quote) in name of var being set breaking javascript var assignment

2006-12-01 Thread Gary Feidt
I don't work with tags, but why don't you create a String variable and then use that in your onclick: String strOnClick = whatever + "something else" + whatever2 + "return true"; Gary >>> [EMAIL PROTECTED] 12/1/2006 12:35:48 PM >>> Hi, I have onclick handler which sets a form property via jav

Re: plz unsubscribe me

2006-10-05 Thread Gary Feidt
Or they did not realize the volume of emails. :) >>> [EMAIL PROTECTED] 10/5/2006 7:46:30 AM >>> aye or lots of people starting to hate Struts ? :) 2006/10/5, Antonio Petrelli <[EMAIL PROTECTED]>: > > BABJIVALI SHAIK ha scritto: > > > > > > It must be a virus :-D > >

Re: unsubscribe me

2006-10-03 Thread Gary Feidt
I guess no one ever reads the bottom of most of the emails: >To unsubscribe, e-mail: [EMAIL PROTECTED] Give it a try! >>> [EMAIL PROTECTED] 10/3/2006 11:10:12 AM >>> unsubscribe me Thanks If you have received this e-mail in error, please delete it and notify the sender as soon as possible.

Re: about javascript

2006-08-11 Thread Gary Feidt
Add an onclick="validateForm(); return false;" Then create a javascript function: function validateForm() { var errorString = "The following field(s) may not be left blank:\r\n\r\n"; var strField = ""; if (document.frmTest.txtFirstName.value.length == 0) {

RE: get message from MessageResources in Action Class

2006-05-18 Thread Gary Feidt
Or if you just need a String value from the MessageResources you can use: String sValue = getResources(request).getMessage(locale, "key.value"); Gary >>> [EMAIL PROTECTED] 5/18/2006 9:11:01 AM >>> You would have to be more specific in your question. Do you mean ActionMessage or just the message

Re: jsessionid problem fix for weblogic servers

2006-05-02 Thread Gary Feidt
Does version of WebLogic does this work for? Gary >>> [EMAIL PROTECTED] 5/2/2006 10:55:41 AM >>> I had a problem with jsessionid trashing all my images and urls until I refreshed my browser. Ted Husted points out this phenomenon on page 66 of SIA. The symptom is that ;jsessionid=<~long id strin

Re: Calling another action from an action

2006-04-18 Thread Gary Feidt
You can simply use return mapping.findForward("actionB"); and the following in the struts-config.xml: Gary >>> [EMAIL PROTECTED] 4/18/2006 7:37:41 AM >>> Hi all, I had an requirement wherein I needed to forward to another action from a action. I tried by two ways but none of them is working.

Re: Re: RE: Validate() method not working as it should !!!!!

2006-04-05 Thread Gary Feidt
ngTrackOffset() ); if ( !messages.isEmpty() ) { saveMessages( request, messages ); } request.setAttribute( "downlink", downlinkData ); request.setAttribute( "opportunity", image ); request.setAttribute( "offsetPercent", offset

Re: RE: Validate() method not working as it should !!!!!

2006-04-05 Thread Gary Feidt
Still not enough to analyze - I think your Struts-Config file looks ok. We will probably need some snippets of your co.ui.action.RequestViewDetailAction before we can determine what is wrong. Gary >>> [EMAIL PROTECTED] 4/5/2006 10:17:12 AM >>> Thanks Krishna, Thats the chunk from the struts-con

Re: Re: Validate() method not working as it should !!!!!

2006-04-05 Thread Gary Feidt
And I think Dave's point is without seeing your action in your struts-config.xml and you Action code we don't know if your code is correct or not. Can show us some of the code? Gary [EMAIL PROTECTED] 4/5/2006 9:47:27 AM >>> >Hi Dave, > >thanks for the reply. The problem is that errors were

Re: Getting list of values from checkboxes

2006-03-30 Thread Gary Feidt
I had used a javascript function to gather all the checked checkbox ids on the Form into a pipe delimited string and saved that in a hidden field. And then pulled that apart in the Action to deside which ones I needed to delete. It worked for me. Gary chuanjiang lo wrote: > Hi all, > > I have t

Re: problems with enclosed by a

2006-03-13 Thread Gary Feidt
What does the raw html look like? >>> [EMAIL PROTECTED] 3/13/2006 9:38:48 AM >>> Hi, I'm trying to do a link over an image like this: But it doesn't work. It leads to a strange behaviour in Internet Explorer... The browser shows the link (in the statusbar) when the mouse is over the

Re: Problem with radioTag

2006-02-27 Thread Gary Feidt
Try this: Gary >>> [EMAIL PROTECTED] 2/27/2006 6:23:09 AM >>> Hi, I have a table of data on my JSP and the User may choose one row. I want to do this with a Radiobutton and need the value of the choose radiobutton on my forwarded page. My Question is

Re: why my page can't redirect under Struts with Javascript?

2006-02-21 Thread Gary Feidt
I'm sorry, but this is a Javascript issue. If you want to use Struts, use Struts. Create an ActionForm to get your value from the drop-down list and then redirect to any number of Actions from your Action. I believe that is the easiest way, and a LOT less time consuming then sending all of these

Re: unsubscribe me

2006-02-16 Thread Gary Feidt
LOOK AT THE BOTTOM of the email | V >>> [EMAIL PROTECTED] 2/16/2006 7:17:55 AM >>> hi please unsubscribe me. Thanks Ankit CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If yo

Re: about struts latest version

2006-02-16 Thread Gary Feidt
Please go to: http://struts.apache.org/ >>> [EMAIL PROTECTED] 2/15/2006 11:22:53 PM >>> Hi what is the latest version of struts.what are the new features added to this - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: problem

2006-02-16 Thread Gary Feidt
I usually use the html:optionsCollection tag: Gary >>> [EMAIL PROTECTED] 2/16/2006 5:33:29 AM >>> Hi all I have a problem loading persisted values in tag. I have where allSerials is a list of Beans with getter and setter methods. I use a dynaAction form but I cannot load properly the value

Re: Drop Down List Problem - Bit Urgent

2006-02-15 Thread Gary Feidt
>>> [EMAIL PROTECTED] 2/15/2006 9:20 AM >>> > >But still the default value is not set to "Paul". >Do I need to change any settings of the dropdown list. You need to set the value using the your Action that is loading your jsp. sopForm.setAuthoriser = somevalue; Gary Jeff Bischoff wrote: > You

Re: [other] Borland want to sell its IDE products.....

2006-02-09 Thread Gary Feidt
Bye, bye JBuilder >>> [EMAIL PROTECTED] 2/8/2006 4:55:42 PM >>> Hi just look at http://blogs.borland.com/davidi/archive/2006/02/08/23013.aspx it say that borland is going to sell its IDEs , what will happen next ? who will buy jdeveloper ? -

Re: extend tiles

2006-01-25 Thread Gary Feidt
If you are extending mainLayout you must have itemcount and pagecount defined in mainLayout, and so on. Extending a tile you are using the same layout and replacing specific pieces of that layout. I've done something like this in the past:

Re: Displaying Images from database using Struts tags

2006-01-24 Thread Gary Feidt
nload action" which is designed to make this kind of thing easier (Ithink it was introduced in Struts 1.2.4), details here: http://wiki.apache.org/struts/StrutsFileDownload Niall On 1/24/06, Gary Feidt <[EMAIL PROTECTED]> wrote: > Hi Everybody, > > I'm using Struts 1.2.

Displaying Images from database using Struts tags

2006-01-24 Thread Gary Feidt
Hi Everybody, I'm using Struts 1.2.4, with no frills (JSTL, Struts EL) - just using Struts framework and tags. I am exploring the ability to display images from database - never done this before. I'm guessing I can get the data out by using the java.sql.getBinaryStream Will the tag display a j

Re: Cannot create iterator for this collection

2006-01-20 Thread Gary Feidt
Are you storing myList on a form? Gary >>> [EMAIL PROTECTED] 1/20/2006 12:37:18 AM >>> Hi, I am using struts taglib. I have a object like public class myObject{ List myList; List getList(){ return myList; } ... } The myObject is send through aciton to the jsp. In my j

Re: Intro to JSTL

2006-01-18 Thread Gary Feidt
Thanks for the quick responses, but is using JSTL with Struts the next logical step to using just Struts? Or is Struts going in another direction in the future? Gary >>> [EMAIL PROTECTED] 1/18/2006 8:33:39 AM >>> Gary Feidt wrote the following on 1/18/2006 9:28 AM: >

Intro to JSTL

2006-01-18 Thread Gary Feidt
arted. Thanks, Gary Feidt __ Confidentiality Statement: This email/fax, including attachments, may include confidential and/or proprietary information and may be used only by the person or entity to which it is addressed. If the reader of this email/fax is no

Re: bean:write & internationalization

2006-01-13 Thread Gary Feidt
The last time I did this in a jsp I had to write a little scriplet code to go with it. Here is what I did: <% java.util.ResourceBundle bundle = ResourceBundle.getBundle(Constants.RESOURCE_BUNDLE, currentUser.getLocale()); sArg0 = bundle.getString("jsp.event.future"); %> I hope this helps. Gary

Re: How to use logic iterate...

2006-01-10 Thread Gary Feidt
If you have a getDmaMarket and setDmaMarket property on your form, I would do the following: This will display your data, but it looks like you are trying to edit the list by displaying it in tags. You may want to rethink that, and use another page to edit each item individually. Just my

Re: formatting messages in different colours

2006-01-09 Thread Gary Feidt
Why not just throw a Insert failed. and Insert success. in you Message Resouces file. Gary >>> [EMAIL PROTECTED] 1/9/2006 4:37 AM >>> Can Any one provide me information regarding display of Messages from Application Resources in different colours and FONTS. Example: I need to display message

RE: Problem with using Logic:equla tag.

2005-12-16 Thread Gary Feidt
Or you use: Gary >>> [EMAIL PROTECTED] 12/15/2005 6:52:42 AM >>> Hi Don't use this. Use the jstl tags instead. In this case If you read the tag doc's you will see that you are encouraged to switch to the jstl tags in place og the struts tags. In so doing, use the struts-el tag librarys

Re: AW: Action forward path

2005-12-12 Thread Gary Feidt
If I understand this correctly Struts is doing the correct thing. It should go to http://localhost/context/MyAction.do and not http://localhost/context/path/MyAction.do If you really must have path in your URL, then maybe you should put that in your action path: I use this for thing

Re: How to stop struts logging in my web application

2005-11-23 Thread Gary Feidt
Did you try Categroy Configurations such as: # Category Configurations log4j.logger.jsp=DEBUG log4j.logger.com.cmpyname.appname=DEBUG >>> [EMAIL PROTECTED] 11/23/2005 6:30:53 AM >>> Hello Strust Users In Strus webapplication when i set log4.properties file with below option It logs also strus l