Hi,
The method RedirectView.addQueryParams() builds the next URL parameter
thanks to the previous URL parameters (entries).
Why do you sent these URL parameters to the next URL with different URL
param building, what are the concept, the usage ?
See, I have a default page (default.m) with the link :
http://localhost/common/testsecurity.m?login=test&password=test&etacode=METZ
01D
I click it and I return SUCCESS.
The URL returned by Maverick is :
http://localhost/common/default.m?etacode=%5BLjava.lang.String%3B%405780d9&p
assword=%5BLjava.lang.String%3B%40c4795e&login=%5BLjava.lang.String%3B%40caf
083
The request parameters are different, why ?
The maverick XML file content is :
" <commands>
<command name="default">
<controller
class="fr.delta_diffusion.common.j2ee.ui.ctl.test.Default">
<param name="idpage" value="1"/>
</controller>
<view path="/jsp/common/accueilModel.jsp"
type="document">
<transform type="document"
path="/jsp/common/accueil.jsp"/>
<param name="ismenu" value="true"/>
<param name="isoutil" value="true"/>
<param name="isnavigation" value="true"/>
</view>
</command>
<command name="testsecurity">
<controller
class="fr.delta_diffusion.common.j2ee.ui.ctl.test.TestControllerDispatchOut"
>
<param name="idpage" value="3"/>
</controller>
<view name="error" type="redirect" path="error.m"/>
<view name="success" type="redirect"
path="default.m"/>
</command>
..."
In fact, the problem is in the class RedirectView method addQueryParams().
The line : url.append(URLEncoder.encode(entry.getValue().toString())) where
entry.getValue() is an array.
With this instruction, entry.getValue().toString(), we cannot retreive the
original parameter value. We obtain : [Ljava.lang.String;@5780d9 something
like this...
The solution would be to iterate in entry.getValue() to build the URL
parameters and have : login=test;value2&passord=test ...
Is there something to do ? Do you have noticed that ?
Best regards
Oliver
**********************************************************************
Ce message et ses �ventuels fichiers attach�s sont confidentiels
et sont uniquement � l'attention de la personne physique ou morale
destinatrice. Si vous avez re�u ce message par erreur, merci d'en
avertir l'exp�diteur.
Ce bas de page assure �galement que ce message a �t� v�rifi� par un anti-virus
**********************************************************************
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/