maybe it's too simple. but i need help.
how do i put a circle inside a rectangle when a rectangle don't have a var content?
i need to have the circle be contained/placed inside a rectangle visually and when i drag the rectangle, circle follow.
thanks!
I am having a issue of mixin not able to extend CustomNode since it can only extends other mixin or interface.
But i want to inherit CustomNode so that i can have draggable functionality. and int he future, i might want to inherit more functionality, that's why i need mixin for multiple inheritance.
i wanted to return a webpage as application/xml document.
below is my code. the returned value appears like a string in browser. However when i view the source, it is in xml.
java code
returnResult2() simply return a string. and the string is below:
this is what appear in the webpage.
this is what appears in the source code.
can someone advice me? i want to return the xml like a xml document (with indentation). instead of just a one liner string.
i wanted to return a webpage as application/xml document.
below is my code. the returned value appears like a string in browser. However when i view the source, it is in xml.
java code
returnResult2() simply return a string. and the string is below:
this is what appear in the webpage.
this is what appears in the source code.
can someone advice me? i want to return the xml like a xml document (with indentation). instead of just a one liner string.