RE: error..!(Thnks Swaroop George)

2003-07-22 Thread virupaksha hosamath
Dear Swaroop, Thanks for ur response..! I just want to retrive data from the database using bean Dept.java, I m not using any formbean here.just instantiating Dept bean in ListDepartmentAction.java and displaying using logic:iterate tag in jsp called DeptListing.jsp. Action mapping has done

RE: error..!(Thnks Swaroop George)

2003-07-22 Thread Imran Bohoran
Try putting the scope as session in your iterate tag. -Original Message- From: virupaksha hosamath [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 12:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: error..!(Thnks Swaroop George) Dear Swaroop, Thanks for ur

RE: error..!(Thnks Swaroop George)

2003-07-22 Thread Nagendra Kumar O V S
hey, u have saved ur dataObject to the request with the name "list" . so ur jsp should look something like this %@ taglib uri="strutslogic" prefix="logic" %%@ taglib uri="strutsbean" prefix="bean" %%@ taglib uri="strutshtml" prefix="html"

RE: Struts MVC framework similar to that of a servlet container?

2003-07-22 Thread Craig R. McClanahan
On Tue, 22 Jul 2003, Andrew Hill wrote: Date: Tue, 22 Jul 2003 11:26:53 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts MVC framework similar to that

RE: Struts MVC framework similar to that of a servlet container?

2003-07-22 Thread Navjot Singh
hi ranko, i guess i have not able to portray it properly. What i intend to say is if you have ranko framework, use that. why do you need struts then as Ranko framework will be almost equivalent to struts. And if you make Ranko open source, people may start taking benefit from the good

RE: Struts MVC framework similar to that of a servlet container?

2003-07-22 Thread Craig R. McClanahan
On Tue, 22 Jul 2003, Andrew Hill wrote: snip all this great filters in place of ActionServlet direction /snip I could be wrong about that, thats just the impression I get from the posts and discussions here and on the dev list. It seems a logical conclusion though. Herein lies one of

RE: error..!(Thnks Swaroop George)

2003-07-22 Thread virupaksha hosamath
Dear Nagendra, Still same error no change...! Still I am not getting where will be the problem..? Hey Nagendra..? r u indian..? where ur working..? I m indian working in Malysia.. thanks 4 mail, Regds, virupaksha Nagendra Kumar O V S [EMAIL PROTECTED] wrote:

web-app_2_2.dtd not found

2003-07-22 Thread sriram
When I'm trying to deploy an application that uses Struts 1.1 on JBoss, I'm getting the following error: java.io.FileNotFoundException: JAR entry org/apache/struts/resources/web-app_2_2.dtd not found Any possible solution for this?

Re: Struts MVC framework similar to that of a servlet container?

2003-07-22 Thread Alen Ribic
I lived in Serbia long, long time ago. (Novi Sad) ;) .2c --Alen - Original Message - From: Ranko Bijelonic [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Martin Naskovski [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 3:38 AM Subject: RE: Struts MVC framework similar

Working visual on presentation layer

2003-07-22 Thread Altug B. Altintas
Hi, If i give jsp page to a web designer, how can she/he can see the actual web objects ? For example if i wrote a simple web application using struts, i have to put custom tags into this JSP page Logon.jsp *** %@

RE: error..!(Thnks Swaroop George)

2003-07-22 Thread Prashanth.S
Hi I agree with nagendra.. try out logic:iterate id=dept name=list scope=session instead of scope=request... Thanks Prashanth virupaksha hosamath [EMAIL PROTECTED] wrote: Dear Nagendra, Still same error no change...! Still I am not getting where will be the problem..? Hey Nagendra..? r u

RE: Struts MVC framework similar to that of a servlet container?

2003-07-22 Thread Ranko Bijelonic
Hi, First of all, I want to thank everyone for their responses. I was concerned that the questions I posed could be misinterpreted as an attack on Struts and usefulness of the framework, and that I would get some heated responses. However, everyone only tried to help me better understand the

Struts Expandable Trees

2003-07-22 Thread Pat Quinn
I'm currently developing a prototype using struts tiles for my layout definition. I want to have a dynamic html tree (i.e. http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp) on the left hand side, this menu will control the body content. I'm trying to avoid using frames as i understand

Struts Expandable Trees

2003-07-22 Thread Pat Quinn
I'm currently developing a prototype using struts tiles for my layout definition. I want to have a dynamic html tree (i.e. http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp) on the left hand side, this menu will control the body content. I'm trying to avoid using frames and javascript

Session management

2003-07-22 Thread Jason Meredith
Chaps I am sure this question has been asked before, if it has please point me in the right direction (URL - example) A user log's into a web site, once the user has been authenticated, a session is created , there are many different actions that a user can perform, and it is easy to check if a

Validation Error

2003-07-22 Thread bacco77
I have the following problem I've implemented a Dynamic form with validation (required,mask etc..) The standard validation works correctly. Then i wrote my own validator. The validator works but when he send me to the form after the error occurs, an exception occurs in my page: Cannot find

Accessing the servlet property at Action instatiation time

2003-07-22 Thread Mark Chaimungkalanont
I'm trying to do some initialisation in my constructor. It calls other classes and tries to pass the class the Application context. However, at this stage, the servlet property has not been initialised in the Action yet. I assume it must be possible to get the ServletContext from somewhere, but I

RE: error..!(Thnks Swaroop George)

2003-07-22 Thread Nagendra Kumar O V S
ooops, i am sorry it is session scope.. i overlooked yes,virupaksha.. i am indian working in Hyderabad -- nagi ---Original Message--- From: Struts Users Mailing List Date: Tuesday, July 22, 2003

Re: web-app_2_2.dtd not found

2003-07-22 Thread Nagendra Kumar O V S
hi, what version of Jboss and servlet container r u using? -- nagi ---Original Message--- From: Struts Users Mailing List Date: Tuesday, July 22, 2003 12:25:16 PM To: 'Struts Users Mailing

html:select problem

2003-07-22 Thread Ionel Gardais
Hi, I have a small problem with html:select tag. I use the same JSP for creating a editing a form. Everything works well for the creation step but when I edit the form, all fields are perfectly filled but the select list doesn't display the previously selected items. I observerved the same

RE: error..!(Thnks Swaroop George)

2003-07-22 Thread virupaksha hosamath
Dear Prashanth, I tried out for scope =session ,still the error is same.. .. thanks 4 ur response.. thanks.. rgds, virupaksha Prashanth.S [EMAIL PROTECTED] wrote: Hi I agree with nagendra.. try out instead of scope=request... Thanks Prashanth virupaksha hosamath wrote: Dear Nagendra,

Server side generated page

2003-07-22 Thread ale bra
Hi, I have somo problems with struts tags generated by the servlet. When rendering the page, those tags are not being converted to html ones. I have to build a page dynamically (my Jsp calls a server-side method who returns a String containing HTML) : how can I do with those dynamically-created

RE: web-app_2_2.dtd not found

2003-07-22 Thread sriram
I am using jboss 3.0.7 and using the default servelet container of jboss (jetty). -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 1:39 PM To: [EMAIL PROTECTED] Subject: Re: web-app_2_2.dtd not found hi, what version of Jboss and

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 is in

Re: Using variable on JSP Page

2003-07-22 Thread Vinayak Birari
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 want to create a text box on JSP page and give it a name

RE: web-app_2_2.dtd not found

2003-07-22 Thread Nagendra Kumar O V S
hi, i have used jboss with the tomcat version and works well. i guess the problem would be, it is unable to find the struts.jar in the class path so, try setting the classpath to struts.jar explicitly in ur jboss startup file -- nagi

Re: logic:iterate tag fails on large dataset, succeeds on small one?

2003-07-22 Thread prashant . mdesai
Hi, I am using struts validator in the logon.jsp of my application. If I don't enter the username click on submit the message displayed is null is required. Instead it should be Username is required. The part of the code in the validator-rules.xml is correct. I have given msg=errors.required

Why not to use Action chaining ?

2003-07-22 Thread Siva
Friends, Could anyone of you tell me why we ahuld not use Action chaining in struts framework ? I neet to do two different actions for a user action. how can i wachieve it without action chaining? Thanks in advance for your help. Sivakumar

Re: Using variable on JSP Page

2003-07-22 Thread Anubhav Kale
Hi... Thanks Vinayak. It does set the name . But when i use form input type=text name='%=name%' value='%=nameValue%' % String NAME = request.getParameter(name); out.println(NAME); % /form It prints null (it should print content of text box i.e. value of nameValue .) Please help

Re: Why not to use Action chaining ?

2003-07-22 Thread Alen Ribic
Maybe I haven't came across this before or I don't understand but why wouldn't you wanna use action chaining? I just jump from one action to another until I have all client requested baggage. --Alen - Original Message - From: Siva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Validator Problem

2003-07-22 Thread prashant . mdesai
Hi, I am using struts validator in the logon.jsp of my application. If I don't enter the username click on submit the message displayed is null is required. Instead it should be Username is required. The part of the code in the validator-rules.xml is correct. I have given msg=errors.required

Re: logic:iterate tag fails on large dataset, succeeds on smallone?

2003-07-22 Thread Nagendra Kumar O V S
hi, this happens only when struts is unable to load the resources from the bundle. make sure u have everything in place and restart web application or server. also u may want to try getting that prompt.username from the bundle using

Re: Using variable on JSP Page

2003-07-22 Thread Vinayak Birari
Hi , to do this % String NAME = request.getParameter(name); out.println(NAME); % make sure that, you are calling this jsp on submission of 'html form' which should have a textbox with a name 'name'. if u r writing this input type=text name='%=name%' value='%=nameValue%' and above line in same

Re: Why not to use Action chaining ?

2003-07-22 Thread Siva
Thanks Alen, Ted Husted (Struts in Action) says that the action chaining in the dark side of Struts. The problem he mentioned is that when the second action is being invoked, the form is being 'repopulated' with the initial form values that the form had when it was passed to the first action

Re: Validator Problem

2003-07-22 Thread Siva
Hi prashant, In the validation.xml file, you have to give a name for the args. (how can it know that for what validation it has to use the args ?) So the arg0 shuld also contain a property called name=required Please let me know whether it works, Sivakumar [EMAIL PROTECTED] wrote: Hi, I

RE: Session management

2003-07-22 Thread Navjot Singh
|What do I do for those pages that do not have actions, pages that have |global forwards for example (org.apache.struts.actions.ForwardAction), |things like legal pages, site maps, and so on? I don't want to create an |action just to display a simple JSP/HTML page, that's why I used a forward. |

Dependent select boxes

2003-07-22 Thread Brian McSweeney
Hi all, I have an application that uses dependent select boxes, ie, by picking one item in a select box, then the contents of the next one will be decided. This is used as a way to navigate a tree structure. I know that this is a common way of representing this structure type. The

Re: Dependent select boxes

2003-07-22 Thread Firat TIRYAKI
Take a look at the jguru faq for dynamic select box. You should generate javascript arrays dynamically and use them in the functions, I hope it will be helpful http://www.jguru.com/faq/view.jsp?EID=923880 - Original Message - From: Brian McSweeney [EMAIL PROTECTED] To: [EMAIL

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: Dependent select boxes

2003-07-22 Thread Brian McSweeney
Thanks Firat, I'll take a look at this, Cheers, Brian -Original Message- From: Firat TIRYAKI [mailto:[EMAIL PROTECTED] Sent: 22 July 2003 12:04 To: Struts Users Mailing List Subject: Re: Dependent select boxes Take a look at the jguru faq for dynamic select box. You should generate

validation error

2003-07-22 Thread bacco77
I have the following problem I've implemented a Dynamic form with validation (required,mask etc..) The standard validation works correctly. Then i wrote my own validator. The validator works but when he send me to the form after the error occurs, an exception occurs in my page: Cannot find

Re: Session management

2003-07-22 Thread Max Cooper
Jason, Authentication and session creation are mostly independent -- you can have a user with a session that has not been authenticated. I think a user will always have a session once they have been authenticated, however. I am not sure I understand quite what you are asking, but you can

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
You should put it either in WEB-INF/classes or jar it and Put it in lib. Note: if you are using tomcat and have a class that is not part of any package you might have a problem. I saw this long time ago; I was not sure if it was a bug or a feature. Anyway the practice of not putting your class

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: Validator Problem

2003-07-22 Thread prashant . mdesai
thanks a lot siva. It worked prashant.. Siva

RE: Using variable on JSP Page

2003-07-22 Thread Mark Galbreath
You have to import it into the JSP using a page directive: %@ page import=your.package.Anubhav % Then you can access it's non-private properties and methods with the JSP write directive: html:text property=%= Anubhav.property % value=whatever / Mark -Original Message- From: Anubhav

Re: Why not to use Action chaining ?

2003-07-22 Thread Alen Ribic
Well reading the FAQ from what I understand you should be doing the following. You should have access to your necessary business methods from pretty much any struts action you build. This means that you should be able to carry out all necessary business commands for a particular action hence no

Re: html:select problem

2003-07-22 Thread Ionel Gardais
hi, I tryed this way The selected items are not highlighted when the page is redisplayed ionel Prashanth.S wrote: Hi, I think that in the reset method in ur action form u need to make the selected array null[selected array is the array inside ur actionform that gets filled in request scope

Using anchors in action forwards.

2003-07-22 Thread Vilya Harvey
Hi there, is it possible to use have an action forward URL that contains an anchor? Something along the lines of forward name=success path=/search.jsp#results/ is what I'm looking for. I've noticed that this works when you specify redirect=true, presumably because it's left to the client

Re: Nested tab layouts possible?

2003-07-22 Thread Cedric Dumoulin
You can nest tab layout, but you need to modify the tabsLayout.jsp to take into account the several tabs layout. Try and adapt the nestedTabsLayout.jsp located in tiles-documentation.war under layouts. Hope this help, Cedric [EMAIL PROTECTED] wrote: Has anyone been able to get nested

drop-down list help

2003-07-22 Thread Rick Col
Hi, guys: I am a struts newbie. I have spent sevaral days trying build a struts page with several drop-down lists in vain. I am wondering there are any struts drop down lists examples out there. I appreciate your help. regards, __ Do you Yahoo!? SBC Yahoo! DSL

RE: drop-down list help

2003-07-22 Thread Suzette Daniel
The examples are in the struts war: [struts.war]/webapps/struts-exercise-taglib.war. They are also http://jakarta.apache.org/struts/resources/projects.html. Suzette H. Daniel Java Developer/Web dept 770 416.9222 ex: 5041 -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED]

RE: drop-down list help

2003-07-22 Thread Swaroop George
jsp:useBean id=dropdown scope=application class=com.xxx.DropdownCollections /jsp:useBean bean:define id=months name=dropdown property=months toScope=request/ html:select property=month html:options collection=months property=key labelProperty=value/ /html:select Hi this is a part of

RE: drop-down list help

2003-07-22 Thread sriram
Swaroop, Even I am looking for code for drop-down lists. Are you using LabelValueBean in DropDownCollections.java? Is there any alternative to LabelValueBean - I tried using Struts 1.1 but I'm facing lot of problems while deploying. And I am in a hurry to get this task completed. So, I am

RE: drop-down list help

2003-07-22 Thread Rick Col
Thank you, suzette. I will take a look, and report back to tell you if I make it or not. regards, --- Suzette Daniel [EMAIL PROTECTED] wrote: The examples are in the struts war: [struts.war]/webapps/struts-exercise-taglib.war. They are also

RE: drop-down list help

2003-07-22 Thread Rick Col
Thanks, Swaroop, for your kind help. regards, --- Swaroop George [EMAIL PROTECTED] wrote: jsp:useBean id=dropdown scope=application class=com.xxx.DropdownCollections /jsp:useBean bean:define id=months name=dropdown property=months toScope=request/ html:select property=month

RequiredIf Validation with nested

2003-07-22 Thread Arnason, Tamara
Hi, I'm trying to use the requiredif validation on fields in a nested collection and am not having any luck. Here's the excerpt from the validation.xml ... form name=/submitFamily_2004 field property=campus indexedListProperty=alumni depends=requiredif

Re: difference between Thread.currentThread().getContextClassLoader()and this.getClass().getClassLoader()

2003-07-22 Thread Rob Leland
If I recall this has been discussed in detail back in April 2001, and again in Feburary 2002, so you'll be able to get a good feeling for what it means by searching either the struts-use archives, or the tomcat-users archive at http://marc.theaimsgroup.com/?l=struts-userw=4

AW: AW: Error Using select tag To Create Drop-Down Menu

2003-07-22 Thread Dirk Behrendt
Hello! Maybe anybody can help me I also want to use an ArrayList form a DropDown Menu. I have added the list to my session succsessfully. But how can I use the session attribute LANG within my html:options tag??? jsp:useBean id=LangBean scope=request class=sample.LanguageBean

RE: drop-down list help

2003-07-22 Thread Rick Col
Hi, Swaroop: I have a question about your implementation, do we still need to implement an actionForm class for the following drop down list? regards, --- Swaroop George [EMAIL PROTECTED] wrote: jsp:useBean id=dropdown scope=application class=com.xxx.DropdownCollections /jsp:useBean

Re: Struts MVC framework similar to that of a servlet container?

2003-07-22 Thread Ted Husted
Craig R. McClanahan wrote: For better or for worse, Struts 1.x is going to remain based on Servlet 2.2 and JSP 1.1 as the base technologies, For the record, I just got back from a training gig with one of the largest companies on the planet. They are currently standardized on Servlet 2.2 and

RE: web-app_2_2.dtd not found

2003-07-22 Thread sriram
Nagendra, By adding struts.jar to classpath, the problem is solved. Thanks. But is it mandatory that we add struts.jar to classpath. I want to bundle the entire application along with struts.jar so that anybody can rebuild it after checking out the code from CVS. Any alternative? Sriram

RE: JBoss configuration problem with struts

2003-07-22 Thread Younis, Shahzaib
we r using JBOSS-3.2.1, I will also check at JBoss forms though. -Original Message- From: Erez Efrati [SMTP:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 6:11 PM To: 'Struts Users Mailing List' Subject: RE: JBoss configuration problem with struts What version of JBoss? I

requiredif docs?

2003-07-22 Thread Alex Shneyderman
I am looking for requiredif validator documentation. Does anyone have any pointers to it, preferebaly with examples? Thanks, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts Expandable Trees

2003-07-22 Thread Raible, Matt
If you're using struts-menu, this has been fixed in CVS. JavaScript and cookies are used to remember the menus that should be expanded. HTH, Matt -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:43 AM To: [EMAIL PROTECTED] Subject: Struts

RE: drop-down list help

2003-07-22 Thread Caroline Jen
Hi, Rick: Take a look at http://www.reumann.net/do/struts/main In Lesson II, you'll find an example of how to use the html:select tag Lesson II-4 Create ActionForm - The UI element for entering a value into the department field will be a drop-down list. Lesson II-6 Create DepartmentBean -

RE: Struts Expandable Trees

2003-07-22 Thread Mike Jasnowski
I could use a frameset and refresh only the main content area but this means using javascript and possibly not using tiles... am i correct in assuming this or is there an alternative solution??? FWIW, not to start this thread again, but using framesets does not deny the use of tiles. We're using

RE: [newbie]: Accessing labelProperty in html:options

2003-07-22 Thread Amit Kirdatt
Shyam, Here is a way to do it! It might not be the most elegent way of doing it, but it is a way none the less from top of my head. In your Action class get the term code by doing the following int termCode = ((MyCodeForm)anActionForm).getTermCode(); Then do this: HttpSession t_HttpSession =

Re: Why not to use Action chaining ?

2003-07-22 Thread Jens v . P .
Hello, Could anyone of you tell me why we ahuld not use Action chaining in struts framework ? I'm a Struts newbie, so maybe my answer ends up in a new question. But as far as I understand the action pattern (question 1: Are Struts actions commands as described in the GOF book). And as far as I

Re: Why not to use Action chaining ?

2003-07-22 Thread Jing Zhou
- Original Message - From: Siva [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 5:14 AM Subject: Re: Why not to use Action chaining ? Thanks Alen, Ted Husted (Struts in Action) says that the action chaining in the dark side of Struts.

RE: drop-down list help

2003-07-22 Thread Rick Col
Thanks, Caroline: I just took a look, very good tutorial. regards, rick --- Caroline Jen [EMAIL PROTECTED] wrote: Hi, Rick: Take a look at http://www.reumann.net/do/struts/main In Lesson II, you'll find an example of how to use the html:select tag Lesson II-4 Create

RE: Working visual on presentation layer

2003-07-22 Thread Kurt Post
If you are using Macromedia Ultradev I might have an answer for you. When I started working with Struts a couple of weeks ago, the first thing I did was whip up a crude Ultradev extension for Struts. The extension allows you to see struts tags in the design view as their corresponding HTML

Re: Why not to use Action chaining ?

2003-07-22 Thread Siva
Dear Alen, the following link says strus doed not support action chaining. http://www.scioworks.net/devnews/strutsDistilled/updates/update-030424/actionChain.html Siva Alen Ribic wrote: Well reading the FAQ from what I understand you should be doing the following. You should have

Re: Why not to use Action chaining ?

2003-07-22 Thread Siva
thanks a lot Jing Zhou, I will try this . Siva Jing Zhou wrote: - Original Message - From: Siva [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 5:14 AM Subject: Re: Why not to use Action chaining ? Thanks Alen, Ted Husted

RE: Working visual on presentation layer

2003-07-22 Thread Hookom, Jacob
Kurt, Could you also bounce me your extension? Our JSP developers are using Dreamweaver MX, if there are issues with compatibility, I'm sure we will be able to make the appropriate modifications. Many thanks! Jacob Hookom Senior Analyst/Programmer McKesson Medical-Surgical Golden Valley,

Craig/Ted .. Need help classLoader.getResourceAsStream(name) doesn't notwork in iPlanet

2003-07-22 Thread thirumalai . veeraswamy
Hi Craig/Ted, I am not getting enough attention to this thread. I am trying to give different subjects, but no reply. Could you please reply. When I was debugging the code and verifying the log. I found the code snippet mentioned below is behaving erratically in iPlanet/Sun ONE Web

RE: Working visual on presentation layer

2003-07-22 Thread Hookom, Jacob
I apologize for this one, I haven't fully woken up yet ;-) -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 9:30 AM To: 'Struts Users Mailing List' Subject: RE: Working visual on presentation layer Kurt, Could you also bounce me your

RE: Why not to use Action chaining ?

2003-07-22 Thread Bailey, Shane C.
I think the main reason it is bad to chain actions is that they are tied to the GUI (more specifically they are tied to a Servlet front end because of the presence of the request and response). Therefore, anything that is chained between servlets means that it isn't reusable if a different GUI

Re: Why not to use Action chaining ?

2003-07-22 Thread Siva
thanks jens, My requirement is like this : I have two different JSP files (assume a.jsp ane b.jsp) arranged as tiles in a Layout page. If the user makes an action in a.jsp, I need to change the model corresponds to both the a.jsp and b.jsp - both are independent and a.jsp will be in a small

a little question:Please help me

2003-07-22 Thread bacco77
Hi all. Just a little question. How can i iterate the ActionErrors errors collection to display messages into my jsp without using logic tags ot any other tag. Is ti in the request or in the session scope? How cani get it? Please help me Thanks Antonio Senatore

RE: Why not to use Action chaining ?

2003-07-22 Thread Bailey, Shane C.
What is this called then: Struts-config: forward name=action1 path=/action1.do / action 2 code: if(action1NotReachedFirst){ return (mapping.findForward(action1)); } I thought that was action chaining but if not all the better because I do it! Actually the other place I do something

Re: Why not to use Action chaining ?

2003-07-22 Thread Alen Ribic
Hhmm, need to revise my action classes quick! ;) Fighter I got it some how right or I wasn't chaining my Actions for prepopulation after all...;) (I know that at least I tried) Come to think again I think I might have chosen a root of invoking a combination of business commands form a single

RE: Why not to use Action chaining ?

2003-07-22 Thread Paananen, Tero
Could anyone of you tell me why we ahuld not use Action chaining in struts framework ? This is becoming a VFAQ... -TPP - This email may contain confidential and privileged material for the sole use of the intended

RE: Working visual on presentation layer

2003-07-22 Thread Kurt Post
No problem. If you need to make any changes for MX compatibility, please send me a copy so I can integrate them. -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 10:30 AM To: 'Struts Users Mailing List' Subject: RE: Working visual on

Beginner

2003-07-22 Thread Radu Focseneanu
Hi, I'm a struts beginner, haven't read very much about it, but anyway, here is my question - i suppose not a very difficult one. I need to know which tag I could use for simply writng out the value of a certain field in a html:form. More explicite, instead of writing out input type=hidden

Validation (Heirarchy) Question

2003-07-22 Thread Blake Whitmore
Hello All, Please forgive me and just direct me to the old thread if this is a re-post. Ok here goes: Here is something similar to my scenario, say I have a form with three properties (firstName, lastName, and middleName). For each of these properties I specify in my validation.xml file

RE: Beginner

2003-07-22 Thread Jarnot Voytek Contr AU HQ/SC
http://jakarta.apache.org/struts/userGuide/struts-html.html -Original Message- From: Radu Focseneanu [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 10:09 AM To: [EMAIL PROTECTED] Subject: Beginner Hi, I'm a struts beginner, haven't read very much about it, but

Re: Why not to use Action chaining ?

2003-07-22 Thread Sloan Seaman
Though that is true, it can be avoid if you write your chainer properly. You can have it Dechain and actually invoke a forward to the new action. Also, you can write an Action that just invokes objects in a linked list mannor and have each action called that way. There are really lots of

RE: Beginner

2003-07-22 Thread Amit Kirdatt
bean:write name=xyz/ Please read the documentation and user guides: http://jakarta.apache.org/struts/userGuide/index.html And also here is the tag I am talking about: http://jakarta.apache.org/struts/userGuide/struts-bean.html --Amit -Original Message- From: Radu Focseneanu

RE: Beginner

2003-07-22 Thread Hajratwala, Nayan (N.)
If the name of the form you are using is myform, and the property (field) name you want to output is abc with a value of xyz, you can do: bean:write name=myform property=abc / This will output xyz --- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chikli.com

Re: Why not to use Action chaining ?

2003-07-22 Thread Jens v . P .
Hello, Am Dienstag, 22.07.03 um 16:37 Uhr schrieb Siva: My requirement is like this : I have two different JSP files (assume a.jsp ane b.jsp) arranged as tiles in a Layout page. If the user makes an action in a.jsp, I need to change the model corresponds to both the a.jsp and b.jsp - both are

RE: Validation (Heirarchy) Question

2003-07-22 Thread Suzette Daniel
Hi Blake, In your validation.xml in arg0 you need to specify the display value for each field. Most likely at the moment they are all set to firstName. form name=modelInfoForm field property=firstName depends=required arg0 key=firstName.displayname / /field

Servlet 2.2: Access Objects Application Scope

2003-07-22 Thread AAAA ASJJUA
Hi All, I was wondering if there is a way to access objects in the application scope from the Action class. I cannot use request.getSession().getServletContext() because I am using the Servlet 2.2 spec and the getServletContext() method is not available on HTTPSession in this revision. Any

RE: Servlet 2.2: Access Objects Application Scope

2003-07-22 Thread Suzette Daniel
servlet.getServletContext(), servlet is a publicly accessable data member. Suzette -Original Message- From: ASJJUA [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: Servlet 2.2: Access Objects Application Scope Hi All, I was

Re: a_little_question:Please_help_me

2003-07-22 Thread Michael Ruppin
Try: org.apache.struts.action.ActionErrors errs = (org.apache.struts.action.ActionErrors)request.getAttribute(org.apache.struts.action.ERROR); if(errs!=null){ Iterator i=errs.get(); while(i.hasNext()){ org.apache.struts.action.ActionError err =

Re: a_little_question:Please_help_me

2003-07-22 Thread bacco77
thanks...i'm going to try right now -- Initial Header --- From : Michael Ruppin To : Struts Users Mailing List Cc : Date : Tue, 22 Jul 2003 08:32:00 -0700 (PDT) Subject : Re: a_little_question:Please_help_me Try:

RE: Servlet 2.2: Access Objects Application Scope

2003-07-22 Thread Mark Galbreath
this.servlet.getServletConfig.getServletContext() Mark -Original Message- From: ASJJUA [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: Servlet 2.2: Access Objects Application Scope Hi All, I was wondering if there is a way to access

logic:iterate index question

2003-07-22 Thread Charles Liu
Hi, What is the best way to test the value of indexId? For example, logic:iterate id=people name=employees indexId=index tr class='%=index.intValue()%2==0?Even:Odd%' ... /logic:iterate This works but it depends on the fact that index has type of Integer. Is there a better way to do the same kind

Re: Session management

2003-07-22 Thread Erik Price
Jason Meredith wrote: Chaps I am sure this question has been asked before, if it has please point me in the right direction (URL - example) A user log's into a web site, once the user has been authenticated, a session is created , there are many different actions that a user can perform, and it

  1   2   >