When is "beginEncode" method called for DesignTimeRenderer?

View: New views
2 Messages — Rating Filter:   Alert me  

When is "beginEncode" method called for DesignTimeRenderer?

by Jae-Woo Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
I am developing a custom component now.
I made a DesignTimeRenderer for the component and
I expected that beginEncode is invoked when I drag and drop my component from palette.
But the method was not invoked and nothing is displayed on Design Pane.
Could anyone tell me what conditions are required if I want to see a small images (like a label or button
when you drag and drop it from a palette.) ?
Thank you in advance.
 
Sincerely,
Jae-Woo

Re: When is "beginEncode" method called for DesignTimeRenderer?

by Animesh Sahay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would suggest you to look into the design-time code for the existing
woodstock components. That will give you the idea about how to achieve
certain design-time behavior for the components.

-Animesh

On 6/10/08, Jae-Woo Lee <l.jaewoo@...> wrote:

> Hi,
>
> I am developing a custom component now.
> I made a DesignTimeRenderer for the component and
> I expected that beginEncode is invoked when I drag and drop my component
> from palette.
> But the method was not invoked and nothing is displayed on Design Pane.
> Could anyone tell me what conditions are required if I want to see a small
> images (like a label or button
> when you drag and drop it from a palette.) ?
> Thank you in advance.
>
> Sincerely,
> Jae-Woo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price