So you mean:

   Label l = Label("foo", "hello");
renders:
   <span wicket:id="foo">hello</span>

... some ajax stuff, or a normal page render:

   l.setVisible(false);
renders:
   <span wicket:id="foo" style="display:none"></span>
?

This can and will break existing clients in a very nasty manner,
because the markup id is still present in the final markup.

Martijn

On 3/19/07, Vincent Demay <[EMAIL PROTECTED]> wrote:
Johan Compagner a écrit :
>> > Also always just rendering the component but use the style to make in
>> > invisible
>> > could be a security problem. So that can't be the default.
>>
>> What do you mean by security problem?
>
>
>
> If the the component that is  set to none visible is none visible
> because of
> security
> So it has data that never should be send to the browser because the
> user is
> not allowed
> to see it.

But data is never send to the user because a none visible component will
be render as an empty tag, so without data




--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

Reply via email to