RE: [Struts 2] Redirect Stopped Working After Struts 2 Upgrade

2012-10-28 Thread Martin Gainty

Hi John

if i implement the 2.3.4 com.opensymphony.xwork2.conversion.impl I am plagued 
by 
No mapping for dependency[type=com.opensymphony.xwork2.FileManager, 
name='default'] in
public void 
com.opensymphony.xwork2.conversion.impl.XWorkConverter.setFileManager(com.opensymphony.xwork2.FileManager)

rolling back to xwork-2.2.1.1.jar fixes it

Lukasz or wes or dave can you take a look at the 2.3.4 codebase and either 
revert to working 2.2.1.1 or fix the impl classes in 2.3.4? 

(John..hang with us while we get this fixed)
Thanks,
Martin 
__ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit , namevon E-Mails koennen wir keine 
Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êts pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


 From: j...@rodaxsoft.com
 Subject: [Struts 2] Redirect Stopped Working After Struts 2 Upgrade
 Date: Sat, 27 Oct 2012 18:09:13 -0700
 To: user@struts.apache.org
 
 Hello:
 
 Without making any code changes, I upgraded my Struts 2 libraries from v2.2.1 
 to v2.3.4.1. However, a redirect URL no longer works in Firefox or Safari. It 
 works fine in Struts v2.2.1.
 
 No errors or warnings appear in the log but, here's the warning I get in 
 Firefox Firebug: 
 A form was submitted in the windows-1252 encoding which cannot encode all 
 Unicode characters, so user input may get corrupted. To avoid this problem, 
 the page should be changed so that the form is submitted in the UTF-8 
 encoding either by changing the encoding of the page itself to UTF-8 or by 
 specifying accept-charset=utf-8 on the form element.
 
 Does anyone know what might going wrong or have any suggestions?
 
 ...
 !-- Prevent double submits --
 interceptor-ref name=tokenSession/
 interceptor-ref name=defaultStack/
 
 !-- Broken redirect in 2.3.4.1 --
 result name=success type=redirect
   param name=locationhttp://skd.bz/ios/param
 /result
 ...
 
 Thank you,
 John Boyer
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
  

Re: [Struts 2] Redirect Stopped Working After Struts 2 Upgrade

2012-10-28 Thread Lukasz Lenart
2012/10/28 Martin Gainty mgai...@hotmail.com:
 if i implement the 2.3.4 com.opensymphony.xwork2.conversion.impl I am plagued 
 by
 No mapping for dependency[type=com.opensymphony.xwork2.FileManager, 
 name='default'] in
 public void 
 com.opensymphony.xwork2.conversion.impl.XWorkConverter.setFileManager(com.opensymphony.xwork2.FileManager)

 rolling back to xwork-2.2.1.1.jar fixes it

 Lukasz or wes or dave can you take a look at the 2.3.4 codebase and either 
 revert to working 2.2.1.1 or fix the impl classes in 2.3.4?

I'm not sure if I follow you :\
Could you post a full stack trace or an example application ?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Re: Basic Struts doubt

2012-10-28 Thread Lukasz Lenart
2012/10/28 Kakoli Sen (kasen) ka...@cisco.com:
 Hello all,

 I am a newbie in Struts and JSP.

 My initial JSP page is coming out where I have among other widgets, 2 combo
 boxes. The user selects from the first combo and then the second combo needs
 to be populated from db based on the value selected.

 How do I call executeAction method of Action class when the
 first combo box value is changed?

 Attaching my Struts-config.



 My JSP code snippet is thus :

 tr

 tdlabel for=track_nameTrack Name/label/td

 tdinput type=hidden value=myAction //td

 tdhtml:select name=TrackBaselineConfigActionForm

 property=selTrackName
 onchange=this.form.myAction.value='getOsVersionAction';


 this.form.submit();

 option value=Select.../option

 html:optionsCollection  property=trackList
 label=selLabel value=selLabel /

 /html:select/td

 /tr

 tr

 tdlabel for=os_versionOS Versions/label/td

 tdhtml:select name=TrackBaselineConfigActionForm


 property=osVersion

 option value=ALL/option

 option value=Standard Recommended Version/option

 !-- html:options name=TrackBaselineConfigActionForm
 property=osVersions /--

 /html:select/td

 /tr

Use JavaScript to execute action and populate the second dropdown


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Re: Basic Struts doubt

2012-10-28 Thread Alejandro
You could use the jquery ui. If you use struts2 there is a plugin for that.

Regards :)

2012/10/28 Lukasz Lenart lukaszlen...@apache.org

 2012/10/28 Kakoli Sen (kasen) ka...@cisco.com:
  Hello all,
 
  I am a newbie in Struts and JSP.
 
  My initial JSP page is coming out where I have among other widgets, 2
 combo
  boxes. The user selects from the first combo and then the second combo
 needs
  to be populated from db based on the value selected.
 
  How do I call executeAction method of Action class when
 the
  first combo box value is changed?
 
  Attaching my Struts-config.
 
 
 
  My JSP code snippet is thus :
 
  tr
 
  tdlabel for=track_nameTrack Name/label/td
 
  tdinput type=hidden value=myAction //td
 
  tdhtml:select name=TrackBaselineConfigActionForm
 
  property=selTrackName
  onchange=this.form.myAction.value='getOsVersionAction';
 
 
  this.form.submit();
 
  option value=Select.../option
 
  html:optionsCollection  property=trackList
  label=selLabel value=selLabel /
 
  /html:select/td
 
  /tr
 
  tr
 
  tdlabel for=os_versionOS Versions/label/td
 
  tdhtml:select name=TrackBaselineConfigActionForm
 
 
  property=osVersion
 
  option value=ALL/option
 
  option value=Standard Recommended Version/option
 
  !-- html:options name=TrackBaselineConfigActionForm
  property=osVersions /--
 
  /html:select/td
 
  /tr

 Use JavaScript to execute action and populate the second dropdown


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/

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