Re: Wicket and Menu support

2012-04-10 Thread Martin Grigorov
On Sun, Apr 8, 2012 at 8:04 PM, Tom Eugelink t...@tbee.org wrote:

 Is there any documentation on this jquery support in wicket 6? I'm setting
 up a new project ARM and instead of including all kinds of side kick
 projects, core support is preferable.

https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+6.0#MigrationtoWicket6.0-Ajax


 Tom





 On 2012-04-08 19:55, msalman wrote:

 Thanks to every one for all of your comments and suggestions.

 Great to know that wicket core will include jquery.

 Alle, I would appreciate very much if you can please share your code for
 using jquery tree.  It would give me a good start.

 Thanks.

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Menu-support-tp4540516p4541287.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Menu support

2012-04-08 Thread Daniel Neugebauer
Depending on how your menus are supposed to be defined, you could
statically put them into your markup or dynamically create them by using
a ListView or similar.

A nested HTML list structure, as already suggested, usually works best.
There are a lot of ready-to-use CSS examples and JavaScript libraries to
handle such menus, if you don't want to write it yourself.

On 04/08/2012 07:52 AM, msalman wrote:
 I thought that the idea behind Wicket is to take care of these things for
 Java programmers.  I would appreciate if some basic form of menu is made
 part of wicket core.

Wicket is one of the few frameworks that leave you in full control of
your markup, which means that it does not provide a lot of
ready-to-include components that include markup and a full style.
Instead it works more like casting your markup to Java components, so
your HTML code becomes accessible from Java.

There are of course some ready-to-use components in wicket-stuff etc.
but less in Wicket core. This way, you are not forced to follow an HTML
structure or CSS classes someone else wrote that may clash with the
design you had in mind (modal dialogs are one exception, apart from that
and trees I can't think of many standard components that use a
noticeable amount of their own HTML/CSS).

If you want to avoid HTML/CSS as far as possible, other frameworks may
fit better. For example, you can avoid HTML/CSS almost completely with
Vaadin or GWT if you don't need any custom layout (if you do, it can be
a lot of work to style it). And then there are a lot of frameworks that
are easier to style but require you to write some HTML/CSS yourself.

If you want to stay with Wicket, you should get more comfortable with
HTML and CSS (which will take a lot of exercise to get it right) or
leave writing templates up to a web designer, which (due to a good
separation of templates and code) is far easier in Wicket than with
other frameworks. In most cases, you can simply take a design, add
Wicket XML tags/attributes to it and start using that template from your
code.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Menu support

2012-04-08 Thread Paolo
Alle domenica 08 aprile 2012, Daniel Neugebauer ha scritto:
 Depending on how your menus are supposed to be defined, you could
 statically put them into your markup or dynamically create them by using
 a ListView or similar.
 

 If you want to avoid HTML/CSS as far as possible, other frameworks may
 fit better. For example, you can avoid HTML/CSS almost completely with
 Vaadin or GWT if you don't need any custom layout (if you do, it can be
 a lot of work to style it). And then there are a lot of frameworks that
 are easier to style but require you to write some HTML/CSS yourself.
 
 If you want to stay with Wicket, you should get more comfortable with
 HTML and CSS (which will take a lot of exercise to get it right) or
 leave writing templates up to a web designer, which (due to a good
 separation of templates and code) is far easier in Wicket than with
 other frameworks. In most cases, you can simply take a design, add
 Wicket XML tags/attributes to it and start using that template from your
 code.

I suggest jquery menu, they are very simple to use. You could find a lot of 
those on google search.
I used with satisfaction jquery.treeview.js with 3 level menu and wicket:link 
statically
http://docs.jquery.com/Plugins/Treeview

P.S.
Jquery now, with wicket 6, is internally supported by wicket core.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Menu support

2012-04-08 Thread msalman
Thanks to every one for all of your comments and suggestions.

Great to know that wicket core will include jquery.

Alle, I would appreciate very much if you can please share your code for
using jquery tree.  It would give me a good start.  

Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Menu-support-tp4540516p4541287.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Menu support

2012-04-08 Thread Tom Eugelink


Is there any documentation on this jquery support in wicket 6? I'm setting up a 
new project ARM and instead of including all kinds of side kick projects, core 
support is preferable.

Tom




On 2012-04-08 19:55, msalman wrote:

Thanks to every one for all of your comments and suggestions.

Great to know that wicket core will include jquery.

Alle, I would appreciate very much if you can please share your code for
using jquery tree.  It would give me a good start.

Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Menu-support-tp4540516p4541287.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket and Menu support

2012-04-07 Thread msalman
Wicket is a great product and I really hope that I do not offend any one by
my question.  Indeed this may be due to my lack of information.  What I want
to know is why does not Wicket 'core' supports menu and other items
necessary to develop a website?  I have to search  for YUI wicket,
wicket-stuff, and wicket-extensions, which are some what phantom like
websites.  After some research I find that the code I am looking for is not
even supported any more.  The kind developer has moved on to other stuff.  

So what is the qualification for you to include a control(?) into the Wicket
'core'?  What is the suggested way to handle stuff like this?

Thanks. 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Menu-support-tp4540516p4540516.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Menu support

2012-04-07 Thread Josh Kamau
IMHO, Wicket as the largest number of out of the box components of all the
frameworks that i know.
For such things as menus, are they not 'ulli' that have been styled the
way you want..

I think the key thing is ... if you are not familiar with HTML and CSS, you
may not like wicket. Because if leaves writting html and styling the
elements to you.

Josh.

On Sun, Apr 8, 2012 at 8:19 AM, msalman mohammad_sal...@yahoo.com wrote:

 Wicket is a great product and I really hope that I do not offend any one by
 my question.  Indeed this may be due to my lack of information.  What I
 want
 to know is why does not Wicket 'core' supports menu and other items
 necessary to develop a website?  I have to search  for YUI wicket,
 wicket-stuff, and wicket-extensions, which are some what phantom like
 websites.  After some research I find that the code I am looking for is not
 even supported any more.  The kind developer has moved on to other stuff.

 So what is the qualification for you to include a control(?) into the
 Wicket
 'core'?  What is the suggested way to handle stuff like this?

 Thanks.


 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Menu-support-tp4540516p4540516.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wicket and Menu support

2012-04-07 Thread msalman
Well you are right that I am not good with html and css.  As I say I have
been forced to do GUI work - kicking and screaming.  Well, I think I am OK
with html but this CSS thing leaves me very frustrated. 

I thought that the idea behind Wicket is to take care of these things for
Java programmers.  I would appreciate if some basic form of menu is made
part of wicket core.

BTW, thanks for the ULli hint.  

Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Menu-support-tp4540516p4540539.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org