atom feed216 messages in org.apache.wicket.usersRe: Free wicket from component hierar...
FromSent OnAttachments
81 earlier messages
Matthias KellerNov 9, 2010 4:46 am 
manuelbarziNov 9, 2010 4:49 am 
James CarmanNov 9, 2010 4:49 am 
Martin MakundiNov 9, 2010 4:54 am 
James CarmanNov 9, 2010 4:57 am 
Martin MakundiNov 9, 2010 4:58 am 
manuelbarziNov 9, 2010 5:26 am 
Martin MakundiNov 9, 2010 5:48 am 
Frank SilbermannNov 9, 2010 6:46 am 
Martin GrigorovNov 9, 2010 6:58 am 
Carl-Eric MenzelNov 9, 2010 7:02 am 
James CarmanNov 9, 2010 7:05 am 
Carl-Eric MenzelNov 9, 2010 7:11 am 
Carl-Eric MenzelNov 9, 2010 7:14 am 
Frank SilbermannNov 9, 2010 7:19 am 
Martin MakundiNov 9, 2010 7:20 am 
Martin MakundiNov 9, 2010 7:22 am 
James CarmanNov 9, 2010 7:26 am 
Frank SilbermannNov 9, 2010 7:28 am 
Martin MakundiNov 9, 2010 7:32 am 
Wilhelmsen Tor IverNov 9, 2010 7:32 am 
Martin MakundiNov 9, 2010 7:33 am 
Carl-Eric MenzelNov 9, 2010 7:36 am 
John OwenNov 9, 2010 7:36 am 
James CarmanNov 9, 2010 7:38 am 
Martin MakundiNov 9, 2010 7:45 am 
Frank SilbermannNov 9, 2010 7:48 am 
James CarmanNov 9, 2010 7:51 am 
Martin MakundiNov 9, 2010 7:57 am 
James CarmanNov 9, 2010 8:00 am 
Martin MakundiNov 9, 2010 8:04 am 
Carl-Eric MenzelNov 9, 2010 8:05 am 
Martin MakundiNov 9, 2010 8:06 am 
Martin MakundiNov 9, 2010 8:07 am 
Carl-Eric MenzelNov 9, 2010 8:10 am 
SebastianNov 9, 2010 8:18 am 
James CarmanNov 9, 2010 8:26 am 
manuelbarziNov 9, 2010 8:31 am 
James CarmanNov 9, 2010 8:33 am 
Martin MakundiNov 9, 2010 8:34 am 
James CarmanNov 9, 2010 8:36 am 
Martin MakundiNov 9, 2010 8:37 am 
Carl-Eric MenzelNov 9, 2010 8:39 am 
Martin MakundiNov 9, 2010 8:40 am 
James CarmanNov 9, 2010 8:46 am 
Carl-Eric MenzelNov 9, 2010 8:46 am 
Igor VaynbergNov 9, 2010 8:47 am 
Martin MakundiNov 9, 2010 8:48 am 
James CarmanNov 9, 2010 8:49 am 
Igor VaynbergNov 9, 2010 8:49 am 
James CarmanNov 9, 2010 8:50 am 
Frank SilbermannNov 9, 2010 8:50 am 
Igor VaynbergNov 9, 2010 8:53 am 
Martin MakundiNov 9, 2010 8:55 am 
Igor VaynbergNov 9, 2010 8:55 am 
James CarmanNov 9, 2010 8:56 am 
James CarmanNov 9, 2010 8:57 am 
James CarmanNov 9, 2010 8:58 am 
Igor VaynbergNov 9, 2010 8:58 am 
Igor VaynbergNov 9, 2010 8:59 am 
Martin MakundiNov 9, 2010 8:59 am 
James CarmanNov 9, 2010 9:03 am 
Martin MakundiNov 9, 2010 9:05 am 
James CarmanNov 9, 2010 9:11 am 
Martin MakundiNov 9, 2010 9:13 am 
James CarmanNov 9, 2010 9:16 am 
Martin MakundiNov 9, 2010 9:22 am 
James CarmanNov 9, 2010 9:25 am 
Martin MakundiNov 9, 2010 9:29 am 
SebastianNov 9, 2010 9:29 am 
Martin MakundiNov 9, 2010 9:33 am 
James CarmanNov 9, 2010 9:33 am 
James CarmanNov 9, 2010 9:38 am 
Martin MakundiNov 9, 2010 9:38 am 
James CarmanNov 9, 2010 9:41 am 
Martin MakundiNov 9, 2010 9:42 am 
James CarmanNov 9, 2010 9:45 am 
Martin MakundiNov 9, 2010 9:51 am 
Johan CompagnerNov 9, 2010 10:00 am 
Martin MakundiNov 9, 2010 10:04 am 
Johan CompagnerNov 9, 2010 10:25 am 
Martin MakundiNov 9, 2010 10:29 am 
Johan CompagnerNov 9, 2010 10:36 am 
Igor VaynbergNov 9, 2010 10:52 am 
Igor VaynbergNov 9, 2010 10:53 am 
Martin MakundiNov 9, 2010 10:54 am 
Johan CompagnerNov 9, 2010 10:59 am 
Igor VaynbergNov 9, 2010 11:02 am 
Igor VaynbergNov 9, 2010 11:08 am 
Johan CompagnerNov 9, 2010 11:10 am 
Michael BrinkmanNov 9, 2010 11:27 am 
Sven MeierNov 9, 2010 12:03 pm 
Igor VaynbergNov 9, 2010 12:15 pm 
Igor VaynbergNov 9, 2010 12:17 pm 
Igor VaynbergNov 9, 2010 12:22 pm 
Sven MeierNov 9, 2010 12:42 pm 
James CarmanNov 9, 2010 12:45 pm 
Igor VaynbergNov 9, 2010 12:57 pm 
James CarmanNov 9, 2010 12:58 pm 
Igor VaynbergNov 9, 2010 1:04 pm 
35 later messages
Subject:Re: Free wicket from component hierarchy hell
From:Igor Vaynberg (igor@gmail.com)
Date:Nov 9, 2010 8:49:32 am
List:org.apache.wicket.users

