Re: Wicket Layout Design

2012-07-23 Thread Jesse Long

On 19/07/2012 17:01, divad91 wrote:

Hi,

I am new to Wicket. I'm working on a multi province web application.
The goal is to use the same web application for all provinces.
CSS and some business logic will differ for each province.

I want to know the best ways to instantiate my layout components in my base
page.
(Using markup inheritance for page composition)

* Each layout component could be subclassed.

public  class BasePage extends WebPage {
public BasePage() { 
// Want to know the best way to instanciate
// HeaderXXX or HeaderYYY for example base on the province.
add(new Header());  
add(new SideBar());
add(new Footer());
}
}

My BasePage is in a common maven module.
Each province subclassed pages and components are in a different maven
module.

I read that using factories to instanciate components was not a good idea
(http://blog.comsysto.com/2011/05/09/apache-wicket-best-practices-2/)
Do you have a better approach to accomplish this?


Hi David,

Generally, you would use (potentially abstract) factory methods to 
create you overridable components.


So:

public abstract class BasePage
{
public BasePage(){}

// these are the factory methods to create the components.
// I like to use the prefix createNew, you can change.

protected abstract Component createNewHeader(String componentId);

protected abstract Component createNewSideBar(String componentId);

protected abstract Component createNewFooter(String componentId);

// Then add the components in onInitialize().
// onInitialize() is much under used. It allows us to call overridden method
// outside of the constructor.

@Override
public void onInitialize()
{
super.onInitialize();

add(createNewHeader(header));
add(createNewSideBar(sideBar));
add(createNewFooter(footer));
}
}

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



Re: Wicket Layout Design

2012-07-23 Thread divad91
Thanks Jesse for your reply.

The only drawback of this method is that I will need to override theses 3
methods (createNewHeader, createNewFooter...) in all pages that extends
BasePage.java.Ideally I would like to avoid copying code but I think it's
the cleaner way to override layout components.

Thanks again !
David



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Layout-Design-tp4650630p4650734.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 Layout Design

2012-07-23 Thread Paul Bors
You can try using a TransparentWebMarkupContainer so that you won't always
have to add them to the page hierarchy and only override your factory
methods when you need to.

For a code-snippet example see this thread:
http://apache-wicket.1842946.n4.nabble.com/1-5-6-0-dynamically-named-CSS-JS-
amp-images-resources-tc4650635.html#a4650638

~ Thank you,
  Paul Bors

-Original Message-
From: divad91 [mailto:diva...@hotmail.com] 
Sent: Monday, July 23, 2012 12:40 PM
To: users@wicket.apache.org
Subject: Re: Wicket Layout Design

Thanks Jesse for your reply.

The only drawback of this method is that I will need to override theses 3
methods (createNewHeader, createNewFooter...) in all pages that extends
BasePage.java.Ideally I would like to avoid copying code but I think it's
the cleaner way to override layout components.

Thanks again !
David



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Layout-Design-tp4650630p46
50734.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 Layout Design

2012-07-19 Thread divad91
Hi,

I am new to Wicket. I'm working on a multi province web application.
The goal is to use the same web application for all provinces.
CSS and some business logic will differ for each province.

I want to know the best ways to instantiate my layout components in my base
page.
(Using markup inheritance for page composition)

* Each layout component could be subclassed.

public  class BasePage extends WebPage {
public BasePage() { 
// Want to know the best way to instanciate  
// HeaderXXX or HeaderYYY for example base on the province.
add(new Header());  
add(new SideBar());
add(new Footer());
}
}

My BasePage is in a common maven module. 
Each province subclassed pages and components are in a different maven
module.

I read that using factories to instanciate components was not a good idea
(http://blog.comsysto.com/2011/05/09/apache-wicket-best-practices-2/)
Do you have a better approach to accomplish this?

Thanks a lot and sorry for my english

David


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Layout-Design-tp4650630.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 Layout

2010-02-10 Thread Ernesto Reinaldo Barreiro
Cemal,

I successfully installed the demo application and studied it a bit... As a
conclusion I can say I wouldn't mind adapting  my contributions to follow
the standard you have defined for contributing plugins (IWiQueryPlugin).


 The link to ODLabs' WiQuery layout demo (from our last London Wicket
 Event) showing WiQuery layout was mentioned on another thread [1] so I
 didn't repeat it here. Also note a subsequent post there stating the


Maybe it would be useful to split the code of this demo and take out the
plugins into a separate project? wilayout? So that people could use it on
their projects alongside wiquery jar?


 fact that you need to change the POM to point at 1.0 (not 1.0=m2) of
 WiQuery which might save you a bit of head-scratching.


Thanks! Can't it be fixed on SVN so that others do not face the same
problem?


 I think all this is for the general good and provides more options for
 Wicket developers (as long as all this stuff stays well out of the
 core!). On the other hand, if you like the way WiQuery does things, of
 course we can advance that further too, in a WiQuery Plugins project

we have been talking about introducing for exactly this sort of thing.


Maybe create another google code project similar to Wicket-stuff? So, that
core do not get polluted with such plugins and commit access is less strict.
As said I wouldn't mind using the conventions you have defined.


 I know that Lionel has been in touch with you and I am I look forward
 to having a chat on Skype soon, thanks for sending me your details.


Hope we can talk soon. Today in the morning I noticed your request on
Skipe:-(

Cheers,

Ernesto


Re: Wicket Layout

2010-02-10 Thread Lionel Armanet

Hi,


reiern70 wrote:
 
 I successfully installed the demo application and studied it a bit... As a
 conclusion I can say I wouldn't mind adapting  my contributions to
 follow
 the standard you have defined for contributing plugins (IWiQueryPlugin).
 
 Maybe it would be useful to split the code of this demo and take out the
 plugins into a separate project? wilayout? So that people could use it on
 their projects alongside wiquery jar?
 
 Maybe create another google code project similar to Wicket-stuff? So, that
 core do not get polluted with such plugins and commit access is less
 strict.
 As said I wouldn't mind using the conventions you have defined.
 

That would be a great idea to provide a complete plugin for layout
management. We are thinking at the best solution to provide this
wiQuery-stuff-project (while Google code is maybe not the best solution to
have a dump-it-all project, we're open to the best suggestions for that
^^).

We have opened a discussion on our list [1], feel free to give your input.

Thanks,

Lionel

[1] :
http://groups.google.com/group/wiquery/browse_thread/thread/8f7f8dfaa34e0774


-- 
View this message in context: 
http://old.nabble.com/Wicket-Layout-tp27495561p27531711.html
Sent from the Wicket - User 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 Layout

2010-02-10 Thread Ernesto Reinaldo Barreiro
Hi Lionel,

For the time being I think I'll put anything I do on a google code project
and keep you (core devs) informed of things I add.

Best,

Ernesto


On Wed, Feb 10, 2010 at 3:07 PM, Lionel Armanet lionel.arma...@gmail.comwrote:


 Hi,


 reiern70 wrote:
 
  I successfully installed the demo application and studied it a bit... As
 a
  conclusion I can say I wouldn't mind adapting  my contributions to
  follow
  the standard you have defined for contributing plugins (IWiQueryPlugin).
 
  Maybe it would be useful to split the code of this demo and take out the
  plugins into a separate project? wilayout? So that people could use it on
  their projects alongside wiquery jar?
 
  Maybe create another google code project similar to Wicket-stuff? So,
 that
  core do not get polluted with such plugins and commit access is less
  strict.
  As said I wouldn't mind using the conventions you have defined.
 

 That would be a great idea to provide a complete plugin for layout
 management. We are thinking at the best solution to provide this
 wiQuery-stuff-project (while Google code is maybe not the best solution to
 have a dump-it-all project, we're open to the best suggestions for that
 ^^).

 We have opened a discussion on our list [1], feel free to give your input.

 Thanks,

 Lionel

 [1] :

 http://groups.google.com/group/wiquery/browse_thread/thread/8f7f8dfaa34e0774


 --
 View this message in context:
 http://old.nabble.com/Wicket-Layout-tp27495561p27531711.html
 Sent from the Wicket - User 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 Layout

2010-02-09 Thread Cemal Bayramoglu
Ernesto,

The link to ODLabs' WiQuery layout demo (from our last London Wicket
Event) showing WiQuery layout was mentioned on another thread [1] so I
didn't repeat it here. Also note a subsequent post there stating the
fact that you need to change the POM to point at 1.0 (not 1.0=m2) of
WiQuery which might save you a bit of head-scratching.

I think all this is for the general good and provides more options for
Wicket developers (as long as all this stuff stays well out of the
core!). On the other hand, if you like the way WiQuery does things, of
course we can advance that further too, in a WiQuery Plugins project
we have been talking about introducing for exactly this sort of thing.
I know that Lionel has been in touch with you and I am I look forward
to having a chat on Skype soon, thanks for sending me your details.

Regards - Cemal
jWeekend
OO  Java Technologies, Wicket
Consulting, Development, Training
http://jWeekend.com

[1] http://old.nabble.com/RIA-solution-based-on-wicket-to27399876.html#a27399876

On 9 February 2010 05:18, Ernesto Reinaldo Barreiro reier...@gmail.com wrote:
 Hi Lionel,

 I didn't know this existed:-( I look into the examples on

 http://www.wiquery.org/wiquery-examples-1.0/

 before deciding to implement it myself on

 http://code.google.com/p/wijqgrid/source/browse/#svn/trunk/wijqgrid/src/main/java/com/jquery/layout

 Best,

 Ernesto

 On Tue, Feb 9, 2010 at 2:16 AM, Lionel Armanet 
 lionel.arma...@gmail.comwrote:


 Hello,

 You can find an example of a jQuery layout plugin (this one:
 http://layout.jquery-dev.net/) in the wiQuery project.

 If you go visit wiQuery's google code (http://code.google.com/p/wiquery),
 you'd find under our svn (in /svn/examples/wiquery-presentation-examples) a
 taskboard application with a border layout plugin.

 Hope this helps,


 kinabalu wrote:
 
  might look at some of the integrations with jquery or yui.  I believe
 both
  of those frameworks have something similar, and I'd guess the respective
  wicket projects working on integration have them, or could be added.
 
  i don't know enough about dojo though, sorry
 
  On Feb 7, 2010, at 10:09 PM, Josh Kamau wrote:
 
  Andrew ;
 
  How about the splitPanel ?  and the accordion?
 
  On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi
  and...@mysticcoders.comwrote:
 
  it's definitely an involved layout ... but nothing here looks out of
 the
  question.
 
  tabbedpanel's for Inbox | Contacts
  the tree from wicket-extensions for the folder viewer
  the datatable from wicket-extensions for the lsit of messages
  there are modal windows, all available
 
  so yes, wicket should be able to support this.  not sure about the dojo
  integration
 
  On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:
 
  Hi guys;
 
  I think wicket is the best java web framework out there. However , i
  really
  would like be to able to create a layout like this :
  http://demos.dojotoolkit.org/demos/mail/
 
  Does the current dojo integration support this. Is it possible to
  create
  such a layout with vanilla  wicket?
 
  regards.
 
  Josh
 
 
  To our success!
 
  Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
  ANDREW LOMBARDI | and...@mysticcoders.com
  2321 E 4th St. Ste C-128, Santa Ana CA 92705
  ofc: 714-816-4488
  fax: 714-782-6024
  cell: 714-697-8046
  linked-in: http://www.linkedin.com/in/andrewlombardi
  twitter: http://www.twitter.com/kinabalu
 
  Eco-Tip: Printing e-mails is usually a waste.
 
  
  This message is for the named person's use only. You must not, directly
  or
  indirectly, use,
  disclose, distribute, print, or copy any part of this message if you
 are
  not the intended recipient.
  
 
 
 
 
  To our success!
 
  Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
  ANDREW LOMBARDI | and...@mysticcoders.com
  2321 E 4th St. Ste C-128, Santa Ana CA 92705
  ofc: 714-816-4488
  fax: 714-782-6024
  cell: 714-697-8046
  linked-in: http://www.linkedin.com/in/andrewlombardi
  twitter: http://www.twitter.com/kinabalu
 
  Eco-Tip: Printing e-mails is usually a waste.
 
  
  This message is for the named person's use only. You must not, directly
 or
  indirectly, use,
   disclose, distribute, print, or copy any part of this message if you are
  not the intended recipient.
  
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Wicket-Layout-tp27495561p27509045.html
 Sent from the Wicket - User 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

Re: Wicket Layout

2010-02-08 Thread Ernesto Reinaldo Barreiro
Hi Josh,

In general it is very easy to encapsulate existing JavaScrip components with
Wikcet... I think it would be very easy to integrate this example [1] of
layout manager into your application.

Best,

Ernesto

References.

[1]-http://layout.jquery-dev.net/documentation.cfm#Example

On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com wrote:

 Hi guys;

 I think wicket is the best java web framework out there. However , i really
 would like be to able to create a layout like this :
 http://demos.dojotoolkit.org/demos/mail/

 Does the current dojo integration support this. Is it possible to create
 such a layout with vanilla  wicket?

 regards.

 Josh



Re: Wicket Layout

2010-02-08 Thread Josh Kamau
Ernesto
*
*
*Thanks. i will use the jquery-ui .
*
On Mon, Feb 8, 2010 at 12:15 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 Hi Josh,

 In general it is very easy to encapsulate existing JavaScrip components
 with
 Wikcet... I think it would be very easy to integrate this example [1] of
 layout manager into your application.

 Best,

 Ernesto

 References.

 [1]-http://layout.jquery-dev.net/documentation.cfm#Example

 On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com wrote:

  Hi guys;
 
  I think wicket is the best java web framework out there. However , i
 really
  would like be to able to create a layout like this :
  http://demos.dojotoolkit.org/demos/mail/
 
  Does the current dojo integration support this. Is it possible to create
  such a layout with vanilla  wicket?
 
  regards.
 
  Josh
 



Re: Wicket Layout

2010-02-08 Thread Ernesto Reinaldo Barreiro
Hi Josh,

I just played a bit with [1] and was really easy to get it working with
Wicket I'll mail the files to you and later on publish them somewhere...

Best,

Ernesto


I'll privately mail my files to you and later on

On Mon, Feb 8, 2010 at 10:15 AM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 Hi Josh,

 In general it is very easy to encapsulate existing JavaScrip components
 with Wikcet... I think it would be very easy to integrate this example [1]
 of layout manager into your application.

 Best,

 Ernesto

 References.

 [1]-http://layout.jquery-dev.net/documentation.cfm#Example


 On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com wrote:

 Hi guys;

 I think wicket is the best java web framework out there. However , i
 really
 would like be to able to create a layout like this :
 http://demos.dojotoolkit.org/demos/mail/

 Does the current dojo integration support this. Is it possible to create
 such a layout with vanilla  wicket?

 regards.

 Josh





Re: Wicket Layout

2010-02-08 Thread Josh Kamau
Ernesto

Great!!. i really appreciate. I wish i could be able to bundle the layout
into a library.

Regards.

On Mon, Feb 8, 2010 at 3:34 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 Hi Josh,

 I just played a bit with [1] and was really easy to get it working with
 Wicket I'll mail the files to you and later on publish them
 somewhere...

 Best,

 Ernesto


 I'll privately mail my files to you and later on

 On Mon, Feb 8, 2010 at 10:15 AM, Ernesto Reinaldo Barreiro 
 reier...@gmail.com wrote:

  Hi Josh,
 
  In general it is very easy to encapsulate existing JavaScrip components
  with Wikcet... I think it would be very easy to integrate this example
 [1]
  of layout manager into your application.
 
  Best,
 
  Ernesto
 
  References.
 
  [1]-http://layout.jquery-dev.net/documentation.cfm#Example
 
 
  On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com
 wrote:
 
  Hi guys;
 
  I think wicket is the best java web framework out there. However , i
  really
  would like be to able to create a layout like this :
  http://demos.dojotoolkit.org/demos/mail/
 
  Does the current dojo integration support this. Is it possible to create
  such a layout with vanilla  wicket?
 
  regards.
 
  Josh
 
 
 



Re: Wicket Layout

2010-02-08 Thread Ernesto Reinaldo Barreiro
I already e-mailed them to you... It is bundle as a component (Panel) which
has some hook methods you can override to plug in you content. I'll put this
code somewhere so that it is accessible for others... and if I find time
improve it to make it more configurable... I would appreciate that if you
improve it on your own you contribute your works... So that others can
benefit as well;-)

Best,

Ernesto

On Mon, Feb 8, 2010 at 1:38 PM, Josh Kamau joshnet2...@gmail.com wrote:

 Ernesto

 Great!!. i really appreciate. I wish i could be able to bundle the layout
 into a library.

 Regards.

 On Mon, Feb 8, 2010 at 3:34 PM, Ernesto Reinaldo Barreiro 
 reier...@gmail.com wrote:

  Hi Josh,
 
  I just played a bit with [1] and was really easy to get it working with
  Wicket I'll mail the files to you and later on publish them
  somewhere...
 
  Best,
 
  Ernesto
 
 
  I'll privately mail my files to you and later on
 
  On Mon, Feb 8, 2010 at 10:15 AM, Ernesto Reinaldo Barreiro 
  reier...@gmail.com wrote:
 
   Hi Josh,
  
   In general it is very easy to encapsulate existing JavaScrip components
   with Wikcet... I think it would be very easy to integrate this example
  [1]
   of layout manager into your application.
  
   Best,
  
   Ernesto
  
   References.
  
   [1]-http://layout.jquery-dev.net/documentation.cfm#Example
  
  
   On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com
  wrote:
  
   Hi guys;
  
   I think wicket is the best java web framework out there. However , i
   really
   would like be to able to create a layout like this :
   http://demos.dojotoolkit.org/demos/mail/
  
   Does the current dojo integration support this. Is it possible to
 create
   such a layout with vanilla  wicket?
  
   regards.
  
   Josh
  
  
  
 



Re: Wicket Layout

2010-02-08 Thread Josh Kamau
Ernesto.

I got it. thanks so much for your support.

Regards.

On Mon, Feb 8, 2010 at 3:44 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 I already e-mailed them to you... It is bundle as a component (Panel) which
 has some hook methods you can override to plug in you content. I'll put
 this
 code somewhere so that it is accessible for others... and if I find time
 improve it to make it more configurable... I would appreciate that if you
 improve it on your own you contribute your works... So that others can
 benefit as well;-)

 Best,

 Ernesto

 On Mon, Feb 8, 2010 at 1:38 PM, Josh Kamau joshnet2...@gmail.com wrote:

  Ernesto
 
  Great!!. i really appreciate. I wish i could be able to bundle the layout
  into a library.
 
  Regards.
 
  On Mon, Feb 8, 2010 at 3:34 PM, Ernesto Reinaldo Barreiro 
  reier...@gmail.com wrote:
 
   Hi Josh,
  
   I just played a bit with [1] and was really easy to get it working with
   Wicket I'll mail the files to you and later on publish them
   somewhere...
  
   Best,
  
   Ernesto
  
  
   I'll privately mail my files to you and later on
  
   On Mon, Feb 8, 2010 at 10:15 AM, Ernesto Reinaldo Barreiro 
   reier...@gmail.com wrote:
  
