Hi,
I'm one of the maintainer of ops4j-pax-wicket. Atm, I'm trying to
migrate pax-wicket to wicket-2.0 that can be found at
(https://scm.ops4j.org/repos/ops4j/branches/pax/wicket-2.0).
One of the problem that I found during migration is the fact that
WicketFilter uses reflection to instantiate
I find echo2 have more components and more ajax support. and also support html
layout. so what's the advantage of wicket ? or some one can tell me the
disadvantage of echo?
-
Take Surveys. Earn Cash. Influence the Future of
We will remove the warnings about the deprication when we will release 1.3
/2.0
for now we want to point people as much as possible to the wicket filter.
The wicket servlet will still be there.
So you just want a factory method in wicket servlet where you can make the
wicket filter?
can you add
You don't need to remove the line. The bug is very difficult to
reproduce, I can't even describe how to trigger it.
The default behavior in newer version will be setCookieName(null), so
the window position will not be persisted. Unless you manually call
setCookieName(someCookieName);
-Matej
Hi,
Done.
https://issues.apache.org/jira/browse/WICKET-245
Regards,
Edward Yakop
On 1/30/07, Johan Compagner [EMAIL PROTECTED] wrote:
We will remove the warnings about the deprication when we will release
1.3/2.0
for now we want to point people as much as possible to the wicket filter.
The
My boss like me to add some script to detect browser dimensions and
set better height / width to modalwindow, there is some site telling
me how to get the dimensions. The only way I know is adding hidden
fields to webpages and update those fields using javascript.
However, if something changed at
the biggest differences afaik are:
echo2 is ajax only - ie your site doesnt work without javascript
echo2 uses swing-like layout managers not html
-igor
On 1/30/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
I find echo2 have more components and more ajax support. and also support
html
I would suggest that the Button be set to disabled mode onClick just to
discourage a user from clicking again and a long transaction situation.
?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's
i dont think that null pointer is fixed for 1.2.x
at least i didn't do that check.
Maybe we should?
johan
On 1/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
try the code from the latest 1.2.x branch
-igor
On 1/29/07, Luis Pablo Gallo [EMAIL PROTECTED] wrote:
I tried in both modes, and
ahh you already checked in the same thing i guess :)
On 1/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
looks like the npe was hiding the real exception, i just checked in a
change that should fix that. update from svn wicket-1.2.x branch and
deploy that, then look for the exception in the log
Scott Swank wrote:
The stylesheet is not very simple though. -- Yup, that's that stage
we're
at. :)
It's much easier to change modal window markup by overriding javascript
function Wicket.Window.getMarkup.
--
Andrew Klochkov
Hi!
I'm working on a page that provides ajax behavior but also supports
simple request-response without javascript.
I realized I need a component that provides the behavior of both
AjaxFallbackLink and AjaxSubmitLink at the same time. On one hand I need
it to be a submit link, because on click
I'm interested in this too, btw. I was looking into Groovy before but
stopped when it appeared that 1.0 wouldn't support annotations well
enough for Hibernate Annotations. Then I thought about stealing Grails'
ActiveRecord clone, but I don't really like ActiveRecord any better than
HA so I
Very kind, thank you.
On 1/29/07, Jonathan Locke [EMAIL PROTECTED] wrote:
Sounds very smart. I firmly believe that Wicket can peform and scale as
well as being productive and maintainable. Let me know if you run into a
need for consulting help in this arena (or any other).
Scott Swank
Interesting, I'll dig into that a bit. (Or more accurately, I'll pass this
on to the fellow who's actually working on the ModalWindow DatePicker css
for our demo).
Cheers,
Scott
On 1/30/07, Andrew Klochkov [EMAIL PROTECTED] wrote:
Scott Swank wrote:
The stylesheet is not very simple
you say you want it to work even if javascript is disabled, but then you
cannot submit the form using a link! so you have to user a button to submit
it, and that is easy then, just look at the sourcecode from AjaxFallbackLink
and add the ajax behavior to a button instead of a link.
-igor
On
I went back to this last night and it just worked the way it should have in
the first place without any changes. I imagine that we had something mucked
up in our app's resource stream locator.
Thanks again.
On 1/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
ah, so the image doesnt even
also compare the different styles of custom component creation:
here is a tutorial for echo2
http://wiki.nextapp.com/echowiki/WritingYourOwnComponentPeersPart1
another point to consider is that development is much easier with
echostudio, but it costs money.
-igor
On 1/30/07, tooy li(Gmail)
FYI,
Eelco
-- Forwarded message --
From: Edward Yakop [EMAIL PROTECTED]
Date: Jan 30, 2007 12:37 AM
Subject: [pax-wicket] Support for wicket 2.0
To: General OPS4J general@lists.ops4j.org
Hi,
Pax-wicket now supports wicket-2.0. The code is lightly tested via
pax-wicket-example
wicket does this for you
pasted from eelco's reply to another thread ===
Just FYI, in case you need to know whether your client supports
JavaScript, can be determined with:
((WebClientInfo)getSession().getClientInfo()).getProperties().isJavaEnabled()
which works (best) when you do:
Yep. You can take a look at wicket.examples.hellobrowser to see it in
action. You can customize this by overriding
wicket.RequestCycle#newClientInfo() (which would obviously have to be
in a custom request cycle). Take a look at
wicket.markup.html.pages.BrowserInfoPage to see how it all works in
Hi, I need to change the number of column in a table upon the client page size.
How do I get the size of the browser page? Consider that I receive a
request from a simple search form and I have to compute the number of
column after that request.
Is there a wicket way to get the size of the page?
pasted from eelco's reply to another thread ===
Just FYI, in case you need to know whether your client supports
JavaScript, can be determined with:
((WebClientInfo)getSession().getClientInfo()).getProperties().isJavaEnabled()
which works (best) when you do:
If you add a component as an Ajax target, but you have not called
setOutputMarkupId(true) on the component then the ajax call will never find
its target and will silently fail. Should this raise a runtime exception or
is there a use case where we would want the Ajax call to silently fail?
Thank
The Ajax debug window tells you that it couldn't find a component with the
relevant id. It's available in development mode.
On 1/30/07, Scott Swank [EMAIL PROTECTED] wrote:
If you add a component as an Ajax target, but you have not called
setOutputMarkupId(true) on the component then the ajax
Good point, thank you. Still, should it raise a Java exception or are there
cases where one would want it to fail?
On 1/30/07, Nick Heudecker [EMAIL PROTECTED] wrote:
The Ajax debug window tells you that it couldn't find a component with the
relevant id. It's available in development mode.
it does in 1.3 and 2.0
-igor
On 1/30/07, Scott Swank [EMAIL PROTECTED] wrote:
Good point, thank you. Still, should it raise a Java exception or are
there cases where one would want it to fail?
On 1/30/07, Nick Heudecker [EMAIL PROTECTED] wrote:
The Ajax debug window tells you that it
I am going ahead with Groovy. ( It's seem to be a love / hate thing with
Groovy, but that only proves that it has a strong 'personality' ). I'll
keep the list posted.
(
Off-topic: this is a blog article about Groovy and Hibernate:
Sweet.
On 1/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
it does in 1.3 and 2.0
-igor
On 1/30/07, Scott Swank [EMAIL PROTECTED] wrote:
Good point, thank you. Still, should it raise a Java exception or are
there cases where one would want it to fail?
On 1/30/07, Nick Heudecker [EMAIL
I have tried the suggestion, and am still having trouble.
In my base page component, I have the following code at the end of the
constructor:
setVersioned(false);
In addition, I have the following code in my extension of
WebApplication.init:
hmm
getSessionSettings().setPageMapEvictionStrategy(new
IPageMapEvictionStrategy() {
public void evict(IPageMap pageMap) {
syncrhonized (Session.get()) {pageMap.clear();}
}
}
-igor
On 1/30/07, dukejansen [EMAIL PROTECTED] wrote:
I have tried the suggestion, and am still having trouble.
thanks for quick reply.
With this method I receive just the desktop window size and bit depth
(i.e. 1280*800*24 for me) but what I need is the size of the browser
window.
On 1/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
pasted from eelco's reply to another thread ===
Just FYI, in
to be complete, this are the info i receive with java 1.5 under ubuntu
linux, running under maven 2 jetty plugin (6.1) and with firefox
2.0.0.1
On 1/30/07, Daniele Dellafiore [EMAIL PROTECTED] wrote:
thanks for quick reply.
With this method I receive just the desktop window size and bit depth
hmm thought we already had that, guess we need to add it
feel free to file a jira issue for this, and def feel free to create a patch
:)
-igor
On 1/30/07, Daniele Dellafiore [EMAIL PROTECTED] wrote:
thanks for quick reply.
With this method I receive just the desktop window size and bit
I will be very happy to do that but I need some help cause I am really
a wicket newbie.
I am watching WebRequestCycle.newClientInfo() and WebClientInfo.init()
that, I suppose, get all the info we should need.
First, the BROWSER_WAS_POLLED_KEY metadata key is never used in the
#init() and so far
Hi,
my scenario is as follows:
I have a registration form (non ajax) and want to add a link that checks the
availability of the username
(i.e., if it has already been taken) via ajax.
So I need a way to get the value of a form field without submitting the
form. Ideally the value of the form
see ajaxformcomponentupdatingbehavior
-igor
On 1/30/07, Conny Kühne [EMAIL PROTECTED] wrote:
Hi,
my scenario is as follows:
I have a registration form (non ajax) and want to add a link that checks
the availability of the username
(i.e., if it has already been taken) via ajax.
So I need a
I added the functionality, see: http://issues.apache.org/jira/browse/WICKET-248
You can use the example 'hellobrowser' from wicket-examples to track
what is going on and test whether it works for you.
Eelco
On 1/30/07, Daniele Dellafiore [EMAIL PROTECTED] wrote:
I will be very happy to do
Note, btw, that this polling is only done the first time you request
for the client properties object. You should use ClientProperties with
care, and if you really need to depend on the client window dimensions
(think twice about whether that is what you really want as well), you
may consider
Hi there,
Ive been combing DataView with AjaxEditableLabel to make a dataview
editable. This seems to have problems when the dataview has lotsa
lines, like in a spreadsheet - creating too many (X x Y) components.
Has someone created a spreadsheet-like wicket component that doesn't
have that
great!
of course the change is only in the trunk. I see on jira that you
marked it for 1.3 as well as for 2.0.
As far as i know, trunk will go in 2.0. There will be a 1.3?
My options right now are to build trunk and try to port my app from
1.2 to 2.0. But if exists a 1.3 branch I guess it should
https://svn.apache.org/repos/asf/incubator/wicket/branches/wicket-1.x
i believe
-igor
On 1/30/07, Daniele Dellafiore [EMAIL PROTECTED] wrote:
great!
of course the change is only in the trunk. I see on jira that you
marked it for 1.3 as well as for 2.0.
As far as i know, trunk will go in
of course the change is only in the trunk.
Trunk and wicket-1.x.
I see on jira that you
marked it for 1.3 as well as for 2.0.
As far as i know, trunk will go in 2.0. There will be a 1.3?
Yeah, 1.3 is actually the version that is most heavily under
development right now. It is basically 1.2
I can get the SCREEN_HEIGHT value using
http://wicket.sourceforge.net/apidocs/wicket/protocol/http/ClientProperties.html#SCREEN_HEIGHT
but this is kind of hard to work with in my case as I need to guess
the height of the browsing area of the browser.
Can I get the body element height? I found
Hi,
I have a small bug to fix for ServletWebRequest#getRelativeURL(). For
some odd reason, for resources (images, css etcs) to be displayed for
Felix http service, ServletWebRequest#getServletPath() and
#getContextPath() must be swapped. Due to getRelativeURL() uses
this has been added in svn today
see the wicket-1.x branch
-igor
On 1/30/07, Carfield Yim [EMAIL PROTECTED] wrote:
I can get the SCREEN_HEIGHT value using
http://wicket.sourceforge.net/apidocs/wicket/protocol/http/ClientProperties.html#SCREEN_HEIGHT
but this is kind of hard to work with in
Thanks a lot, however for now I use the following code to get the screen height:
final ClientProperties prop =
((WebClientInfo)modal.getSession().getClientInfo()).getProperties();
final int screenHeight =
prop.getInt(ClientProperties.SCREEN_HEIGHT, 800);
However it just return 800 for
It's probably null, in which case it returns 800 (the second parameter
you provide which is the default value in case the property wasn't
found.
You probably still have to do:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
in your application's init method.
Also, note the
On 1/31/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
It's probably null, in which case it returns 800 (the second parameter
you provide which is the default value in case the property wasn't
found.
You probably still have to do:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
You probably still have to do:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
in your application's init method.
Maybe a little explanation wouldn't hurt here :)
By default, IRequestCycleSettings gatherExtendedBrowserInfo setting is
false, resulting in the ClientProperties
Hello,
Md Mozammel Haque (mozammel) is building his online friends network on :
http://en.facebox.com
Accept this friendship request and join Facebox!
http://en.facebox.com/go/register/id=866609107i=t71
Create a personal Facebox web page with
- Blog
- Photo album
- Guestbook
- Friends network
You probably still have to do:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
in your application's init method.
I've do that already. However, I've my custom IRequestCycleFactory,
may be I need to do something special for my IRequestCycleFactory?
Nope, unless you
52 matches
Mail list logo