you can break the component into two nested panels/fragments, then either

conditionally add one or the other

or add both and only make one visible

-igor


On Jan 15, 2008 6:54 AM, Danilo Barsotti <[EMAIL PROTECTED]> wrote:
> Hi all!!!
>
> I need to write a component that makes it:
>
> <code>
>
>             <div id="content-gadget" title="Status na rede">
>                 <div id="content-gadget-header"><span><span>
>                     <h3>Status na rede</h3>
>
>                 </span></span></div>
>                 <div id="content-gadget-body">
>                     <input type="text" id="senha"/>
>                     <p>2.475 posição</p>
>                     <p>80º pontos</p>
>                     <p>Atividade: <span class="high">alta</span></p>
>                     <p>Influência: <span class="medium">baixa</span></p>
>                     <input type="button" onclick="submit();"/>
>                 </div>
>                 <div
> id="content-gadget-footer"><span><span></span></span></div>
>             </div>
>
> </code>
>
> I need because this component will change according to the status of the
> user, if the user signed, this component access data base and retrive all
> information as you can see.
>
> I read the article stockquote (
> http://wicket.apache.org/examplestockquote.html) but I don't know how I make
> this.
>
> Thanks and sorry for my english.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to