Hi Josh,
   
In general it is very easy to encapsulate existing JavaScrip
 components
with Wikcet... I think it would be very easy to integrate this
 example
   [1]
of layout manager into your application.
   
Best,
   
Ernesto
   
References.
   
[1]-http://layout.jquery-dev.net/documentation.cfm#Example
   
   
On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com
   wrote:
   
Hi guys;
   
I think wicket is the best java web framework out there. However , i
really
would like be to able to create a layout like this :
http://demos.dojotoolkit.org/demos/mail/
   
Does the current dojo integration support this. Is it possible to
  create
such a layout with vanilla  wicket?
   
regards.
   
Josh
   
   
   
  
 



Re: Wicket Layout

2010-02-08 Thread Ernesto Reinaldo Barreiro
You are welcome.

Ernesto

On Mon, Feb 8, 2010 at 2:13 PM, Josh Kamau joshnet2...@gmail.com wrote:

 Ernesto.

 I got it. thanks so much for your support.

 Regards.

 On Mon, Feb 8, 2010 at 3:44 PM, Ernesto Reinaldo Barreiro 
 reier...@gmail.com wrote:

  I already e-mailed them to you... It is bundle as a component (Panel)
 which
  has some hook methods you can override to plug in you content. I'll put
  this
  code somewhere so that it is accessible for others... and if I find time
  improve it to make it more configurable... I would appreciate that if you
  improve it on your own you contribute your works... So that others can
  benefit as well;-)
 
  Best,
 
  Ernesto
 
  On Mon, Feb 8, 2010 at 1:38 PM, Josh Kamau joshnet2...@gmail.com
 wrote:
 
   Ernesto
  
   Great!!. i really appreciate. I wish i could be able to bundle the
 layout
   into a library.
  
   Regards.
  
   On Mon, Feb 8, 2010 at 3:34 PM, Ernesto Reinaldo Barreiro 
   reier...@gmail.com wrote:
  
