Re: Offline capable web application

2010-02-19 Thread Hauke Ingmar Schmidt
Hej,

2010/2/19 Frank Silbermann frank.silberm...@fedex.com:
 Any application that executes _offline_ is not a _web_ application --
 unless the system consists of a stand-alone application containing a web
 server that runs on the client (e.g. via jetty) so that both client and
 server are running on the same box.

That is a very strict definition that doesn't include hybrid
applications using Google Gears or a combination of HTML5 and
JavaScript.
I think the definition is too strict.

 Theoretically, a Wicket application that runs on a jetty server on the
 client could synchronize itself, when possible, via non-Wicket web
 services that run on the server.

 But why go that route?  I'd build just an ordinary stand-alone client
 application, e.g. using Java WebStart and Swing, that could optionally
 connect to the server.  There's no need for Wicket on the server, since
 the client would provide the user interface.  (The client would have to
 do that, if it were to be able to run stand-alone.)

Building an application two times with different technology does not
feel like a very efficient way. But I would guess that Wicket's server
side state approach works contrary to the technologies used for
building offline web applications.

Bye
Hauke Ingmar

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



Re: jdbc

2010-02-16 Thread Hauke Ingmar Schmidt
Hej,

2010/2/11 Giambalvo, Christian christian.giamba...@excelsisnet.com:
 http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html

Unrelated to the original posters question, but: The sort method used
in this sample does not work correctly. It gets a sublist and sorts
the sublist instead of sorting the base data and getting the sublist
from the sorted data. It doesn't show in the sample because no paging
is used and the base data is already sorted.

Hej då
Hauke Ingmar

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



Re: jdbc

2010-02-16 Thread Hauke Ingmar Schmidt
Hej,

2010/2/16 Hauke Ingmar Schmidt haukeing...@gmail.com:
 2010/2/11 Giambalvo, Christian christian.giamba...@excelsisnet.com:
 http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html

 Unrelated to the original posters question, but: The sort method used
 in this sample does not work correctly. It gets a sublist and sorts
 the sublist instead of sorting the base data and getting the sublist
 from the sorted data. It doesn't show in the sample because no paging
 is used and the base data is already sorted.

Fixed. And I generified the example.

Hej då
Hauke Ingmar

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



Re: Should Duration be deprecated?

2010-01-26 Thread Hauke Ingmar Schmidt
Hej,

2010/1/26 Objelean Alex alex.objel...@gmail.com:
 I was wondering why would wicket need Duration class as long as java
 provides a similar TimeUnit. Maybe it would be a good idea to deprecate this
 class  encourage usage of TimeUnit?

If I am correct TimeUnit doesn't store a duration, it is used for
informing about the interpretation of a value and helps converting it.

Hej då
Hauke Ingmar

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



Re: wicket bench in eclipse

2010-01-25 Thread Hauke Ingmar Schmidt
Hej,

2010/1/21 Lionel Port lio...@portconnection.com:
 Not strictly a wicket question, I know.

For me tools are an important part of a framework's ecosystem.

 Does anyone have wicket bench
 working in Galileo or recent version of eclipse or know of a good
 plugin I should be using?. My project has a maven structure, not sure
 if thats why it doesn't work.

Yes, it works quite well for me. Quite well means that there are
some bugs that lead me to open a page in the Wicket editor and the
Java editor parallel quite often. I didn't have any installation or
project setup problems other than not to end the context root with a
slash and not to begin css files with one.

But it looks like this Eclipse plugin is not actively developed? Is it
time to buy an IDEA license where there seems to be a quite nice
toolset for Wicket?

Hej då
Hauke Ingmar

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



Re: wicket bench in eclipse

2010-01-25 Thread Hauke Ingmar Schmidt
Hej,

2010/1/25 Peter Karich peat...@yahoo.de:
 Is it
 time to buy an IDEA license where there seems to be a quite nice
 toolset for Wicket?

 I downloaded the open source version of IntelliJ and the wicket plugin seems
 to work.

Yes, but the free version of IDEA is lacking too much in other fields:
http://www.jetbrains.com/idea/features/editions_comparison_matrix.html
.

 There is also a wicket plugin for NetBeans, which is working.

Well, yes, but then it's Netbeans...

 But a pure maven project wihtout a plugin isn't that different.
 Or am I missing an important feature of the eclipse plugin?

Hm... Maven and the different Wicket IDE plugins don't intersect in
functionality. The plugins all try to give a little help when working
with Wicket components and pages, e.g. showing the wicket:ids when
working with the Java code to prevent hierarchy mismatch or offering
property model navigation as this is (still) string based.

Eclipse plugin features:
http://www.laughingpanda.org/~inhuman/wicket-bench/docs/features-0.5.html
Netbeans: https://nbwicketsupport.dev.java.net/ (well, that page needs
a little make over...)
IDEA: http://code.google.com/p/wicketforge/wiki/PluginFeatures

Hej då
Hauke Ingmar

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



Re: Refresh resources in deployment mode

2010-01-04 Thread Hauke Ingmar Schmidt
Hej,
what about activating JMX and clearing the cache with it's help?
Bye
Hauke Ingmar

2009/12/10 Martijn Dashorst martijn.dasho...@gmail.com:

 Set the resource poll frequency to something other than null in your
 init() method

 On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski
 witold-mail...@cts-media.eu wrote:

 In deployment mode, is it possible to refresh resources like html- or
 property-files without reloading the context or server? For example if you
 have a simple typo which you want to fix.

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



Re: Why feedback panel won't work

2009-12-28 Thread Hauke Ingmar Schmidt
Hej,

2009/12/28 uud ashr uuda...@gmail.com:

 Won't work using:
 setResponsePage(MyAnotherPage.class);

 But fine when use constructor:
 setResponsePage(new MyAnotherPage());

At work we had a similar case where an object in the session, that was
explicitely set before calling, wasn't set in the called page when the
class variant was used but was set when the constructor variant was
used.

Bye
Hauke Ingmar

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



Re: Feedbackpanel for exact one Error Level

2009-10-12 Thread Hauke Ingmar Schmidt
Hej,

 I know how to add a Feedbackpanel and how to filter it by specific forms
 a.s.o.
 But I want three feedbackpanels. One for warn, one for error and one
 for info.

 I didn't find a implementation of IFeedbackMessageFilter which does that.
 (Or I don't know how it could do that)

 Is there a way to do that?

You need to set an IFeedbackMessageFilter on the Feedback panel, e.g.:

FeedbackPanel fbp = new FeedbackPanel(feedback, new
IFeedbackMessageFilter() {
public boolean accept(FeedbackMessage message) {
return 
message.getLevel()==FeedbackMessage.ERROR;
}
});

Bye
Hauke Ingmar

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