Re: Error working with MessageFormat as per Ted's tips...

2003-06-26 Thread Sandeep Takhar
for the type of class I have commin in like com.baselogic.RegistrationActionForm --- Thanks... Mick Knutson --- From: Sandeep Takhar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re

Re: Error working with MessageFormat as per Ted's tips...

2003-06-25 Thread Sandeep Takhar
registrationForm needs to be pageContext so bean:define id=regFormCopy name=registrationForm/ and then use the copy not pretty and there may be a better way sandeep --- Mick Knutson [EMAIL PROTECTED] wrote: I can't get this to work in my JSP: bean:message key=form.reg.creationDate arg0='%=

RE: ExceptionConfig bundle Attribute Using Multiple Message Res ources.

2003-06-25 Thread Sandeep Takhar
That is what it is intended to be used for... Not sure why it doesn't work. If you use multi-bundles then I assume you named them in the struts-config (using the key attribute) This bundle attribute is supposed to pick up the message resource (key,value) from this bundle attribute. I know

RE: requiredif question

2003-06-25 Thread Sandeep Takhar
Are you extending ValidatorForm? sandeep --- Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] wrote: Here's my struts-config and my validation.xml. I've also attached them, if it's easier to look at that way. I've only shown parts of my struts-config.xml, enough to show one example

Re: I8ln question

2003-06-25 Thread Sandeep Takhar
I would stick with 1, unless you need to add on the fly. If you go with 2 you will need to figure out how to cache the info on the ui side as well. This is done for you automatically with resource.properties. In Ted's book he recommends number 1 as well. sandeep --- Brian McSweeney [EMAIL

Re: Error working with MessageFormat as per Ted's tips...

2003-06-25 Thread Sandeep Takhar
) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455) --- Thanks... Mick Knutson --- From: Sandeep Takhar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Error working with MessageFormat as per

RE: Validator with LookupDispatchAction and Tiles

2003-06-23 Thread Sandeep Takhar
to implement, but I am always open to suggestions :-) Nick -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 1:35 PM To: Struts Users Mailing List Subject: RE: Validator with LookupDispatchAction and Tiles You seem

Re: Passing multiple ActionForms (at the same time) to an Action

2003-06-23 Thread Sandeep Takhar
Interesting use of helper beans... Ted can you comment on the number of options available for multi-page flows. Could these helper beans help to provide request scoped beans across multiple screens without the need to save between each page? 1. session-scoped beans 2. request scoped beans with

Re: Wizard style internet application?

2003-06-23 Thread Sandeep Takhar
search for wizard in the mailing list archive. sandeep --- Poon, Johnny [EMAIL PROTECTED] wrote: Hi all, I'm designing a wizard-style internet application using struts and tiles. By wizard-style internet application, I mean internet application that guide user step by step with Back and

RE: question about struts

2003-06-20 Thread Sandeep Takhar
may be related to jdk version?? but: request.getSession().getServletContext() sandeep --- [EMAIL PROTECTED] wrote: Hi, The ActionServlet has a reference to the servlet context which may be retrieved using: servlet.getServletContext() Using the servlet reference passed to your

Re: Subcast an element of an array in nested:iterate

2003-06-20 Thread Sandeep Takhar
not sure if you need the type at all. It uses reflection so... This is my understanding, but I seem to remember casting at some point... sandeep --- Romain SEGUY [EMAIL PROTECTED] wrote: Hi, I don't manage to cast an element of an array within the nested:iterate tag. Here is the problem :

RE: accessing VO by next view...

2003-06-20 Thread Sandeep Takhar
Let's say you have a link on a page that is /doSomething.do?id=2 This goes to an action that pulls the id and reads from the database and gets a DTO. Now you can do one of two things. You can use beanUtils.copyProperties to your form which has the same names as the properties from your DTO, or

Re: problem with bean:define and wls 6.1 sp5 when using include

2003-06-20 Thread Sandeep Takhar
should use toScope=request I think. sandeep --- Piper, James D CECOM SEC EPS [EMAIL PROTECTED] wrote: I am having a problem with bean:define and wls 6.1 sp5 when using it from a %@ include % code. I don't have this problem with sp4. For example here is a simple test case (this code works