Hi Josh,
   
I just played a bit with [1] and was really easy to get it working
 with
Wicket I'll mail the files to you and later on publish them
somewhere...
   
Best,
   
Ernesto
   
   
I'll privately mail my files to you and later on
   
On Mon, Feb 8, 2010 at 10:15 AM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:
   
 Hi Josh,

 In general it is very easy to encapsulate existing JavaScrip
  components
 with Wikcet... I think it would be very easy to integrate this
  example
[1]
 of layout manager into your application.

 Best,

 Ernesto

 References.

 [1]-http://layout.jquery-dev.net/documentation.cfm#Example


 On Mon, Feb 8, 2010 at 6:42 AM, Josh Kamau joshnet2...@gmail.com
wrote:

 Hi guys;

 I think wicket is the best java web framework out there. However ,
 i
 really
 would like be to able to create a layout like this :
 http://demos.dojotoolkit.org/demos/mail/

 Does the current dojo integration support this. Is it possible to
   create
 such a layout with vanilla  wicket?

 regards.

 Josh



   
  
 



Re: Wicket Layout

2010-02-08 Thread Lionel Armanet

Hello,

You can find an example of a jQuery layout plugin (this one:
http://layout.jquery-dev.net/) in the wiQuery project.

If you go visit wiQuery's google code (http://code.google.com/p/wiquery),
you'd find under our svn (in /svn/examples/wiquery-presentation-examples) a
taskboard application with a border layout plugin.

Hope this helps,


kinabalu wrote:
 
 might look at some of the integrations with jquery or yui.  I believe both
 of those frameworks have something similar, and I'd guess the respective
 wicket projects working on integration have them, or could be added.
 
 i don't know enough about dojo though, sorry
 
 On Feb 7, 2010, at 10:09 PM, Josh Kamau wrote:
 
 Andrew ;
 
 How about the splitPanel ?  and the accordion?
 
 On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi
 and...@mysticcoders.comwrote:
 
 it's definitely an involved layout ... but nothing here looks out of the
 question.
 
 tabbedpanel's for Inbox | Contacts
 the tree from wicket-extensions for the folder viewer
 the datatable from wicket-extensions for the lsit of messages
 there are modal windows, all available
 
 so yes, wicket should be able to support this.  not sure about the dojo
 integration
 
 On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:
 
 Hi guys;
 
 I think wicket is the best java web framework out there. However , i
 really
 would like be to able to create a layout like this :
 http://demos.dojotoolkit.org/demos/mail/
 
 Does the current dojo integration support this. Is it possible to
 create
 such a layout with vanilla  wicket?
 
 regards.
 
 Josh
 
 
 To our success!
 
 Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
 ANDREW LOMBARDI | and...@mysticcoders.com
 2321 E 4th St. Ste C-128, Santa Ana CA 92705
 ofc: 714-816-4488
 fax: 714-782-6024
 cell: 714-697-8046
 linked-in: http://www.linkedin.com/in/andrewlombardi
 twitter: http://www.twitter.com/kinabalu
 
 Eco-Tip: Printing e-mails is usually a waste.
 
 
 This message is for the named person's use only. You must not, directly
 or
 indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are
 not the intended recipient.
 
 
 
 
 
 To our success!
 
 Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
 ANDREW LOMBARDI | and...@mysticcoders.com
 2321 E 4th St. Ste C-128, Santa Ana CA 92705
 ofc: 714-816-4488
 fax: 714-782-6024
 cell: 714-697-8046
 linked-in: http://www.linkedin.com/in/andrewlombardi
 twitter: http://www.twitter.com/kinabalu
 
 Eco-Tip: Printing e-mails is usually a waste.
 
 
 This message is for the named person's use only. You must not, directly or
 indirectly, use,
  disclose, distribute, print, or copy any part of this message if you are
 not the intended recipient.
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Wicket-Layout-tp27495561p27509045.html
Sent from the Wicket - User 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 Layout

2010-02-08 Thread Ernesto Reinaldo Barreiro
Hi Lionel,

I didn't know this existed:-( I look into the examples on

http://www.wiquery.org/wiquery-examples-1.0/

before deciding to implement it myself on

http://code.google.com/p/wijqgrid/source/browse/#svn/trunk/wijqgrid/src/main/java/com/jquery/layout

Best,

Ernesto

On Tue, Feb 9, 2010 at 2:16 AM, Lionel Armanet lionel.arma...@gmail.comwrote:


 Hello,

 You can find an example of a jQuery layout plugin (this one:
 http://layout.jquery-dev.net/) in the wiQuery project.

 If you go visit wiQuery's google code (http://code.google.com/p/wiquery),
 you'd find under our svn (in /svn/examples/wiquery-presentation-examples) a
 taskboard application with a border layout plugin.

 Hope this helps,


 kinabalu wrote:
 
  might look at some of the integrations with jquery or yui.  I believe
 both
  of those frameworks have something similar, and I'd guess the respective
  wicket projects working on integration have them, or could be added.
 
  i don't know enough about dojo though, sorry
 
  On Feb 7, 2010, at 10:09 PM, Josh Kamau wrote:
 
  Andrew ;
 
  How about the splitPanel ?  and the accordion?
 
  On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi
  and...@mysticcoders.comwrote:
 
  it's definitely an involved layout ... but nothing here looks out of
 the
  question.
 
  tabbedpanel's for Inbox | Contacts
  the tree from wicket-extensions for the folder viewer
  the datatable from wicket-extensions for the lsit of messages
  there are modal windows, all available
 
  so yes, wicket should be able to support this.  not sure about the dojo
  integration
 
  On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:
 
  Hi guys;
 
  I think wicket is the best java web framework out there. However , i
  really
  would like be to able to create a layout like this :
  http://demos.dojotoolkit.org/demos/mail/
 
  Does the current dojo integration support this. Is it possible to
  create
  such a layout with vanilla  wicket?
 
  regards.
 
  Josh
 
 
  To our success!
 
  Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
  ANDREW LOMBARDI | and...@mysticcoders.com
  2321 E 4th St. Ste C-128, Santa Ana CA 92705
  ofc: 714-816-4488
  fax: 714-782-6024
  cell: 714-697-8046
  linked-in: http://www.linkedin.com/in/andrewlombardi
  twitter: http://www.twitter.com/kinabalu
 
  Eco-Tip: Printing e-mails is usually a waste.
 
  
  This message is for the named person's use only. You must not, directly
  or
  indirectly, use,
  disclose, distribute, print, or copy any part of this message if you
 are
  not the intended recipient.
  
 
 
 
 
  To our success!
 
  Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
  ANDREW LOMBARDI | and...@mysticcoders.com
  2321 E 4th St. Ste C-128, Santa Ana CA 92705
  ofc: 714-816-4488
  fax: 714-782-6024
  cell: 714-697-8046
  linked-in: http://www.linkedin.com/in/andrewlombardi
  twitter: http://www.twitter.com/kinabalu
 
  Eco-Tip: Printing e-mails is usually a waste.
 
  
  This message is for the named person's use only. You must not, directly
 or
  indirectly, use,
   disclose, distribute, print, or copy any part of this message if you are
  not the intended recipient.
  
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Wicket-Layout-tp27495561p27509045.html
 Sent from the Wicket - User 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




Wicket Layout

2010-02-07 Thread Josh Kamau
Hi guys;

I think wicket is the best java web framework out there. However , i really
would like be to able to create a layout like this :
http://demos.dojotoolkit.org/demos/mail/

Does the current dojo integration support this. Is it possible to create
such a layout with vanilla  wicket?

regards.

Josh


Re: Wicket Layout

2010-02-07 Thread Andrew Lombardi
it's definitely an involved layout ... but nothing here looks out of the 
question.

tabbedpanel's for Inbox | Contacts
the tree from wicket-extensions for the folder viewer
the datatable from wicket-extensions for the lsit of messages
there are modal windows, all available

so yes, wicket should be able to support this.  not sure about the dojo 
integration 

On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:

 Hi guys;
 
 I think wicket is the best java web framework out there. However , i really
 would like be to able to create a layout like this :
 http://demos.dojotoolkit.org/demos/mail/
 
 Does the current dojo integration support this. Is it possible to create
 such a layout with vanilla  wicket?
 
 regards.
 
 Josh


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Wicket Layout

2010-02-07 Thread Josh Kamau
Andrew ;

How about the splitPanel ?  and the accordion?

On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi and...@mysticcoders.comwrote:

 it's definitely an involved layout ... but nothing here looks out of the
 question.

 tabbedpanel's for Inbox | Contacts
 the tree from wicket-extensions for the folder viewer
 the datatable from wicket-extensions for the lsit of messages
 there are modal windows, all available

 so yes, wicket should be able to support this.  not sure about the dojo
 integration

 On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:

  Hi guys;
 
  I think wicket is the best java web framework out there. However , i
 really
  would like be to able to create a layout like this :
  http://demos.dojotoolkit.org/demos/mail/
 
  Does the current dojo integration support this. Is it possible to create
  such a layout with vanilla  wicket?
 
  regards.
 
  Josh


 To our success!

 Mystic Coders, LLC | Code Magic | www.mysticcoders.com

 ANDREW LOMBARDI | and...@mysticcoders.com
 2321 E 4th St. Ste C-128, Santa Ana CA 92705
 ofc: 714-816-4488
 fax: 714-782-6024
 cell: 714-697-8046
 linked-in: http://www.linkedin.com/in/andrewlombardi
 twitter: http://www.twitter.com/kinabalu

 Eco-Tip: Printing e-mails is usually a waste.

 
 This message is for the named person's use only. You must not, directly or
 indirectly, use,
  disclose, distribute, print, or copy any part of this message if you are
 not the intended recipient.
 




Re: Wicket Layout

2010-02-07 Thread Andrew Lombardi
not sure about accordion or split panel, you can definitely split panels in 
various ways but to make them resizable would be more of a challenge.

might look at some of the integrations with jquery or yui.  I believe both of 
those frameworks have something similar, and I'd guess the respective wicket 
projects working on integration have them, or could be added.

i don't know enough about dojo though, sorry

On Feb 7, 2010, at 10:09 PM, Josh Kamau wrote:

 Andrew ;
 
 How about the splitPanel ?  and the accordion?
 
 On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi 
 and...@mysticcoders.comwrote:
 
 it's definitely an involved layout ... but nothing here looks out of the
 question.
 
 tabbedpanel's for Inbox | Contacts
 the tree from wicket-extensions for the folder viewer
 the datatable from wicket-extensions for the lsit of messages
 there are modal windows, all available
 
 so yes, wicket should be able to support this.  not sure about the dojo
 integration
 
 On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:
 
 Hi guys;
 
 I think wicket is the best java web framework out there. However , i
 really
 would like be to able to create a layout like this :
 http://demos.dojotoolkit.org/demos/mail/
 
 Does the current dojo integration support this. Is it possible to create
 such a layout with vanilla  wicket?
 
 regards.
 
 Josh
 
 
 To our success!
 
 Mystic Coders, LLC | Code Magic | www.mysticcoders.com
 
 ANDREW LOMBARDI | and...@mysticcoders.com
 2321 E 4th St. Ste C-128, Santa Ana CA 92705
 ofc: 714-816-4488
 fax: 714-782-6024
 cell: 714-697-8046
 linked-in: http://www.linkedin.com/in/andrewlombardi
 twitter: http://www.twitter.com/kinabalu
 
 Eco-Tip: Printing e-mails is usually a waste.
 
 
 This message is for the named person's use only. You must not, directly or
 indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are
 not the intended recipient.
 
 
 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.