[ 
https://issues.apache.org/jira/browse/WICKET-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985080#action_12985080
 ] 

Juergen Donnerstag commented on WICKET-3363:
--------------------------------------------

This is how it used to be (see 
http://www.wicket-library.com/wicket-examples/forminput/wicket/bookmarkable/org.apache.wicket.examples.forminput.FormInput?8)

    <form class="inputForm" id="id1" method="post" 
action="wicket/page?6-7.IFormSubmitListener-inputForm"><div 
style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"><input
 type="hidden" name="id1_hf_0" id="id1_hf_0" /></div>
         <div>
                Locale:
                <select 
onchange="document.getElementById(&#039;id1_hf_0&#039;).value=&#039;./page?6-7.IOnChangeListener-inputForm-localeSelect&#039;;document.getElementById(&#039;id1&#039;).submit();"
 name="localeSelect">
<option selected="selected" value="0">Englisch</option>

And this is how it looks like now
    <form class="inputForm" id="id22" method="post" 
action="../page?8-1.IFormSubmitListener-inputForm"><div 
style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"><input
 type="hidden" name="id22_hf_0" id="id22_hf_0" /></div>
         <div>
                Locale:
                <select 
onchange="document.getElementById('id22_hf_0').value='page?8-1.IOnChangeListener-inputForm-localeSelect';document.getElementById('id22').submit();"
 name="localeSelect">
<option value="0">Englisch</option>

There are obvious differences in form action which I think are ok, but also 
select onchange. These changes seem to cause the difference.

> forminput examle: switching locales does not have the desired effect.
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3363
>                 URL: https://issues.apache.org/jira/browse/WICKET-3363
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-examples
>    Affects Versions: 1.5-RC1
>            Reporter: Eelco Hillenius
>
> localization in the forminput example does not appear to be working. See: 
> http://screencast.com/t/xxZFfUzi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to