Hi!
Are there any standard listeners or interfaces for
interlinking/chaining hierarchical components?
In my recent experience if a lower-level model changes, its decendants must be
a) reloaded according to the changed parent element state
*** in general this can be lazy-loaded
Hello all,
I have a page that has a variable called configurationName (private String
configurationName;)
I set it using a DropDown component:
DropDownChoice namesSelect =
new DropDownChoice(confNames, new PropertyModel(this,
configurationName),
Thanks,
I did this and it's working:
if (!continueToOriginalDestination()) {
PageParameters pageParameters = new PageParameters();
pageParameters.put(pageId, );
PortalWebPage page = new PortalWebPage(pageParameters);
Why is isInstantiationAuthorized(Class componentClass) only called after
instantiation?
eg,
isInstantiationAuthorized(component.getClass())
Been driving me crazy - u'd expect this to be called before instantiation.
I'm curious because it's probably been done for a good reason.
--
View this
how about because of the fact we cant magically intercept
instantiation before it happens without using some magic like managed
aop container or load time/compile time bytecode instrumentation
-igor
On Wed, Apr 30, 2008 at 11:35 PM, Ned Collyer [EMAIL PROTECTED] wrote:
Why is
This happens when you have debugger suspending this thread (in this
case Thread[btpool0-1,5,main]).
About the Ajax problem:
http://radio.javaranch.com/pascarello/2006/02/07/1139345471027.html
This is the very first result returned by Google (out of ~1300).
Next time just search the archives..
Do you have a long running process?
All ajax things on the client so do think that (channel busy) and you
get the stack on the server
On 5/1/08, Michael Mehrle [EMAIL PROTECTED] wrote:
More info: after a minute or so I see this exception in the console:
[DEBUG LoadAdDataInterceptor] Loaded
The only thing i can come up with that will be improved in 1.4/1.5 is
better supporrt for all the url coding strategies. Because that seems
to popup everytime
On 5/1/08, Igor Vaynberg [EMAIL PROTECTED] wrote:
wicket has support for stateless components and delayed sessions
creation since 1.3.
And dont think the component is instantiated compoletely!
Only the Component class is there all others are not 'done' yet.
But why is this a problem?
On 5/1/08, Ned Collyer [EMAIL PROTECTED] wrote:
Why is isInstantiationAuthorized(Class componentClass) only called after
instantiation?
eg,
Fair point :)
I was surprised because it was happening for the HomePage i have, which is
only ever referenced by class (in my app), and comes out of the page factory
- which you do control.
I think you're probably doing the right thing - it would be a nightmare to
handle it differently depending
What url do you refresh?
A bookmarkable one?
Then the page is recreated every time so field is null
On 5/1/08, Eyal Golan [EMAIL PROTECTED] wrote:
Hello all,
I have a page that has a variable called configurationName (private String
configurationName;)
I set it using a DropDown component:
I think it is ...
I have this in my application: mountBookmarkablePage(/entityBrowser,
EurekifyBrowserPage.class);
And my link is: new BookmarkablePageLink(MenuItem.LINK_ID, classLink) ..
So, is there a way to pass this problem?
On Thu, May 1, 2008 at 12:23 PM, Johan Compagner [EMAIL
Hi,
On Thu, May 1, 2008 at 12:38 PM, richardwilko
[EMAIL PROTECTED] wrote:
Hi,
Im looking into clustering our wicket app and have a few questions. We are
using jetty 6.
1) We have to use the SecondLevelCacheSessionStore (default in 1.3) for
clustering to work correctly, is this
Hi,
Im looking into clustering our wicket app and have a few questions. We are
using jetty 6.
1) We have to use the SecondLevelCacheSessionStore (default in 1.3) for
clustering to work correctly, is this correct or does it still work with a
HttpSessionStore?
2) Wicket just piggybacks whatever
I set model of the radio on the group because I want one of the radio in
the group to be selected based on some condition.
Let me tell you my exact requirement. There are 12 diff. rows having
three radio buttons in each row. I can select only one
radio in each row so I put all three radios in
Hi, Igor
What's the difference between RestartResponseException and
RestartResponseAtInterceptPageException? Thx
Regards,
Jay
-邮件原件-
发件人: Igor Vaynberg [mailto:[EMAIL PROTECTED]
发送时间: 2008年2月21日 7:03
收件人: users@wicket.apache.org
主题: Re: What is the Wicket way to redirect?
What is wrong with the javadoc?
Martijn
On 5/1/08, Jay [EMAIL PROTECTED] wrote:
Hi, Igor
What's the difference between RestartResponseException and
RestartResponseAtInterceptPageException? Thx
Regards,
Jay
-邮件原件-
发件人: Igor Vaynberg [mailto:[EMAIL PROTECTED]
发送时间:
Hi Jonathan,
I'd like to open a discussion about this stance on stateless web ui
because I think the original question is really one about Wicket's use of
the session. By default, all wicket forms and links are stateful or
dependent on the Wicket Session. If the session goes away, the links
the examples app are just bad example because there the session expiration
is 5 minutes or something like that
You can up the session expiration to 24 hours or something like that then it
wont happen at all
If you want or use ajax and wicket then you can forget about being stateless
because that
It looks like you are creating a new modalwindow for each item. Try
creating 1 modalwindow outside the dataview and update the content
(just as you are doing now) in the onclick of your edit link.
Also you should not call modalwindow.close from inside your
windowClosedCallBack, not sure what
If there's one fault with this otherwise great mailing list, it's the attitude
that the old-timers have towards the newbies. The guy asked a simple question.
FYI, what's wrong with the Javadoc is that for RestartResponseException, it
says:
Causes wicket to interrupt current request processing
Hi,
In Firefox 2.x, when i type on AutoCompleteTextField; I am presented with
list of possible choices, But when i select one of possible candidates on
the list using a mouse, the Page scrolls down to the bottom (and so i can
only see the last choice from the list of possible choices) , and so
the required check is handled serverside when the form is submitted so
it does not matter if the component has already been rendered as long
as you setRequired before the form is submitted. Either by ajax or a
regular http request.
Maurice
On Wed, Apr 30, 2008 at 7:56 PM, Michael Mehrle [EMAIL
Well there is no official api call like inspectOriginalDestination
or something which will give you the original page / component.
With a little introspection you can get the original url from the
PageMap but that would be a bit hacky and might not give you enough
information.
Other options are:
-
In defense of the oldtimers. We do see a lot of questions recurring
regularly (not talking about any question in particular), even if an
answer has been documented for it. Sometimes people do not search for
it.
That being said we are only humans here, sometimes we had a bad day
and what seems like
Catalin Marinas wrote:
I'm not sure that's the best way but I wanted to avoid calling
onComponentTagBody in Form which generates the hidden fields. Ideally, I
should use a WebMarkupContainer but, as you noticed, it adds the changes
the elementname with formname:elementname. Somehow, the
Hi Catalin,
Good find on the 'formname:elementname' issue. I'm not sure whether
isTransparentResolver() will solve the issue - you can try it and find out.
I ended up using a StatelessForm and redirect as I've document here:
there may be places where improvements are possible, but i think the answer
is not to ruin your programming model by not using sessions. i think
bookmarkability is a separate issue and one that is quite nicely addressed
in wicket /when you need it/.
one simple thing you can do to increase your
the more i think about this, the more i'm suspecting you've just got a bunch
of configuration problems.
what version of wicket are you using and what session store implementation?
also, tomcat provides a facility for writing out less active sessions to
disk.
Doug Donohoe wrote:
Hi
I'm using Wicket 1.3.3 on Tomcat 6.0.16. I'm using whatever the default
session store implementation is because I haven't done anything to configure
it.
Are you suggesting there is a way to avoid session expirations?
I'm not sure your previous suggestion to lengthen session time-out solves
that's probably because the session timeout on the container hosting that
example is short.
Doug Donohoe wrote:
I'm using Wicket 1.3.3 on Tomcat 6.0.16. I'm using whatever the default
session store implementation is because I haven't done anything to
configure it.
Are you suggesting
I'm using DefaultDataTable with sortable data provider in my project. All the
columns are sortable. This data table has few amount columns, which I need
to sum up and show as a last row (TotalRow) at the bottom of the table. This
last row (TotalRow) should not be part of sortable data provider.
On 5/1/08, Andrew Broderick [EMAIL PROTECTED] wrote:
The guy asked a simple question.
And I answered it is a simple manner: read the javadoc, if that
doesn't help you, tell us what is wrong. All condensed in a single
question. You chose to read it as a RTFM. Did you ever read [1]?
If there's
On 5/1/08, Andrew Broderick [EMAIL PROTECTED] wrote:
FYI, what's wrong with the Javadoc is that for RestartResponseException, it
says:
Causes wicket to interrupt current request processing and immediately
respond with the specified page.
And for RestartResponseAtInterceptPageException, it
On Thu, 2008-05-01 at 21:01 +0200, Martijn Dashorst wrote:
On 5/1/08, Andrew Broderick [EMAIL PROTECTED] wrote:
The guy asked a simple question.
And I answered it is a simple manner: read the javadoc, if that
doesn't help you, tell us what is wrong. All condensed in a single
question. You
On 5/1/08, C. Bergström [EMAIL PROTECTED] wrote:
Tact sold separately
ROFLMAO
Martijn
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.3
I have to add here that I have asked quite a few questions on this list, and
always received a plethora of helpful information - 90% of the time from
core contributors. This list is the best open source mailing list I have
ever subscribed to or asked questions on. Many times I have sent emails
+1
Martijn Dashorst wrote:
On 5/1/08, Andrew Broderick [EMAIL PROTECTED] wrote:
The guy asked a simple question.
And I answered it is a simple manner: read the javadoc, if that
doesn't help you, tell us what is wrong. All condensed in a single
question. You chose to read it as a RTFM. Did
+1
Jeremy Thomerson wrote:
I have to add here that I have asked quite a few questions on this list, and
always received a plethora of helpful information - 90% of the time from
core contributors. This list is the best open source mailing list I have
ever subscribed to or asked questions on.
Hey Everyone,
I have made a FormComponentPanel that contains components in it. I add
a custom validator to the inner component to validate the input.
However, when I call hasErrorMessage on the FormComponentPanel, it
always returns false, even if the custom validator found a problem.
Is
Look at the source of DefaultDataTableit's your perfect example.,
just extend it and add another bottom toolbar.
Clay Lehman
Phone: (919) 882-2856
[EMAIL PROTECTED]
-Original Message-
From: standon [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 01, 2008 2:46 PM
To:
Since the validator is custom can't you make the validator send the
error to the formcomponentpanel instead of the inner component. then
hasErrorMessage will work automatically.
Maurice
On Thu, May 1, 2008 at 9:43 PM, Clay Lehman [EMAIL PROTECTED] wrote:
Hey Everyone,
I have made a
I'm having trouble getting messages to display in the FeedbackPanel.
Also, any idea how to get the form to submit after the user presses
enter/return in a textfield (when using AjaxSubmitLink)? Any ideas?
Below is my code.
//feedbackPanel
FeedbackPanel feedbackPanel = new
here are my two cents on this:
wicket is optimized to scale well when building web application with
complex user interfaces. all the examples you gave: amazon, google
search, are web sites, not web applications: they have few pages with
simple user interfaces. so if whatever it is you are
On 5/1/08, Jeremy Thomerson [EMAIL PROTECTED] wrote:
THANK YOU WONDERFUL WICKET COMMUNITY AND ESPECIALLY
THE CORE COMMITTERS
thx, I appreciate it.
However, this is not what I'm personally after. I enjoy positive
feedback like the next guy, but I really like it when people respect
my time and
Just want to add my appreciation to all the help I got here, especially from
Igor. Sometime I receive the answer instantly, even on weekend! One thing
I learn to do is not only read the javadoc but read the code. A lot of the
component stuffs are pretty easy to follow, especially if you use
you are welcome
-igor
On Thu, May 1, 2008 at 1:17 PM, Matthew Young [EMAIL PROTECTED] wrote:
Just want to add my appreciation to all the help I got here, especially from
Igor. Sometime I receive the answer instantly, even on weekend! One thing
I learn to do is not only read the javadoc
Here is how I submit a form from a text field when the user presses the
enter key. I haven't tried this on an AjaxSubmitLink.
textField.add(new AjaxFormSubmitBehavior(onkeypress)
{
protected void
I've read in the forums, that it is better to wait for Liferay 5 (JSR 286) to
develop portlets in Apache Wicket. So has anyone developed portlets using
Wicket and deployed them in Liferay 5?. If you have, is there a sample
wicket portlet posted somewhere that I could look at? Are there still
I wrote in earlier about a problem I had in less-old releases of Wicket
1.2. Since no more work is being done on that version, I thought I'd
try the sample on Wicket 1.2. I figured the easiest approach was to
download the Wicket 1.3 QuickStart application. That requires Maven,
which I've never
Hi,
See reaction inline.
Stateless Sites
-
For example, Google's search is apparently stateless. I can bookmark any
search result, go away for hours, days or weeks and re-visit the link
without experiencing a session-expired message. I shop at Amazon quite a
bit.
component authorization piggy backs on component instantiation listeners:
public Component(final String id)
{
setId(id);
getApplication().notifyComponentInstantiationListeners(this);
as you can see, it is not called /after/ instantiation
I was having some problems until I went to this site:
http://herebebeasties.com/2007-10-07/wicket-quickstart/
There is a screencast there that will show you everything. It was real
helpful.
-Original Message-
From: Frank Silbermann [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 01,
Hitting the escape key doesn't work to cancel an edit in
AjaxEditableLabel with Safari 3.1.1 (and wicket 1.3.3 - nice symmetry
in the versions :)).
http://www.wicketstuff.org/wicket13/ajax/editable-label
Works on Firefox.
Is there any other way to cancel an edit? Can a cancel button be
Are you behind a firewall of some sort? Or, perhaps an HTTP proxy server?
On Thu, May 1, 2008 at 4:51 PM, Frank Silbermann
[EMAIL PROTECTED] wrote:
I wrote in earlier about a problem I had in less-old releases of Wicket
1.2. Since no more work is being done on that version, I thought I'd
Sorry , this simple question bothers me a while , I don't know how to solve
it:
I have a MyObject model object , which is initially null.
MyPanel recevies the MyObject and prints it value field by field.
In the WebPage , I add MyPanel like this :
myPanel = new MyPanel(myPanel , new
Hi,
I'm working on getting wicket compatible with jsr-286 now. However while
doing this I've noticed that Liferay has still some major issues
regarding jsr-286. Especially regarding setting properties on the
response (essentially setting response headers, cookies, etc) there is
still some
If I have a feedback panel positioned together with a form at the bottom of
a very long page, how can I cause the browser to snap to that feedback panel
upon validation error?
I could use an anchor tag at the feedback panel, but how would I tell Wicket
to go to that anchor upon validation error?
Hi,
I have a simple requirement to be able to display (textfield) quantities
of each product in cart and then be able to globally update all the
quantities changed.
Looked at the FormPage/Refreshing view example - it shows how to handle
items individually but not globally. This kind of thing
interesting idea:
collapse the constant part (component hierarchy path and listener interface)
into an interned string list in application shared by all components
(application metadata probably). then just encode the wicket listener url
as just the index into that list. for degenerate cases
What do you mean when you say that you want to globally update
multiple textfields? Do you mean that you want to add 1 to each
quantity? Or do you want to query the current quantities from a
database? Essentially you just want to update their model objects'
values and refresh the page.
- Scott
if all your lineitems are in the same form then they will all be
updated in bulk when the form is submitted.
-igor
On Thu, May 1, 2008 at 4:36 PM, Ritz123 [EMAIL PROTECTED] wrote:
Hi,
I have a simple requirement to be able to display (textfield) quantities
of each product in cart and
Just so that the Page looks cleaner to the crawlers. Not sure if any SEO is
affected by this kind of URL scheme since my current website has URLs
starting with either /'s or http://hostname/.
So just looking to duplicate that and not worry about site ranking going
down etc.
Johan Compagner
I am relatively new to Wicket. So it will take me some time to digest what
you just mentioned below.
In the meantime, if you have time, little detailed explanation is very
welcome.
Jonathan Locke wrote:
interesting idea:
collapse the constant part (component hierarchy path and listener
sorry, i should have cross posted this to the dev list. it's really a
feature idea and not something i'd expect user to implement.
Ritz123 wrote:
I am relatively new to Wicket. So it will take me some time to digest what
you just mentioned below.
In the meantime, if you have time,
It looks like Bamboo can not access the code repo [1]... not sure if this
has anything to do with the recent Apache SVN outage (since it seems to have
started long before then). Not sure what I can do to help, since I don't
have a login to Bamboo. Maybe someone can take a look - it appears that
public class YourPage extends WebPage implement IHeadContributor {
// in case form has error, scroll down
@Override public void renderHead(IHeaderResponse r) {
if (form.hasError()) {
r.renderOnLoadJavascript(location.hash='YOUR-ANCHOR');
}
}
}
Hello All,
I am still unable to close this modal window. Could someone please help
me to close it or show my mistakes in the code in the first post.
thanks
tsuresh
--
View this message in context:
http://www.nabble.com/Unable-to-close-modalwindow-tp16981993p16996698.html
Sent from the
68 matches
Mail list logo