You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gilad Garon (JIRA)" <ji...@apache.org> on 2007/10/20 22:49:50 UTC
[jira] Created: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
wicket:enclosure doesn't work with multiple child components that are Wicket Panels
-----------------------------------------------------------------------------------
Key: WICKET-1091
URL: https://issues.apache.org/jira/browse/WICKET-1091
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-beta4
Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
Reporter: Gilad Garon
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
Executing within the parent container:
get("startDate").setVisible(true);
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
when the Panel has:
add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Gilad Garon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilad Garon updated WICKET-1091:
--------------------------------
Description:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(true);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
when the Panel has:
add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
was:
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
Executing within the parent container:
get("startDate").setVisible(true);
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
when the Panel has:
add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(true);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> when the Panel has:
> add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
> add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1091:
---------------------------------------
Fix Version/s: (was: 1.3.0-rc2)
1.3.0-rc3
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-rc3
>
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538410 ]
Igor Vaynberg commented on WICKET-1091:
---------------------------------------
can we have a quickstart please...
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1091:
---------------------------------------
Fix Version/s: (was: 1.3.0-rc1)
1.3.0-rc2
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-rc2
>
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-1091:
-------------------------------------
Assignee: Juergen Donnerstag (was: Igor Vaynberg)
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
> Assignee: Juergen Donnerstag
> Fix For: 1.3.0-rc3
>
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1091:
---------------------------------------
Fix Version/s: (was: 1.3.0-rc3)
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
> Assignee: Juergen Donnerstag
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner updated WICKET-1091:
------------------------------------
Fix Version/s: 1.3.0-beta5
Assignee: Igor Vaynberg
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-beta5
>
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Gilad Garon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilad Garon updated WICKET-1091:
--------------------------------
Description:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(false);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
startTime and endTime are wicket panels and they contain two textfields:
hours and minutes
was:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(false);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
when the Panel has:
add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels and they contain two textfields:
> hours and minutes
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-1091.
----------------------------------------
Resolution: Cannot Reproduce
I've tried to reproduce it but failed. As Igor mentioned, you may re-open it and provide a quikcstart or add the java code as well.
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
> Assignee: Juergen Donnerstag
> Fix For: 1.3.0-rc3
>
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Gilad Garon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilad Garon updated WICKET-1091:
--------------------------------
Description:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(false);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
when the Panel has:
add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
was:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(true);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
when the Panel has:
add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> when the Panel has:
> add(hoursField = new TextField("hours", new PropertyModel(this, "hours"), Integer.class));
> add(minutesField = new TextField("minutes", new PropertyModel(this, "minutes"),
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1091) wicket:enclosure doesn't work with
multiple child components that are Wicket Panels
Posted by "Gilad Garon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilad Garon updated WICKET-1091:
--------------------------------
Description:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(false);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
was:
Using the <wicket:enclosure> with panels as child components doesn't work.
<HTML>
<wicket:enclosure child="startTime">
<tr>
<td>
<wicket:message key="form.startTime"></wicket:message>
</td>
<td>
<div wicket:id="startTime"></div>
</td>
</tr>
<tr>
<td>
<wicket:message key="form.endTime"></wicket:message>
</td>
<td>
<div wicket:id="endTime"></div>
</td>
</tr>
</wicket:enclosure>
<JAVA>
Executing within the parent container:
get("startDate").setVisible(false);
<Exception>
Causes:
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
Root cause:
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
startTime and endTime are wicket panels and they contain two textfields:
hours and minutes
> wicket:enclosure doesn't work with multiple child components that are Wicket Panels
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1091
> URL: https://issues.apache.org/jira/browse/WICKET-1091
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Environment: Wicket 1.3.0-beta4, JBoss 4.0.5-GA, Firefox 2.0.0.8
> Reporter: Gilad Garon
>
> Using the <wicket:enclosure> with panels as child components doesn't work.
> <HTML>
> <wicket:enclosure child="startTime">
> <tr>
> <td>
> <wicket:message key="form.startTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="startTime"></div>
> </td>
> </tr>
> <tr>
> <td>
> <wicket:message key="form.endTime"></wicket:message>
> </td>
> <td>
> <div wicket:id="endTime"></div>
> </td>
> </tr>
> </wicket:enclosure>
> <JAVA>
> Executing within the parent container:
> get("startDate").setVisible(false);
> <Exception>
> Causes:
> WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> Root cause:
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered).
> 1. [MarkupContainer [Component id = endTime, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime.OrderTimeField, isVisible = true, isVersioned = false]]
> 2. [MarkupContainer [Component id = hours, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:hours.TextField, isVisible = true, isVersioned = false]]
> 3. [MarkupContainer [Component id = minutes, page = il.ac.shenkar.web.ui.orders.createorder.CreateOrder, path = 1:Form:endTime:minutes.OrderTimeField$1, isVisible = true, isVersioned = false]]
> startTime and endTime are wicket panels of the same type (same component) and they each contain two textfields: hours and minutes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.