You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Branislav Kalas (JIRA)" <ji...@apache.org> on 2009/09/06 16:44:00 UTC

[jira] Created: (WICKET-2453) Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.

Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.
-----------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: WICKET-2453
                 URL: https://issues.apache.org/jira/browse/WICKET-2453
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.1
            Reporter: Branislav Kalas


I have Border class which renders Form and some other elements for feedback messages. 
Class included in attachments. 
Into this border i am putting form component which is Panel and in that Panel is another Border.  
Borders form has body container added.

When i submit form i get error "Could not find Form parent for ..."
It's because Form.findForm method search for Form.class just in nearest component Border and not in all Borders upper in hierarchy. 



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


[jira] Assigned: (WICKET-2453) Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-2453:
-------------------------------------

    Assignee: Juergen Donnerstag

> Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2453
>                 URL: https://issues.apache.org/jira/browse/WICKET-2453
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>            Reporter: Branislav Kalas
>            Assignee: Juergen Donnerstag
>         Attachments: myproject.tar.gz
>
>
> I have Border class which renders Form and some other elements for feedback messages. 
> Class included in attachments. 
> Into this border i am putting form component which is Panel and in that Panel is another Border.  
> Borders form has body container added.
> When i submit form i get error "Could not find Form parent for ..."
> It's because Form.findForm method search for Form.class just in nearest component Border and not in all Borders upper in hierarchy. 

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


[jira] Updated: (WICKET-2453) Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.

Posted by "Branislav Kalas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Branislav Kalas updated WICKET-2453:
------------------------------------

    Attachment: myproject.tar.gz

Small project with unit test failing on this error...

> Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2453
>                 URL: https://issues.apache.org/jira/browse/WICKET-2453
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>            Reporter: Branislav Kalas
>         Attachments: myproject.tar.gz
>
>
> I have Border class which renders Form and some other elements for feedback messages. 
> Class included in attachments. 
> Into this border i am putting form component which is Panel and in that Panel is another Border.  
> Borders form has body container added.
> When i submit form i get error "Could not find Form parent for ..."
> It's because Form.findForm method search for Form.class just in nearest component Border and not in all Borders upper in hierarchy. 

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


[jira] Commented: (WICKET-2453) Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.

Posted by "Branislav Kalas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751909#action_12751909 ] 

Branislav Kalas commented on WICKET-2453:
-----------------------------------------

Sorry for "Class included in attachments"... when i was writing the issue, i thought there is a possibility of including attachments in this jira.

> Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2453
>                 URL: https://issues.apache.org/jira/browse/WICKET-2453
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>            Reporter: Branislav Kalas
>
> I have Border class which renders Form and some other elements for feedback messages. 
> Class included in attachments. 
> Into this border i am putting form component which is Panel and in that Panel is another Border.  
> Borders form has body container added.
> When i submit form i get error "Could not find Form parent for ..."
> It's because Form.findForm method search for Form.class just in nearest component Border and not in all Borders upper in hierarchy. 

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


[jira] Commented: (WICKET-2453) Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752619#action_12752619 ] 

Juergen Donnerstag commented on WICKET-2453:
--------------------------------------------

A junit test based on WicketTester or a quickstart would be very helpful

> Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2453
>                 URL: https://issues.apache.org/jira/browse/WICKET-2453
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>            Reporter: Branislav Kalas
>
> I have Border class which renders Form and some other elements for feedback messages. 
> Class included in attachments. 
> Into this border i am putting form component which is Panel and in that Panel is another Border.  
> Borders form has body container added.
> When i submit form i get error "Could not find Form parent for ..."
> It's because Form.findForm method search for Form.class just in nearest component Border and not in all Borders upper in hierarchy. 

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


[jira] Resolved: (WICKET-2453) Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-2453.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
                   1.4.2

fixed. Thanks

> Form.findForm(Component c) bug. When form is part of Border and form component like TextField is inside another Border , component cannot resolve its form.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2453
>                 URL: https://issues.apache.org/jira/browse/WICKET-2453
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>            Reporter: Branislav Kalas
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4.2, 1.5-M1
>
>         Attachments: myproject.tar.gz
>
>
> I have Border class which renders Form and some other elements for feedback messages. 
> Class included in attachments. 
> Into this border i am putting form component which is Panel and in that Panel is another Border.  
> Borders form has body container added.
> When i submit form i get error "Could not find Form parent for ..."
> It's because Form.findForm method search for Form.class just in nearest component Border and not in all Borders upper in hierarchy. 

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