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
>public void setBookl(int index,BookList element){
>bookLists.set(index, element);
>}
>
> }
>
> indexId="i">
>
> />
>
>
>
>
>
> Thanks,
> Thanuja
>
>
>
> Nikhil Walvekar wrote:
> >
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
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
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
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
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
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
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
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
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
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
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
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
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
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
"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
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
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
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]>
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=
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
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
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
24 matches
Mail list logo