struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Affan Qureshi <aqure...@etilize.com>
Subject Re: sending object with query.
Date Mon, 03 Nov 2003 10:51:45 GMT
You will have to create a string from the collection of objects you have 
and send it as a hidden variable or query parameter(if length allows)

Affan

imran ali wrote:
> Hi All,
> 
> I am sending a parameter with query request in this way:
> 
> <script>
> function foo()
> {
>   url = "/LoanGeniusWeb/pricingQuoteDetail.do?";
>   url += &object + 'abcd';
>   document.quoteListForm.action = url;
>   document.quoteListForm.submit();
> }
> </script>
> 
> Now instead of 'abcd' If I want to pass a collection of object.
> How should I do it. I tried it by replacing 'abcd' with a collection.
> But it seems this is the way of passing 'parameters' not 'attributes'.
> So even if I pass a collection in this way I am getting string representation of collection,
not the collection object.
> How should I go about it.
> Help please. thanx a lot
> 
> Imran.
> 
> 
> 
> Imran



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message