Hi-
you might want to have a look at
Application.getPageSettings().getMaxPageVersions() and the corresponding API
docs.
This is also the place to change the number of versions.
-markus
Zitat von oliverw [EMAIL PROTECTED]:
As far as I have understood the workings, Wicket maintains one
As far as I have understood the workings, Wicket maintains one PageMap per
Browser Windows in the Session Store and a number of Page Versions per
PageMap for every architectural change of said page. The current version of
the page resides in memory while oder versions will be serialized to disk
Thanks Markus. Unfortunately this won't compile with 1.3. I've checked the
IPageSettings interface and there's no such methods. Its method
getVersionPagesByDefault() which returns a boolean is as close as it gets.
Other suggestions? :)
Markus Strickler wrote:
Hi-
you might want to have a
When you don't let your sessions expire or have a very long session time
out, you might run into disk space problems, though the moment you have 1TB
of disk space allocated for all your sessions, I suppose you can afford to
buy more disk space.
Martijn
On 2/5/08, oliverw [EMAIL PROTECTED] wrote:
Actually, I currently have a client who thinks that good looking URLs
are very important.
Then again, he is no average joe either.
Erik.
Martijn Dashorst wrote:
The average joe doesn't look at the URL... only developers do
Martijn
see:
/**
* Creates a new [EMAIL PROTECTED] DiskPageStore} instance.
*
* [EMAIL PROTECTED] maxSizePerPagemap
* the maximum size of pagemap file (in bytes)
* [EMAIL PROTECTED] maxSizePerSession
* the maximum size of session (in bytes)
* [EMAIL PROTECTED] fileChannelPoolCapacity
* the
the question is what about the users of that client.
I think nice looking urls is greatly exaggerated normal people look at the
browser contents instead of the url
How many times do i look at the url when i am browsing websites. I think
never.
Bookmarkable is another issue that should work for
Thanks Johan. So if the the maximum number of generations or storage space is
exceeded - whichever comes first - older versions get discarded and the user
will not be able to navigate to those versions using the back button.
Johan Compagner wrote:
see:
/**
* Creates a new [EMAIL
yes old pages will be overwritten by new onces
johan
On Feb 5, 2008 10:43 AM, oliverw [EMAIL PROTECTED] wrote:
Thanks Johan. So if the the maximum number of generations or storage space
is
exceeded - whichever comes first - older versions get discarded and the
user
will not be able to
Uwe Schäfer schrieb:
Root cause:
java.lang.NullPointerException: type
[...]
at com.google.inject.TypeLiteral.get(TypeLiteral.java:169)
at
org.apache.wicket.guice.GuiceProxyTargetLocator.locateProxyTarget
(GuiceProxyTargetLocator.java:61)
Anyone? A little diggin shows that the information
Thanks very much.
but it is not just like it was after it has been created is it? it is
currently holding a value from the request. anywho:
secondchoiceSelected=null;
secondchoicedropdownchoice.clearInput();
and you will have what you want.
-igor
On Feb 4, 2008 7:36 PM, [EMAIL PROTECTED]
hi, johan
Maybe i misunderstood this sentence so just the parent page with the
report link
that why i moved the report modal component to the child page.
Can ask one thing here? about the report thread, i need to implement the
Runnable for the ReportPage or ReportForm ? is that any different
Hi!
We are trying to build our application from loosely coupled panels,
sharing models here and there as needed.
It works wounderfully 90% of the time: as long as the panels contain
wicket components only, and no further UI logic. One panel can update
a model, and the data is reflected in the
no don't touch wicket pages/components in different thread
Just make a normal threadpool wilt a normal runnable that gets your
information from that report
so the page can use that to construct itself after that runnable is done and
informed you about it
generate all the back end data in a thread
This worked great but why is a separate call needed?
the Rerendering should find out the model value is null
and do the same as it did for the first rendering.
Is it due to the Javascript effect?
The second request would set the value to the first rendering
but after that, the my call back resets
Just a yes or no would be sufficient. Anyone? :P
oliverw wrote:
Is a construct like this supported:
lt;wicket:linkgt;lt;a href=quot;Page1.htmlquot;gt;lt;img
src=quot;/img/Page1.gifquot; alt=quot;Pagequot;
/gt;lt;/agt;lt;/wicket:linkgt;
I'm asking because I'm getting really strange
Hi Johan,
I agree. Still, bookmarkability (also a requested feature) is exactly
the reason for going along with having nice URLs for every page, even
after an AJAX update. I have a prototype that uses Realysimplehistory to
allow a page to be bookmarkable after an AJAX update. Not sure yet how
On 2/5/08, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi Johan,
Anyways, the fact remains that nice URLs can be important for some
Wicket projects, despite what average Joes may look at.
A big me too to that!
We have a specific (and I beleive wise) requirement for bookmarkable,
human readable
If you use HybridUrlCodingStrategy the page is bookmarkable after ajax
request. It can be recreated, but without the changes that ajax
request made to it. But this is not just ajax request, you have same
problems when using regular request. Wicket doesn't allow you to
reflect fine grained changes
Look in the source?
Thats my best bet... Looking a this it does not look that way:
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
http://wicket.apache.org/examplenavomatic.html
oliverw wrote:
Just a yes or no would be sufficient. Anyone? :P
oliverw wrote:
Is a construct like
Yes I've seen that too but I wanted to make sure that I did not overlook
something.
Nino.Martinez wrote:
Look in the source?
Thats my best bet... Looking a this it does not look that way:
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
Wicket doesn't allow you to reflect fine grained changes to page state
in URL. That's a design decision. The page state gets too complicated
to be encoded in URL.
Yeah, well that is also not really possible. Only the application has
enough knowledge of the application to put stuff in the URL.
The behavior is unchanged whether I deploy my app as a WAR or as an exploded
archive. I have tried this in WebLogic 10, Tomcat 5.5 Tomcat 6.
Yes, cookies are enabled.
Here is the code:
Home.html
lt;a href=# wicket:id=link_to_page_twoPage Twolt;/a
nbsp;
lt;a href=#
Hi,
i'am tring to create a link who delegate the call to another link
i've tried somthing like this:
linkAssignment = new AjaxLabelledLink(itemLinkProspect, null,
menuAssignmentLabel) {
@Override
public void onClick(AjaxRequestTarget target) {
I do not know your page code, but Date conversions works fine here.
A second idea is to create a converter with you want something
special, like changing from y to yes or something like that.
Se component getConverter for more details..
MyComponent c = new MyComponent(htmlvalue, new
the component remembers its submitted value and tries to rerender
itself using that. this value is cleared when the form is processed,
but remember you havent processed the form - you only processed the
first dropdownchoice.
-igor
On Feb 5, 2008 2:35 AM, [EMAIL PROTECTED] wrote:
This worked
where does ajaxBehave come from?
-igor
On Feb 5, 2008 8:13 AM, Michael O'Cleirigh [EMAIL PROTECTED] wrote:
Hello,
I have a wicket Panel with the following structure:
1. drop down choice to select value
2. text field to specific contextual value details
3. help link to allow the user to
see https://issues.apache.org/jira/browse/WICKET-1312
-igor
On Feb 5, 2008 2:05 AM, Gabor Szokoli [EMAIL PROTECTED] wrote:
Hi!
We are trying to build our application from loosely coupled panels,
sharing models here and there as needed.
It works wounderfully 90% of the time: as long as the
tried your code here and it works just fine. not sure where your
problem is. perhaps you can generate your project using our maven
archetype and try again there.
-igor
On Feb 5, 2008 6:16 AM, Sri Sankaran [EMAIL PROTECTED] wrote:
The behavior is unchanged whether I deploy my app as a WAR or
On Feb 5, 2008 1:40 AM, Johan Compagner [EMAIL PROTECTED] wrote:
the question is what about the users of that client.
I think nice looking urls is greatly exaggerated normal people look at the
browser contents instead of the url
How many times do i look at the url when i am browsing websites.
I posit that 99% of the users of our student information system don't even
know what an URL is.
Martijn
On 2/5/08, Eelco Hillenius [EMAIL PROTECTED] wrote:
On Feb 5, 2008 1:40 AM, Johan Compagner [EMAIL PROTECTED] wrote:
the question is what about the users of that client.
I think nice
Well, wouldn't you know it -- it doesn't do it anymore! I don't know if I
should be happy or upset!
Anyway, I had originally encountered the page expiry problem on my actual
application which is a little more involved than the code snippets we've
been working with. I am going to go back to
Anybody? Was hoping for a tip or two ;-)
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 3:55 PM
To: users@wicket.apache.org
Subject: Delaying AutoCompleteTextField by n characters?
What is the preferred way of delaying the
wicket has a throttle which works on time not on number of
characthers, for that you need to roll your own javascript
-igor
On Feb 4, 2008 3:54 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
What is the preferred way of delaying the Javascript call to
getChoices() until a certain amount of
are you configuring wicket in development mode or in deployment mode?
in development mode wicket will reload changed resources like html and
.properties files automatically.
-igor
On Feb 5, 2008 11:12 AM, JSP lover [EMAIL PROTECTED] wrote:
Hi,
Excuse me for my ignorance, but my team just
I'd be happy with the throttle - how do I enable that?
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 05, 2008 11:16 AM
To: users@wicket.apache.org
Subject: Re: Delaying AutoCompleteTextField by n characters?
wicket has a throttle which works on
I made a very big typo in that last paragraph. It should have said:
But my complaint is that even though it
does that, you can still type /home/foo/bar into the url and it'll render
*home* for you.
-Original Message-
From: Dan Kaplan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 05,
wicket's ajax behaviors have setThrottleDelay() you can use
-igor
On Feb 5, 2008 11:34 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
I'd be happy with the throttle - how do I enable that?
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 05,
Hi,
Excuse me for my ignorance, but my team just started to play with Wicket
and I am having a hard time with it.
My problem is that I am used to changing the HTML of a page, getting it
just right. So in the process of developing a page I may review changes to
it many many times.Add
really?
how often do you type an url thats not just like google.com
but something more behind it?
i never do, i really cant remeber that i do that.
Its history or bookmarked.
johan
On Feb 5, 2008 6:29 PM, Eelco Hillenius [EMAIL PROTECTED] wrote:
On Feb 5, 2008 1:40 AM, Johan Compagner
Hello,
I'm testing this sandbox webapp I made that looks like this:
package web;
import org.apache.wicket.protocol.http.WebApplication;
public class SandboxApplication extends WebApplication {
protected void init() {
mountBookmarkablePage(/home, Home.class);
}
Hi there.
I am new to Wicket, and have been trying to create a new small application
to test it out before we switch completely to using Wicket and Hibernate
(through Databinder).
I am getting an error with my AccessDenied page, saying that a component
failed to render.
ERROR -
The attachments have gone AWOL, but I managed to take a look at them while
they were in the moderation queue.
s/home/homePageLink/
Martijn
On 2/5/08, Bruce McGuire [EMAIL PROTECTED] wrote:
Hi there.
I am new to Wicket, and have been trying to create a new small application
to test it
Woops. Should have thought that the list server would strip attachments.
Here is the Java (without imports)
public class AccessDenied extends AccessDeniedPage implements Serializable
{
private static final long serialVersionUID = 200802012L;
public AccessDenied()
s/home/homePageLink/
Your link id in java doesn't match link id in markup
Martijn
Hi Martijn.
Thanks for the response.
Do you mean that
Link alpha = new Link(beta)
a wicket:id=delta href=gamma/a
where these two lines have to match is in the declaration of the Link? Ie
the alpha == delta? Not beta == delta?
Thanks,
Bruce.
-Original Message-
From:
On 2/5/08, Igor Vaynberg [EMAIL PROTECTED] wrote:
see https://issues.apache.org/jira/browse/WICKET-1312
Wow, pre-cognitive feature request fulfillment :-)
In the meantime, we managed to put the UI logic in question into a
non-conventional IModel.getObject() implementation. I can not foresee
a
Great. Thanks Martijn.
Bruce.
-Original Message-
From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 05 February, 2008 12:52 PM
To: users@wicket.apache.org
Subject: Re: Component failed to render
Wicket doesn't care about the alpha and the gamma, but the beta and delta
need
Hello all,
I am running into some odd behavior with 1.2.6 when I add a
ModalWindow to a ModalWindow. We have subclassed ModalWindow to add
our own css js. The relevant part of that is:
public class AthenaModalWindow extends ModalWindow
{
private static ResourceReference VEGAS_JS = new
Perhaps of interest is the fact that the link to open the 1st
ModalWindow from the original page makes a wicketAjaxGet() call to
https://sb-www.vega.com/mytrip/app
a
id=billingForm_checkoutBillingInfoPanel_creditCardOffer_creditCardApplicationLink
wicket:id=creditCardApplicationLink
Problem solved.
We have a custom WebRequestCodingStrategy, and it prepends
https://some.server.com to the url whenever the response page has our
custom annotation: RequireSSL. However, the ajax request that opens a
ModalWindow has a null response page, and so the https prefix was not
added.
Apache Wicket 1.3.1 is released!
The Apache Wicket team is proud to announce the availability of the first
maintenance release: Apache Wicket 1.3.1. A lot of bugs have been squashed and
several improvements implemented. The most notable improvement is the addition
of out-of-the-box, transparent
Hello,
We are trying to setup a apache in front of tomcat,so that all the static
content(html, images and css) are handled by apache, only the dynamic
content(wicket) is forwarded to tomcat. This is done through mod_JK, apache
2.2 and tomcat 6.
Previously, when using a struts application we
What not do that in your model itself? (Observer pattern or something like
that)
Just like all the swing models do because of there push nature instead of
pull
On Feb 5, 2008 11:05 AM, Gabor Szokoli [EMAIL PROTECTED] wrote:
Hi!
We are trying to build our application from loosely coupled
I'm not sure if this is too obvious but... The ability to copy+paste the url
from one computer to another, people tend to do that, though being
bookmarkable does somewhat imply that would be possible.
Johan Compagner wrote:
really?
how often do you type an url thats not just like google.com
Is it possible at all to have content at / ? Trying to mount something at /
results in an error and I'm wondering of there's a workaround.
--
View this message in context:
http://www.nabble.com/Mounting-page-at-root-tp15300055p15300055.html
Sent from the Wicket - User mailing list archive at
Hello.
FYI, my problem was not that the ids didn't match. Not exactly sure what the
problem was, but as soon as I stopped extending AccessDeniedPage, and
instead extended WebPage, the page rendered properly.
Not sure why extending AccessDeniedPage was a bad thing, but it was.
Bruce.
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
I use IntelliJ for wicket development, and for the most part am
pretty happy with it.
When I make a change, I do a build, and IntelliJ asks if I want to
redeploy the application. If I haven't changed any java method
signatures, I click 'no' and my HTML changes and java changes are live.
I don't think it is, the getMmodelObject() returns the selected
String. I've gotten around this by saving the last query string sent
via AJAX. When the user makes a selection, I iterate over the
options for that query string one more time, and take the POJO whose
rendered string matches
Did it add components by itself in the super constructor?
Martijn
On 2/6/08, Bruce McGuire [EMAIL PROTECTED] wrote:
Hello.
FYI, my problem was not that the ids didn't match. Not exactly sure what the
problem was, but as soon as I stopped extending AccessDeniedPage, and
instead extended
Hi Martijn.
I don't have the source for the page, I was going by the docs for
AccessDeniedPage at
http://people.apache.org/~tobrien/wicket/apidocs/index.html.
Bruce.
-Original Message-
From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 05 February, 2008 04:32 PM
To:
That's exactly what I wound up doing. I wrote my custom renderer that
grabs the name field of my POJO for rendering. Of course that is what
I'm getting back from getModelObjectAsString(). It's a work-around and I
was hoping for a more elegant way of doing this...
Michael
-Original
Look at Exclusions on the documentation page:
http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
Chris
Penn wrote:
Previously, when using a struts application we would just say *.jsp is
forward to tomcat. How to do this with wicket as we don't have any
specific file
please add an rfe into jira for this.
-igor
On Feb 5, 2008 4:38 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
That's exactly what I wound up doing. I wrote my custom renderer that
grabs the name field of my POJO for rendering. Of course that is what
I'm getting back from
http://www.nabble.com/file/p15306186/ValidationTest1.iamzip
ValidationTest1.iamzip
http://www.nabble.com/file/p15306186/ValidationTest2.iamzip
ValidationTest2.iamzip
Sorry, have to make two zips, ´cause packed to one file was too big to
upload.
Ok.
ValidationTest1 runs with wicket 1.3.0
Is this a known problem, or should i file a bug for that ?
Sounds like a bug to me. Could you file a bug for it please?
Cheers,
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
67 matches
Mail list logo