Can you share your Component with us?
that would be nice....
Thanks,
Dave
Igor Vaynberg wrote:
I use the idea of a
public interface Tab {
IModel getTitle();
Panel getPanel(String panelId);
}
My tabbedpane component takes in a list of Tab object, this allows me
to create the panels dynamically - only when they are accessed by the
user. I think this is a better approach then creating all the panels
at once and toggling visibility because it significantly decreases
session size. My component uses replace(Component c) to switch the
panels.
-Igor
On 10/31/05, *pepone pepone* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
In my Ui design experience i found WicketStack very usefull, i my
current wicket app i design my own wicket stackt that was very simple
using standar wicket components i extend panel and adding only this
tow methods and a java Map that permit me to map panelName to a
component
void addPanel(Panel panel,String panelName);
this adding the Panel component as a child using add and added the
componentName to the map to permit reference it by name and not by id
void showPanel(String panelName) ;
this method must setVisble false on current panel and visible true in
panel with pageName
a wicketStack combined with a List of links to showPage() can be a
TabWicket
what i can implement now is a way to anidate wicketStacks a maintain
urls bookMarkable but this is in my TODO list
On 10/31/05, Eelco Hillenius < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> Not core, but a support project is nice. Please take a look at
> wicket-stuff and look (in CVS) at the wicket-contrib-navmenu
project.
> There's an example for it in wicket-stuff-examples.
>
> I need more people to participate/ contribute to this too, so
please help.
>
> Eelco
>
>
> On 10/30/05, Andrew Berman < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> > I agree with Johan. Tabs are by no means a core
component. In fact, you
> > can accomplish tabs easily using a ListView and some CSS, so
it's definitely
> > a design issue as Johan mentioned.
> >
> > See these for the CSS to create tabs:
> >
> >
> > http://www.alistapart.com/articles/slidingdoors/
<http://www.alistapart.com/articles/slidingdoors/>
> > http://www.alistapart.com/articles/slidingdoors2/
> > --Andrew
> >
> >
> > On 10/30/05, Johan Compagner < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> > > why is it a core component?
> > > It is mostly a design issue if you ask me.
> > > Because under neath it are just links that are setting a
panel (or
> > switching visibility)
> > >
> > > How would such a component look like?
> > >
> > >
> > >
> > >
> > > On 10/30/05, Stefan Lindner < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
> > > > Dear Dave, dear wicket developers,
> > > >
> > > > I had the same question some weeks ago. There once was an
example called
> > > > "TabPage" and is still available in a silent corner of the
CVS. But the
> > > > Example no longer works with Wicket 1.1. I think a tabbed
page is a core
> > > > component for web development and should be availabe with
wicket. Please
> > > > hel pus, Wicket developers!
> > > >
> > > > Thanks in advance
> > > >
> > > > Stefan Lindner
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by the JBoss Inc.
> > > > Get Certified Today * Register for a JBoss Training Course
> > > > Free Certification Exam for All Training Attendees Through
End of 2005
> > > > Visit http://www.jboss.com/services/certification
<http://www.jboss.com/services/certification> for
> > more information
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
> > > >
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> >
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End
of 2005
> Visit http://www.jboss.com/services/certification for more
information
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
<https://lists.sourceforge.net/lists/listinfo/wicket-user>
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of
2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA)
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user