You are right! jWicket is missing a setHandle method. I will implement this
in the future. For now you can use the setRawOption() method for all
unimplemented options. In your case you sould try
setRawOptions(cancel:'p.ui-widget-header' );
Stefan
-Ursprüngliche Nachricht-
Von:
Hi, I currently have an application reading a cookie in my session. All
of my unit tests where the pattern is: Create page - submit form -
redirect to new page fails to read this cookie after the redirect to new
page.
The cookie is added both to the response and request before each new
test
Hi Alec,
I don't think Wicket has a configuration option that can help you. But
you can create a web page superclass that parses HTML and adds your form
if it finds tag div wicket:id=creditCardForm/.
For example you can override onInitialize method and add something like
this:
MarkupParser
Hey!
In our wicket application we are using a lot of Ajax links/forms.
Sometimes, those requests take a second or two. We now want to give the
user some feedback, that his request is being processed (to avoid double
clicking or the impression that the webapp is slow).
What would be the best
You can register an handler to show some message and another one to remove
it at the end of request. See Wicket.Ajax.registerPreCallHandler
/ registerPostCallHandler
and
https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
Patrick,
I think you can:
1-use interface IAjaxIndicatorAware to mark a page or Panel as a
context for showing some indicator of AJAX activity (usually a veil +
some activity icon)
2- or you can use IAjaxCallDecorator to manually decorate your links.
Ernesto
On Tue, Feb 1, 2011 at 12:39 PM,
Hi Hobert, I reopened the WICKET-1886
2011/2/1 Robert Dahlström robert.dahlst...@bwin.org
Hi, I currently have an application reading a cookie in my session. All of
my unit tests where the pattern is: Create page - submit form - redirect
to new page fails to read this cookie after the
Thanks, I'll add the info I have to the bug.
Regards
Robert
On 02/01/2011 01:02 PM, Pedro Santos wrote:
Hi Hobert, I reopened the WICKET-1886
2011/2/1 Robert Dahlströmrobert.dahlst...@bwin.org
Hi, I currently have an application reading a cookie in my session. All of
my unit tests where the
I attached an test case, possible simulating your described bug
2011/2/1 Robert Dahlström robert.dahlst...@bwin.org
Thanks, I'll add the info I have to the bug.
Regards
Robert
On 02/01/2011 01:02 PM, Pedro Santos wrote:
Hi Hobert, I reopened the WICKET-1886
2011/2/1 Robert
Hello everybody,
I have problems with unit testing.
All the time I have used NetBeans 6.9.1 with Glassfish and there wasn't any
problems. Just create a new UnitTest with WicketTester and it worked pretty
fine. Today I changed the project infrastructure to Maven with surifire
plug-in. The problem
You need to add the test or provided scope servlet-api dependency in your
project pom
On Tue, Feb 1, 2011 at 11:11 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello everybody,
I have problems with unit testing.
All the time I have used NetBeans 6.9.1 with Glassfish and there
I don't really understand how to do that?
On 1 February 2011 14:46, Pedro Santos pedros...@gmail.com wrote:
You need to add the test or provided scope servlet-api dependency in your
project pom
On Tue, Feb 1, 2011 at 11:11 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello
Oh sorry!!! It works now! Thank you!
I should add this to my pom:
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.4/version
scopeprovided/scope
/dependency
On 1 February 2011 14:51, Dmitriy Neretin
Worse case scenario, though I understand not wanting to do it, is using a
javascript/html redirect and by passing Wicket, not the nicest scenario, I
wish I knew more about redirects, sorry.
--
View this message in context:
I'm a newbie also but
Can't you just create a new model specifically for the RadioChoice
component? Each component can have its own model.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Using-non-Model-fields-in-Form-tp3251063p3251807.html
Sent from the
You can add an empty label to replace the content if not adding the
component. You can have a repeating list if you have lots of dynamic
content, this way whatever you add to the list is added or you can just add
an empty component.
It does seem odd to me that in your html you know whether to
As Nimmy said you should be able to supply your own model to the RadioChoice
which will override the CompoundPropertyModel Assuming NUMBERS is a
list...
RadioChoiceString rc = new RadioChoiceString(numberRadioChoice, new
Model(),NUMBERS);
Look at
Sure. When you create an radio choice like:
RadioChoiceString rc = new RadioChoiceString(numberRadioChoice,
NUMBERS);
your are passing the wicket id and a list of choices to the component, but
no model. Components without model inherit one from the first parent
CompoundPropertyModel based on the
Interesting the Ajax call decorator mentioned above sounds like a good
choice, I don't know the transactional steps for each solution, but to have
the javascript written entirely in the page without requiring some sort of
connection to the wicket server, does sound like it will be more immediate
On Tue, Feb 1, 2011 at 10:27 AM, msj121 msj...@gmail.com wrote:
You can add an empty label to replace the content if not adding the
component.
Or, use EmptyPanel or a plain ole WebMarkupContainer?
-
To unsubscribe, e-mail:
I don't quite understand the problem... some code might help. But why can't
you do something like the following:
tabs.add(new AbstractTab(item.getModel()) {
public Panel getPanel(String panelId) {
return new AlbumPanel(panelId, );// can be item.getModelObject() or
something
}
This is exactly why I tell folks not to use CPM. People start relying
on them too heavily and when all doesn't work as planned, they freak
out. It's like the blonde that got locked in her car because the
battery died and her automatic locks didn't work.
On Tue, Feb 1, 2011 at 10:25 AM, nimmy
Hi,
I have the question about correctness of Component#setDefaultModel
(Component#setModelImpl) method behavior. I expect that the flag
FLAG_INHERITABLE_MODEL should be checked there and turned off if the
provided model is not a IComponentInheritedModel.
Let check the next code:
public
Now I want to export the same table in PDF , I did the export to excel using
apache POI, Now I have to export the same table to PDF. Is there any libray
which serves export to various formats ?
I saw display Tag
http://displaytag.sourceforge.net/10/export.html
it provides export to
Hi,
Thanks for your reply. I'm pretty much doing what you suggested but have a
concrete Tab class as it is reused on another page:
public class AlbumTab extends AbstractTab {
private static final long serialVersionUID = 1L;
private IModelAlbum model;
public
Hi All,
I am trying to add an onclick event to a table row -- each row is created
using a DataView.
To make an entire row clickable, I add an AjaxEventBehavior via the
DataView's Item newItem method.
This seems to work as far as an onEvent event being raised when I click on a
table row.
However,
please file a jira
-igor
On Tue, Feb 1, 2011 at 8:16 AM, Alexander Morozov
alexander.v.moro...@gmail.com wrote:
Hi,
I have the question about correctness of Component#setDefaultModel
(Component#setModelImpl) method behavior. I expect that the flag
FLAG_INHERITABLE_MODEL should be checked
In project i have several *.properties files for custom locale (page_en_GB
and page_ru_RU).When user with default locale en US come, hes got exception.
Can I do that if a suitable location has not been found to use my custom
locale ?
I try to use Locale.setDafault(...), but it doesnt work.
--
the method .detach() or some variation should be called on every Loadable
Detachable Model (LDM) if your model is being used as a default model to any
component in the page hierarchy. To make this LDM your page model, I think
there is a trick in the sense you should call super(model), and not
not sure what activate does, I would hope though that it would add the object
to a panel on the page, and then you call target.addComponent(panel); As
this target (the AjaxRequestTarget) deals with actually updating the front
end of the page.
Also Data Repeaters are somewhat dubious in that they
if no matches are made the user should fall back to page.html and
page.properties. so put your default locale into those files instead
of specific locales.
otherwise you can call session.setlocale() to force it.
-igor
On Tue, Feb 1, 2011 at 11:36 AM, planime planime...@mailforspam.com wrote:
See http://itextpdf.com/
On Tue, Feb 1, 2011 at 1:21 PM, fachhoch [via Apache Wicket]
ml-node+3252116-297151156-65...@n4.nabble.comml-node%2b3252116-297151156-65...@n4.nabble.com
wrote:
Now I want to export the same table in PDF , I did the export to excel
using apache POI, Now I have to
This did the trick. setRawOptions is exactly what I needed.
Thanks Stefan
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/JWicket-drag-drop-handle-tp3250469p3253344.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I want add a cookie, and I saw on this site, how to do this.
https://cwiki.apache.org/WICKET/dealing-with-cookies.html
((WebResponse)RequestCycle.get().getResponse()).addCookie(new
Cookie(cookieName, cookieValue));
but I need to specify also the domanin.
I need something like this PHP
Thank you everybody for the clever ideas.
msj121, I just started building the credit card form and was planning to
just use Authorize.net APIs. This is not directly related to Wicket, so we
should take this discussion off this forum. Email me directly if you have
some thoughts or just wanted to
Hi,
I want add a cookie, and I saw on this site, how to do this.
https://cwiki.apache.org/WICKET/dealing-with-cookies.html
((WebResponse)RequestCycle.get().getResponse()).addCookie(new
Cookie(cookieName, cookieValue));
but I need to specify also the domanin.
I need something like this PHP
36 matches
Mail list logo