RE: Validator with LookupDispatchAction and Tiles

2003-06-20 Thread Sandeep Takhar
You seem to be overriding default behaviour alot in your framework. I am not suggesting that this never occurs since it will certainly occur at some points, but will this way not make a lot of changes? sandeep --- Nick [EMAIL PROTECTED] wrote: Jing, I like your idea. We are going to try a

Re: Newbie: Passing information from an Action to a JSP

2003-06-20 Thread Sandeep Takhar
In your action's execure request.setAttribute(Constants.MY_FORM_NAME, dto); sandeep --- Matt E [EMAIL PROTECTED] wrote: Hello All, Here's what I want to do. I have an action called LookupRequest. It has some code that gets data out of a Database, builds a Data Transfer Objects from it,

Re: java.util.ConcurrentModificationException at org.apache.struts.action.ActionMessages.add(ActionMessages.java:185)

2003-06-20 Thread Sandeep Takhar
You don't need two threads. If you are using an iterator and are removing from the collection you are iterating over - you will get this error. If you are using EJB CMP then you need to know how relationships work because it is easy to run into this. sandeep --- Fedor Smirnoff [EMAIL PROTECTED]

Re: html:link/ w/out a href??

2003-06-18 Thread Sandeep Takhar
Why not give the buttons a name and submit to a process action. This action checks the name and forwards to the appropriate place.. sandeep --- Ben Anderson [EMAIL PROTECTED] wrote: I have a form with 2 buttons. I know I can handle this ok using the dispatch property. But, what I'd rather

Re: Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Sandeep Takhar
I think having multiple mappings is logical. Struts wants you to put all your pathing and forwarding in struts-config. sandeep --- Dee [EMAIL PROTECTED] wrote: Hi, My teammate and I have looked through the message archives (and different web sites) and not been able to find a

RE: How to instantiate a DynaActionForm?

2003-06-18 Thread Sandeep Takhar
I think ted posted one answer on a previous post: declare the same bean with two different names. The other options it to validate based on the action (assuming you are using validator) instead of the form. sandeep --- Joseph Yang [EMAIL PROTECTED] wrote: Thanks for all the answers! I used

Re: Making Value Objects Into Form Objects

2003-06-18 Thread Sandeep Takhar
This is similar to what we do. We don't use copyProperties, but toDvo and fromDvo. Just re-read Ted's book and he was talking about using the formatting stuff on the Dvo and not the PDvo. I haven't tried this, but it seems more right for some reason. Maybe it is business logic? Maybe having a

RE: My View Is Messy

2003-06-18 Thread Sandeep Takhar
I was thinking of doing xml/xslt, but at the end of the day I think it is much cleaner in struts/tiles etc... sandeep --- Andrew Hill [EMAIL PROTECTED] wrote: snip (serializing to XML just to reserialize to HTML seems like an unnecessary performance hit) /snip Yeh, Id imagine it can get

RE: About prepopulating a form...

2003-06-18 Thread Sandeep Takhar
There is another way that I haven't tried. It is advocated in Ted's book and is in the scaffolding project. I think I want to try this out a bit actually... Could be wrong about this, but I think there were different actions for each and there was a business bean that handled the common code

Re: About prepopulating a form...

2003-06-18 Thread Sandeep Takhar
no you can tell it to use it. in your struts config you have a name parameter of the form and scope=session if you request.getSession().setAttribute(name, object); this would do what you are looking for. I try and shy away from this as much as possible since it should not be necessary.

Re: logic:iterate displaying blanks

2003-06-17 Thread Sandeep Takhar
I think you want to do a html:form action=/showLogs.do ? also, check to see what your html source is for this form line and verify that it is using the name element from your struts-config. sandeep --- RALPH ROPER [EMAIL PROTECTED] wrote: hi, I had a good search on the user group and could

RE: logic:iterate displaying blanks

2003-06-17 Thread Sandeep Takhar
-Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 June 2003 9:25 PM To: Struts Users Mailing List Subject: Re: logic:iterate displaying blanks I think you want to do a html:form action=/showLogs.do ? also, check to see what your html

