Dynabeans and Persistence strategies

2003-03-26 Thread rajesh kalluri
Hi, Has any one been using Dynabeans as their domian objects as opposed to POJO. If so could you you please mention the approcah you are taking to persist these to your db. I am looking for some thing which can handle Dynabeans having maps of other Dynabeans. And those need to be persisted to

Re: Javascript form Submit

2002-11-05 Thread Rajesh Kalluri Kalluri
Try this, also do you have more than one form on the jsp. function setAction() { document.form.action.value="clearPager.do?action=clearPager"; document.form.submit() return true; } I have my button tag as follows: >>> [EMAIL PROTECTED] 11/05/02 07:31AM >>> Hi, I have a button an

Re: Form using beans as data member

2002-10-30 Thread Rajesh Kalluri Kalluri
Nested propertys can be accesed among other ways by a . notation >>> [EMAIL PROTECTED] 10/30/02 09:15AM >>> I have a FormBean Class : public class SomeForm extends ActionForm implements Serializable { private SomeBean someBean; // .. } public class SomeBean implements S

Open Forward in a different window

2002-09-04 Thread Rajesh Kalluri
Hi, Is there a way I can open my "preview" forward in a seperate window like a pop-up or normal window. I know this can be done by using a java script function. But i am wondering if i am missing a config param in struts-config or some where to open the forwards in a seperate window. Excuse my

RE: Struts and Many Buttons on Single page

2002-08-29 Thread Rajesh Kalluri
ss by only making XML changes, not code changes. If you don't like a cluttered struts config, the approach you reference will be better. Jim Weaver Software Developer - ThoughtWorks "Rajesh Kalluri" .c

RE: Struts and Many Buttons on Single page

2002-08-29 Thread Rajesh Kalluri
Use a LookupDispatch Action, very convenient no java script no logic branching. (For more info look at Ted Husteds struts tips) Have your buttons setup like this... Action looks like this ...you have to map all your buttons to methods in this class and struts takes care of running your

LookupDispatchAction......Button Naming problems

2002-08-28 Thread Rajesh Kalluri
Hi All i have a use cse using a LookupDispatchAction i have a button named "preview" which i want to change to "Preview". I tried changing my Action class with the new notation with out luck, also is it possible to have a different method name than the button, i will have to internationlize my app

RE: iPlanet and Struts 1.02 problem - last try.

2002-08-20 Thread Rajesh Kalluri
Jason, did you deploy this as a web-application if what is the web-app context i dont see you mention that any where in your mail. Rajesh. -Original Message- From: Jason Muse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: iPlanet and Str

RE: Deploying on iPlanet was RE: Deploying Struts on WebSphere Application Server 4.0.2

2002-08-09 Thread Rajesh Kalluri
Are you considerng Iplanet webserver or application server. Rajesh -Original Message- From: Schneider, Eric [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 1:54 PM To: 'Struts Users Mailing List' Subject: Deploying on iPlanet was RE: Deploying Struts on WebSphere Application Ser

RE: attributes

2002-08-08 Thread Rajesh Kalluri
o.edu/~kkamholz -Original Message- From: Rajesh Kalluri [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002 3:04 PM To: Struts Users Mailing List Subject: RE: attributes http://www.mail-archive.com/struts-user@jakarta.apache.org/msg37295.html -Original Message- From: Kamhol

RE: [Off Topic] com.oreilly.servlet upload and WebSphere web serv er

2002-08-03 Thread Rajesh Kalluri
Is there some sample code making use of commons-file upload package like struts-upload.war in the nightly build/ Rajesh -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 1:12 AM To: 'Struts Users Mailing List' Subject: RE: [Off Topic] com.or

RE: [Off Topic] com.oreilly.servlet upload and WebSphere web server

2002-08-02 Thread Rajesh Kalluri
Did you try this, http://industry.java.sun.com/solutions/products/by_product/0,2348,all-2631-9 9,00.html It not only uploads pictures to your disk but also int o a dstabase column. HTH Rajesh -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 2

RE: iterate tag

2002-08-02 Thread Rajesh Kalluri
using the match tag I guess there isnt unless I write my own tag and it seems like it is more trouble than it is worth - Original Message - From: "Rajesh Kalluri" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, Augu

RE: iterate tag

2002-08-02 Thread Rajesh Kalluri
Hi Sanjana, Does breaking out of logic:iterate tag mean you only want to print a portion of what you have in your collection based on some condition. If that is the case after you filter out the result set as much as you can on the database level, you can use logic:equal or logic:match and such

RE: Reading All the values from ListBox on Submit

2002-08-02 Thread Rajesh Kalluri
Vijay, I am assuming you are trying to do this with struts, you can also do this the non-struts way in a similar fashion. 1)Here is a snippet of a jsp with a select box with multiple="true". 2) Here is the submit button which will select all values in your select box submits the fo

LookupDispatchAction.....need to be used partly like a Dispatch action (REPOST)

2002-08-02 Thread Rajesh Kalluri
(REPOST) Hi All, I have a form with four buttons. 1-add 2-edit 3-delete 4-preview I was able to use LookupDispatchAction fine with normal set up. But i have to use java script to open a pop-up window for button 4 which makes the LookupDispatch action bomb with a null pointer exception. func

LookupDispatchAction.....need to used partly like a Dispatch action

2002-08-01 Thread Rajesh Kalluri
Hi All, I have a form with four buttons. 1-add 2-edit 3-delete 4-preview I was able to use LookupDispatchAction fine with normal set up. But i have to use java script to open a pop-up window for button 4 which makes the LookupDispatch action bomb with a null pointer exception. function show(m

RE: not creating iterator

2002-07-30 Thread Rajesh Kalluri
ively." Am I not intrepreting something correctly? If I don't refer to the bean containing my Vector (and instead refer to the Vector directly), how does struts 'find' it? Jerry > -Original Message- > From: Rajesh Kalluri [mailto:[EMAIL PROTECTED]] > Sent: Tues

RE: not creating iterator

2002-07-30 Thread Rajesh Kalluri
Jerry, collection attribute in html:options accepts a Collection of beans and not a bean having a collections of beans. Try passing the html:options vector directly instead of the bean that contains the vector. -Original Message- From: Jerry Jalenak [mailto:[E

org.apache.struts.actions.ReloadAction - Where is it in 1.1

2002-07-24 Thread Rajesh Kalluri
Does any body know what happened to reload action in struts 1.1 or where i can find it. org.apache.struts.actions.ReloadAction. Regards Rajesh -- To unsubscribe, e-mail: For additional commands, e-mail:

Container Managed Authentication - Form based login

2002-07-24 Thread Rajesh Kalluri
Hi All, I have set up container managed authentication with tomcat with form based login. FORM /LoginForm.html /LoginError.html -The entry point to my app is LoginForm.html. Username:

BeanUtils.describe and BeanUtils.populate indexeed properties...

2002-07-12 Thread Rajesh Kalluri
I saw a similar issue on the archive but did not see what the solution to this was, so decided to ask the same question again. Do BeanUtils.describe and BeanUtils.populate supposed to handle indexed properties? Suppose I have this JavaBean: public class NameBean { private String[] name;

RE: Bean Utils Problems transferring Indexed Properties.....String []-->Integer []

2002-07-10 Thread Rajesh Kalluri
Problems transferring Indexed Properties.String []-->Integer [] On Wed, 10 Jul 2002, Rajesh Kalluri wrote: > Date: Wed, 10 Jul 2002 14:31:10 -0400 > From: Rajesh Kalluri <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts

Bean Utils Problems transferring Indexed Properties.....String []-->Integer []

2002-07-10 Thread Rajesh Kalluri
Hi I am trying to commons-beanutils to transfer data from a String [] in a form-bean to a data bean with a Integer[]. My String[] has three elements when it comes from the ActionForm. BeanUtils.populate(bean,map); copys only the first element of the String[] into the integer array. I searche

RE: JDBC charset problem

2002-07-10 Thread Rajesh Kalluri
Jose, What is your application Server and what Platform are you work with (Solaris/Linux/Windows). Its most probably not setting up correctly with NLS_LANG settings in the profile of the user you web server/app server is running as. Also if you are running Oracle as ur db make sure you have nls

RE: How to implement a schedule in my application

2002-07-03 Thread Rajesh Kalluri
Take a look at... http://sourceforge.net/project/showfiles.php?group_id=23781 Quartz is java based open source scheduling it has good ddocumentation , i never used it though. So when you have a working example or two please post it back to the list :-), i would be intersted in using it for my f

Any draw backs of using DYNA FORM BEANS....?

2002-06-13 Thread Rajesh Kalluri
Hi All, I justed wanted to see what the genral feeling is about using DYNAFORMBEANS instead of plain old Action Forms, in terms of -- using them with a validator -- transferring the data to a value object aka data tranfer object to hsip it to the next layer (what is the preferred approach to

RE: Need Urgent help

2002-06-13 Thread Rajesh Kalluri
Hi Yaman, Try checking for that property first using a logic:present DO SOME. Regards Raj -Original Message- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:40 AM To: Struts Users Mailing List Subject: Need

Exception creating bean of class org.apache.struts.action.DynaActionForm: {1}, - Iplanet Web Server

2002-06-11 Thread Rajesh Kalluri
Hello all i have decided to test one struts 1.1 example at a time in my Iplanet Web server 6.0 sp2. I intially had some commons-loggings issues which i resolved by adding commons-logging.jar to the JVM classpath. Now th eexample application loads, but when i click on the login.jsp. There is so

RE: 1.1 Deployment Bug?- Iplanet Web Server

2002-06-11 Thread Rajesh Kalluri
give you access to the generated JSP source? -Roy - Original Message - From: "Rajesh Kalluri" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 9:12 AM Subject: RE: 1.1 Deployment Bug?- Iplanet Web Serve

RE: Printing on predesign form from html

2002-06-11 Thread Rajesh Kalluri
Ted, could you elaborate on how to do this. What is a merge file. Regards Raj -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 6:30 AM To: Struts Users Mailing List Subject: Re: Printing on predesign form from html About all you can do is cre

RE: 1.1 Deployment Bug?- Iplanet Web Server

2002-06-11 Thread Rajesh Kalluri
Struts 1.0.x works fine on my Iplanet Web server (Which is more like tomcat 3.2+). But i cannot get the example from Struts 1.1 to work on Iplanet (IWS 6.0 SP2 ). Here is the stack trace. Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.Excep

RE: [ANN] Struts Wizard v1.0.2 for JBuilder - Now Eclipse

2002-06-01 Thread Rajesh Kalluri
After you extract the plugin into plugins folder go to File-New-Other you will notice struts on top of Java. hope this helps. Regards Raj -Original Message- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 6:59 AM To: Struts Users Mailing List Subject: RE: [ANN

RE: javax.servlet.jsp.JspException: No getter method for property name of bean org.apache.struts.taglib.html.BEAN

2002-05-30 Thread Rajesh Kalluri
Karthik you have to mention the handle to the form bean in your html:text just like you did in your jsp:getProperty. Also make sure thats the name of the form bean you setup in your struts config or the one you put in one of your sessions. look at the snippet below. Regards Rajesh Kalluri

RE: Pb : request.SetAttribute() from Action

2002-05-24 Thread Rajesh Kalluri
d" prefix="bean" %> <%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %> Error I still have my bug. Thanks Dams - Original Message - From: "Rajesh Kalluri" <[EMAIL PROTECTED]> To: "Struts Users Mailing Lis

RE: Pb : request.SetAttribute() from Action

2002-05-24 Thread Rajesh Kalluri
Damien, Did you import the struts tags, if not the tags cannot be interpreted and you will have the message from "Error" from logic not present will always be printed. Regards Raj -Original Message- From: Damien VIEL [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 12:56 PM To: St

testing..........

2002-05-16 Thread Rajesh Kalluri
test -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: equal tag within iterate have access to current item

2002-05-16 Thread Rajesh Kalluri
Garry, yes you can apply equal tag to current element in ur collection inside a logic:iterate as follows. " target="preview"> id="caja" gives u handle to current item inside a logic iterate (name=caja) and just like you do your bean:writes you can use logic:equal/match based on t

Tiles -(1 controller for three tiles) struts-tiles

2002-05-14 Thread Rajesh Kalluri
e based on some input from the client in the controller if so can anyone post a snippet please. Right now in my controller i display different data based on the user input in colloboration with a plain action. Regards Rajesh Kalluri -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>

RE: error on starting the weblogic server

2002-03-11 Thread rajesh kalluri
Hi Amit, As the error stated your struts-config does not match struts-config_1_0.dtd. make sure your elemenst in the struts-config are in the following order. -- -- -- -- -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 9:47 AM To: 'Struts Us

Re: design flaw if using a template...

2002-03-06 Thread rajesh kalluri
Keith, check out... http://www.lifl.fr/~dumoulin/tiles/ .the new examples that come with it solve some related problem. > Hi > > Struts provides us with a nice MVC architecture, where: > - a user's click maps to an Action > - based on the results, the user is forwarded to

Re: Pre Populating Fields - bit of a newbie question

2002-03-05 Thread rajesh kalluri
May be you can use the jakarta datetime taglib with some thign like this. "> Refer to http://jakarta.apache.org/taglibs/doc/datetime-doc/datetime-1.0-B1/index.htm l for more examples. Regards - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: "'Struts Us

Has any one used struts with castor as a persistence mechanism....

2002-03-05 Thread rajesh kalluri
Hi All, Has any one tried to use struts with castor XML frame work for persistence if so could you please share your experiences and throw soem guidance. 1-As a starting point i have tried to generate java classes from a schema using source generator of castor. 2-I have made ActionForm as my su

Re: Nesting Extension and persistance strategy--castor any one?

2002-03-05 Thread rajesh kalluri
marshall/unmarshall monkey beans (nested in general) into XML files/ data base tables. I would start playing with it as soon as i have time. Regards Rajesh Kalluri. Manduca Management LLC, Suite 230, 5757 Blue Lagoon Dr. Miami, FL 33126. AIM: [EMAIL PROTECTED] Phone: 786-552-0521 Fax: 786-552-0501