RE: access variable value in html tag

2004-03-26 Thread Steltner, Joern
: access variable value in html tag The Struts-EL is what I'd recommend, which supports exactly what you want to do, unless you're into (Tomcat 5 and the) JSP 2.0 then you'd just do: option value=${accounts.number}${accounts.number}/option Otherwise I _think_ I've done this nastiness and it worked

Re: Retrieve a Variable From the DynaActionForm

2004-03-24 Thread Pedro Salgado
On 24/03/2004 06:07, Caroline Jen [EMAIL PROTECTED] wrote: In my Struts application, postForm is of the DynaActionForm type: DynaActionForm postForm = ( DynaActionForm )form; Later on, I want to save one of the fields receiver, which is a String, in the request context. Which is the

RE: access variable value in html tag

2004-03-23 Thread Brian Buchanan
it with plain HTML (non-struts tags): html:option value=c:out value=${accounts.number}/c:out value=${accounts.number}//html:option ._. -Original Message- From: Steltner, Joern [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 7:28 AM To: [EMAIL PROTECTED] Subject: access variable value

Retrieve a Variable From the DynaActionForm

2004-03-23 Thread Caroline Jen
In my Struts application, postForm is of the DynaActionForm type: DynaActionForm postForm = ( DynaActionForm )form; Later on, I want to save one of the fields receiver, which is a String, in the request context. Which is the following is the correct syntax? request.setAttribute( Receiver,

access variable value in html tag

2004-03-19 Thread Steltner, Joern
Dear, I'm not an expert in Struts and Java. I need some simple help: html:select property=no_account c:forEach var=accounts items=${Accounts} varStatus=status html:option value=c:out value=${accounts.number}/html:option /c:forEach /html:select Everything works fine, but at ???

RE: access variable value in html tag

2004-03-19 Thread Colm Garvey
] Sent: 19 March 2004 12:28 To: [EMAIL PROTECTED] Subject: access variable value in html tag Dear, I'm not an expert in Struts and Java. I need some simple help: html:select property=no_account c:forEach var=accounts items=${Accounts} varStatus=status html:option value=c:out value

RE: access variable value in html tag

2004-03-19 Thread Robert Taylor
: Friday, March 19, 2004 7:28 AM To: [EMAIL PROTECTED] Subject: access variable value in html tag Dear, I'm not an expert in Struts and Java. I need some simple help: html:select property=no_account c:forEach var=accounts items=${Accounts} varStatus=status html:option value

Re: how to submit javascript variable of array type

2004-03-18 Thread Raphaël di Cicco
Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:42 PM Subject: RE: how to submit javascript variable of array type Andrew, I used the exact same approach my in my action class, the array from request is yielding null... Any clues.. Thanks so much

RE: how to submit javascript variable of array type

2004-03-17 Thread as as
javascript variable of array type I now have a javascript array var, and I need to submit it by a form to an action class, how can I achieve this? ThanksRegards _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn

how to submit javascript variable of array type

2004-03-16 Thread Mu Mike
I now have a javascript array var, and I need to submit it by a form to an action class, how can I achieve this? ThanksRegards _ MSN Explorer: http://explorer.msn.com/lccn/

RE: how to submit javascript variable of array type

2004-03-16 Thread Andrew Hill
- From: Mu Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 March 2004 10:24 To: [EMAIL PROTECTED] Subject: how to submit javascript variable of array type I now have a javascript array var, and I need to submit it by a form to an action class, how can I achieve this? ThanksRegards

html:link with javascript variable

2004-03-11 Thread stu
Hi everyone I am having trouble with a jsp when using a javascript variable in a 'html:link page=' tag. The variable does not seem expand to its value. When my jsp is compiled, the code snippet below bean:define id=procBranch type=java.lang.String property=mendstatbrCde name=APSB

Re: html:link with javascript variable

