it should be possible
show the java code

On Sun, Aug 28, 2011 at 2:19 PM,  <[email protected]> wrote:
> Hi,
>
> The following markup is used to stuff a form component inside the body
> of a border where validation feedback is displayed below the form
> component:
>
> <wicket:border>
>    <wicket:body>Form Component</wicket:body>
>    <!-- feedbackContainer because of the <br/> tag that has to be
> removed
>    if feedbackLabel is empty -->
>    <span wicket:id = "feedbackContainer"><br/>
>        <span wicket:id="feedbackLabel">Feedback here</span>
>    </span>
> </wicket:border>
>
> In 1.4, this works as expected.
>
> In 1.5, I get an error:
>
> Unable to find component with id 'feedbackContainer' in
> [FormFeedbackBelowBorder [Component id = emailFeedback]]
>        Expected:
> 'formPanel:registerForm:emailFeedback.feedbackContainer'.
>        Found with similar names:
> 'formPanel:registerForm:emailFeedback:emailFeedback_body:feedbackContainer'
>
> It looks like Wicket thinks that the feedbackContainer is inside the
> bodyContainer which it obviously isn't.
>
> Is it no longer possible in 1.5 to add wicket tags inside
> <wicket:border> but outside its <wicket:body>?
>
> Thanks,
>
> Bernard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to