reusing clientside code for desktop and mobile screens.

2010-08-10 Thread Josh Kamau
Hello team;

I am creating an application that will be accessible via desktop and via the
mobile devices. I understand i can have the same java code and different
html templates for mobile and desktop. My question is how to i do this. How
do i make separate templates that will be used when the device is mobile and
not a desktop? Or should i compile separate war files one with each set of
templates.

I hope my question is clear enough.

Kind regards
Josh.


Re: DataView/LoadableDetachableModel/onClick

2010-08-10 Thread Leszek Gawron

On 2010-08-09 18:18, Igor Vaynberg wrote:

it is not recommended to pass models between pages because if the
model is anonymous it can carry with it a reference to the other page
object and your session size will spike because your page also has a
reference to the previous page.

so no, it shouldnt be that.


that is why I use model classes which are nested private static and get 
the best out of both approaches.


Still I thought that you have been debating on smart serialization of 
anonymous models and making them safe to use. Am I wrong?




-igor

On Mon, Aug 9, 2010 at 12:19 AM, Leszek Gawronlgaw...@mobilebox.pl  wrote:

On 2010-08-09 05:32, Igor Vaynberg wrote:


  final Customer customer = item.getModelObject();
...   Link link = new Link(link) {
public void onClick()   {
setResponsePage(new CustomerPage(customer));

the line above holds on to the customer object, so the Link subclass
has a reference to customer. instead
...   Link link = new Link(link, item.getmodel()) {
public void onClick()   {

setResponsePage(new
CustomerPage((Customer)getmodelobject()));



--
Leszek Gawron http://www.mobilebox.pl/krs.html
CTO at MobileBox Ltd.

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



Re: Ajax-Panel Toggling Visibility

2010-08-10 Thread Nivedan Nadaraj
Hi

The List View is being refreshed now. I have made couple of iterations and
have pretty much lost track of how I went about. But, one of the things I
did was
add an anonymous class in my Search panel as ar LoadableDetachableModel and
in the load() I return a list from the CompoundPropertyModel instance that I
created as part of the Search form instance.

I guess this(LoadableDetachableModel)  was a requirement if we want the
search results panel to be repainted with 'new' data from model i.e update
the model the ListView uses?

I have a slightly different behavior now,  which is correct logically
speaking  but I think i should start a different thread.Also if is allowed
to upload a sample project for the experts to comment on the approach taken
and also thought it I can contribute it after some modification as a
tutorial or guide for newbies like me?

Your thoughts as always appreciate

Cheers


On Mon, Aug 9, 2010 at 11:24 AM, Nivedan Nadaraj shravann...@gmail.comwrote:

 Hi
 Thanks for the pointers.

 I have tried doing the following and yet to see the expected result (i.e
 re-render the list view with the new items)

 1 .Using an entirely new Model instance, and seting it using setModel
 2. When the Listview is created I have said setReuseItems(true)
 3. When the model has changed I execute the listview.removeAll() (prior to
 updating the model)// as per documentation  removeAll is to be called if
 model changed
 4. Since we say setModel() wouldn't that call modelChanged()? Anyways I
 have expliclty invoked modelChanged

 Bascially, I have got the ListView inside a panel.The panel is wrapped
 inside the WebmarkupContainer.

 thanks again
 Niv



 On Fri, Aug 6, 2010 at 6:57 PM, Wilhelmsen Tor Iver toriv...@arrive.nowrote:

  this.setModelObject(updatedModelInstance);

 Are you sure you do not mean setModel() instead of setModelObject() here?

 Also, look into whether you use setReuseItems(true) on the listview, then
 you probably want modelChanged() somewhere too.

 - Tor Iver

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





RE: any good ideas about how to add a confirm check before leaving a page?

2010-08-10 Thread Joe Hudson
Thank you very much for the response but my issue is not a simple as this

Say I have a page with navigation links and the page doesn't know about the 
navigation links because they are controlled by functionality provided in the 
superclass.  What I am trying to do is deal with the case where the user clicks 
a link of that type and intercept that event.  Does anyone have any advice?  
Thanks.

Joe

-Original Message-
From: vov [mailto:vov...@mail.ru] 
Sent: Thursday, August 05, 2010 9:43 AM
To: users@wicket.apache.org
Subject: Re: any good ideas about how to add a confirm check before leaving a 
page?


Hi,
Do not forget to use google before posting the question :)
http://wicketbyexample.com/wicket-ajax-confirmation-modal-window/
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/any-good-ideas-about-how-to-add-a-confirm-check-before-leaving-a-page-tp2314872p2314880.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
For additional commands, e-mail: users-h...@wicket.apache.org



Re: reusing clientside code for desktop and mobile screens.

2010-08-10 Thread Jeremy Thomerson
Use Wicket's style for the templates and you'll have two sets of html files,
like foopage.html and foopage_mobile.html.

Jeremy Thomerson
http://wickettraining.com
-- sent from my smart phone, so please excuse spelling, formatting, or
compiler errors

On Aug 10, 2010 2:10 AM, Josh Kamau joshnet2...@gmail.com wrote:

Hello team;

I am creating an application that will be accessible via desktop and via the
mobile devices. I understand i can have the same java code and different
html templates for mobile and desktop. My question is how to i do this. How
do i make separate templates that will be used when the device is mobile and
not a desktop? Or should i compile separate war files one with each set of
templates.

I hope my question is clear enough.

Kind regards
Josh.


Re: reusing clientside code for desktop and mobile screens.

2010-08-10 Thread Josh Kamau
Thanks Jeremy.
Am just wondering, how will the application know which template to pick?

regards
Joshua

On Tue, Aug 10, 2010 at 4:15 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 Use Wicket's style for the templates and you'll have two sets of html
 files,
 like foopage.html and foopage_mobile.html.

 Jeremy Thomerson
 http://wickettraining.com
 -- sent from my smart phone, so please excuse spelling, formatting, or
 compiler errors

 On Aug 10, 2010 2:10 AM, Josh Kamau joshnet2...@gmail.com wrote:

 Hello team;

 I am creating an application that will be accessible via desktop and via
 the
 mobile devices. I understand i can have the same java code and different
 html templates for mobile and desktop. My question is how to i do this. How
 do i make separate templates that will be used when the device is mobile
 and
 not a desktop? Or should i compile separate war files one with each set of
 templates.

 I hope my question is clear enough.

 Kind regards
 Josh.



Re: any good ideas about how to add a confirm check before leaving a page?

2010-08-10 Thread Leszek Gawron

On 2010-08-10 15:11, Joe Hudson wrote:

Thank you very much for the response but my issue is not a simple as this

Say I have a page with navigation links and the page doesn't know about the 
navigation links because they are controlled by functionality provided in the superclass. 
 What I am trying to do is deal with the case where the user clicks a link of that type 
and intercept that event.  Does anyone have any advice?  Thanks.


Do you need to intercept the event or just as user for permission to 
leave the page? If the latter:


https://cwiki.apache.org/WICKET/composite-behaviors.html



--
Leszek Gawron http://www.mobilebox.pl/krs.html
CTO at MobileBox Ltd.

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



Re: robots.txt

2010-08-10 Thread Per Lundholm
WicketApplication.mountBookmarkablePage(String path, ClassT page)?

/Per

On Mon, Aug 9, 2010 at 5:42 PM, Sefa Irken sefair...@gmail.com wrote:
 Thank you everyone, that works.

 But a bit of curiosity, is there a wicket or servlet way? More clearly, how
 can a singe file mounted to a single url ? like  /bob/static.html.


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



Re: any good ideas about how to add a confirm check before leaving a page?

2010-08-10 Thread Rodolfo Hansen
On Tue, 2010-08-10 at 16:08 +0200, Leszek Gawron wrote:

 On 2010-08-10 15:11, Joe Hudson wrote:
  Thank you very much for the response but my issue is not a simple as 
  this
 
  Say I have a page with navigation links and the page doesn't know about 
  the navigation links because they are controlled by functionality provided 
  in the superclass.  What I am trying to do is deal with the case where the 
  user clicks a link of that type and intercept that event.  Does anyone have 
  any advice?  Thanks.
 
 Do you need to intercept the event or just as user for permission to 
 leave the page? If the latter:
 
 https://cwiki.apache.org/WICKET/composite-behaviors.html


You can also find an implemented version of this behaviour here:

http://code.google.com/p/koodaripalvelut-wicket/

You would want the change detector project.



If your requirements are more conplex and you need to add a behavior to
that link specifically, (to do something on the server, you should just
add a AjaxEventBehaviour for that button, or simply do a
replace(Component) on your child page.


can not register

2010-08-10 Thread Dale Herrig
I have been trying to register for several days now,   double checking the
spam folder,   but still not get an response,  any idea.


jsr 286 inter-portlet communication

2010-08-10 Thread dgh1


I read in the PortletsInAction manning book that  for wicket  that
inter-portlet communications is not in 1.4.x but will be in 1.5.  Can
somebody please verify that the jsr 286 nter-portlet communications will be
in 1.5 and if not when might it be.

Thanks
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/jsr-286-inter-portlet-communication-tp2319874p2319874.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: reusing clientside code for desktop and mobile screens.

2010-08-10 Thread Jeremy Thomerson
Session.setStyle(mobile)

On Tue, Aug 10, 2010 at 8:55 AM, Josh Kamau joshnet2...@gmail.com wrote:

 Thanks Jeremy.
 Am just wondering, how will the application know which template to pick?

 regards
 Joshua

 On Tue, Aug 10, 2010 at 4:15 PM, Jeremy Thomerson 
 jer...@wickettraining.com
  wrote:

  Use Wicket's style for the templates and you'll have two sets of html
  files,
  like foopage.html and foopage_mobile.html.
 
  Jeremy Thomerson
  http://wickettraining.com
  -- sent from my smart phone, so please excuse spelling, formatting, or
  compiler errors
 
  On Aug 10, 2010 2:10 AM, Josh Kamau joshnet2...@gmail.com wrote:
 
  Hello team;
 
  I am creating an application that will be accessible via desktop and via
  the
  mobile devices. I understand i can have the same java code and different
  html templates for mobile and desktop. My question is how to i do this.
 How
  do i make separate templates that will be used when the device is mobile
  and
  not a desktop? Or should i compile separate war files one with each set
 of
  templates.
 
  I hope my question is clear enough.
 
  Kind regards
  Josh.
 




-- 
Jeremy Thomerson
http://www.wickettraining.com


Re: can not register

2010-08-10 Thread Jeremy Thomerson
On Tue, Aug 10, 2010 at 9:03 AM, Dale Herrig dale.her...@osi.com wrote:

 I have been trying to register for several days now,   double checking the
 spam folder,   but still not get an response,  any idea.


Are you receiving messages now?  I just moderated your messages through, and
set it so that all your future messages from this address should be
accepted.  But, that doesn't necessarily mean that you'll start receiving
the mailing list messages.

-- 
Jeremy Thomerson
http://www.wickettraining.com


scroll bar for palette

2010-08-10 Thread rasheed

hello,

is there a way to show scroll bar in wicket palette?
i've tried this css but doesn't work :

style table.palette td.pane select { width:400px !important; scroll: auto
!important; } /style

help plz
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/scroll-bar-for-palette-tp2320164p2320164.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: scroll bar for palette

2010-08-10 Thread Fatih Mehmet UCAR

You need to override the getCSS method. You may use the below code and css.


@Override
protected ResourceReference getCSS() {
 return new ResourceReference(Palette.class, RelistPalette.css);
}





table.palette {
border: 0;
}

table.palette td.header {
text-align: center;
font-weight: bold;
font-size: 9pt;
background-color: #eef7ff;
padding: 2px;
border-top: 1px solid #729ac2;
border-bottom: 1px solid #729ac2;
}

table.palette td.pane {
width: 200px;
text-align: center;
}

table.palette td.pane select {
width: 200px;
}

table.palette td.buttons {
text-align: center;
padding-left: 10px;
padding-right: 10px;
}

table.palette td.buttons button {
width: 40px;
height: 40px;
}
select::-moz-dummy-option {
visibility: hidden;
content: ;
}




- Original Message - 
From: rasheed rachid...@gmail.com

To: users@wicket.apache.org
Sent: Tuesday, August 10, 2010 6:38 PM
Subject: scroll bar for palette




hello,

is there a way to show scroll bar in wicket palette?
i've tried this css but doesn't work :

style table.palette td.pane select { width:400px !important; scroll: 
auto

!important; } /style

help plz
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/scroll-bar-for-palette-tp2320164p2320164.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
For additional commands, e-mail: users-h...@wicket.apache.org



Re: jsr 286 inter-portlet communication

2010-08-10 Thread Fernando Wermus
I think I read something in brix framework about this. I think is already
offered.

On Tue, Aug 10, 2010 at 11:28 AM, dgh1 dale.her...@osi.com wrote:



 I read in the PortletsInAction manning book that  for wicket  that
 inter-portlet communications is not in 1.4.x but will be in 1.5.  Can
 somebody please verify that the jsr 286 nter-portlet communications will be
 in 1.5 and if not when might it be.

 Thanks
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/jsr-286-inter-portlet-communication-tp2319874p2319874.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




-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus


Re: jsr 286 inter-portlet communication

2010-08-10 Thread Igor Vaynberg
currently 1.5 has no support for portlets. and it probably wont until
someone from the core team starts using portlets on the daily basis.

-igor

On Tue, Aug 10, 2010 at 7:28 AM, dgh1 dale.her...@osi.com wrote:


 I read in the PortletsInAction manning book that  for wicket  that
 inter-portlet communications is not in 1.4.x but will be in 1.5.  Can
 somebody please verify that the jsr 286 nter-portlet communications will be
 in 1.5 and if not when might it be.

 Thanks
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/jsr-286-inter-portlet-communication-tp2319874p2319874.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
For additional commands, e-mail: users-h...@wicket.apache.org



quartz job bean access to properties file

2010-08-10 Thread rmattler

I'm struggling with how to get access to the properties file from a quartz
job bean.  I'm creating a pdf report that will then be emailed.  I want to
get access to the properties file to tell me where to write the file along
with other information.  Here is my quartz job code. Thanks in advance.

package com.paybridgeusa.jobs;

public class SendEmail extends QuartzJobBean {

public void executeInternal(JobExecutionContext context) throws
JobExecutionException {

try {
// get all tpas
TPAUsersDAO usersDAO = (TPAUsersDAO)
getApplicationContext(context).getBean(TPAUsersDAO);
ListTpausers users = usersDAO.getAll();
for (Tpausers user : users) {
String emailAddressTo = user.getEmail();
}
} catch (Exception e) {
System.out.println(e.getLocalizedMessage());
}
}

private static final String APPLICATION_CONTEXT_KEY = 
applicationContext;

public ApplicationContext getApplicationContext(JobExecutionContext
context) throws Exception {
ApplicationContext applicationContext = null;
applicationContext = (ApplicationContext)
context.getScheduler().getContext().get(APPLICATION_CONTEXT_KEY);
if (applicationContext == null) {
throw new JobExecutionException(No application context 
available in
scheduler context for key \ + APPLICATION_CONTEXT_KEY + \);
}
return applicationContext;
}

}


application context xml

!-- QUARTZ BEANS --
!-- SEND TERMINATION EMAILS JOB --
bean name=sendTermsEmail
class=org.springframework.scheduling.quartz.JobDetailBean
property name=jobClass
value=com.paybridgeusa.jobs.SendTermsEmail/
property name=name value=sendTermsEmail/
/bean 
bean id=cronTriggerSendTermsEmail
class=org.springframework.scheduling.quartz.CronTriggerBean
property name=jobDetail ref=sendTermsEmail/
!-- run every 1 minutes --
property name=cronExpression value=0 0/1 * * * ?/
/bean
!-- END SEND TERMINATION EMAILS JOB --

bean 
class=org.springframework.scheduling.quartz.SchedulerFactoryBean
property name=triggers
list  
ref bean=cronTriggerSendTermsEmail /
/list 
/property
property name=applicationContextSchedulerContextKey
   valueapplicationContext/value
/property 
/bean 
!-- END QUARTZ BEANS --
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/quartz-job-bean-access-to-properties-file-tp2320367p2320367.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: jsr 286 inter-portlet communication

2010-08-10 Thread dgh1

Thanks Igor for your response. I thought I had read that wicket 1.4.x was JSR
286 complaint but not sure how that is possible since JSR 286 does call out
inter-portlet communications.   Did i  mis-read the documentation.

Thanks again for your response
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/jsr-286-inter-portlet-communication-tp2319874p2320380.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: jsr 286 inter-portlet communication

2010-08-10 Thread Igor Vaynberg
not sure. i dont work with portlets so have no idea.

-igor

On Tue, Aug 10, 2010 at 1:07 PM, dgh1 dale.her...@osi.com wrote:

 Thanks Igor for your response. I thought I had read that wicket 1.4.x was JSR
 286 complaint but not sure how that is possible since JSR 286 does call out
 inter-portlet communications.   Did i  mis-read the documentation.

 Thanks again for your response
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/jsr-286-inter-portlet-communication-tp2319874p2320380.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
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Loading Wicket resources from a background thread

2010-08-10 Thread rmattler

Wow just asked this same question.  I didn't see you post (sorry list). 
Please let me know if you figure it out.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Loading-Wicket-resources-from-a-background-thread-tp2319046p2320388.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: DataView/LoadableDetachableModel/onClick

2010-08-10 Thread Igor Vaynberg
there are provisions for serialization, but it is not perfect. eg if a
model alters a property of the page to which it carries the reference
those changes will be lost because what will be serialized is just a
reference to page x.

-igor

On Tue, Aug 10, 2010 at 12:14 AM, Leszek Gawron lgaw...@mobilebox.pl wrote:
 On 2010-08-09 18:18, Igor Vaynberg wrote:

 it is not recommended to pass models between pages because if the
 model is anonymous it can carry with it a reference to the other page
 object and your session size will spike because your page also has a
 reference to the previous page.

 so no, it shouldnt be that.

 that is why I use model classes which are nested private static and get the
 best out of both approaches.

 Still I thought that you have been debating on smart serialization of
 anonymous models and making them safe to use. Am I wrong?


 -igor

 On Mon, Aug 9, 2010 at 12:19 AM, Leszek Gawronlgaw...@mobilebox.pl
  wrote:

 On 2010-08-09 05:32, Igor Vaynberg wrote:

  final Customer customer = item.getModelObject();
 ...               Link link = new Link(link) {
                    public void onClick()                       {
                        setResponsePage(new CustomerPage(customer));

 the line above holds on to the customer object, so the Link subclass
 has a reference to customer. instead
 ...               Link link = new Link(link, item.getmodel()) {
                    public void onClick()                       {

                        setResponsePage(new
 CustomerPage((Customer)getmodelobject()));


 --
 Leszek Gawron                         http://www.mobilebox.pl/krs.html
 CTO at MobileBox Ltd.

 -
 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



[wicketstuff-core] Notice of java5/java6 restructuring ahead of 1.4.10 release

2010-08-10 Thread Michael O'Cleirigh

Hello,

With wicket 1.4.10 almost here I am taking steps to get wicketstuff-core 
trunk to compile again.


I have added profiles into the wicketstuff-core/pom.xml to allow 
building some modules using java5 and others using java6 but for release 
purposes I need to change the structure to something like this:


wicketstuff-core/jdk-1.5-parent -- contains modules requiring java 5
wicketstuff-core/jdk-1.6-parent -- contains modules requiring java 6

If you are a wicketstuff developer this switch in location might break 
your locally checked out code.  I would recommend creating an 
archive/backup before your next update in case subversion decides to 
delete all your local changes.


I will reply to this message with the appropriate details when the 
changes are done hopefully by the end of tomorrow (Wednesday August 11)


Regards,

Mike


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



Replacing Contents of ModalWindow

2010-08-10 Thread Brad Grier
We allow users to define custom triggers on a form submit (an ajax submit). 
These triggers can send an email or take the user to another form/panel 
(basically a panel-swap via Ajax). This panel-swap works fine until 
circumstances land the form in a ModalWindow. I can't get the ModalWindow to 
replace it's contents once it's showing. I've tried setContent() and replace(). 
I've tried closing the window, setting the content and opening it. Nothing 
works. And yes, I do have the ModalWindow embedded in another form per the 
javadoc. Something is odd because I also have a custom Link class that swaps 
out its parent panel via ajax and those links work fine in a ModelWindow. Does 
anyone have any insight? Is there something about form processing that prevents 
this from working?

Thanks!

Re: scroll bar for palette

2010-08-10 Thread rasheed

hello,
thanks for your answer, but this solution doesn't work and horizontal scroll
bar still not appears even if the palette contains a large elements.

thx
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/scroll-bar-for-palette-tp2320164p2320726.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: [wicketstuff-core] Notice of java5/java6 restructuring ahead of 1.4.10 release

2010-08-10 Thread Michael O'Cleirigh

Hello,

I have committed the changes related to moving the modules into seperate 
directories. Right now the hudson build server is not building snapshots 
correctly but I have just run through deploying them manually.  I also 
have to fine tune how the maven compiler plugin is configured as right 
now it requires a -Djava5home to point at the $JAVA_5_HOME for 
jdk-1.5-parent and -Djava6home to point at the $JAVA_6_HOME for 
jdk-1.6-parent but from what I can tell it should be possible to only 
define the $JAVA_HOME variable externally to maven.


As javaee-inject-parent had a dependency on a java 6 library it is the 
first project moved into the jdk-1.6-parent directory.


These were the other failing modules that will probably be moved to 
java6 for the 1.4.10 release:


/home/wicket/.hudson/jobs/Wicket Stuff Core 
Java5/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdAbstractBehavior.java:[15,-1]
 cannot access org.cometd.server.CometdServlet
bad class file: 
/home/wicket/.m2/repository/org/cometd/java/cometd-java-server/2.0.0.RC2/cometd-java-server-2.0.0.RC2.jar(org/cometd/server/CometdServlet.class)
class file has wrong version 50.0, should be 49.0


org.apache.maven.BuildFailureException: Compilation failure
/home/wicket/.hudson/jobs/Wicket Stuff Core 
Java5/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdAbstractBehavior.java:[15,-1]
 cannot access org.cometd.server.CometdServlet
bad class file: 
/home/wicket/.m2/repository/org/cometd/java/cometd-java-server/2.0.0.RC2/cometd-java-server-2.0.0.RC2.jar(org/cometd/server/CometdServlet.class)
class file has wrong version 50.0, should be 49.0


at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at 
org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:165)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:165)
at 
hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:708)
at 
hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:652)
at hudson.remoting.UserRequest.perform(UserRequest.java:114)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:270)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
failure
/home/wicket/.hudson/jobs/Wicket Stuff Core 
Java5/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdAbstractBehavior.java:[15,-1]
 cannot access org.cometd.server.CometdServlet
bad class file: 
/home/wicket/.m2/repository/org/cometd/java/cometd-java-server/2.0.0.RC2/cometd-java-server-2.0.0.RC2.jar(org/cometd/server/CometdServlet.class)
class file has wrong version 50.0, should be 49.0


at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at