Hi all,
I have a panel (named AdvancedSearchPanel) containing a Form with a
SubmitLink.
I open this panel inside a modal dialog:
final ModalWindow modal;
add(modal = new ModalWindow(modalAdvancedSearch));
final AdvancedSearchPanel searchPanel = new
I just get the problem, solved by using ajax form button, you can see
how I solve it at
http://www.nabble.com/Submit-a-form-at-ModalWindow-cause-the-ModalWindow-close.-tf2912895.html#a8139020
On 1/9/07, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,
I have a panel (named AdvancedSearchPanel)
On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Hey, James, Korbinian and Filippo... any plans of creating some
releases (see
http://www.nabble.com/who-wants-to-be-in-charge-of-doing-wicket-stuff-releases-tf2665134.html)?
Yes... and we really need to setup a new site for wicket-stuff
-Ursprüngliche Nachricht-
Yes... and we really need to setup a new site for
wicket-stuff now it's so outdated that most of the
subprojects of wicket-stuff aren't even documented in the
website. And if we don't have a decent website, it's very
difficult to keep track of
On 1/9/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
the current seems very basic to me, and i never heard about MoinMoin and its
capabilities before - what wonders me, is if it would be possible to use
confluence, as its used for wicket main so we would have only 1 technology /
system and
Hi,
I am trying the make a reset button (clears all fields) with code below.
According to the class comment of Form I can call
updateFormComponentModels, however that method is not visible.
What can I do to get the desired effect? I am using wicket-1.2.4.
Regards,
Erik.
// The
Hi,
i am new to this mailling list as well as Wicket so sorry if the
question is not worth the mailing list.
i got a problem here.
I want to show some tabular information using the DataView with pagination.
I have tried both the Loadable and Abstract Detachable models.
When i run the program the
why do you want to call updateFormComponentModels?
You also want to clear all model data? So the models already did get some
data from a previous request?
(i take the reset button has setDefaultFormProcessing(false) ?)
but why not do this:
form.visitChildren(FormComponent.class, new
or detachable models are not used anywhere. And many db objects and its
complete graphs are hold on to.
But stateless support itself won't help for this because then you really
need to use it and use it everywhere.
But the secondlevel cache will keep the session much smaller.
johan
On 1/9/07,
Yes, correct. The model should be cleared as well.
And it indeed uses setDefaultFormProcessing(false).
The approach your describing below will throw exceptions for checkboxes:
WicketMessage: unable to set object null, model:
Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL
can you post some sourcecode here?
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von snkr subedi
Gesendet: Dienstag, 9. Januar 2007 12:05
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Pagination not working
Hi,
i am new
yes we can't convert null to a primitive (int or boolean)
because what is null for an int? (0? but that is wrong, it is not 0 it is
void)
For a boolean we could say null is false. But that would then be an
exception to the rule.
So you need your own converter on the object that can handle null
Johan,
I got it working as below. Shall I create a Jira issue for this? I think
it would be more logical if checkbox could deal with cleared input.
Erik.
// The reset button
Button resetButton = new Button(resetbutton) {
/** [EMAIL PROTECTED] */
We have a web-app which deals with online hotel bookings, which uses Wicket
1.2.4.
We have a problem with the pages expiring, when refreshed or submitted, in
after about 20 min of inactivity.
This also happens when Back button is clicked from a page.
We need to have the pages not-expire for about
you will have to configure the session time out time in your server/
container , in your case you will have to do it in the resin's conf.
Regards
Dipu
- Original Message -
From: suranjay [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Tuesday, January 09, 2007 1:43 PM
I'd love to try and use the main wicket confluence instance in some way.
seriously, i haven't even been able to create an account and login to the
wiki for wicket-stuff.
On 1/9/07, Filippo Diotalevi [EMAIL PROTECTED] wrote:
On 1/9/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
the current seems
my checkbox works fine:
class MyDataObject
{
Boolean myBoolean;
void setMyBoolean(Boolean b)
Boolean getMyBoolean()
}
so it is not directly the checkbox. But if you map it to a boolean
(primitive) then you don't have
the three-state thing yes. (null, false, true)
So i dont know if this is a
Thank you for ur prompt reply.
I did set
web-app id=/
session-config
session-timeout120/session-timeout
session-max4096/session-max
/session-config
/web-app
and
session-config
session-timeout120/session-timeout
Hi Johan,
Ok, I understand.
Indeed, my model is a property in a bean that has the primitive type
boolean.
Even though I have a workaround now, I would appreciate such a fix.
If nobody disagrees I am happy to make a JIRA issue for it.
Regards,
Erik.
Johan Compagner schreef:
my checkbox
Keep it as current. If you want tri-state logic, then you have to
implement that. What are you going to do with int, long, double,
float? make it 0? make it -1?
Defaulting to false is very context dependent, and shouldn't be
implemented as such.
Martijn
On 1/9/07, Johan Compagner [EMAIL
are you returning the right thing in the IDataProvider.iterator(offset,length)
method?
Because the second time the offset shouldnt be 0 but 3
johan
On 1/9/07, snkr subedi [EMAIL PROTECTED] wrote:
Hi,
i am new to this mailling list as well as Wicket so sorry if the
question is not worth the
The point is that I do not want tri-state logic. That is why the
property has type boolean and not Boolean. If you want tri-state logic,
you can (and intuitively will) use non-primitive properties in your
model objects.
Anyway, you could always use the same values as java uses to initialize
I agree that a wiki is a good way to go. I'll find out if we can use the
main Wicket wiki on the Apache site for wicket-stuff.
On 1/9/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
I'd love to try and use the main wicket confluence instance in some way.
seriously, i haven't even been able to create
Damned holidays! My lack of attention to wicket-stuff has been gnawing away
at me.
Ryan, sorry to here yo haven't been able to create an account. I would be
glad to help -- let me know what problem you are having. You've tried
clicking login from the main page, and then clicking the
yes or see whats different with the code i posted and patch your tester.
On 1/6/07, Carfield Yim [EMAIL PROTECTED] wrote:
but it can be that it is purely 1.3
So I need to wait for version 1.3 you mean?
-
Take Surveys.
So you make your AjaxFallbackLink that does this:
class MyAjaxFallbackLink()
{
protected void onClick(AjaxTarget target) {
if (target == null) {
onFallbackClick();
}
else
{
onAjaxClick(target);
}
}
protected void onFallbackClick();
protected void
thank you, Johan Compagner for the reply
I solved the problem.
I had forgot to define the method
public List getListForMe(int start,int count){
return findAllMes().subList(start, start+count);
}
I just used whole list iterator
Thank you
sNkr
Yeah, the old one was MediaWiki. It worked well enough, but there were some
problems with spam.
Personally, I'd like to use Wicket's Confluence install to keep everything
in one place. Might also make it easier to link between projects.
On 1/9/07, James McLaughlin [EMAIL PROTECTED] wrote:
Experience with creating a databinding API... hmmm...
Hey, there's actually an implementation of DataView paging using
criteria here:
http://databinder.net/site/show/baseball-players
(sorry I haven't kept up with my listserv reading)
So, I wonder what could be done in terms of generic
Please ignore my spirited reply to that old message below. Somehow Gmane
(or Thunderbird?) has marked a bunch of old listserv messages as new,
and it is causing me to live in the past.
Nathan Hamblen wrote:
Experience with creating a databinding API... hmmm...
[blah blah BLAH]
Oh well,
I find it very good to stirr up such a discussion.
In fact I think that the ejb package could be just what the doctor
ordered for this in particular. javax.persistence while not the
end-all-be-all of ORM, does have annotations for all conceivable
relationships. This would make such
The problem is that there are so many people involved in wicket-stuff
that it's nearly impossible to reach them all and make a democratic
decision about the future of the website.
I don't think it has to be work truly democratic. As long as the main
communication is via some public mailing
really you need to figure out how to configure this in your container, but
in case you hit a brick wall in your basepage add an ajax timer behavior
that pings every 20 mins or so, make it stop after 3 hours. the fact that it
pings the server every 20 mins will keep the session alive.
-igor
On
Unfortunately, I won't be able to do this. I have a client event going on
at the same time.
On 12/24/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
All,
We are in the planning stages for submitting proposals to the
ApacheCon of next year in Amsterdam (http://apachecon.com)
Here are a couple
we already have a confluence and jira license, so if you guys want i can
forward you the info.
we also have a server where these things can be hosted :)
i can set it up if you guys are interested
-igor
On 1/9/07, Filippo Diotalevi [EMAIL PROTECTED] wrote:
On 1/9/07, Korbinian Bachl [EMAIL
I havent big experience with WIKIs so far, but i would go confluence as I
expect better connections between the wicket wiki and wicket stuff wiki when
both are same base.
Filippo seems to have experience with confluence, however, I'm still
wondering if we can use it, as i dont know
a, how to
damn timing :P
can you please let us know more about it?
_
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 9. Januar 2007 18:29
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?
On 1/9/07, Nathan Hamblen [EMAIL PROTECTED] wrote:
Please ignore my spirited reply to that old message below. Somehow Gmane
(or Thunderbird?) has marked a bunch of old listserv messages as new,
and it is causing me to live in the past.
Just 10 months ago :)
Eelco
You have to use AjaxSubmitLink and call Window.close(target) inside the
onSubmit(AjaxRequestTarget...) method.
-Matej
Nili Adoram wrote:
Hi all,
I have a panel (named AdvancedSearchPanel) containing a Form with a
SubmitLink.
I open this panel inside a modal dialog:
final
Matej, could you take this one?
Martijn
On 1/9/07, Nick Heudecker [EMAIL PROTECTED] wrote:
Unfortunately, I won't be able to do this. I have a client event going on
at the same time.
On 12/24/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
All,
We are in the planning stages for
Yeah, I think there's a lot that can be done with ejb3/jpa, and I know
that people are more comfortable with standards approved by Sun than
they are with the Hibernate name. (There are some useful HibAnno
relationships that didn't make it into the spec, tho.)
Seems to me like validation and
Igor,
thank you very much. I forgot to measure the session and have also
collected the byte size of the pagemap :-)
Thanks,
Maciej
Igor Vaynberg schrieb:
are you sure the image data is stored in the session?
we have RenderedDynamicImageResource-DefaultButtonImageResource
in
On 1/9/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
Filippo seems to have experience with confluence, however, I'm still
wondering if we can use it, as i dont know
a, how to get the license or if we may use the Apache ones for it
b, on what server we will put it up - SF.net seems to limit to
igor and his hacks..
On 1/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
really you need to figure out how to configure this in your container, but
in case you hit a brick wall in your basepage add an ajax timer behavior
that pings every 20 mins or so, make it stop after 3 hours. the fact that
I thought there were licensing issues that prevented us from hosting the
wicket-stuff wiki with the wicket wiki on apache.org. If not, then I am for
it. I have never used confluence so maybe someone who knows better can
comment why it is so much better than the other wiki frameworks out there.
webapps are often an uphill battle :)
On 1/9/07, Johan Compagner [EMAIL PROTECTED] wrote:
igor and his hacks..
On 1/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
really you need to figure out how to configure this in your container,
but in case you hit a brick wall in your basepage add an
Yeah, we can't use Apache's infrastructure for wicket-stuff. However,
we have a couple of servers available that are not related to Apache I
believe.
Eelco
On 1/9/07, James McLaughlin [EMAIL PROTECTED] wrote:
I thought there were licensing issues that prevented us from hosting the
wicket-stuff
That would be great. Maybe we can run the wicket-stuff examples there, too.
Is it possible for the wicket-stuff maintainers to get access to said box.
thx,
jim
On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Yeah, we can't use Apache's infrastructure for wicket-stuff. However,
we have a
Okay, I thought about a bit more and I now agree with you. It will be a
mess if you do what I propose in combination with not allowing the empty
string through validation.
Still, the method CheckBox#clearInput() does not do what you expect. I
expect it to clear the checkbox. This is translated
Hello,
I just updated the wiki page
http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket
but there must surely be more articles on Wicket out there?!
Please add them when you find one!
Have fun,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
Hello,
I just updated the wiki page
http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket
but there must surely be more articles on Wicket out there?!
There should be a couple more, maybe we need to do a bit more googling. :)
But... let this be a call to all readers to
As you all probably know, the Apache conference Apache Con Europe 2007
is getting closer (read more about it here: http://apachecon.com)
We can try to organize a couple of get to gethers. I already submitted
an Introduction to Wicket presentation (it still has to be accepted).
We are also
Hi there, we want to integrate Wicket with other rendering
technologies. One example is including wicket pages in a jsp.
I created a use case as an Eclipse project based on Wicket trunk of today.
zip is available at http://issues.apache.org/jira/browse/WICKET-202
Run the application as usual
I tried replacing the original SubmitLink in the form with an
AjaxSubmitLink:
public class AdvancedSearchForm extends Form {
private static final String id = advanedSearchFrom;
public AdvancedSearchForm(IModel model) {
super(id, model);
add(new TextField(name));
54 matches
Mail list logo