Hi,
I am trying to show validation errors on a page. Somehow it won't function! But
I don't understand why?
I mean I am using the right Validation class... Why don't wicket show any error
when the user does a wrong input?
Thanks!
import java.util.Date;
import
that, wicket doesn't
even know where and how to display the messages.
Matt
Peter Arnulf Lustig wrote:
Hi,
I am trying to show validation errors on a page. Somehow it won't function!
But I don't understand why?
I mean I am using the right Validation class... Why don't wicket show any
error when
Hi,
I'd like to create a delete link where you can delete a row in a datagrid. But
when you click on the delete link, the delete label should change and a warning
occurs: Do you really want to delete xyz.
After the second click it finally deletes the content.
How can I achieve that? Could you
In addition:
my specific problem is, that after clicking on a link which is generated in the
datagrid, I am not able to manipulate other components!?
How is this possible?
- Ursprüngliche Mail
Von: Peter Arnulf Lustig u...@yahoo.de
An: users@wicket.apache.org
Gesendet: Mittwoch
... that once clicked actually
deletes your entry... and refreshes the datagrid. You could even use the
same link and have a flag that says userWantsToDeleteRow and use it to
conditionally change the actions to do and the contents to display.
Best,
Ernesto
On Wed, Sep 30, 2009 at 11:29 AM, Peter Arnulf Lustig
, new
ResourceReference(EmptyIconReference.class, list-remove.png)));
deleteButton.add(new SimpleAttributeModifier(onclick, return
confirm('Are you sure?');));
add(deleteButton);
}
I hope this helps.
Regards,
Linda
Peter Arnulf Lustig wrote:
Hi,
I'd like
getMarkupStream().toString();
maybe?
- Ursprüngliche Mail
Von: Luca Provenzani eufor...@gmail.com
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September 2009, 12:32:19 Uhr
Betreff: Rendered html to string
Hi all,
does someone know how to render a wicket component into a
. September 2009, 13:37:44 Uhr
Betreff: Re: AW: How would you realize a delete-Link in a datagrid row?
I used this with a AjaxFallbackDefaultDataTable and then I didn't have
to tell it that the DB had changed.
Peter Arnulf Lustig wrote:
Thank you! Your solution is really nice.
It functions
an example.
Peter Arnulf Lustig wrote:
Hi,
I'd like to create a delete link where you can delete a row in a datagrid.
But when you click on the delete link, the delete label should change and
a warning occurs: Do you really want to delete xyz.
After the second click it finally deletes
then ajax is used to
refresh the dataview. Let me know if you want to use this approach and I
will post an example.
Peter Arnulf Lustig wrote:
Hi,
I'd like to create a delete link where you can delete a row in a
datagrid. But when you click on the delete link, the delete label
Hi,
why can't I cast a Websession to a SecurePageSession-Class which extends
Websession?!
java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot
be cast to org.omikron.test.SecurePageSession
In the book I bought (Wicket in Praxis, a german book for wicket 1.4) the
probably are dealing with a normal WebSession.
Is your Application creating the correct Session instance (override the
newSession())
On Mon, Oct 5, 2009 at 1:19 PM, Peter Arnulf Lustig u...@yahoo.dewrote:
Hi,
why can't I cast a Websession to a SecurePageSession-Class which extends
Websession
.
Is your Application creating the correct Session instance (override the
newSession())
On Mon, Oct 5, 2009 at 1:19 PM, Peter Arnulf Lustig u...@yahoo.dewrote:
Hi,
why can't I cast a Websession to a SecurePageSession-Class which extends
Websession?!
java.lang.ClassCastException
of SecurePageSession
On Mon, Oct 5, 2009 at 8:43 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I have overwritten the newSession Method:
public class Application extends WebApplication {
@Override
protected void init() {
super.init();
getSecuritySettings
get this error always! I don't understand why.
this is my hibernate.cfg.xml
hibernate-configuration
session-factory name=session1
property
name=hibernate.dialectorg.hibernate.dialect.MySQLDialect/property
property
name=hibernate.connection.driver_classcom.mysql.jdbc.Driver/property
transactions properly.
Or you start your transaction manually, or if you like spring, you can let
spring manage it. (just add your transction annotations to your services,
and, done !
On Tue, Oct 6, 2009 at 9:15 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
get this error always! I don't understand
that it is in most cases a bad habit to use manual transaction
management...
On Tue, Oct 6, 2009 at 9:44 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
How can I do it manually?
For example: I have a DataProvider class with a method:
public static Administrator getAdministrator(Integer id
What's the fast and easy way?
I am asking because of a lot of trouble with hibernate.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
of this with Hibernate, I always personally
just found Hibernate a bit more complex and 'get in my way' then I
needed.
Try the quick tutorial they provide and you'll quickly know if its for
you or not.
John-
On Tue, Oct 6, 2009 at 2:34 AM, Peter Arnulf Lustig u...@yahoo.de wrote:
What's
have multiple filters defined in your web.xml , they are chained by
your application server.
2009/10/7 Peter Arnulf Lustig u...@yahoo.de
Great piece of software!
But how did you manage to replace
the web.xml filterclass into:
filter
Hi,
I have one Form-Class which has one main form -- in this form I've got some
more forms. Each of them has their own submit button.
How can I tell wicket, that it only has to render (validation and so on) only
for the form, where the button was pressed?
thanks!
Von: Pedro Santos pedros...@gmail.com
An: users@wicket.apache.org
Gesendet: Dienstag, den 13. Oktober 2009, 15:44:07 Uhr
Betreff: Re: Many forms on one page and submit handling
you can add an ComponentFeedbackPanel for each form
On Tue, Oct 13, 2009 at 10:39 AM, Peter Arnulf Lustig u
ComponentFeedbackMessageFilter rather than
ContainerFeedbackMessageFilter
On Tue, Oct 13, 2009 at 10:46 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
yes I do it like that.
But nevertheless it shows the messages everywhere on each form.
check this out:
public class CreateQuestionsForm extends Form
Hi,
how can I refresh the ListMultipleChoice compononent?
I use the IModel and IChoiceRenderer Component for filling the list. But it
should be refreshed automaticly when doing an update.
-
To unsubscribe, e-mail:
And how is that done via AJAX ?
Basicly I'd like to have a input textfield where the user can type a word into,
and then after submitting the field he can see it in a ListMultipleChoice
Component.
-
To unsubscribe, e-mail:
use an ajax behaviour, or put it into an form with
ajax submit. in your handle code, you update the model object on your
listmultiplechoise, and add it or its parent component to ajaxrequesttarget
On Thu, Oct 15, 2009 at 9:56 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
And how is that done
I have a List-Component and after sending a Form-Request it shows me the error:
java.lang.IllegalStateException: Attempt to set model object on null model of
component: mainPanel:taggingBereich:addTagging:taggingList
at org.apache.wicket.Component.setDefaultModelObject(Component.java:3038)
the model for the list.
On Fri, 2009-10-16 at 07:33 +, Peter Arnulf Lustig wrote:
choices,
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
can anyone tell me how to use the list-component model properly?
- Ursprüngliche Mail
Von: Peter Arnulf Lustig u...@yahoo.de
An: users@wicket.apache.org
Gesendet: Freitag, den 16. Oktober 2009, 9:55:19 Uhr
Betreff: AW: Null Model Error
yes -- I do this here:
choices = Model.of
/ListMultipleChoice.html#ListMultipleChoice%28java.lang.String,%20org.apache.wicket.model.IModel,%20org.apache.wicket.model.IModel,%20org.apache.wicket.markup.html.form.IChoiceRenderer%29
On Fri, Oct 16, 2009 at 6:52 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
can anyone tell me how to use the list
such a model ?
I have used org.apache.wicket.model.Model in one project for example
like:
new ListMultipleChoice(id, new Model(), choises, render)
On Fri, Oct 16, 2009 at 9:00 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
wow - great information
But how can I create / define such a model -- I can't
Hi,
how is it possible to submit TextField Input to the server without having a
Form (and submit) for this task?
I figured out, that AjaxButton only has onSubmit() Method -- I expected also
something like onClick --
-
To
an AjaxFormComponentUpdatingBehavior for it
I figured out, that AjaxButton only has onSubmit() Method -- I expected also
something like onClick --
you can use AjaxEventBehavior to handle onClick event
On Mon, Oct 19, 2009 at 8:50 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
Hi,
how is it possible
AjaxFormComponentUpdatingBehavior(onclick) {
@Override
protected void onUpdate(AjaxRequestTarget arg0) {
System.out.println(tagTitle.getModelObject());
}
}));
- Ursprüngliche Mail
Von: Peter Arnulf Lustig u...@yahoo.de
An: users
form tag? you can get is working in a
simpler way, even without use an wicket button component.
On Mon, Oct 19, 2009 at 9:38 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I have to correct myself: I get the right Button.
But the next question: how can I use the content of the textfield
;
}
});
but why don't you what to use the html form tag? you can get is working in a
simpler way, even without use an wicket button component.
On Mon, Oct 19, 2009 at 9:38 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I have to correct myself: I get the right Button.
But the next
hi,
in the submit logic the getModel().getObject() is an empty string although I
set it via textfield:
final Button tagSubmit = new Button(tagSubmit, Model.of()) {
@Override
public void onSubmit() {
tagTitle.getModel().getObject() // it is empty!!
getting submitted?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
hi,
in the submit logic the getModel().getObject() is an empty string although
I set it via textfield:
final Button tagSubmit = new Button
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
hi,
in the submit logic the getModel().getObject() is an empty string although
I set it via textfield:
final Button tagSubmit = new Button(tagSubmit, Model.of
getting submitted?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig u...@yahoo.de
wrote:
hi,
in the submit logic the getModel().getObject() is an empty string
although
I set it via textfield:
final Button
is the model empty?
Sorry but when is the model object update?
final TextFieldString tagTitle = new TextFieldString(tagTitle,
Model.of());
just creates and in-mutable model? Or, am I missing something?
Best,
Ernesto
On Tue, Oct 20, 2009 at 3:17 PM, Peter Arnulf Lustig u...@yahoo.dewrote:
hi
Reinaldo Barreiro
reier...@gmail.com wrote:
Sorry but when is the model object update?
final TextFieldString tagTitle = new TextFieldString(tagTitle,
Model.of());
just creates and in-mutable model? Or, am I missing something?
Best,
Ernesto
On Tue, Oct 20, 2009 at 3:17 PM, Peter Arnulf
should update the model before he gets to onSubmit
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:31 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
sets the value of the textfield programmatically
on the page, and submits the form, the model should be updated
a quickstart
that reproduces this.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:49 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I am submitting a textfield in a form to wicket. Just the standard HTTP
Post -- And everywhere it functions well -- I just can't get
at 9:25 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
Does it maybe have something to do with my custom validation?
I use setDefaultFormProcessing(false); because I have more submit buttons
on one form
- Ursprüngliche Mail
Von: Jeremy Thomerson jer...@wickettraining.com
Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:25 AM, Peter Arnulf Lustig u...@yahoo.de
wrote:
Does it maybe have something to do with my custom validation?
I use setDefaultFormProcessing(false); because I have more submit
buttons
on one form
Have you tried assign a Model to the component which needs to be updated?
ModelString model = new ModelString();
--- assign to the component of the form.
i.e. final TextField tf = new TextField(txt, model);
in Link Execution
- tf.setModel(mode);
- Ursprüngliche Mail
Von: Antoine van
Hi,
how can I pre-select some List-Items, when showing the form with the
ListMultipleChoice?
Thank you for some advice!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
, Peter Arnulf Lustig u...@yahoo.dewrote:
Hi,
how can I pre-select some List-Items, when showing the form with the
ListMultipleChoice?
Thank you for some advice!
-
To unsubscribe, e-mail: users-unsubscr
ListMultipleChoice(select, new
Model((Serializable)Arrays.asList(b)), options));
On Mon, Oct 26, 2009 at 11:06 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
and in the html it is also showed as selected ?
- Ursprüngliche Mail
Von: Pieter Degraeuwe pieter.degrae...@systemworks.be
Hi,
how can I achieve something like that:
abschliessen = (SubmitLink) new SubmitLink(abschliessen, antwortForm) {
@Override
public void onSubmit() {
preQuestionInit();
Worker.ClosingTestprocedure(tp);
preQuestionInit();
Hi,
how can I get the server-url on which the wicket application is running?
like http://www.serverurl.com/WicketApp/
it should return http://www.serverurl.com
Thank you
__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen
Hi,
I'd like to create an own Link in the template document. When I create an Link
via Wicket with an onClick attribute, then it calls the page everytime I click
on it. What I need is a Link in that way:
a onclick=funci('8912aja')Click for Item/a
But the 8912aja is created dynamicially, so I
Hi,
how can I retrieve the web.xml display-name content to show it in the WebPage
header titleXYZ/title ?
Thank you.
__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
54 matches
Mail list logo