Re: Hiding URL in struts1.2

2010-01-21 Thread Nikhil Walvekar
Hi Zaheer, I would like to understand requirement of hiding actual URL. Shomehow actual URL should be known to your browser otherwise it wont be able to send server request. If user is not going to do view source and check whats there in HTML then prob you can use frames or if you want to hide yo

Re: Multiple Logic iterate tags and setting indexed properties

2009-04-15 Thread Nikhil Walvekar
>public void setBookl(int index,BookList element){ >bookLists.set(index, element); >} > > } > > indexId="i"> > > /> > > > > > > Thanks, > Thanuja > > > > Nikhil Walvekar wrote: > >

Re: Multiple Logic iterate tags and setting indexed properties

2009-04-13 Thread Nikhil Walvekar
Hi Thanuja, Your checkbox tag should be rendered as I don't think logic:iterate supports property as "indexed". Probably you can create above tag using values you have. "bookLists[i].books[j].selected" will be converted as "getBookList().get(i).getBooks().get(j).setSelected(value)" you will hav

Re: How to use grid in struts 1.x

2008-09-22 Thread Nikhil Walvekar
Hi, Do you want to use Dynamic table on browser side (javascript) or on server side / jsp? On JSP side you can use indexed or mapped properties and create table of input boxes. For more information http://mail-archives.apache.org/mod_mbox/struts-user/200710.mbox/[EMAIL PROTECTED] Thanks, Nikhi

Re: Multi-row tabular forms

2008-06-26 Thread Nikhil Walvekar
e > absence of an indexed property in the s:textfield tag - there's nothing > in the generated HTML that suggests this is going into a Collection on > the Action side. > > - Matt > > -----Original Message- > From: Nikhil Walvekar [mailto:[EMAIL PROTECTED] > Sent

Re: Multi-row tabular forms

2008-06-26 Thread Nikhil Walvekar
Hi Matt, For Struts 1.1, I used to do following things: Syntax may be wrong (tried 2 yrs back :D ). But with this, I got another error, while populating data into form. The collection needs to have required number of objects. If you know that only 2 rows will be present then you

Re: Accessing a row in a table on a JSP page.

2007-10-03 Thread Nikhil Walvekar
Hi, You can try using javascript, on button submit call a function which will set row-index to a hidden field and which will be submitted with form. On server side you can use this field to identify the row. Regards, Nikhil On 10/2/07, JohnLangan <[EMAIL PROTECTED]> wrote: > > > I call the datab

Re: how get index value at logic:iterate

2006-12-12 Thread Nikhil Walvekar
try onchange='<%= "onchangeGrade(" + indexId.intValue() + ");" %>' Regards, Nikhil On 12/12/06, Po Po <[EMAIL PROTECTED]> wrote: Hello, I've a collection and i iterate using logic:iterate, inside the iterate, put a html:select. ... ... In the html:select, I add an javascript onchange

Re: AJAX + Struts

2006-08-22 Thread Nikhil Walvekar
Hello, I have some questions, what should be used on server side? we send XMLHttpRequest from client it should be received in action or we have to write servlet to process it? If we can use action, then what should be forward for that action. Thanks and Regards, Nikhil On 8/22/06, Puneet Lakh

Redirect to tile

2005-10-09 Thread Nikhil Walvekar
Hi All, I have one question. There is one action in tiles config file I have written definition for *tileName*. Now when this action is called it displays proper page, but how redirect to a tile works, because in the adress bar stilll the name for action is displayed but if we redirect to an

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fileds. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty - indexedListPrope

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fileds. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty - indexedListPrope

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fileds. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty - indexedListPrope

Validator confusion

2004-07-13 Thread nikhil walvekar
Hi,all in class org.apache.commons.validator.Field There are two member fields. indexedProperty protected java.lang.String indexedProperty - indexedListProperty protected java.lang.String indexedListProperty Please tell me differnce between the two. In validat

Re: Design Problem

2004-07-08 Thread nikhil walvekar
Hi, Now my problem is that how to generate contents from Application resources in model , i am using two resources, one with default key and other with "abc" as bundle name. Messages are there in resource with "abc" as resource key. Nikhil Navjot Singh <[EMAIL PROT

Design Problem

2004-07-08 Thread nikhil walvekar
hi all, I have got one problem in design i.e. i am not getting where should i place this part in my project. I have function to send mails, whom to send depends on some conditions, but my requirement is that message contents are taken from resources. So should it be Model part or controller

Re: using set-property in forward tag

2004-06-28 Thread nikhil walvekar
"com.foo.MyAction"> > path="/ActionA.do?foo=bar&baz=blob"/> > > > The element is used to set a property > on the > ForwardConfig object. Typically you only need to do > this if you are > providing a custom implementation of the > ActionForward

using set-property in forward tag

2004-06-27 Thread nikhil walvekar
Hi, all forward element is defined as following actualy i want to pass some values to forward but with redirect true. e.g.Action A expects one parameter.. I want to forward to action A from action B but with redirect true option. due to redirect=true i can not set required property from acti

multiple tilesdef

2004-06-15 Thread nikhil walvekar
Hi,all I have got two projects A & B, they have got their seperate tiles xml files. Now sometimes i have to merge them as one project and buld it. Now my problem is that for tile i am not able to know whether i can specify two xml files or i have to merge them. There is same problem with app

Re: session problem

2004-06-11 Thread nikhil walvekar
Hi, same thing i have experienced with IE 6.0, it will work with mozilla Problem is that with each request session id is not passed. You need to explicitly pass it as url parameter. http://dbomis.com/anyLink;jsessionid=A0698B81A1F1AA2B1ECDA19B0ACFD6E2 Nikhil Shailender Jain <[EMAIL PROTECTED]>

Re:

2004-06-09 Thread nikhil walvekar
w to handle this? Shailender Jain nikhil walvekar wrote: > Hi, > > for html:select tag you can specify value > there you can write your default value from some bean > > > onchange="document.forms[4].elements[2].focus()" value=""> > > labelProperty=

Re:

2004-06-09 Thread nikhil walvekar
Hi, for html:select tag you can specify value there you can write your default value from some bean Nikhil. Caroline Jen <[EMAIL PROTECTED]> wrote: I try to create a drop down menu as follow: I am able to disply the menu. I want one of the options to be selected by default. There

Re: Dyanamic form

2004-06-08 Thread nikhil walvekar
Hi, Shoaib In getter method of arrayList you must check whether index is within bounds or not. if not then you have to add new object (blank) to arrayList,if possible i will send send utility class for this. Nikhil. [EMAIL PROTECTED] wrote: Hi Nikhil, thanks a lot for your help.But we have t

Re: Struts dyanmic master detail form

2004-06-06 Thread nikhil walvekar
Hi Shoaib, We have done such thing, for client side u need to have addNew row javascript. mapping those fields to form what you can do is you can have arrays declared in form bean, in your jsp when you write instead of this now here you specifiy indexed="true" it will generat