Use the same decision making process you would for any other java class
Do you need access to any private variables of the containing class?
Jeremy Thomerson
-- sent from my smartphone - please excuse formatting and spelling errors
On Jun 30, 2010 12:56 AM, Sigmar Muuga meedi...@gmail.com
Actually not. I was thinking that maybe I have missed something from the
docs. Such issues are sometimes hard to find :)
On Wed, Jun 30, 2010 at 8:59 AM, Jeremy Thomerson jer...@wickettraining.com
wrote:
Use the same decision making process you would for any other java class
Do you need
Hi Igor,
thank you for your suggestion, the lookup of the icon to display works fine. I
now override ResourceReference.newResource()
Unfortunately, the lookup only works correctely the first time, i.e. when the
Page is displayed. Subsequent Ajax updates and re-rendering of parts will
always
use non caching image?
Ernesto
On Wed, Jun 30, 2010 at 10:54 AM, Erich W Schreiner
eschrei...@yahoo.com wrote:
Hi Igor,
thank you for your suggestion, the lookup of the icon to display works fine. I
now override ResourceReference.newResource()
Unfortunately, the lookup only works
Hi
I've noticed a difference in getting the locale from the request and from
the session.
getSession().getLocale() shows en
but getRequest().getLocale() shows en_GB. thus not only the language but
also the country.
Why is this, or what am I doing wrong perhaps?
Are there maybe other drawbacks
Optimization helped!
Thank you for fixing it.
Kind regards,
Danny
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/question-about-adding-synchronized-on-mountsOnPath-at-WebRequestCodingStrategy-tp1878901p2272701.html
Sent from the Wicket - User mailing list archive
Hi,
I have problem with updating my page with Ajax after redirecting to some new
page. I have page with list view. In this list view I have some links to audio
records represented by AjaxLinks. If I click to the AjaxLink, user is
redirected to new _blank page that sends him an audie record.
Not a best solution but it works:)
final FeedbackPanel feedback = new FeedbackPanel(feedback, new
ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return
Hi All,
I have what seems like a strange problem with refreshing a DataView.
I have a WebMarkupContainer that contains a DataView.
The DataView uses a SortableDataProvider as its DataProvider.
The WebMarkupContainer uses the DataView's SortableDataProvider
to determine if there are any items to
Hi Steve,
I would do the following (which might not be the best solution;-):
1- Create panel EmptyOrTablePanel with setOutputMarkupId(true);
2- and then have a child of this panel that either displays an
EmptyPanel or your table: depending on whether you have records or
not. You could determine
Hey,
I guess the quick summary is whether it's fundamentally okay to share a
single model among several components, including a form, through several
ajax submits, using setObject() on that model during each submit? My
behavior is that one of the components is not getting the updated
I meant something like:
===
import org.apache.wicket.Component;
import org.apache.wicket.markup.html.panel.Panel;
public abstract class CondiotionalPanel extends Panel {
private static final long serialVersionUID = 1L;
public CondiotionalPanel(String id) {
Friends, there is some way to customize the pages of a DataTable, DataView or
DataGrid, meaning that with each page to load only the data in memory at the
time. please expect some response. Thank you very much.
--
View this message in context:
Hi Jake,
It sounds like you're not opposing that idea and suggesting that there
actually is a bug, which is certainly possible. I would love to make a
quickstart - but I'm not sure what you mean by that. I'm a long-time
programmer, but new to Java web development/deployment. Can you point
Not a best solution but it works:)
final FeedbackPanel feedback = new FeedbackPanel(feedback, new
ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return
Ahh missed that.
Tx Ernesto, I will take a look at jq and see if I can help!
J
On Tue, Jun 29, 2010 at 10:57 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
John,
See [1] and in particular the answer from Cemal (the one on Jun 16...)
That might answer part of your question.
Some
On Wed, Jun 30, 2010 at 9:24 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi Jake,
It sounds like you're not opposing that idea and suggesting that there
actually is a bug, which is certainly possible. I would love to make a
quickstart - but I'm not sure what you mean by
On Wed, Jun 30, 2010 at 9:24 AM, adp adp1...@gmail.com wrote:
Friends, there is some way to customize the pages of a DataTable, DataView
or
DataGrid, meaning that with each page to load only the data in memory at
the
time. please expect some response. Thank you very much.
What do you
Can anyone explain to me why this does not work with
AjaxFallbackDefaultDataTable, but does with DefaultDataTable.
Does anyone know of a solution for this problem?
On Mon, Jun 28, 2010 at 6:18 PM, Nelson Segura nsegu...@gmail.com wrote:
Since AjaxLink is AJAX and not a proper link, then it does
I am developing a Wicket application on Google App Engine for Java (GAE/J).
I want to process incoming E-mails, which GAE/J routes to addr...@[gae
application ID].appspotmail.com by sending a HTTP POST request to the
application-relative URL:
/_ah/mail/[addr...@[gae application
Put this into WicketApplication.java
@Override
protected void init() {
super.init();
getPageSettings().setAutomaticMultiWindowSupport(true);
}
Problem was, that you opened new windows in same page map.
I cannot explain it better cause, i don't understand page maps very
and i forgot this in the onclick handler :
@Override
protected void onClick() {
setResponsePage(new HomePage(parameters));
System.out.println(clicked on link);
}
On 06/30/2010 07:59 PM, Branislav Kalas wrote:
Put this into WicketApplication.java
@Override
protected void
Hi,
My problem is that after the user clicks AjaxSubmit button, and the
confirmation message is displayed in feedback panel, the window does not
refresh, so if the user scrolled to the bottom of the model window, he/she
does not see the confirmation message.
How can I get the modal window to
Hello,
I have just noticed that the various components I have that render the same
underlying data, when the exception occurs, then they all have a different
instance of the underlying data.
I have used:
add(new CompnentX(getSession().getMyData()))
so they were all constructed with
Hello, mostly of interest to wicket noobs: i have a wicketized/eclipseized
hibernate 1.1 tutorial that should work out-of-the-box albeit for mysql only.
Where to upload the project? Or, I can put it on my blog for download? :-David.
Thanks for your answers.
I set the multi window support settings to true, and that did not make a
difference. Interestingly, the javadoc shows that multiwindow support is
true by default. I also tried setting it to false, with no luck.
However, setting the response to a new page on click seems
Are you refreshing the whole window or just the feedback panel?
You can try to refresh the whole window, or you can include some java script
that scrolls your window to the top on the ajax response.
-Nelson
On Wed, Jun 30, 2010 at 12:22 PM, Anna Simbirtsev asimbirt...@gmail.comwrote:
Hi,
My
I need to implement a data table in wicket with load on demand.
The problem in use the existent implementations is that they load in advance
all data and if that data contains a lot of rows, it may produce memory
errors.
Then, I need find (if it exists) a way to implement the load on demand
You don't have to load all the data. You can page the data in your
data provider.
On Wed, Jun 30, 2010 at 4:35 PM, adp adp1...@gmail.com wrote:
I need to implement a data table in wicket with load on demand.
The problem in use the existent implementations is that they load in advance
all
loading page by page is fully supported by DefaultDataTable or
AjaxFallbackDefaultDataTable via IDataProvider interface. Did you have
a look at those?
Ernesto
On Wed, Jun 30, 2010 at 10:35 PM, adp adp1...@gmail.com wrote:
I need to implement a data table in wicket with load on demand.
The
I need to scroll to the top on ajax response. Would you have an example on
how to do it?
On Wed, Jun 30, 2010 at 4:27 PM, Nelson Segura nsegu...@gmail.com wrote:
Are you refreshing the whole window or just the feedback panel?
You can try to refresh the whole window, or you can include some
Now I'll review it. Thank you.
if you have any information about this, please send me.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-customize-the-pages-of-a-DataTable-DataView-or-DataGrid-tp2272728p2274247.html
Sent from the Wicket - User mailing list
John,
I just uploaded an small demo of [1] to [2]. Please ping me offline if
you want to contribute to the project.
Best,
Ernesto
1-http://code.google.com/p/wiquery-plugins/source/browse/#svn/trunk/wiquery-plugins/j
2-http://wiquery-plugins-demo.appspot.com/demo/
On Wed, Jun 30, 2010 at 4:56
OK thanks. I managed to work something out by fiddling with the
BaseWicketTester class.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Generating-static-HTML-pages-with-Wicket-tp2271517p2274291.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hello,
I'm well aware of https://issues.apache.org/jira/browse/WICKET-12 but I
can't figure out how to open a modal window without an AjaxRequestTarget. My
guess is that it's related to getWindowOpenJavascript() but is there any
example available, please?
I use Wicket 1.4.9.
Thanks in advance,
Hi Bilgin,
I'm currently experimenting with something similar in wicket-tree:
http://code.google.com/p/wicket-tree/source/browse/trunk/wicket-tree-examples/src/main/java/wickettree/examples/TimeoutPage.java
Perhaps it gives you a start. Try it out here:
To execute javascript after AJAX, do the following
ajaxRequestTarget.appendJavascript(alert('hello'););
To jump to a section using javascript use
window.location.hash = '#idname';
You can put a #top anchor on top of your window, and then jump to it
using the combination of code above.
I have
Just map the servlet that Google gives you in the way that you would
normally map any servlet in web.xml. This is not Wicket specific.
On Wed, Jun 30, 2010 at 12:28 PM, Ian Marshall ianmarshall...@gmail.comwrote:
I am developing a Wicket application on Google App Engine for Java (GAE/J).
I
On Wed, Jun 30, 2010 at 1:14 PM, Branislav Kalas bka...@gmail.com wrote:
and i forgot this in the onclick handler :
@Override
protected void onClick() {
setResponsePage(new HomePage(parameters));
System.out.println(clicked on link);
}
The whole point of a constructor that
ver 1.3.6
I have been tracking this issue for a few months now in our app. Similar to
the following threads:
http://apache-wicket.1842946.n4.nabble.com/PageExpiredException-getting-this-when-the-session-hasn-t-timeout-td1894202.html#a1894216
PageExpiredException - getting this when the session
Hi,
AjaxSubmitLink removeLink = new AjaxSubmitLink(removeLink) {
@Override
public void onSubmit(AjaxTargetRequest target) {
MyPanel.this.replaceWith(new ConfirmDeletePanel(
MyPanel.this.getId(), are you sure) {
@Override
protected void onCancel() {
Hi,
I just setup my production environment for a wicket-based application today and
I am having a problem with Page Expired messages. I have three servers that
are not clustered together, but rather are configured with Apache's
proxy_balancer to use sticky sessions (with failover turned off.)
or let your page implemen IHeaderResponseContributor
-igor
On Tue, Jun 29, 2010 at 8:57 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
On Tue, Jun 29, 2010 at 9:44 PM, Gustavo Henrique gustavo...@gmail.comwrote:
Hi!
I need to put in the page a javascript function with name and Id of
did it reduce it or is the hotspot completely gone?
-igor
On Wed, Jun 30, 2010 at 3:38 AM, dannyboy danny.bolla...@gmail.com wrote:
Optimization helped!
Thank you for fixing it.
Kind regards,
Danny
--
View this message in context:
not sure why they would be different unless you explicitly change it
in Session. when the session is created it sets its locale from the
request by default:
public Session(Request request) {
...
locale = request.getLocale();
...
}
-igor
On Wed, Jun 30, 2010 at 2:02 AM, David Meulemans
Thank you for providing a solution to that.
It not so much of the solution I am looking for. I am curious why it didn't
work out of the box for non-Ajax submit but it works for AjaxSubmitLink.
Basically the code to determine if the FormComponent is the child of the
container is the same but for
How does one override container markup package loaction?
If I provide mysite.wicket.pages for my Java Wicket components, then the
html markup must be in the same package. I want the HTML to live in html.
So how can I override mysite.wicket.pages with html when wicket
searches for components?
47 matches
Mail list logo