On Tue, Nov 9, 2010 at 7:36 AM, John Owen <jow@globalscape.com> wrote:

"Do we really think this is that big of a problem that we need to change the
whole paradigm of the framework to address it?"

it will not be changing the paradigm. it is adding a new method for you to add components. use it if you want, dont use it if you dont.

-igor

IMO, No.

-----Original Message----- From: jcar@carmanconsulting.com [mailto:jcar@carmanconsulting.com] On
Behalf Of James Carman Sent: Tuesday, November 09, 2010 9:06 AM To: use@wicket.apache.org Subject: Re: Free wicket from component hierarchy hell

I think we need to try to put our heads together on this one.  I don't necessarily think this approach is the best, but I haven't really had a chance to wrap my head around it yet, frankly.  Do we really think this is that big of a problem that we need to change the whole paradigm of the framework to address it?  Perhaps you can create a new "container" component that does all of this stuff with some pre-render magic or something?  If you want to use it, you can.  If not, you don't have to.  So, if you're the type that likes this loosey goosey stuff, you basically "wrap" your pages with one of these things to enable this type of behavior.  I don't know.  This is just off the top of my head.  Still not done with my morning coffee.

On Tue, Nov 9, 2010 at 9:58 AM, Martin Grigorov <mgri@apache.org> wrote:

I think we have to make a vote whether this feature has to be investigated further. There are over 90 mails in the thread and I have the feeling that only Martin Makundi likes the idea.

On Tue, Nov 9, 2010 at 3:46 PM, Frank Silbermann <fran@fedex.com

wrote:

Well then, why don't you have your base panel provide methods that generate the individual components, with methods that implement composite behaviors involving groups of components.

Your constructor can call the component-creation methods to assemble the component hierarchy to match the HTML.

Then, when you want a panel with a different hierarchy you subclass the panel, override the constructor to create the 2nd component hierarchy, and provide the new panel its own HTML page.

If you don't like overriding the constructor along with the HTML, then you can build some sort of configurable constructor-constructor.

/Frank

-----Original Message----- From: Martin Makundi [mailto:mart@koodaripalvelut.com] Sent: Tuesday, November 09, 2010 6:55 AM To: use@wicket.apache.org Subject: Re: Free wicket from component hierarchy hell

Hi!

Isn't this exactly the reason we've got CSS?

It's just the buzz, not the reality. Unfortunately often CSS "doesn't quite cut it: * http://blog.iconara.net/2007/09/21/the-failure-of-css/

HTML shouldn't really be used for look&feel and the size and placement of components can perfectly be defined using CSS classes.

In CSS the actual nesting of components plays a big role (div inside float inside abs top 0px ul relative etc.).

If you want a professional finish, you will often need to pull components around the layers for different display. Even trying to pull one component will break wicket in strict hierarchy mode.

** Martin

On 2010-11-09 13:34, Martin Makundi wrote:

Also making skins for different devices / screen sizes becomes easier.

** Martin

2010/11/9 Vitaly Tsaplin<vita@gmail.com>:

In simple cases it makes no difference. It makes real difference with some complex widgets (for example search components) that must be reused on many pages and they should render differently on each page depending on how much space and what context they are in. I don't like duplicating code even if it is gui code.

Sounds like the first appealing argument slowly comming out of surrounding fuzz =)