That was my plan exactly but I didn't know of a way to tell which button was
doing the form submission until now!
Thanks for that Form#findSubmittingButton works beautifully!
I don't even think it's a hack as that validation should only really a problem
if the user is submitting the form,
Hi I'm using wicket extensions 1.4.17.
I came across a problem with adding selection on Palette.
...
..
add(form);
ListString available = new ArrayListString();
original.add(A);
original.add(B);
original.add(C);
original.add(D);
original.add(E);
PaletteString palette = new
The same using wicket 1.5 snapshot. I'm debugging the class searching
for a solution.
Hi I'm using wicket extensions 1.4.17.
I came across a problem with adding selection on Palette.
...
..
add(form);
ListString available = new ArrayListString();
original.add(A);
original.add(B);
It´s not as if I have a choice, whether this requirement should be
implemented or not:(...
I´m not a big ajax fan, i like the application the way it is today, but ajax
is hype today,
and every customer wants more of it...
--
View this message in context:
see solution in
http://apache-wicket.1842946.n4.nabble.com/Dynamic-Select-and-SelectOptions-tp1872483p3310381.html
It's also working with firefox. My problem before was just a javascript
failure.
greetings
Ralph
--
View this message in context:
Try changing it to a servlet. There's another thread going on here
just recently which gives an example.
On Sun, May 1, 2011 at 10:22 PM, D D dawi...@gmail.com wrote:
I have a filter in web.xml file - however I did not set it up. At the
same time I've started to question the setup because I
Ok, I think I got it.
You should add to choice render an empty id and value expression, i.e.
new ChoiceRenderer(, ). Without any expression any choices is
recognized as selected.
Hi I'm using wicket extensions 1.4.17.
I came across a problem with adding selection on Palette.
...
..
add(form);
It happens consistently in Chrome and the fix is to clear cookies /
JSESSIONID... Can you be more specific in the javascript where the relative
path is assembled I can't find it... ?
On Fri, Apr 29, 2011 at 3:10 AM, Martin Grigorov mgrigo...@apache.orgwrote:
See wicketSubmitFormById() and
I am not aware of any logic in wicket-ajax.js which changes the url
passed from the server side.
See
org.apache.wicket.ajax.AjaxEventBehavior.generateCallbackScript(CharSequence)
I gave you the names of the JavaScript functions which trigger the
form submit. Use Chrome Developer Tools to debug
Hi,
I have one link within the DataView and one directly attached to the
Panel. The link within the DataView is added to the item within the
populateItem() method. This links gives me error when called *when*
the page is created:
WicketMessage: org.apache.wicket.WicketRuntimeException:
FYI. I added the index.htm file to my project and everything now
works. This is very strange and if anyone has an insight why this
helped I would be very glad to read about it.
Since I didn't try switching to servlet I'm not sure if that would
have helped as well.
Thank you for all of your
I am doing a facebook application in wicket. To get facebook authentication
token, I have written a wicket filter as below:
package com.mycompany.myapp.config;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import
Why not doing this directly the wicket-way with PageParameters and your
own Session?
FBPage(PageParameters params) {
// do something with: params.getString(xy);
// construct a new MySession object within the WicketApp.init method:
// @Override Session newSession(Request request,
Hello,
We have an interesting situation here. We have a Wicket page which we
deliver to our web designer. The web designer uses this page as a
template to build many pages and on each page may or may not choose to
add a non-wicket form. Our webapp should collect the names and values
submitted
Thanks Peter. I hadnt thought about that. I will do it that way.
Josh.
On Mon, May 2, 2011 at 7:10 PM, Peter Karich peat...@yahoo.de wrote:
Why not doing this directly the wicket-way with PageParameters and your
own Session?
FBPage(PageParameters params) {
// do something with:
or you can write a servlet to process form submissions from all these
different forms and call it a day.
-igor
On Mon, May 2, 2011 at 9:21 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
We have an interesting situation here. We have a Wicket page which we
deliver to our web designer. The web
Igor, we would like have access to the Wicket page model while
processing the custom form submission, so using separate servlets is
not a good solution for us.
I started implemented the 3.1 step in our solution and immediately ran
into a problem because wicket form contains a DIV with a hidden
Thanks for the reply, as I already mentioned I've tried running this in the
debugger in Chrome but it's not clear to me where the HOST part of the URL
is being generated all I see is the path.
The full URL that is getting posted to is:
You could direct the non-wicket form's action to direct to a page and use the
PageParameter's object to parse the input.
I did that for a while until I finally learned how to use Wicket forms the
right way. It worked quite well.
You can parse in the values, manually checking validity (even
The reason for the 404 is the Websphere is checking for a file, then
intending to filter before and after serving up the file. Since it finds no
file to serve, it returns the 404.
-Clint
On Mon, May 2, 2011 at 9:33 AM, D D dawi...@gmail.com wrote:
FYI. I added the index.htm file to my project
an alternative would be to write your own form-like component. form
impl doesnt use any internal hooks that you dont have access to, so
its feasible you can easily write your own version that processes
dynamic fields, etc.
-igor
On Mon, May 2, 2011 at 11:47 AM, Alec Swan alecs...@gmail.com
I ended up adding an empty Wicket form to my base page and creating
submitCustomForm() JavaScript function which can be called from any
non-Wicket form submission. The function copies all form elements from
the form being submitted to the Wicket form and submits the Wicket
form. Works like a
22 matches
Mail list logo