I would say the simple signin page is the closest match.

This is my panel's HTML file:

<html xmlns:wicket>
        <body>
                <wicket:panel>
                        <form wicket:id="signInForm" name="signInForm">
                                <table>
                                        <tbody>
                                                <tr>
                                                        <td>ID&nbsp;<input 
wicket:id="username" type="text" name="j_username"
id="j_username" size="24" tabindex="1"/></td>
                                                        
<td>Paswoord&nbsp;<input wicket:id="password" type="password"
name="j_password" id="j_password" size="24" tabindex="2"/></td>
                                                        <td> # Login </td>
                                                        <td> # Registreer </td>
                                                </tr>
                                        </tbody>
                                </table>
                        </form>
                        
                        <script type="text/javascript">
                                function submitLoginForm() {
                                        document.signInForm.submit();
                                }
                                function registerNewUser() {
                                        window.alert("TODO");
                                }
                        </script>
                </wicket:panel>
        </body>
</html>

and this is the java code:

public class LoginBannerPanel extends SignInPanel {

    public LoginBannerPanel(String id) {
        super(id, false);
    }
    
}

This panel is added to a fragment in another page.  When I don't add it
(e.g. replace it by a label) the page loads without error.  When I copy the
code from SignInPage into my class and replace the PasswordTextField by an
ordinary TextField, the javax.crypto.IllegalBlockSizeException is gone, but
I still get the MarkupException.  So the two seem to be unrelated.

Thanks



Jean-Baptiste Quenot-3 wrote:
> 
> * Herman Bovens:
> 
>> When I  omit the  panel that  has the  password field  (a simple
>> subclass from  SignInPanel) from the  page, there are  no errors
>> anymore.   Obviously, I  need the  SignInPanel.  It  worked fine
>> with version 1.2.  Any ideas?
> 
> Providing  the relevant  code  snippet would  help.   Is there  an
> example  on  http://wicketstuff.org/wicket13   that  matches  your
> usecase?
> -- 
>      Jean-Baptiste Quenot
> aka  John Banana   Qwerty
> http://caraldi.com/jbq/
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/1.2-to-1.3-migration-problems-%28javax.crypto.IllegalBlockSizeException-tf3694734.html#a10347250
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to