2004-03-11 Thread stu
On Thu, 11 Mar 2004 12:10:21 - Niall Pemberton [EMAIL PROTECTED] wrote: Try I think you mean jsp scriptlet (rather than javascript) - I'm not good on it, I'm a java-in-general newbie, so half the time I don't know what I mean :) but how about doing this (you can do without the

Form bean property as java variable in page ?

2004-03-11 Thread Janarthan Sathiamurthy
page in which i place this form as - html:form action=/myAction html:hidden property=pageNumber/ html:hidden property=numberOfRows/ /html:form I want the 'pageNumber' and 'numberOfRows' property of the form bean in a java variable in my page. Is there any inbuilt functionality in Struts which i

Global Variable - SetupServlet

2004-02-05 Thread Oliver Thiel
Hi all, I wrote a struts app with database 'driven' forms using iBatis. For this purpose I wrote a 'SetupServlet' which creates some LinkedHashMaps e.g. register == {username=, password=, ..} and sets them into the Servlet Context servletContext.setAttribute(register, register); In the

REPOST: Global Variable - SetupServlet

2004-02-05 Thread Oliver Thiel
My mail client seams to make trouble, so I repost my mail. SORRY if you get it twice! -Ursprüngliche Nachricht- Von: Oliver Thiel [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 5. Februar 2004 17:06 An: '[EMAIL PROTECTED]' Betreff: Global Variable - SetupServlet Hi all, I wrote

RE: Global Variable - SetupServlet

2004-02-05 Thread Jesse Alexander (KAID 11)
object and give it to request2... where (should be obvious why, by now) you will see the stuff done in request1... hth Alexander -Original Message- From: Oliver Thiel [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 5. Februar 2004 17:06 To: [EMAIL PROTECTED] Subject: Global Variable

SOLVED AW: Global Variable - SetupServlet

2004-02-05 Thread Oliver Thiel
: Global Variable - SetupServlet Well, you do not seem to copy the register-object. Therefor you basically address the same object via the servlet-context AND the request. That means that everything you do with the object addressed in request1, you do to the object you have in the servlet context

RE: Can i access session or request object from a bean which is A ctionform variable

2004-01-29 Thread Paul McCulloch
Message- From: Yajamanyam Venugopal [mailto:[EMAIL PROTECTED] Sent: 28 January 2004 17:50 To: [EMAIL PROTECTED] Subject: Can i access session or request object from a bean which is Actionform variable Hi I have a nested bean in my ActionForm. Is there any way to access the session

AUTO {ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

RE: AUTO {ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

2004-01-29 Thread McCormack, Chris
}Can i access session or request object from a bean which is Actionform variable Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number

Can i access session or request object from a bean which is Actionform variable

2004-01-28 Thread Yajamanyam Venugopal
Hi I have a nested bean in my ActionForm. Is there any way to access the session object or HttpRequest from that nestedbean. class MyActionForm extends ActionForm{ private Tree myTree; } class Tree{ I would like to access session or http request from this bean } Thnaks

[OT]Variable evaluation in XAPTH expression

2004-01-21 Thread Prashanth.S
Hi all, Iam using jdom for xml parsingso to search a particular element in a xml iam using XPATH and iam trying to construct XPATH expression dynamicallyis it possible to use variables inside XPATH expressionlike String map=europe; XPath servletPath = XPath.newInstance(/*/*/[EMAIL

Re: [OT]Variable evaluation in XAPTH expression

2004-01-21 Thread Kris Schneider
The JDOM XPath class has a method called setVariable, and variables in XPath expressions start with the $ character. I've never played with the JDOM XPath stuff, but I assume it's something like: XPath xp = XPath.newInstance(/*/*/[EMAIL PROTECTED]); xp.setVariable(map, europe); Prashanth.S

Re: [OT]Variable evaluation in XAPTH expression

2004-01-21 Thread Prashanth.S
Hi kris, Thanks a lot...This code works for me... Thanks once again for solving all my problem. Prashanth Kris Schneider [EMAIL PROTECTED] wrote: The JDOM XPath class has a method called setVariable, and variables in XPath expressions start with the $ character. I've never played with the

converting a href with variable target into html:link

2004-01-13 Thread Ricky Purnomo
the closing single quote back (or more generally stated, I cannot have constant+variable+constant in the link). My attempt: html:link href=javascript:if (confirm('Do you want to delete this event?')) location = '/EventDelete.do paramId=e paramName=EventForm paramProperty=eventId styleClass

Re: converting a href with variable target into html:link

2004-01-13 Thread hgosper
. Ricky Purnomo [EMAIL PROTECTED] 14/01/2004 02:00 PM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:converting a href with variable target into html:link I am converting a pure JSP page into Struts

Store List value into a variable in jsp

2004-01-07 Thread Kamal Gupta
Hi, I am trying to store a value of a list into a variable on a jsp page. the clode below writes the information pf planstarttime on the jsp page. bean:write name=results property =planStartTime / if i want to store the value of plan start time into an int what should i do can anyone help

Re: Store List value into a variable in jsp

2004-01-07 Thread Mark Lowe
: Hi, I am trying to store a value of a list into a variable on a jsp page. the clode below writes the information pf planstarttime on the jsp page. bean:write name=results property =planStartTime / if i want to store the value of plan start time into an int what should i do can anyone help

how to compare two string variables most efficiently? (logic:equal does only variable vs. string constant?)

2004-01-03 Thread Ralf Hauser
Hi, So far, my logic:equal tags only compare variables with constants. I guess with doing some playing jsp with the value attribute along the lines of value=%= myClass.getVariable % I could get there, but what is the recommended way? Rgds Ralf

Is there a way to set variable using Struts?

2003-12-18 Thread Clark Kent
I have the following scriptlet code : if(tableCounter == 1){ tableCounter = 2; } else { tableCounter = 1; } How do I achieve the above code using Struts tags (without using JSTL)? Thanks, CK - Do you Yahoo!? New Yahoo! Photos - easier uploading and

RE: Is there a way to set variable using Struts?

2003-12-18 Thread Syed, Nazeer
: Thursday, December 18, 2003 1:17 PM To: usergroup Subject: Is there a way to set variable using Struts? I have the following scriptlet code : if(tableCounter == 1){ tableCounter = 2; } else { tableCounter = 1; } How do I achieve the above code using Struts tags (without using JSTL

Re: Is there a way to set variable using Struts?

2003-12-18 Thread Janusz Dziadon
, December 18, 2003 7:45 PM Subject: RE: Is there a way to set variable using Struts? I have not seen the if-else in Struts Tag. logic:equal property=tableCounter value=1 tableCounter = 2; /logic:equal logic:notEqual property=tableCounter value=1 tableCounter = 1; /logic:notEqual Thanks

Re: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-08 Thread Max Cooper
: Saturday, December 06, 2003 4:02 PM Subject: RE: Very Troubled in Finding Ways to Pass a Variable to a Class It is wonderful to know that there are some ActionForm methods that holds true in the scaffold.ProcessAction's execute() method. It gives the hope that my problem could be resolved

Re: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-06 Thread Timo
- From: Caroline Jen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 05, 2003 8:17 PM Subject: Very Troubled in Finding Ways to Pass a Variable to a Class I have a class FindEditorData.java. I want to pass a vairable 'username' to this class for some processing. This class

Re: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-06 Thread Caroline Jen
=hiddenField value=%=request.getRemoteUser();%/ Good luck. - Original Message - From: Caroline Jen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 05, 2003 8:17 PM Subject: Very Troubled in Finding Ways to Pass a Variable to a Class I have a class

RE: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-06 Thread Joe Hertz
PROTECTED] Sent: Saturday, December 06, 2003 1:47 PM To: Struts Users Mailing List Subject: Re: Very Troubled in Finding Ways to Pass a Variable to a Class I know how to pass a hidden field. The problem is how to retrieve it in my Java class. I have illustrated that my Java class does

RE: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-06 Thread Joe Hertz
weirdness -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 1:47 PM To: Struts Users Mailing List Subject: Re: Very Troubled in Finding Ways to Pass a Variable to a Class I know how to pass a hidden field. The problem is how

RE: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-06 Thread Caroline Jen
06, 2003 1:47 PM To: Struts Users Mailing List Subject: Re: Very Troubled in Finding Ways to Pass a Variable to a Class I know how to pass a hidden field. The problem is how to retrieve it in my Java class. I have illustrated that my Java class does not extend HttpServlet

Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-05 Thread Caroline Jen
)session.getAttribute( EditorName ); because the FindEditorData is not a servlet and does not extend Action. I cannot pass a hidden variable from the JSP because I do not know how to retrieve the value of a hidden variable in a Java class. Need clever ideas. Please help

RE: Variable value in logic:equal tag Help Req

2003-12-03 Thread Fullam, Jonathan
You can use a variable for the value attribute just as you did: %= refValue % as long as refValue is a variable in some scope on your page. Note that refValue must point to a String object because the equal tag requires this (it converts the value of the bean pointed to by the name attribute

Re: Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
Hi , I am still not able to make out as how can i compare values from two arraylists using logic iterate and logic equal , as none of them is a constant and i am still getting the same error. 1) I want to know how do i get the value of the variable created using bean:define ??? I am using

Re: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Shakti
, December 03, 2003 9:52 PM Subject: Re: Variable value in logic:equal tag Help Req Hi , I am still not able to make out as how can i compare values from two arraylists using logic iterate and logic equal , as none of them is a constant and i am still getting the same error. 1) I want to know

RE: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Fullam, Jonathan
told ya so... ;-) -Original Message- From: Shakti [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:35 AM To: Struts Users Mailing List; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Variable value in logic:equal tag Help Req [SOLVED] Hey that % refVar.toString

Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
: logic:equal name=reassignedTaId value=%= refValue % I want to compare values from one arraylist with another using logic equal tag but in the value= tag how i can give a variable ?? Plz Help !!! Thanks Regards, Shakti - Original Message - From: Nicolas De Loof [EMAIL PROTECTED] To: Struts

Retrieving value of java script variable in a Scriplet

2003-09-30 Thread Raghu.Ramakrishnan
Hi, Does any one know how I could retrive a Java script variable between a scriplet code Eg: for (var i = 0; i= (listSize-1); i++) { var pay = '%= orgAmcStmt %'; alert (The current Index is Before the Scriplet is: + pay

RE: Retrieving value of java script variable in a Scriplet

2003-09-30 Thread Mike Jasnowski
The two are evaluated at different times, one on the server, and one on the client -Original Message- From: Raghu.Ramakrishnan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 1:19 PM To: Struts Users Mailing List Subject: Retrieving value of java script variable in a Scriplet

RE: Retrieving value of java script variable in a Scriplet

2003-09-30 Thread Karr, David
, the scriptlet code and the JavaScript code are executed at completely different times, in very different environments. -Original Message- From: Raghu.Ramakrishnan [mailto:[EMAIL PROTECTED] Does any one know how I could retrive a Java script variable between a scriplet code

Message resource as a String variable

2003-09-05 Thread Suresh Addagalla
Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro

RE: Message resource as a String variable

2003-09-05 Thread James Mitchell
, September 05, 2003 3:15 AM To: 'Struts Users Mailing List' Subject: Message resource as a String variable Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh

RE: Message resource as a String variable

2003-09-05 Thread Lars Bergstrm
: Subject: Message resource as a String variable Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh

RE: variable in tag

2003-08-29 Thread Paul McCulloch
: variable in tag Is there any way to do this: html:button property = %=variable% blah/html:button thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of the gods, will drive our ships to new lands Fight the horde, Sing and cry

variable in tag

2003-08-28 Thread LUCERO,DENNIS (HP-Boise,ex1)
Is there any way to do this: html:button property = %=variable% blah/html:button thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of the gods, will drive our ships to new lands Fight the horde, Sing and cry Valhalla I am coming

Variable assigning?

2003-08-20 Thread Terje Hopsø
Hello, I have a logic:iterate loop listing out a lists of name++. For each line the name is written but I want to write it only when I get a different name than previous line. I want to do it like this: c:set prevName = scope=request value=/ logic:iterate id=person name=personlist type=Person

Re: Variable assigning?

2003-08-20 Thread Sasha Borodin
This is how I'd do it using JSTL: c:set var=prevName scope=request value=/ c:forEach var=person items=personlist c:if test=${person.name != prevName} c:out value=${person.name}/ /c:if c:set target=${prevName} value=${person.name}/ /c:forEach Hope this helps. -Sasha

'action' variable on a submit button?

2003-08-14 Thread yan
What is the equivalent to this html:link page=editRegistration.do?action=edit/html:link on an html:form tag i.e, how do I define the 'action' variable on a submit button? thanks yan KickStartESolutions - Intelligent Web Services [EMAIL PROTECTED]

Re: how to pass a jsp variable to a javascript function

2003-08-14 Thread Julie . Huang
] cc: Subject:Re: how to pass a jsp variable to a javascript function Hi Julie, what do you get as a result of that iterate? It looks correct. Do you have javascript errors? Adam [EMAIL PROTECTED] wrote: Hi All, Can anyone suggest how to pass a jsp variable

RE: how to pass a jsp variable to a javascript function

2003-08-14 Thread Rohit Aeron
HI Julie Try putting single quotes around your variable ... Eg: nested:select property=projectCodeId onchange= projectChange('y%=tmpIndex%') regards Rohit Adam [EMAIL PROTECTED] wrote: Hi All, Can anyone suggest how to pass a jsp variable to a javascript function correctly

how to pass a jsp variable to a javascript function

2003-08-14 Thread Julie . Huang
Hi All, Can anyone suggest how to pass a jsp variable to a javascript function correctly? It is in a nested:iterate block that has an indexId=tmpIndex. what I would like to do is to have the 'y%=tmpIndex%' variable pass into my JavaScript function.It seems like the server side %=tmpIndex

RE: how to pass a jsp variable to a javascript function

2003-08-14 Thread Julie . Huang
Thank you very very much!! It works perfect !!! Julie Steve Armstrong [EMAIL PROTECTED] 08/07/03 10:25 PM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: how to pass a jsp variable

Re: 'action' variable on a submit button?

2003-08-14 Thread ross
html:form method=post action=editRegistration.do html:hidden property=action value=edit/ html:submit/ /html:form Regards Ross - Original Message - From: yan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 7:41 PM Subject: 'action' variable on a submit button

RE: 'action' variable on a submit button?

2003-08-14 Thread Alex Shneyderman
html:submit property=action value=edit / -Original Message- From: yan [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 7:41 PM To: [EMAIL PROTECTED] Subject: 'action' variable on a submit button? What is the equivalent to this html:link page=editRegistration.do?action

Re: how to pass a jsp variable to a javascript function

2003-08-10 Thread Adam Hardy
Hi Julie, what do you get as a result of that iterate? It looks correct. Do you have javascript errors? Adam [EMAIL PROTECTED] wrote: Hi All, Can anyone suggest how to pass a jsp variable to a javascript function correctly? It is in a nested:iterate block that has an indexId=tmpIndex. what I

RE: how to pass a jsp variable to a javascript function

2003-08-08 Thread Steve Armstrong
var ybean:write name=tmpIndex/ = bean:write name=tmpIndex/; /script if you *really* want to do that. 2. However, your question was how do I pass a JSP variable to a Javascript function and it looks like this is what you are attempting to do with the next part of your code: nested:select property

AW: how to pass a jsp variable to a javascript function

2003-08-08 Thread Samuel . Opoku-Boadu
Do this: bean:write name=tmpIndex / -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. August 2003 23:30 An: Struts Users Mailing List Betreff: Re: how to pass a jsp variable to a javascript function I don't have javascript errors

Using variable on JSP Page

2003-07-22 Thread Anubhav Kale
Hello. I want to create a text box on JSP page and give it a name which is stored in the VARIABLE say 'name'. This variable is defined in the java code on the JSP page. Can you please tell me the EXACT syntax ? PLEASE NOTE THAT I WANT TO GIVE NAME TO TEXT BOX THRU MY CODE. So the name

Re: Using variable on JSP Page

2003-07-22 Thread Vinayak Birari
which is stored in the VARIABLE say 'name'. This variable is defined in the java code on the JSP page. Can you please tell me the EXACT syntax ? PLEASE NOTE THAT I WANT TO GIVE NAME TO TEXT BOX THRU MY CODE. So the name is in variable and not known beforehand Thanks a lot Anubhav

Re: Using variable on JSP Page

2003-07-22 Thread Anubhav Kale
Thanks Anubhav - Original Message - From: Vinayak Birari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:51 PM Subject: Re: Using variable on JSP Page hi Anubhav, try out this... % String name = myName; String nameValue = value; % html form name=frm

Re: Using variable on JSP Page

2003-07-22 Thread Vinayak Birari
PM Subject: Re: Using variable on JSP Page hi Anubhav, try out this... % String name = myName; String nameValue = value; % html form name=frm input type=text name = '%=name%' value='%=nameValue%' /form /html cheers, Vinayak. [EMAIL PROTECTED] 07/22/03 01:21PM Hello. I

Re: Using variable on JSP Page

2003-07-22 Thread Anubhav Kale
Hello.. I have a class say anubhav.class. I wish to create its object on JSP page. Also I want to create object of the same class (anubhav) in my Action class Where should I place this class (I mean exactly in which folder) ? On JSP page it is giving errors that it cant resolve this name

Re: Using variable on JSP Page

2003-07-22 Thread Max Cooper
Anubhav, Here is an HTML text input field with the name defined by the Java variable 'name', which is set to the value notKnownInAdvance inside the JSP page: % String name = notKnownInAdvance; % input type=text name=%=name% It will render like this in the resulting HTML page: input type=text

RE: Using variable on JSP Page

2003-07-22 Thread Alex Shneyderman
: Using variable on JSP Page Hello.. I have a class say anubhav.class. I wish to create its object on JSP page. Also I want to create object of the same class (anubhav) in my Action class Where should I place this class (I mean exactly in which folder) ? On JSP page it is giving errors

Re: Using variable on JSP Page

2003-07-22 Thread Vinayak Birari
Hi, I hope your previous prob got solved. here is the probable solution for this query u need to put the class file in WEB-INF\classes folder and if u r using any package e.g. if the package is - com.pro; then the class file shud be placed in those folders (WEB-INF\classes\com\pro) regards,

RE: Using variable on JSP Page

2003-07-22 Thread Mark Galbreath
Kale [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 7:12 AM To: Struts Users Mailing List Subject: Re: Using variable on JSP Page Hello.. I have a class say anubhav.class. I wish to create its object on JSP page. Also I want to create object of the same class (anubhav) in my Action class

how to solve case sensitive variable into a criteria

2003-07-18 Thread Mario Signorelli
Hi to all I'have a problem with case sensitive variable into a criteria Criteria crit = new Criteria(); crit.addEqualTo(USERNAME, username); crit.addEqualTo(PASSWORD, password); Query query = new QueryByCriteria(Utenti.class, crit); Collection lista = broker.getCollectionByQuery(query

RE: how to solve case sensitive variable into a criteria

2003-07-18 Thread Hookom, Jacob
: Mario Signorelli [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 5:43 AM To: [EMAIL PROTECTED] Subject: how to solve case sensitive variable into a criteria Hi to all I'have a problem with case sensitive variable into a criteria Criteria crit = new Criteria(); crit.addEqualTo(USERNAME

RE: Best Practice, Variable Number Of Form Elements

2003-07-08 Thread James Childers
The PROBLEM is submitting this form. I haven't found a way to make Struts auto-allocate space in a collection (or a Map, for that matter) in an ActionForm for the submit action. Almost every example on this I've seen deals with a fixed number of elements, and most of these still focus

Re: Best Practice, Variable Number Of Form Elements

2003-07-08 Thread Michael Thompson
If you have indexed props with lists of java objects on your form: public Person getPerson(int index); public void setPerson(int index, Person person); public Collection getPersons(); and you have a html:text or whatever html:text property=person[4].name/ then struts(beanutils really?) will do

Re: variable passing.

2003-07-04 Thread Nagendra Kumar O V S
d="id" paramName="%= ctr %" bean:write name="feeCat" property="cat"//html:link /tdhope this helps..--nagi---Original Message--- From: Struts Users Mailing List Date: Friday, July 04, 2003 01:55:34 AM To: [EMAIL PROTECTED]

RE: variable passing.

2003-07-04 Thread Steve Raeburn
'action' instead of 'page' to avoid having to specify the .do extension. Steve -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: July 3, 2003 1:25 PM To: [EMAIL PROTECTED] Subject: variable passing. logic:iterate name=FormBean property=fee id=feeCat indexId=ctr

RE: variable passing.

2003-07-04 Thread Steve Raeburn
Apparently I did misunderstand. Pick mine or nagi's answer depending on what you meant by the id of the row selected Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: July 4, 2003 3:01 AM To: Struts Users Mailing List Subject: RE: variable passing

variable passing.

2003-07-03 Thread imran ali
logic:iterate name=FormBean property=fee id=feeCat indexId=ctr scope=request td bean:write name=feeCat property=categoryId/ /td td html:link page=/foo.do bean:write name=feeCat property=cat/ /td I have a form FormBean and their I have a collection of other form and that collection is named

bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Apologies for the x-post, I put this in the dev newsgroup by a mistake. Ben In this code excerpt I am defining a bean with bean:define. However, I want to conditionally change the value. According to the struts doc, bean:define either creates, or replaces a previous instance of the bean as

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread Sandeep Takhar
I don't think you can have it twice on the same page. You will have to try another way. sandeep --- [EMAIL PROTECTED] wrote: Apologies for the x-post, I put this in the dev newsgroup by a mistake. Ben In this code excerpt I am defining a bean with bean:define. However, I want to

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
to Struts Developers List To: Struts Developers List [EMAIL PROTECTED] cc: Subject:Re: bean:define to assign a different value to an existing variable Oh, I also noticed that you are asking user questions on the dev list. Move this thread over to the users

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread James Mitchell
On Friday 27 June 2003 09:26, [EMAIL PROTECTED] wrote: Hi James, So what does the name portion of the bean:define actually do ( I've done the RTFM but I'm still confused ). Is the name the name of the value in pageContext() and id the scripting value on the jsp page? I know, the docs can be

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
: bean:define to assign a different value to an existing variable On Friday 27 June 2003 09:26, [EMAIL PROTECTED] wrote: Hi James, So what does the name portion of the bean:define actually do ( I've done the RTFM but I'm still confused ). Is the name the name of the value in pageContext() and id

Re: i18n, passing variable into arg0 using bean:message

2003-06-24 Thread Tin Pham
On thing that wasn't mentioned. You have to cast to (String) in the scriptlets example as define does not set a type. bean:message key=deleteBusiness.confirm.p1 arg0=%=(String)orgName%/ Jason Lea [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tin Pham wrote: Hi, Individually

Re: i18n, passing variable into arg0 using bean:message

2003-06-20 Thread Tin Pham
Thanks! I really appreciate your help. I guess JSTL will eventually replace struts custom tags? Jason Lea [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tin Pham wrote: Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company b{0}/b is correct.

Re: i18n, passing variable into arg0 using bean:message

2003-06-20 Thread Craig R. McClanahan
On Fri, 20 Jun 2003, Tin Pham wrote: Date: Fri, 20 Jun 2003 02:15:39 -0400 From: Tin Pham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: i18n, passing variable into arg0 using bean:message Thanks! I really appreciate your help

i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Tin Pham
Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company b{0}/b is correct. bean:message key=deleteBusiness.confirm.p1 arg0=Esso/ bean:write name=deleteOganizationForm property=organizationName scope=session ignore=true/ Instead of using a literal of esso we want to use the

Re: i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Jason Lea
Tin Pham wrote: Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm company b{0}/b is correct. bean:message key=deleteBusiness.confirm.p1 arg0=Esso/ bean:write name=deleteOganizationForm property=organizationName scope=session ignore=true/ Instead of using a literal of esso we

RE: i18n, passing variable into arg0 using bean:message

2003-06-19 Thread Hrishi Dixit
cell [EMAIL PROTECTED] -Original Message- From: Tin Pham [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 6:04 AM To: [EMAIL PROTECTED] Subject: i18n, passing variable into arg0 using bean:message Hi, Individually these all work deleteBusiness.confirm.p1 = Confirm

Variable in a Struts tag

2003-03-26 Thread Giovanni Formenti
But when i write: Customer Name: html:text value=${custName} ... / the Struts taglib don't reads ${custName} as a variable but as a string so create a textbox with the string ${custName} inside! How can i do?! Thanx Gio

RE: Variable in a Struts tag

2003-03-26 Thread Andrew Hill
To: Struts Users Mailing List Subject: Variable in a Struts tag I have the JSTL/Struts code: c:import url=sample.xml varReader=xmlSource x:parse var=customer xml=${xmlSource} / /c:import html:form ... x:set var=custName select=$string(customer/name) / Customer Name

Re: Variable in a Struts tag

2003-03-26 Thread Nicolas De Loof
} ... / the Struts taglib don't reads ${custName} as a variable but as a string so create a textbox with the string ${custName} inside! How can i do?! Thanx Gio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Tile variable in a custom tag

2003-03-17 Thread Cedric Dumoulin
Import the tile attribute in one of the jsp scope: tiles.importAttribute name=OBJECT_NAME / Then, you can use it in your tag as el expression. If you need to use it as java variable, use tiles:useAttribute name=.../ Check the tag syntax to know more ... Cedric Sloan Seaman wrote

Tile variable in a custom tag

2003-03-14 Thread Sloan Seaman
Is there any way to get a variable passed to a tile into a custom tag within that tile? Example: I pass to the tile: tiles:put name=OBJECT_NAME value=node/ and then I want to so something like: pantryLoading:getBarcodeTree name=${OBJECT_NAME} property=nodeList scope=session/ -- Sloan

Send variable from the Action to the forward jsp page

2003-03-07 Thread Søren Blidorf
Hi Is it possible to send a variable from the Action to the forward jsp page Søren Blidorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Send variable from the Action to the forward jsp page

2003-03-07 Thread Rick Reumann
On Fri, 7 Mar 2003 22:13:03 +0100 Søren Blidorf [EMAIL PROTECTED] wrote: Is it possible to send a variable from the Action to the forward jsp page Just put it in request scope in your action. request.setAttribute(nameOfTheHandle, object ); -- Rick Reumann

  1   2   3   >