Hi,
how can I retrieve the web.xml "display-name" content to show it in the WebPage
header XYZ ?
Thank you.
__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
http://mail.yahoo.com
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:
Click for Item
But the 8912aja is created dynamicially, so I can't create them in the tem
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 heraus
Hi,
how can I achieve something like that:
abschliessen = (SubmitLink) new SubmitLink("abschliessen", antwortForm) {
@Override
public void onSubmit() {
preQuestionInit();
Worker.ClosingTestprocedure(tp);
preQuestionInit();
;);
add(new ListMultipleChoice("select", new
Model((Serializable)Arrays.asList("b")), options));
On Mon, Oct 26, 2009 at 11:06 AM, Peter Arnulf Lustig wrote:
> and in the html it is also showed as "selected" ?
>
>
>
> - Ursprüngliche Mail
>
'selected' items, does
already contain the selected items.
Your model probably maps to an object property. (in this case, the property
is a collection(List/set) . So, add te 'pre-selection' to the collection,
and the ListMultipleChoice will follow..
On Mon, Oct 26, 2009 at 1:53
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: users-
Have you tried assign a Model to the component which needs to be updated?
Model model = new Model("");
---> 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 Wel
An
t on the
field). So, bypassing validation means that you must also bypass getting
your models updated. You can call textfield.getValue() (or similar - can't
remember exact name) to get the raw submitted value.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 10:00 AM,
eremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Tue, Oct 20, 2009 at 9:16 AM, Peter Arnulf Lustig >wrote:
>
> > hey martijn -- But there is a string submitted!
> > Actually it must be printed! But it is null.
> >
> > Is the final declaratio
this.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:49 AM, Peter Arnulf Lustig wrote:
> 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 it why it won't
> func
ted, Wicket 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 wrote:
>
>
> "sets the value of the textfield programmatically
> on the page, and submits the form, the model shou
esto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Sorry but when is the model object update?
> final TextField tagTitle = new TextField("tagTitle",
> Model.of(""));
>
> just creates and in-mutable model? Or, am I missing something?
>
> Best,
l empty?
Sorry but when is the model object update?
final TextField tagTitle = new TextField("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 wrote:
> hi
: Re: why is the model empty?
How about! creating! a quickstart! and sending it! to us!
(Oh, and no need for so many exclamation points. It could be interpreted as
shouting)
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 9:16 AM, Peter Arnulf Lustig wrote:
>
>
>
>
> On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig wrote:
>
>> hi,
>>
>> in the submit logic the getModel().getObject() is an empty string although
>> I set it via textfield:
>>
>> final Button tagSubmit = new Button("tagSubmit"
?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig wrote:
> hi,
>
> in the submit logic the getModel().getObject() is an empty string although
> I set it via textfield:
>
> final Button tagSubmit = new Button(&qu
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!!
+ "=+Wicket.$('"+tagTitle.getMarkupId()+"').value";
}
});
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
)+"').value";
}
});
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 wrote:
> I have to correct myself: I get the ri
"tagSubmit").add(new
AjaxFormComponentUpdatingBehavior("onclick") {
@Override
protected void onUpdate(AjaxRequestTarget arg0) {
System.out.println(tagTitle.getModelObject());
}
}));
- Ursprüngliche Mail
yes, you can use 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 wrote:
> Hi,
>
> how is it possible
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 un
sed 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 wrote:
> wow - great information
>
> But how can I create / define such a model -- I can't find anythi
ket/markup/html/form/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 wrote:
> can anyone tell me how to use the list-c
can anyone tell me how to use the list-component model properly?
- Ursprüngliche Mail
Von: Peter Arnulf Lustig
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((List) new ArrayList
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.
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)
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 wrote:
> And how is that done via AJAX ?
>
> Basicly I&
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:
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: users-unsu
rather than
ContainerFeedbackMessageFilter
On Tue, Oct 13, 2009 at 10:46 AM, Peter Arnulf Lustig wrote:
> yes I do it like that.
>
> But nevertheless it shows the messages everywhere on each form.
>
> check this out:
>
> public class CreateQuestionsForm extends Form {
>
e Liste neu!");
}
}
}
- Ursprüngliche Mail
Von: Pedro Santos
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
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!
--
your web.xml , they are chained by
your application server.
2009/10/7 Peter Arnulf Lustig
> Great piece of software!
>
> But how did you manage to replace
>
> the web.xml filterclass into:
>
>
> org.apache.cayenne.conf.WebApplicationContextFilter
>
> when Wic
ibernate 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 wrote:
> What's the fast and easy way?
>
> I am asking bec
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
manual transaction
management...
On Tue, Oct 6, 2009 at 9:44 AM, Peter Arnulf Lustig wrote:
> How can I do it manually?
>
>
> For example: I have a "DataProvider" class with a method:
>
> public static Administrator getAdministrator(Integer id) {
>
ons 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 wrote:
> get this error always! I don't understand why.
>
get this error always! I don't understand why.
this is my hibernate.cfg.xml
org.hibernate.dialect.MySQLDialect
com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/mydb
root
org.hibernate.context.ThreadLocalSessionContext
Do
5, 2009 at 8:43 AM, Peter Arnulf Lustig wrote:
> I have overwritten the newSession Method:
>
>
>
> public class Application extends WebApplication {
>
>@Override
>protected void init() {
>super.init();
>getSecuritySettings(
the correct Session instance (override the
newSession())
On Mon, Oct 5, 2009 at 1:19 PM, Peter Arnulf Lustig wrote:
> Hi,
>
> why can't I cast a Websession to a SecurePageSession-Class which extends
> Websession?!
>
>
> java.lang.ClassCastException: org.apache.wicke
your Application creating the correct Session instance (override the
newSession())
On Mon, Oct 5, 2009 at 1:19 PM, Peter Arnulf Lustig wrote:
> Hi,
>
> why can't I cast a Websession to a SecurePageSession-Class which extends
> Websession?!
>
>
> ja
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
au
the row is deleted 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
ach 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 should change and
> a warning occurs: "Do you really want to delete xyz
hr
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 we
getMarkupStream().toString();
maybe?
- Ursprüngliche Mail
Von: Luca Provenzani
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 String?
Thanks
Luca
age("deleteIcon", new
ResourceReference(EmptyIconReference.class, "list-remove.png")));
deleteButton.add(new SimpleAttributeModifier("onclick", "return
confirm('Are you sure?');"));
add(deleteButton);
}
I hope this helps.
Regard
ning... 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
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
An: users@wicket.apache.org
Gesendet: Mittwoch, den 30. September
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
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
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 org.apache.wicket.markup.html.f
54 matches
Mail list logo