Re: How to use Html:Select

2006-05-04 Thread Kjersti Berg
Try making the entire onchange one scriptlet like this: html:select property=accSubj_nc name=applicationItem indexed=true onchange='%= doSubmitWithIndex(this.form, + ApplicationAction.ACCSUBJ_CHANGE + , + index + ) %' /html:select Kjersti On 03/05/06, Joey Watson [EMAIL PROTECTED]

Re: HTML:TEXT Properties

2006-04-12 Thread Kjersti Berg
On 12/04/06, Neil Meyer [EMAIL PROTECTED] wrote: Hi, Would like to know why the following doesn't work can anybody explain it please. I have a text box on a page this text box is readonly when the readonly property is set to true. html:text indexed=true name=form property=prop1

Re: AW: logic:iterate

2006-02-24 Thread Kjersti Berg
Check out this link from the wiki: http://wiki.apache.org/struts/StrutsCatalogLazyList, the section on Indexed properties. In order for it to work, you have to set the id attribute to the same as the indexed property. Kjersti On 24/02/06, Hans-Peter Petek [EMAIL PROTECTED] wrote: Hello, i am

Re: IBM Portal server V5.0.2.3

2005-12-13 Thread Kjersti Berg
that. When I use it without encoding, it doesn't recognize the .jsp file. -Original Message- From: Kjersti Berg [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 12:36 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: IBM Portal server V5.0.2.3 Have you tried using

Re: IBM Portal server V5.0.2.3

2005-12-12 Thread Kjersti Berg
Have you tried using a regular struts tag? html:link href=/jsp/CentralNoSearch.jsp/ We're using the Struts Portal Framework that ships with Webshere Portal Server, and this works just fine for us. Kjersti On 08/12/05, Meenakshi Singh [EMAIL PROTECTED] wrote: yes I am using WSAD V5.1.1 using

html:textarea - escape html special characters

2005-11-09 Thread Kjersti Berg
The html:textarea will escape html special characters to html entities. Inputing an will give a string with amp;. Fair enough. But why does inputting a or give you amp;lt; instead of lt; ? Kjersti - To unsubscribe, e-mail:

Re: html:textarea - escape html special characters

2005-11-09 Thread Kjersti Berg
On 10/11/05, Laurie Harper [EMAIL PROTECTED] wrote: Kjersti Berg wrote: The html:textarea will escape html special characters to html entities. Inputing an will give a string with amp;. Fair enough. But why does inputting a or give you amp;lt; instead of lt; ? Probably as a result

Re: [OT] Struts , Portal how does this fit

2005-10-06 Thread Kjersti Berg
The WebSphere Portal Server comes with it's own implementation of Struts for portlet developement. Kjersti On 05/10/05, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi 1 . Suppose we have a site up and running which has been developed using struts, can this website be a part of portal, 2

Re: help on plugin and i18n

2005-08-08 Thread Kjersti Berg
On 05/08/05, peeths @struts [EMAIL PROTECTED] wrote: hi , i have added message-resources parameter=ApplicationResources / but still i'm getting the same error , i 've placed the resource files inside WEB-INF folder , how can i recover it . Is it in the classes folder? It has to be on the

Re: Validating indexed properties using struts

2005-08-04 Thread Kjersti Berg
On 04/08/05, Kalra, Ashwani [EMAIL PROTECTED] wrote: Hi, Can some one give me some sample on how to validate the indexed properties in Struts 1.1 I assume you are using the default Validator plugin. This is an excerpt from my validation.xml, using indexed properties. form name=/myForm

Re: Resetting ActionForm properties during validation

2005-07-25 Thread Kjersti Berg
On 25/07/05, Vandenbroucke Gregory [EMAIL PROTECTED] wrote: Hi all, I have several forms which contain fields that should only accept numeric data. If the entered data wasn't numeric, then during validation of that field I would like to be able to leave the form field empty. But struts will

Re: Resetting ActionForm properties during validation

2005-07-25 Thread Kjersti Berg
instead of zero (which is semantically more correct). Is there a way to circumvent the auto population stuff? Thanks, gregory -Original Message- From: Kjersti Berg [mailto:[EMAIL PROTECTED] Sent: lundi 25 juillet 2005 11:52 To: Struts Users Mailing List Subject: Re: Resetting

Re: Syntax

2005-07-25 Thread Kjersti Berg
On 25/07/05, Vijay K Anand [EMAIL PROTECTED] wrote: Hi What is wrong in the below code ? Eclipse is making noise...but code runs fine... html:multibox property=strCoreID value=%= (String)CoreID % styleId=%= c+(String)CoreID % / Not sure, but this looks odd: styleId=%= c+(String)CoreID % /

Re: Validating nested, indexed properties

2005-07-08 Thread Kjersti Berg
On 07/07/05, Hubert Rabago [EMAIL PROTECTED] wrote: What do you mean when you say it doesn't work? I mean that when I input characters in an integer-only field, the validation is not triggered, the values are just set on the form. However, I have tried to dig a bit more into this, and have

Re: Validating nested, indexed properties

2005-07-08 Thread Kjersti Berg
I should probably slap myself now. This works just fine, if the struts-config doesn't turn validation off. :) Kjersti - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reg. Can't find form bean for XXXForm : Error.

2005-07-06 Thread Kjersti Berg
On 7/6/05, Iyanu, Rajasekaran [EMAIL PROTECTED] wrote: Hi All, I have an Action Form associated with a JSP and an Action class. When I try to access the JSP page, it throws the following exception. javax.servlet.ServletException: [ServletException in:XXX/YYY.jsp] Can't find form bean

Re: Reg. Can't find form bean for XXXForm : Error.

2005-07-06 Thread Kjersti Berg
On 7/6/05, Iyanu, Rajasekaran [EMAIL PROTECTED] wrote: Hi Berg, Thanks for ur prompt reply. Yup, the definitions in Form and Action mapping are the same.. And the scope is request throughout... Any more clues in this regard..? This page

Validating nested, indexed properties

2005-07-05 Thread Kjersti Berg
Hi I would like to validate some nested, indexed properties on my form. I've googled and found someone having similar problems, but haven't found a solution yet. Any help would be great. The form contains a list of Job objects, each having a set of properties, let's say number and size. I tried

Re: Setting value at runtime in logic:equal

2005-06-29 Thread Kjersti Berg
On 6/28/05, Brad Rhoads [EMAIL PROTECTED] wrote: Nitesh wrote: You are probably looking for... logic:equal name=orderObj property=statusCode value=%= OrderObj.getWhatever() % Unfortunately, that gives: cannot find symbol symbol : method getOrderStatus() location: class

Re: c:out not finding values that are in a pojo, inside an actionForm.

2005-06-29 Thread Kjersti Berg
On 6/28/05, Dave Newton [EMAIL PROTECTED] wrote: Mick Knutson wrote: Here is my stack: As you can see, the values are there, but it just is not picking them up. Also, here is what I have in the jsp: bean:define id=test1 name=consumerValidatorForm property=activity.lastPinChangeDate/

Re: Pass parameter to javascript function

2005-06-09 Thread kjersti . berg
Really? IDon't you have to enclose the entire value in one scriptlet expression? Like this: logic: iterate ... indexId=idx html:text property=x name=y onclick='%=lfnSomething( + idx + , + idx2 + )%' / Kjersti |+-- || Avjit