Component.PATH_SEPARATOR is hard coded to be :
so doing this:

Component c = form.get("PropertyType.SAGE.managedItems:panelXML");

or this

Component c = form.get("PropertyType.SAGE.managedItems" +
Component.PATH_SEPARATOR+ "panelXML");

shouldnt matter 1 bit.

johan


On Wed, Jul 9, 2008 at 9:13 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:

> Hello all,
> We have a weird situation and I hope you could help.
>
> This is the line of code:
> Component c = form.get("PropertyType.SAGE.managedItems:panelXML");
> We even changed the ':' to Component.PATH_SEPARATOR
>
> In windows all is well and we get the child component (that has wicket is
> panelXML).
> In AIX UNIX we get null.
>
> Is it because a wicket id has '.' (dots)? Or is is something with the
> separator?
>
> Thanks for any help
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P Save a tree. Please don't print this e-mail unless it's really necessary
>

Reply via email to