Are you saying that if I want to create two TabbedPanels with
different looks, I need to create two different Panels with two
different associated markup files? I'm expecting to be able to reuse
the same component class file with two different markup files . . .
Maybe I am expected to subclass the panel twice and use a different
markup each time (but the Java code does not change)?

Gili

On Tue, 25 Jan 2005 14:22:26 -0800, Jonathan Locke wrote:

>
>if this doesn't make sense to anyone enough to make an example of it, i 
>can whip one up when i come back from LA next tuesday.
>
>    jon
>
>Jonathan Locke wrote:
>
>>
>> this functionality already exists!
>>
>> such a thing really shouldn't be required in wicket.  panels are for 
>> holding reusable chunks of markup with components attached, like the 
>> sign in panel.
>>
>> what you want is simply to create a navigation like navomatic by 
>> simply putting a bunch of links on the page.  what makes it a "tabbed" 
>> page is how the links look when they enable/disable as you use them.
>>
>> the "tabbiness" of the look should be a dreamweaver thing.
>>
>> what we really need is to somehow rename NavigationPanel in the 
>> examples (or remove it) because it is confusing and then create an 
>> example of how to do a tabbed look for a navigation using the 
>> "enabled" and "disabled" child for the link.
>>
>> a link is actually an HtmlContainer and can have children.  there can 
>> optionally be two special children.  one called "enabled" and one 
>> called "disabled".  so to make a navigation, you simply make a bitmap 
>> image or chunk of HTML that renders an enabled tab (a link other than 
>> the selected link (that you can click on)) and call it "enabled" and 
>> another bitmap image or chunk of HTML that renders a disabled tab (the 
>> link to the current page (the one link you cannot click on)) and call 
>> it "disabled".
>>
>>        jon
>>
>> Jonathan Carlson wrote:
>>
>>> Has anyone started a TabbedPanel yet?
>>>  
>>> Just Curious.  I didn't see one but I'll need one eventually.  If I 
>>> write it myself does anyone have suggestions on how to go about it 
>>> HTML-wise?  I could just use a site like Amazon for example code.  Or 
>>> maybe Tapestry has one I could convert over.
>>>  
>>> - Jonathan
>>>
>>>
>>> **********************************************************************
>>> This email and any files transmitted with it are confidential and
>>> intended solely for the use of the individual or entity to whom they
>>> are addressed. If you have received this email in error please notify
>>> the system manager.
>>>
>>> www.katun.com
>>> **********************************************************************
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>> Tool for open source databases. Create drag-&-drop reports. Save time
>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>Tool for open source databases. Create drag-&-drop reports. Save time
>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>_______________________________________________
>Wicket-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-user
>




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to