Re: Token in struts and session bean.... problem with the framework ?

2003-06-17 Thread Sandeep Takhar
This is very interesting and something I never thought about. Only one call to the back-end will ever be made, since the token will be invalid. You should check the token before the populate maybe? I think it is the populate that is screwing up things. Another reason to use form fields for all

Re: Token in struts and session bean.... problem with the framework ?

2003-06-17 Thread Sandeep Takhar
Does anyone know if we can automatically do these checks now with the framework. It is possible I am being too naive about this functionality, but thought I should ask. sandeep --- David Graham [EMAIL PROTECTED] wrote: It's up to your Action to call the token methods to validate the

Re: embedding multiple parameters and associated values in a html:link

2003-06-17 Thread Sandeep Takhar
Not a bad idea to create a custom tag to do this for you either. sandeep --- Carl Walker [EMAIL PROTECTED] wrote: Here's an example where I make a URL with two parameters, 'action' and 'accountId'. 'account' is a pageContext-scoped variable put on the page by the logic:iterate tag.

Re: Nested recursion does not recurse!

2003-06-17 Thread Sandeep Takhar
Are you sure you want to include a page that has a form in it? nested:form, nested:nest and nested:iterate all start a new root element that nested will use. Whenever you do a jsp:include always do a nested:root at the beginning if you are using nested tags. sandeep --- Chris Hatton [EMAIL

Re: Generating Java constants class from message resources

2003-06-16 Thread Sandeep Takhar
I haven't done anything like that, but it seems to me that this is XDoclet's arena. sandeep --- Aaron Robinson [EMAIL PROTECTED] wrote: The most common approach I've seen to using error messages in code is set up a bunch of constants somewhere and then use these in the code... public

Re: Pass parameters to included tiles definition

2003-06-16 Thread Sandeep Takhar
I can see two options since what you want to do is not possible: The reason it is not possible is because there are different contexts for each tile. 1. You could try and create another tile which subclasses the context.layout and put in this tile instead. 2. Move the attributes to the parent

Re: html:error dynamic usage

2003-06-13 Thread Sandeep Takhar
Someone just asked that... I think there is a custom tag..LabelTag? sandeep --- Gregory F. March [EMAIL PROTECTED] wrote: Boy, I'm just full of questions this morning! Musta been something in my oatmeal. :-) I would like to have a page that changes the color of the text associated

Re: lost form data when validate returns errors

2003-06-13 Thread Sandeep Takhar
reset() populate() validate() I believe sandeep --- Sashi Ravipati [EMAIL PROTECTED] wrote: Hi I have the form info in my action and it passes the form's validation, but if I add an error the displayed page doesn't have the form info. The error displays properly, but I lose all the

Re: AW: checkboxproblem

2003-06-12 Thread Sandeep Takhar
I am a little rusty with the exact steps, but in my head I know for sure that when you make a request like /something.do Before SomethingAction is called it will call reset on the form defined in SomethingAction in struts-config. populate the form Then go the actions execute method. So the

Re: attribute problem

2003-06-12 Thread Sandeep Takhar
I think you need to have a ObjectB getB(int index) on ObjectA where getA returns ObjectA sandeep --- Peng Zhao [EMAIL PROTECTED] wrote: How can I use bean:write ../ to display an attribute like this? a.getB()[0].getC().getD() I used bean:write name=a.b[0].c property=d, but failed.

Re: Can you send a null value to a form in Struts (1.1)?

2003-06-12 Thread Sandeep Takhar
Other than strings and booleans, you cannot set the type you want. Maybe you can always set an equivalent 'null' string that you can check for in the validator. Unfortunately I haven't used the validator yet. sandeep --- Joe @ Team345 [EMAIL PROTECTED] wrote: Hi, Sorry if this is an oft

RE: what setters do i implement in an indexed tag --NewBiequestion

2003-06-12 Thread Sandeep Takhar
I would have a FormBeanName extend ActionForm have a getPersonList which returns a collection of Person objects which does not extend the ActionForm struts-config has form-bean name=formBean type=org.FormBeanName action path=/SomeAction form=formBean sandeep --- Sashi Ravipati

RE: Nested Tiles Definitions

2003-06-12 Thread Sandeep Takhar
try ignore=true I think this works. sandeep --- Robert Smith [EMAIL PROTECTED] wrote: What Chip suggested I had also tried (and neglected to mention in my first message). I can divine for Shirish's message that it has to do with the attributes not being in scope in the subtile. I tried

RE: what setters do i implement in an indexedtag--NewBiequestion

2003-06-12 Thread Sandeep Takhar
I'm with you on this one. Going back to the server is ok here and it is very clear what is happening. You will want to change validate in order to correctly populate the form. sandeep --- John Greenhill [EMAIL PROTECTED] wrote: Hi, To start with, I'm assuming a flow like this:

RE: Nested Tiles Definitions

2003-06-12 Thread Sandeep Takhar
a bit too contrived logic.If anybody can give a clean solution for this nesting tiles problem,I will be too happy.. Any tiles experts listening? Shirish -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 4:56 PM To: Struts Users

RE: what setters do i implement in an indexedtag--NewBiequestion

2003-06-12 Thread Sandeep Takhar
Whoa that was confusing. I meant to say to change validate so that it handles the fact that you pressed add and not do the validation. I don't use the validator yet, but there must be a way to handle it with the validator. sandeep --- Sandeep Takhar [EMAIL PROTECTED] wrote: I'm with you

Re: Dynamic DynaActionForms?

2003-06-11 Thread Sandeep Takhar
Why not have the form capture all the info. Have the administrator control a switch to suggest which radio boxes should appear and if they only choose one then don't show any radio boxes. After filling in the address info have a next button and take them to the additional info about credit etc.

RE: What are indexed struts-html tags and how to use them?

2003-06-11 Thread Sandeep Takhar
I personally use nested tags because they have better support for this kinda thing. Here is a good place for a tutorial. http://www.keyboardmonkey.com/pilotlight/index.jsp Go to the bottom and click on the monkey[0] tutorial. Keep in mind the struts-basics for how it sets values on the submit.

RE: Forwarding to a tile definition

2003-06-11 Thread Sandeep Takhar
I don't know if it is the only way, but you can always link to an action and have that forward to a tile. sandeep --- Davidson, Glenn [EMAIL PROTECTED] wrote: I would also like to be able to forward to a tile definition! -Original Message- From: Gregory F. March [mailto:[EMAIL

Re: Using ActionForms and Entity CMP EJB

2003-06-11 Thread Sandeep Takhar
I would give some thought about what to do if you need to internationalize. (This might be different than the other hints given to you). The normal course is the ones suggested already. You can subclass the message resources. I haven't tried any of this however, but it can take care of the

Re: Wizard forms

2003-06-11 Thread Sandeep Takhar
I'm not saying it's better, but this is what I have done (but not with as much tiles integration). This is how I would do it moving forward: Have a different action or two different actions for each unique page. (You may have pages that are not necessarily unique and are generic second pages

Re: Scope related Vector iteration problem

2003-06-11 Thread Sandeep Takhar
It calls the getters too... one.two.three on submit will call getOne().getTwo().setThree() sandeep --- Gemes Tibor [EMAIL PROTECTED] wrote: James Watkins írta: My problem comes when I try to submit the form. I get the following exception when the bean gets populated:

Re: Populating Drop-down

2003-06-10 Thread Sandeep Takhar
someone else has replied, but just some more hints. You can look at html:optionsCollection which as support for labelValueBeans. The idea about using using the tiles:controller is an excellent one, but I have not done this. You will probably want it in application context and not load them all

Re: logic:iterate and html:text indexed=true/

2003-06-10 Thread Sandeep Takhar
my small understanding on how to use this is as follows: logic:iterate name=form_name property=property_name id=property_name html:text property=some_property indexed=true ok -- 1. form_name is the name of the form 2. property_name is the name of the property and for some reason the id= also

RE: Varying number of field

2003-06-10 Thread Sandeep Takhar
You can always post to a map. Let me see if I can find a link... Look at 4.3.2: http://jakarta.apache.org/struts/userGuide/building_controller.html sandeep --- Andrew Hill [EMAIL PROTECTED] wrote: Check out the nested form stuff. See: http://www.keyboardmonkey.com/pilotlight/index.jsp

RE: logic:iterate and html:text indexed=true/

2003-06-10 Thread Sandeep Takhar
- you can call any page object anything you want. Mark -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 2:41 PM To: Struts Users Mailing List Subject: Re: logic:iterate and html:text indexed=true/ my small understanding on how

Re: Validating search box's

2003-06-10 Thread Sandeep Takhar
I think you want to use instead of || sandeep --- Jason Meredith [EMAIL PROTECTED] wrote: I have a search facility that returns records from a database. There are 9 fields to search from, at least one field has to pass a value in order to return records, but it can be anyone of them.

RE: What are indexed struts-html tags and how to use them?

2003-06-10 Thread Sandeep Takhar
There is an error in that getPerson(int index) should return a Person object or something with name etc. sandeep --- Sashi Ravipati [EMAIL PROTECTED] wrote: I want to accomplish something which is similar to what is shown in the example

Re: Guidance on image versions needed

2003-06-10 Thread Sandeep Takhar
storing in the back-end wouldn't make sense since it is view level information. Maybe have something in the database like logoId and key off of that. sandeep --- Gregory F. March [EMAIL PROTECTED] wrote: On Jun 9, 2003, Sandeep Takhar [EMAIL PROTECTED] wrote: |can you store in the database

Re: More validation woes... Ack!

2003-06-10 Thread Sandeep Takhar
It is normal to show the path of the submit on the validate since that is the request that it is processing when an error occurs (the roundtrip) sandeep --- Gregory F. March [EMAIL PROTECTED] wrote: Quick version: How does one handle a tile-based form that fails validation? Or, is there

Re: Guidance on image versions needed

2003-06-09 Thread Sandeep Takhar
can you store in the database and find in the resources. Really want to try and get away from if (company='') else if... sandeep --- Gregory F. March [EMAIL PROTECTED] wrote: Hi all, I have an application that changes the images loaded depending on an attribte of the user (e.g. what

RE: classloading error in struts

2003-06-09 Thread Sandeep Takhar
Weblogic 6.1 doesn't like having more than one 'decimal' in the name of jar files. could this be the problem?? sandeep --- Andrew Hill [EMAIL PROTECTED] wrote: Hmm... And Actions work? - just the ActionError class not found when using a JSP? Wierd. Cant think of anything else then Im afraid

Re: [Tiles Beginner Question] Href Tile Definitions

2003-06-09 Thread Sandeep Takhar
I think you don't want to create an action to handle the tiles reference right? If not, then you can simply create a global action that forwards to display say.. action path=/home scope=request type=org.apache.struts.actions.ForwardAction validate=false /action

Re: [Tiles Beginner Question] Href Tile Definitions

2003-06-09 Thread Sandeep Takhar
sorry I accidently hit tab on the last reply and it sent the email somehow (some weird combination of keystrokes). What I wanted to finish was the action... action path=/home scope=request type=com.xxx.xxx.FowardAction validate=false forward name=display

Re: bean:define with message keys

2002-06-27 Thread Sandeep Takhar
it almost seems like you could use a tag library. i'm sure there is a better way than that as well.. sandeep --- Developer [EMAIL PROTECTED] wrote: Has anyone a cleaner way to do the following: bean:define id=confirmMessage value=return confirm(' / %

Re: Question- Reset method usage

2002-06-27 Thread Sandeep Takhar
before an action is called (on a request) the order is: reset processPopulate validate if validate=false in the config, only the first two are followed. if it is a cancel button than I don't think any of this is called. In version 1.1 if you define a jsp with an html:form which has a form

Re: bean:write format

2002-06-26 Thread Sandeep Takhar
bean:message --- Graham Lounder [EMAIL PROTECTED] wrote: Hello All, I can't seem to find much documentation on the format option of the bean:write tag. I've search the mail archive and couldn't find anything. I was able to format numbers by using ###.##0.00 in the format option. My

Re: Multiple Select Problem

2002-06-23 Thread Sandeep Takhar
try using an array list. I think you need something that can be converted to an iterator?? sandeep --- Dave Weis [EMAIL PROTECTED] wrote: Hello I'm trying to make a multiple select on a form. I can't seem to get the correct type signatures on the getter and setter in the form. When I

Re: Making Action object as singleton

2002-06-23 Thread Sandeep Takhar
I'm pretty sure that action objects are created only once by the server. this question may have been answered before if this is not what you are looking for. sandeep --- Bhattad, Nilesh [EMAIL PROTECTED] wrote: Hello I have an Action object which is common for all JSP pages. It doesn't

Re: best way to put index of collection in option(s) tag ?

2002-06-09 Thread Sandeep Takhar
It seems to me that having the index is very similar to having a primary key. So maybe what you add to the collection should be given a primary key which may just be the index into the collection. sandeep --- Rick Reumann [EMAIL PROTECTED] wrote: What is the best way to put the index value of

Re: calling an action as a forwards

2002-05-11 Thread Sandeep Takhar
yep - it works fine. --- Emerson Cargnin - MSA [EMAIL PROTECTED] wrote: Have someone used an action calling other other action as a forward??? - Original Message - From: Gerry Chike [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, May 06, 2002

Re: Forms Beans and DAO (Best Practices)

2002-05-11 Thread Sandeep Takhar
may want to hold stuff that is not Strings, in the form and not the dvo, because it may be in an invalid format... sandeep --- stuart robertson [EMAIL PROTECTED] wrote: Another approach to this is to have the form beans simply hold references to the value objects (from the DAO) directly.

RE: IDE for EJB2.0 development

2002-04-17 Thread Sandeep Takhar
funny that James Gosling, or one of the gods at sun made a comment about how ide's were useless and how all good developers used emacs. i probably took him out of context, but I remember that he got into a lot of trouble over it... i also think that the general gist of the message was as I

Re: html:errors / ActionErrors bug.

2002-04-16 Thread Sandeep Takhar
I am wondering if you can set validate=false on the second mapping (Y)? maybe because it is going through validation again? sandeep --- rob [EMAIL PROTECTED] wrote: It would appear that you can not maintain saved errors in the http request across a forward to an action before displaying it

RE: /do/* instead of *.do in web.xml

2002-04-13 Thread Sandeep Takhar
someone mentioned this earlier and I heard the same thing: /do/* does not work in struts 1.1 maybe they will fix it? --- Phase Web and Multimedia [EMAIL PROTECTED] wrote: It allows for a more logical approach to your command structures. Of course, I stopped useing *.do long ago. So, maybe

RE: Unable to find LookupDispatchAction class

2002-04-13 Thread Sandeep Takhar
there is a lookupDispatchAction in struts 1.1 it was also made available by a struts user for handling multiple submit buttons on a page and was later added to the code for struts 1.1 you should be able to find it in the archives. Sandeep --- Scott Edwards [EMAIL PROTECTED] wrote: I believe

Re: NoClassDefFoundError - Weblogic 6.1

2002-04-13 Thread Sandeep Takhar
you can get a patch for this. Sandeep --- Max Cooper [EMAIL PROTECTED] wrote: I noticed something very strange in WL 6.1 SP2 -- it will not load jars that have more than one dot in the name. I had to change our jakarta-regexp-1.2.jar to jakarta-regexp-1_2.jar (got rid of the . in 1.2) to

Re: Preventing Caching of all pages

2002-04-13 Thread Sandeep Takhar
no - it is there struts 1.0 sandeep --- Jim Crossley [EMAIL PROTECTED] wrote: I wasn't aware of the init-param solution -- is that new with Struts 1.1? Regardless, we solve this problem by overriding the process method of the ActionServlet and setting some headers prior to calling

RE: Business Logic Javabeans

2002-04-11 Thread Sandeep Takhar
I think this depends on the set-up that you have. the pattern you are referring to is business-delegate and that is exactly what it does -- delegates. the book ejb design patterns talks about the pros and cons. for us -- it doesn't make a lot of sense. Sandeep --- Jay sissom [EMAIL PROTECTED]

Re: DynaBeans / DynaActionForm

2002-04-11 Thread Sandeep Takhar
I may be way off base here, but I think that for hash maps and stuff you can code using the html tags, but instead of using the dot notation you use the key customer.address --- normal way we need a get on customer and get/set on address customer.map(mapKey) -- hash map way I don't know the

Re: html:radio can't find bean property

2002-04-11 Thread Sandeep Takhar
do you have a getFundsVerified method on your form-bean? --- [EMAIL PROTECTED] wrote: Hello, The html:radio element in my form can't find its property, yet other elements don't have this trouble. For instance, this works html:text property=fundsVerified

RE: [OT] precompiling jsp with ant (prev 'RE: New Site')

2002-04-11 Thread Sandeep Takhar
does this work for weblogic.jspc -- I noticed that the individual directories (if there are pages in subdirectories) get compiled to the root directory (or ${jsp.dirs} in this case. what to do in this case? Sandeep --- Galbreath, Mark [EMAIL PROTECTED] wrote: In build.xml: target name=jsp

RE: exception handling in business beans

2002-04-11 Thread Sandeep Takhar
using declarative security in the struts config -- you can specify which forward to go to when a specific error occurs within an action. new to struts 1.1 --- Maturo, Larry [EMAIL PROTECTED] wrote: We also follow the second approach, and propagate all the exceptions from the business beans to

Re: Forward from one webapp to another

2002-04-04 Thread Sandeep Takhar
can you use cookies? Sandeep --- Arnaud Chiaberge [EMAIL PROTECTED] wrote: Hi all, I'm looking for a way to forward control from one webapp to another with passing some parameters. What I actually have is a webapp A, where a user first authenticate, and then does his job. Later, the

RE: JavaServerFaces (JSF) replacement for Struts?

2002-04-02 Thread Sandeep Takhar
I went to the BOF following this session where Craig McLanahan was the main speaker. He basically finished off by saying that we will use whatever we want to from JSF. Just as there are pieces we use from the Servlet JSP specification. He is part of the expert group and is keen on making the

Re: what does RT Expr

2002-03-31 Thread Sandeep Takhar
run-time expression. it means you can pass a script variable like param=%= scriptVariable % --- Bill Page [EMAIL PROTECTED] wrote: in the tag docs I see a [RT Expr] in a lot of the attribute definitions. What does this mean? I can't find a def anywhere in the struts docs. thanks

RE: Use of stuts in J2EE

2002-03-31 Thread Sandeep Takhar
You would use a transfer object (see EJB Design Patterns -- a good book). There are a large number of options for getting the data from the formbean into the dto. The conventional thing that a lot of people are doing is to have the data transfer object (j2ee blueprints have recently changed

Re: Single Servlet Controller Model

2002-03-25 Thread Sandeep Takhar
I believe the new release (1.1 beta 1) addresses this? --- K J [EMAIL PROTECTED] wrote: One of the things I don't like about Struts is its single servlet gateway model. Would it be possible to extend the ActionServlet? Has anyone done this? In general, do you think the single servlet model

Re: Displaying recursively defined bean...

2002-03-24 Thread Sandeep Takhar
does this work with struts 1.0? thanks, Sandeep --- Arron Bates [EMAIL PROTECTED] wrote: Alex, This is continuing a discussion we had a month ago (moreover, I had to dig through my emails to find out who I was arguing with over it :)... With further deliberation on its implementation

RE: OReilly Struts book

2002-01-29 Thread Sandeep Takhar
this looks quite impressive. Some thoughts... The examples that you give should be more than just a banking application I think. I believe you should have some value-add in the book. For example -- when to use session storage vs request storage. I know there are new featues such as

Vik's book on Struts (basebeans book)

2002-01-18 Thread Sandeep Takhar
I just received Vik's book on Struts. It may be different than what you expect, but in my opinion it is original and will be useful. It is kinda like lab work. For example -- the first chapter is called a warm-up and asks the user some questions and asks the user to set up tomcat PostGreSQL

Re: Vik's book on Struts (basebeans book)

2002-01-18 Thread Sandeep Takhar
. Can you please post a URL for it ? Thanks, Pritika. Sandeep Takhar [EMAIL PROTECTED] on 01/18/2002 08:18:34 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Mailing List [EMAIL PROTECTED] cc: Subject: Vik's book on Struts (basebeans book

RE: Vik's book on Struts (basebeans book)

2002-01-18 Thread Sandeep Takhar
to be covered. Sandeep --- Mark Galbreath [EMAIL PROTECTED] wrote: What version of Struts does it cover? Mark -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 9:19 AM To: Struts Mailing List Subject: Vik's book on Struts (basebeans

RE: Execute Struts in Netbeans?

2002-01-16 Thread Sandeep Takhar
Here are some steps I compiled for the guys at work. Note: WEB-INF for struts will automatically be recognized as a web-module. (There is no talk of struts below). Also note that the list of steps is for an older release 3.3 beta 6. The latest release of netbeans may not need all of the steps.

RE: Question on Struts debugging - one more time

2002-01-15 Thread Sandeep Takhar
, they clearly needed a monster computer to run. Is netbeans the best IDE? Are you happy with it? What sized machine to run on? Keith. --- Sandeep Takhar [EMAIL PROTECTED] wrote: I am not sure what is implied by the below messages: Using netbeans I am able to debug

Re: Digester Examples

2002-01-13 Thread Sandeep Takhar
the sample application has most of what is necessary. I do remember having problems with the digester when I was doing my own poc however and that was after understanding the example app and reading the docs. I think the example app is part of the source download for struts 1.0 Sandeep ---

RE: Question on Struts debugging - one more time

2002-01-13 Thread Sandeep Takhar
I am not sure what is implied by the below messages: Using netbeans I am able to debug servlets debug jsp's (a little buggy but it works) debug action classes and form classes. I am not sure if this all works remotely or not. logging is always a good idea. Sandeep --- Kilmer, Erich [EMAIL

RE: JADE

2001-12-28 Thread Sandeep Takhar
no luck. Do you have any URLs, PDFs, anything that might give me more information? Thanks Sean. -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED]] Sent: 19 December 2001 21:01 To: Struts Mailing List Subject: JADE

Re: Is there a global constructor I can use to initialise application wide beans?

2001-12-24 Thread Sandeep Takhar
Well - there are a number of ways of doing this. One way is to create a servlet and have it load on startup and do the work there. Sandeep --- [EMAIL PROTECTED] wrote: Hi I have some beans which I want to be visible application wide. I want them to be initilised when my struts

RE: JADE

2001-12-20 Thread Sandeep Takhar
to not answer your question, but I have been hunting for information about JADE, and have had no luck. Do you have any URLs, PDFs, anything that might give me more information? Thanks Sean. -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED]] Sent: 19 December

JADE

2001-12-19 Thread Sandeep Takhar
there is an IBM UI Framework called JADE. We are currently evaluating it against Struts. Has anyone used it and done a comparison before? Does anyone have any comments about this UI Framework at all? btw: there is a newer version of Jade which is 2.5 and it is much closer to Struts now than

no action object

2001-12-18 Thread Sandeep Takhar
I have been searching the archives to no avail. Is it possible to forward to something without creating an action class and coding the perform method? this something would be plain html in most cases. thanks, Sandeep __ Do You Yahoo!? Check out

Re: no action object

2001-12-18 Thread Sandeep Takhar
I think I will just have a single action that forwards to success and that will suffice. I thought of this after I made the post. Sandeep --- Burr Sutter [EMAIL PROTECTED] wrote: Perhaps I don't understand your question. If you had no Action class where would you put the line of code that

Re: Struts/FOP

2001-12-17 Thread Sandeep Takhar
when you emit RTF, can the users edit this format (unlike PDF). is there an import into word and does it lose the formatting? sorry for my ignorance. Sandeep --- Vic Cekvenich [EMAIL PROTECTED] wrote: Cocoon and Struts are different. Since I wanted to avoid server side production load

Re: Mixing Struts with XSLT

2001-12-13 Thread Sandeep Takhar
It makes sense to me and would like to know if there is an answer as well. This tackles one problem. What about the return? You have to generate XML again and than send it through the loop. Sandeep --- Dave Makower [EMAIL PROTECTED] wrote: We are currently using XML with XSLT in JSPs, in the

<    1   2   3   >