|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Problem getting child component in UNIX - AIXHello 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 egolan74@... 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 |
|
|
Re: Problem getting child component in UNIX - AIXComponent.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 <egolan74@...> 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 > egolan74@... > > 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 > |
|
|
Re: Problem getting child component in UNIX - AIXYes I know.
We have looked into the code :) But still, in UNIX we get null. My friend here will try to change the parent's wicket id to be without dots. Thanks On Wed, Jul 9, 2008 at 10:56 AM, Johan Compagner <jcompagner@...> wrote: > 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 <egolan74@...> 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 > > egolan74@... > > > > 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 > > > -- Eyal Golan egolan74@... 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 |
| Free Forum Powered by Nabble | Forum Help |