Sorry I didn't test it before I replied. Your solution didn't work because
for non-Ajax submit both forms r submitted. Non-ajax submit submits the page
instead of individual form in Ajax style.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mulitple-Forms-in-ListView
Anna,
You mean how to access AjaxRequestTarget? Try AjaxRequestTarget.get():
I think it can be accessed as a thread local.
Ernesto
On Thu, Jul 1, 2010 at 3:22 AM, Anna Simbirtsev wrote:
> Hi,
>
> AjaxSubmitLink removeLink = new AjaxSubmitLink("removeLink") {
> @Override
> public void onSubmit(A
Arjun,
Did you give it a try to
Application.getResourceSettings().addResourceFolder("xxx")? I don't
remember having used it myself but method's JavaDoc hints it might do
what you want.
Ernesto
On Thu, Jul 1, 2010 at 7:57 AM, Arjun Dhar wrote:
>
> How does one override container markup package
See ModalWindow.getWindowOpenJavascript() and use it like this
ModalWindow myModalWindow = new ModalWIndow..
someComponent.add(new SimpleAttributeModifier("onclick",
myModalWindow.getWindowOpenJavascript()));
I didn't try I but I think it should work like this.
Stefan
--
The dialog component in visural-wicket has an onclick behavior which will
open or close the dialog without an Ajax callback.
http://visural-wicket-examples.appspot.com/app/dialog
On 1 July 2010 08:03, Pierre Goupil wrote:
> Hello,
>
> I'm well aware of https://issues.apache.org/jira/browse/WI
Wondering if there are any active developers on inmethod? A while ago I
wrote that I had 2 components that I wanted to contribute, so should I just
add them or? I guess if no one answers it's a silent yes ?
-nino
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 compon
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 s
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
wrote:
> H
did it reduce it or is the hotspot completely gone?
-igor
On Wed, Jun 30, 2010 at 3:38 AM, dannyboy wrote:
>
> 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-sync
or let your page implemen IHeaderResponseContributor
-igor
On Tue, Jun 29, 2010 at 8:57 PM, Jeremy Thomerson
wrote:
> On Tue, Jun 29, 2010 at 9:44 PM, Gustavo Henrique wrote:
>
>> Hi!
>> I need to put in the page a javascript function with name and Id of
>> customer. I'm using a label component
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.)
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() {
this.replaceWith(MyPanel
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 h
On Wed, Jun 30, 2010 at 1:14 PM, Branislav Kalas 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 takes
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 wrote:
>
> I am developing a Wicket application on Google App Engine for Java (GAE/J).
>
> I want to process incom
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 hav
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:
http://wicket-tree.appspot.com/futu
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,
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.
---
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 P
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 archi
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 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 java
> script
> tha
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 wrote:
>
> I need to implement a data table in wicket with load on demand.
> The problem in use the
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 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 data and if tha
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 (load
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 wrote:
> Hi,
>
> My problem is that afte
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 to
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.
--
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 the
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 refr
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
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 w
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 ID].appspotma
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 wrote:
> Since AjaxLink is AJAX and not a proper link, then it does behave as a
> nor
On Wed, Jun 30, 2010 at 9:24 AM, adp 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 mean? I don't
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 mea
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
wrote:
> John,
>
> See [1] and in particular the answer from Cemal (the one on Jun 16...)
> That might answer part of your question.
>
> Some time ago I hav
Not a best solution but it works:)
final FeedbackPanel feedback = new FeedbackPanel("feedback", new
ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return requiredTextField.getModel().equals(((Requ
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 poi
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:
http://apache-wicket.1842946.n4.nabble.com/How-to-cu
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) {
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
setObject().
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
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
Not a best solution but it works:)
final FeedbackPanel feedback = new FeedbackPanel("feedback", new
ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return requiredTextField.getModel().equals(((Requ
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.
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 a
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
use non caching image?
Ernesto
On Wed, Jun 30, 2010 at 10:54 AM, Erich W Schreiner
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 correctely the first tim
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
s
51 matches
Mail list logo