I do this in my app. I open a modal window and when you hit save I open
another modal window to confirm your save and if you confirm I close both
modal windows.
modalConfirm.close(target);
modalSelectDate.close(target);
IndicatingAjaxLink btnConfirmSave = new
IndicatingAjaxLink("btnConf
Wow just asked this same question. I didn't see you post (sorry list).
Please let me know if you figure it out.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Loading-Wicket-resources-from-a-background-thread-tp2319046p2320388.html
Sent from the Wicket - User maili
I'm struggling with how to get access to the properties file from a quartz
job bean. I'm creating a pdf report that will then be emailed. I want to
get access to the properties file to tell me where to write the file along
with other information. Here is my quartz job code. Thanks in advance.
Still not sure I understand your problem. If the field names are the same on
many forms, I.E. an email field on several forms, you can put the error
message in the application.properties file.
If my application is MyApplication.java then create a
MyApplication.properties file and put in the vali
ts'Up wrote:
>
> Hi rmattler and Wilhelmsen Tor Iver
>
> thank you both for the fast answers! With "test.emailInput.Required=test"
> I changed the completely error code to "test", but how can I change the
> error code to this "Field 'email
try: test.emailInput.Required=test
Whats'Up wrote:
>
> Hello,
>
> this is my first post and I hope you could help me.
> I have a Form with the id="test" and a Textfield="EMAIL". The Textfield I
> added with "add(new RequiredTextField("emailInput"))".
> After pressing submit (wihout entering
opps forgot the the wmc html
rmattler wrote:
>
> WebMarkupContainer wmcNavHead = new WebMarkupContainer("wmcNavHead");
> WebMarkupContainer wmcNavFoot = new
> WebMarkupContainer("wmcNavFoot");
>
WebMarkupContainer wmcNavHead = new WebMarkupContainer("wmcNavHead");
WebMarkupContainer wmcNavFoot = new
WebMarkupContainer("wmcNavFoot");
wmcNavHead.add(new PagingNavigator("navigatorHead",
eachProject));
if (dp.size() < ROWS_TO_DISPLAY) {
target.addComponent(wmcDataTable);
}
});
form.add(modalUsersDelete);
Peter Arnulf Lustig wrote:
>
> yes I thought it... :)
>
> How do you achieve that the dataview is refreshed after deletion of a
> row?
Sorry spelling error not model window but modal window.
rmattler wrote:
>
> Another approach would be to created a model window to appear when the
> delete link is clicked. With the message "Are you sure you want to
> delete xxx?" If you select yes, the row is del
Another approach would be to created a model window to appear when the
delete link is clicked. With the message "Are you sure you want to delete
xxx?" If you select yes, 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
estButton.add(myImage);
add(switTestButton);
}
}
rrmlwt wrote:
>
> rmattler wrote:
>
>> It is not clear to me how you add the onClick event to the button since
>> the
>> ButtonResource is an image. Anybody want to point that out to me.
>
> You have to
It does NOT work with 1.35. For anybody else who was wondering. I download
1.4 and it works fine.
It is not clear to me how you add the onClick event to the button since the
ButtonResource is an image. Anybody want to point that out to me.
thanks.
rrmlwt wrote:
>
> Hi Folks,
>
> I just r
Try entering the the css like this:
background-image: url(../images/buttons/buttonBackground.gif);
It works for me I don't know why but it works :sleep:
TradeMark wrote:
>
> Hi there,
>
> has anyone ever encountered problem with these two? I have a simple
> application and I wanted to add a
and the problem remains: the onSubmit of the next
> step is called instead of the current step. I think that first the panel
> of the current step is replaced with the panel of the next step and then
> the onSubmit is executed.
>
> Hope someone can help me.
>
> Regards,
&
Use "public void validate(Form form)"
See example below. Hope it helps.
private final class Step2 extends WizardStep {
public Step2() {
setTitleModel(new Model("Add pictures"));
add(new AbstractFormValidator() {
Don't put the in a .
Should be:
Search feed by name:
Match all
conditions>
It appears I still have some things to learn about servlet mapping.
But I still don't understand why changing my url-pattern form
/* to /app/* would
make my applet not work.
Any way if anybody else want to use an applet to upload files here is how I
did it.
My web.xml file is:
gate further.
>
> -igor
>
> On Tue, Jan 27, 2009 at 8:17 AM, rmattler wrote:
>>
>> List items = upload.parseRequest(request);
>>
>> items is still empty
>>
>>
>>
>>
>> try form.setmultipart(true)
>>
>> -igor
>>
>>
NoClassDefFoundError means that netbeans or the server can't find a file.
I'm guessing that it can't find the slf4j.jar http://www.slf4j.org/faq.html
>From the wicket site:
Important note about logging dependencies for 1.3.0 and later.
As of Wicket 1.3.0, Wicket uses the SLF4J project for log
Sorry my day to ask questions.:-D
If my WicketFilter is setup as:
WicketFilter
/*
My Applet works fine.
If I change it to:
WicketFilter
/app/*
I can't seem to figure a way to access the applet.
archive="applet/jumploader_z.jar"
archiv
List items = upload.parseRequest(request);
items is still empty
try form.setmultipart(true)
-igor
--
View this message in context:
http://www.nabble.com/Getting-data-from-applet-tp21686123p21688568.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
I'm using an applet (http://www.jumploader.com) to upload files. Normally I
would use a servlet to parse the data with apache commons fileupload. With
Wicket I trying to parse the data in the onSubmit method of the Form with no
luck.
HttpServletRequest request = ((ServletWebRequest)
getRequest(
You could do it with javascript. Disable the button and change the button
label.
function saveForm(btn) {
eForm = document.forms[0];
btn.disabled=true;
btn.value='Please wait...';
eForm.submit();
return;
}
--
View this message i
I don't have time to work on this right now, have real work to do. But I now
believe I understand my problem. The Vendor bean needs to have the field
'state' be the class of State not String. Now I just need to figure out how
to do that with Hibernate.
I did buy your book. It is excellent eve
I don't understand. Vendor.state and SelectOption.state are both Strings.
I cut down my form to only have state on the form so I can post all the
code. The code pulls the correct data from the database and displays it on
the form but when I save it is gives me the following error.
java.lang.Un
Yes
@Column(name = "state", length = 2)
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
Kai Mütz wrote:
>
> [EMAIL PROTECTED] <> wrote:
>> Thanks for trying but I get:
>>
Thanks for trying but I get:
WicketMessage: No get method defined for class: class java.lang.String
expression: state
Kai Mütz wrote:
>
> [EMAIL PROTECTED] <> wrote:
>> It is nice to know I'm not the only one struggling with
>> DropDownChoices. I'm new to Wicket and I'm pretty far with
>> re
It is nice to know I'm not the only one struggling with DropDownChoices. I'm
new to Wicket and I'm pretty far with rebuilding an application we are using
internally. Has anybody proposed an alternative or a wrapper to
DropDownChoices?
Vitaly Tsaplin wrote:
>
>The DropDownBox component
Thanks for the quick reply. But you answer doesn't make sense to me. Why do
loadable models work for a text field but not a drop down? If I have "NY"
stored in the database, New York is loaded onto the form but when the form
is submitted the selected value of the drop down is not saved into the
I've tried for 1 1/2 days to get this simple Drop Down to work and I'm
feeling stupid. My mom tells me I'm smart.:-(
Everything works fine until I try to save it. I get the following error. I
think it is trying to put the SelectOption object into the Model but I don't
know how to tell it to put
Writing a custom converter to convert a phone number from the form entry
(330) 555-1212 to 3305551212 to be stored in the database. That works, but
I'm also trying to convert 3305551212 to (330) 555-1212 to be displayed on
the form. That is not working, convertToString is never called.
Thanks
If a phone number is input as (330) 555-1212 on the form when the form is
saved I want the data stored as 3305551212 in the database and when
displayed again on the form as (330) 555-1212.
As a bonus how do I would like data entered as 3305551212 and converted to
(330) 555-1212 on the onBlur even
I'm new to this whole thing and I've just done this using the book "Enjoying
development with Wicket". It is $20 and worth the money to get your feet
wet. It has a good example of JDBC only access and what you gain by using
Spring and then Hibernate.
Hope this helps. Considering I only have 3
I'm trying to get a Hibernate Spring Wicket app working and I'm stuck. Don't
know where to start. Any help would be appreciated. If this is the wrong
forum let me know. Thanks is advance.
I'm get the following error:
Error creating bean with name 'txManagerBean' defined in ServletContext
r
35 matches
Mail list logo