Re: Placing textfields on image: how?

Paul Lynch <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On 9 Apr 2006, at 12:17, Jean Pierre Malrieu wrote:

> I would like to create a reusable component that displays an image,  
> and on top of that image, WOTextFields positionned at... specific  
> positions.
> What would be the easiest way to acheive this?
> Has someone done this already?

The lack of response would seem to imply that your request wasn't  
very clear.  In fact, I find it hard to guess what you are asking.

Guess 1: you want to create a component with text fields and an  
image.  If you know how to create and use partial page components,  
just do it.  If you don't... create a new component, and use the  
inspector on the body to set it to a "Partial document".  Insert it  
into other pages by using the Dynamic menu, "Custom" option - type in  
the name you gave your component.  Otherwise, the contents are just  
html.

Guess 2: you want to create text fields "above" an image - that's a  
css problem, see layers.

Guess 3: you really wanted to know how this would interact with the  
main page component, but forgot to ask.  The answer is through  
bindings, exactly the same as with WebObjects built-in dynamic  
components.

All of these seem rather obvious answers; perhaps you meant something  
else entirely?

Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.