Here’s one that I use.
-----Oorspronkelijk
bericht-----
Van: Jonathan Carlson
[mailto:[EMAIL PROTECTED]
Verzonden: woensdag 26 januari
2005 0:10
Aan: [email protected]
Onderwerp: Re: [Wicket-user]
TabbedPanel ?
Navomatic seems rather static, but
I'm sure it could be made more dynamic.
I need something that would
dynamically add links/tabs as you add TabPanes (for example), which
would be panels themselves. I'd want the tabs to link back to the same
page, just with a parameter that specifies which tab is active.
In case you want more background of
what I'm thinking... Picture a bean editing panel on the top of the page.
Underneath that is a tab for each relationship of that bean. Some tabs
will have a table of related beans (to-many relationship), others will just
show the properties of one related bean (to-one relationship).
>>> [EMAIL PROTECTED] 2005-01-25 11:48:02 AM >>>
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
|
TabPanel.java
Description: TabPanel.java
TabPanelModel.java
Description: TabPanelModel.java