Hi,
with resuseItems=true the listview will reuse items *on render*, but
this doesn't change whether model objects are serialized into the
session or not.
It rather seems that you're not detaching your models properly. I'd make
a wild guess that you keep references to your persistent
PaletteTask palette = new PaletteTask(.);
form.add(palette);
form.add(new IFormValidator() {
@Override
public void Validate(Form? form) {
// how to get a list of selected tasks???
}
});
You have to set the model to the form by assigning the list or wrap it
in a
First please check the examples-site for links:
http://wicketstuff.org/wicket14/linkomatic/
There is a source code link in the right upper corrner.
You can use a BookmarkablePageLink for your issue.
Cheers
Per
Am 02.06.2011 17:51, schrieb Ivoneta:
hello everyone
I need some help..
I have
Hi Sven,
Thank you for the update. I will check why they are not detached... They
should.
Tnx again.
--
No subestimes el poder de la gente estúpida en grupos grandes
El vie, 03-06-2011 a las 09:00 +0200, Sven Meier escribió:
Hi,
with resuseItems=true the listview will reuse items
Sorry, i missed to say that you have to connect bunsinessModel and
selected list of palette.
PaletteTask palette = new PaletteTask(..., new
PropertyModelListTask(model, tasks), ...);
Per
PaletteTask palette = new PaletteTask(.);
form.add(palette);
form.add(new IFormValidator() {
See inline
On Thu, Jun 2, 2011 at 7:24 PM, msalman mohammad_sal...@yahoo.com wrote:
I am testing an application that starts with a login page. After logging in
the user is taken to the home page.
@Test
public void test()
{
QuickStartApplication app =
Hello,
1) I have a custom validator that implements INullAcceptingValidator.
2) A TextField component in my form has validator (1) attached to it and
is setRequired(false).
3) When I submit my form with the text input empty, the validator does NOT
get called. It only gets called if there is
Maybe org.apache.wicket.markup.html.form.FormComponent.isInputNullable()
which is overridden by
org.apache.wicket.markup.html.form.AbstractTextComponent.isInputNullable()
On Fri, Jun 3, 2011 at 12:00 PM, Alexandros Karypidis akary...@yahoo.gr wrote:
Hello,
1) I have a custom validator that
Hello again,
I'm in a weird place. I've stepped through the code and located my problem
in:
http://svn.apache.org/repos/asf/wicket/releases/wicket-1.5-RC4.2/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
At line 1383, the method validateValidators() visits
Yes. It looks like a bug
On Fri, Jun 3, 2011 at 12:47 PM, Alexandros Karypidis akary...@yahoo.gr wrote:
Hello again,
I'm in a weird place. I've stepped through the code and located my problem
in:
BTW, I just located where the adapter is instantiated. Again, in:
http://svn.apache.org/repos/asf/wicket/releases/wicket-1.5-RC4.2/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
You will find in line 465:
add((Behavior)new ValidatorAdapter(validator));
Ok, I'll open a JIRA and refer to this thread. Fix seems easy enough.
On Fri, 03 Jun 2011 12:50:40 +0300, Martin Grigorov mgrigo...@apache.org
wrote:
Yes. It looks like a bug
On Fri, Jun 3, 2011 at 12:47 PM, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello again,
I'm in a weird
Hello,
I have ModalWindow with form inside
html:
wicket:panel
form wicket:id=offerForm
...
div class=confirm
wicket:message key=button.offer.reject / /p
/div
/form
/wicket:panel
java:
add(okButton = new AjaxSubmitLink(closeOK, this)
Make the button disabled with JavaScript after the first click, or
raise a flag at server side that it is clicked and all further clicks
should be ignored if the flag is true
On Fri, Jun 3, 2011 at 1:03 PM, Tier vladimirsemas...@mail.ru wrote:
Hello,
I have ModalWindow with form inside
html:
https://issues.apache.org/jira/browse/WICKET-3767
On Fri, 03 Jun 2011 12:56:06 +0300, Alexandros Karypidis
akary...@yahoo.gr wrote:
Ok, I'll open a JIRA and refer to this thread. Fix seems easy enough.
On Fri, 03 Jun 2011 12:50:40 +0300, Martin Grigorov
mgrigo...@apache.org wrote:
Hello,
Is it possible to return to previous page with wicket-link (not browser
link).
In 1.4 I used:
PageprevPage = getPage().getPageMap().get(pageIndicator.getPrevPageId(),
-1);
throw new RestartResponseAtInterceptPageException(prevPage);
Thanks a lot, Marieke Vandamme
--
View this message in
Hi,
I guess the problem is method save() which delays closing of the form
and let you click few times consecutively. You can decorate your submit
link with an IAjaxCallDecorator in order to disable link on the first click:
public class AjaxDisableComponentDecorator implements
Hi,
if I'm not wrong in wicket 1.5 page map has been removed and you should
have a compilation error if you write page.getPageMap().
Hello,
Is it possible to return to previous page with wicket-link (not browser
link).
In 1.4 I used:
PageprevPage =
Hello,
after some investigation I reached to the following:
when a wicket session is created it is added as attribute to the
HttpSession:
HttpSessionStore.bind(), and inside it
setAttribute(request, getSessionAttribute(), newSession);
If we assume that inside web.xml the WicketFilter name is
Is this Wicket 1.5 ?
Create a quickstart and attach it to Jira.
On Fri, Jun 3, 2011 at 2:24 PM, hok ivanvasi...@gmail.com wrote:
Hello,
after some investigation I reached to the following:
when a wicket session is created it is added as attribute to the
HttpSession:
HttpSessionStore.bind(),
Does it means that Model of form is populated before Validate?
I didn't know that. In that way I also can use palette model in form and it
would have to work too.
Thanks for the solution!
Tito
2011/6/3 Per Newgro per.new...@gmx.ch
Sorry, i missed to say that you have to connect bunsinessModel
Yes, indeed that's because I post it on the mailinglist, to know what I
should use in place.
More info: I can't use javascript function history.go(-1), because the page
can be bookmarkable. So I check if the prevPageId was past in the page
constructor. If passed, I want to go to that cached wicket
Yes, it's wicket 1.5
https://issues.apache.org/jira/browse/WICKET-3769
https://issues.apache.org/jira/browse/WICKET-3769
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-ignorePaths-in-WicketFilter-tp3570291p3570704.html
Sent from the Users
Hello,
I have ModalWindow with form inside
html:
wicket:panel
form wicket:id=offerForm
...
div class=confirm
wicket:message key=button.offer.reject / /p
/div
/form
/wicket:panel
java:
add(okButton = new AjaxSubmitLink(closeOK, this)
Changed to RadioGroup and implemented following code.
radioBtnOptionA.add(new AjaxEventBehavior(onclick) {
@Override
protected void onEvent(AjaxRequestTarget target) {
// doSomething;
Afaik no. Your right. I missed the alidator part of the interface
IFormValidator. My explanation was related
the FromVisitor. Sorry for that.
But you could make palette final and access it inside the validate method.
Then you could do a
palette.|getRecorderComponent().getSelectedChoices().
No problem, thanks for your answer.
We always try to find a solution which is fine for me.
When I call getSelectedChoices in Validation method it give us an empty List
back. It is like the list it is not uploaded before entering the validation
method.
Thanks for helping me.
Regards
Tito
I mentioned a few weeks ago I had some page locking issues.
I turned on logging and overrode the PageAccessSynchronizer to log and
swallow the page lock exception (it still has the timeout wait, so
it's not totally disabled), but of course it hasn't happened since, so
I still haven't found the
For the synchronization issue see WICKET-3740.
jsessionid in resource urls (.css, .js, ...) is removed in current trunk
About the meta for robots I think it is a good addition to the newly
introduced (today) AbstractErrorPage from which all error pages should
extend.
Please file a RFE.
On Fri,
Hi folks,
perhaps you can help me on this one:
I am looking for a way to copy the PageMaps stored in one Session object to
another Session object, but I have not been able to find a way of how to do
that. Does anybody know how to do that?
The reason why I'm trying to do this is because users
https://issues.apache.org/jira/browse/WICKET-3432
I provided a quickstart for this issue (uploading one or more large files
via Ajax) a while ago and Igor tested this with a file around ~700mb and
could not reproduce the issue. This issue persists for my team on multiple
OS flavors and across
Any update on this? I am getting also in 1.5 RC3
On Sun, Oct 17, 2010 at 3:24 PM, Martin Grigorov mgrigo...@apache.org wrote:
Can you try with latest trunk (1.5-SNAPSHOT) ?
If the warning is still there and you are able to create a quickstart
application then we will be interested to take a
try with RC4.2 ...
On Fri, Jun 3, 2011 at 7:05 PM, Jim Pinkham pinkh...@gmail.com wrote:
Any update on this? I am getting also in 1.5 RC3
On Sun, Oct 17, 2010 at 3:24 PM, Martin Grigorov mgrigo...@apache.org wrote:
Can you try with latest trunk (1.5-SNAPSHOT) ?
If the warning is still there
I don't know if in wicket 1.5 there is something to use in place of your
old code. Anyway, you could always implement a custom link with a
PageReference to the previous page.
Yes, indeed that's because I post it on the mailinglist, to know what I
should use in place.
More info: I can't use
You don't want to copy a page map. If I understand your problem correctly,
you may want to check out continueToOriginalDestination():
http://stackoverflow.com/questions/5041879/on-wickets-continuetooriginaldestination-method
--
View this message in context:
Thank you for your answer, Jonathan.
Sadly, continueToOriginalDestination is not what I am looking for. Sorry if
I have been to unspecific. I already got the continueToOriginalDestination
mechanism integrated and intercepting calls to privileged pages and
afterwards sending the user on to where he
Hi Again,
I checked why I'm receiving this nasty error. It seems that fails in
this piece of code of the submit form:
@Override
protected void onSubmit() {
log.debug(Saving content);
Andy,
...Not only security frameworks can use this, you can do it yourself by
throwing a RestartResponseAtInterceptPage exception.
Josh
Try using the open session in view filter
On Jun 3, 2011 1:55 PM, Gonzalo Aguilar Delgado
gagui...@aguilardelgado.com wrote:
Hi Again,
I checked why I'm receiving this nasty error. It seems that fails in
this piece of code of the submit form:
@Override
protected void onSubmit() {
Hi James,
I added it already:
-
filter
filter-nameopenSessionInViewFilter/filter-name
filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class
init-param
Just mount your pages and make Them bookmarkable
On Jun 2, 2011 5:51 PM, Ivoneta ietaraz...@gmail.com wrote:
hello everyone
I need some help..
I have an application based on struts... This application has some links,
and I need this links calls a Wicket Pageit is possible?
I think that
To expand on Josh's suggestion,
In your Login link (probably on an abstract page you inherit for other
app pages) you would have an onClick that doesn't just
setResponsePage(YourLoginPage.class), but instead throws the
Restart...exception. That way, when the login completes, it should
come back
Thanks it works
:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-tp3568681p3571679.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
Thanks again for your suggestions.
Yes, basically this does work. However, sadly not in my case.
Whenever the user logs into our system, we assign a new session to the user.
That means, we invalidate the old one, create a new one and attach that to
the request cycle. We implemented this as a
Hi,
are you sure your model is a LDM?
IIRC you have a ListView involved. What's the type of
this.getDefaultModel() ?
I suppose that normal execution is ...
Yes, this is the way it is supposed to work.
Sven
On 06/03/2011 07:55 PM, Gonzalo Aguilar Delgado wrote:
Hi Again,
I checked why
You don't need to create a component to publish messages.
What version are you using?
All you need is a IPushChannel token; then you can publish events from
any thread to that channel.
On 06/01/2011 07:05 PM, Doug Leeper wrote:
We have a system that subscribes to events from an ESB. These
46 matches
Mail list logo