Hi,
Some problems I can't figure out. The code to create the button complains
that it requires a CnavUrl but gets back a String.
add(new Button(publish, model) {
@Override
public void onSubmit() {
CnavUrl cnavUrl = (CnavUrl) getModelObject();
Hi Paul Bors, thanks for you reply.
I want to select all results for the entire data table.
I think it's a common problem, actually. I've seen many posts in the
Internet where people didn't find a simple solution for this task, so I
think it will be very useful to share it with the WicketStuff's
Hi,
Does anyone has developed an open source, easy to adapt, e-mail client
UI? Of course, based on wicket.
--
Regards - Ernesto Reinaldo Barreiro
Hi,
I've just upgraded from Wicket 1.4 to 6.9, and (among lots of other
problems) I have a trouble with porting the code that submitted a form from
within a wiQuery dialog.
My code is based on the sample that can be found here:
Hi Andrew,
You have to override your ajaxbehavior#updateAjaxAttributes()
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
{
super.updateAjaxAttributes(attributes);
attributes.setMethod(Method.POST); //if you wish to post
attributes.setFormId(yourFormId);
}
Best
Hi Sebastien,
Thank you for the suggestion, but the trouble with the sample (and wiQuery)
is that DialogButton is not a wicket component - it is a very simple
object. There is no updateAjaxAttributes() to change.
As I explained, the form submit there works by a plain call from
JavaScript, and
I have created a panel that I would like to have refresh every 5 seconds.
I have tried using AbstractAjaxTimerBehavior and
AjaxSelfUpdatingTimerBehavior.
I have created just a simple case to make sure a
System.out.println(Update); to make sure that line of code is being called
but is not called
Can you show your stacktrace ?
François Meillet
Formation Wicket - Développement Wicket
Le 16 juil. 2013 à 19:17, dhongyt davidhtr...@gmail.com a écrit :
I have created a panel that I would like to have refresh every 5 seconds.
I have tried using AbstractAjaxTimerBehavior and
Which version of wicket are your using?
I remember AjaxSelfUpdatingTimerBehavior was not working in 6.3.0
https://issues.apache.org/jira/browse/WICKET-4886
Regards,
Gabriel.
--
View this message in context:
Hi guys,
I'm desparate for your help: I just can't figure out how to suppress an
Image in case its IResource yields nothing.
Here's some context:
A customer may have a custom logo image (in fact, there's some logic
involved in determining which exact logo to use, but that's beside the
point)
Hi,
a workaround could be returning an empty 1px*1px image from your IResource.
This way browsers won't complain with invalid content as you encounter.
Regards,
__
Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay)
http://code-troopers.com | http://www.bloggure.info |
apart from asking the database _again_ for the data or presence thereof
Whether the image is visible must be determined when the page is rendered. The
actual loading of the image is done in another request. Thus two times to ask
the databse.
Alternatively you may render a default resource
Thanks, but could you please explain how wicket handles serialization of
objects that could throw this error.
I could be wrong but it appears to me wicket is iterating the data structure
for its serialization efforts when its being modified by other threads as
well and the iteration results in
Wicket serializes access to each page instance, but provides no further
synchronization. Non-transient references to application data must be
synchronized by you.
On Tue, Jul 16, 2013 at 2:39 PM, saty satya...@gmail.com wrote:
Thanks, but could you please explain how wicket handles
Hi,
I think the idea is more to replace
wicketSubmitFormById('form',' +formAjaxBehavior.getCallbackUrl() +',
null, null, null, null,null);)));
by
formAjaxBehavior.getCallbackFunction()
With the override mentioned bellow.
#getCallbackFunction() will get you the ready-to-use javascript function. I
Thanks Paul and Sven. I got the form to work and available in the onSubmit
handler.
Now I'm interested in splitting the form out into it's one file. So I
created a class that has nothing more than the form, but I'm not sure how
to include this into a page.
In my class I do this:
public class
Wicket is a MVC component driven framework similar to Swing.
In short, what you want to do is create your own Panel with that form file
of yours and add it to another Panel as a child.
See chapter 4 Keeping control over HTML of the Wicket Free Guide at:
http://code.google.com/p/wicket-guide/
Hi,
Let me see If I get a chance to look at this today...
On Wed, Jul 17, 2013 at 2:54 AM, Sebastien seb...@gmail.com wrote:
Hi,
I think the idea is more to replace
wicketSubmitFormById('form',' +formAjaxBehavior.getCallbackUrl() +',
null, null, null, null,null);)));
by
18 matches
Mail list logo