Pretty sure. I'm using Maven2 and the JAR name is
wicket-1.3.0-incubating-SNAPSHOT.jar
On 3/29/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
auto is something from 2.0, are you sure you have the right jars?
-igor
On 3/28/07, Peter Thomas [EMAIL PROTECTED] wrote:
Thanks Eelco Igor I got
Not all values will be overwritten, and if you don't check for
concurrent updates (your users will try to modify the same object at
the same time!) you are in for some hefty support calls.
And if you disable a field, its value will not be part of the form
processing, also something to take into
And the Ajax replace / browser back-button problem is still there even in
1.3.0 [29-Mar]. Do you need me to open a JIRA? I'll revert to 1.3 for now.
Thanks,
Peter.
On 3/29/07, Peter Thomas [EMAIL PROTECTED] wrote:
Pretty sure. I'm using Maven2 and the JAR name is
Hello,
I had the following: one extended DropDownChoice with different languages
and some fields in a form. When the user changes it, I get success in
getting the translation of everything in the page, and also Wicket maintains
whatever the user wrote in the fields, so it's nice. But I have a
pinging/bump Eelco to answer:)
Fra: [EMAIL PROTECTED] på vegne af Nino Wael
Sendt: on 28-03-2007 09:54
Til: wicket-user@lists.sourceforge.net
Emne: SV: [Wicket-user] Radio.getValue?
Ok, let me try to explain another way.
If you create a page where you use
Hmm after some extensive testing. It appears as the radiochoice cant be used
with ajax when applying the ajaxformupdating component (the update a called but
the radiochoice model arent updated), I am using onchance attribute to trigger
ajax are this wrong? It works just fine when using
heheh obviously i am using onchange and not onchance:)
Fra: [EMAIL PROTECTED] på vegne af Nino Wael
Sendt: to 29-03-2007 13:42
Til: wicket-user@lists.sourceforge.net; wicket-user@lists.sourceforge.net
Emne: Re: [Wicket-user] AJAX modal window (1.2.5)and form
Hi Martijn,
Not all values will be overwritten, and if you don't check for
concurrent updates (your users will try to modify the same object at
the same time!) you are in for some hefty support calls.
Concurrent updates won't be common because most of the updated info will be
per user, and
Also, how are you going to resolve the relations? Person - Address?
Are you going to create those as well?
Exactly. It's the thing most people do with spring-mvc I guess. There your
request parameters are bound to fresh objects by default (although you could
override formBackingObject() to
Hi,
I have a fragment inside of form:
Form form = new Form( form );
Fragment fragment = new Fragment( fragmendId, markupId );
form.add( fragment );
and markup:
form wicket:id=form action=
wicket:fragment wicket:id=markupId
Move the fragment markup *outside* the form.
Martijn
On 3/29/07, Dmitry Kandalov [EMAIL PROTECTED] wrote:
Hi,
I have a fragment inside of form:
Form form = new Form( form );
Fragment fragment = new Fragment( fragmendId, markupId );
form.add( fragment );
and
On Thu, 15 Mar 2007, tooy li(Gmail) wrote:
1.2 and 2.0 snapshot. considering the upgrading in furture, i began my
wicket travel on a snapshot of december. after three month , i have to
deploy the application into production env, but the wicket 2.0 is
still not release . so should I upgrade the
Martijn Dashorst wrote:
Move the fragment markup *outside* the form.
It works outside the form. But I want to show/hide some of form inputs and
related html tags.
--
View this message in context:
http://www.nabble.com/using-fragment-inside-of-form-tf3486450.html#a9734356
Sent from the
2 things:
1. Probably you should use an IChoiceRenderer in addition to your current list.
2. you *replace* the component, and with it the selected value, better
to use a lazy model to retrieve the list of countries, instead of
pushing it to the component
ad 2:
new DDC(countries, new Model() {
Where the fragment is defined is different from where it is used. You
define the fragment outside the form (just as you would do a panel,
but that is in another file). The fragment is then instantiated and
added to the place where it will render itself, in your case: the
form.
Martijn
On
Martijn Dashorst wrote:
Where the fragment is defined is different from where it is used. You
define the fragment outside the form (just as you would do a panel,
but that is in another file). The fragment is then instantiated and
added to the place where it will render itself, in your
afaik there's no support for ajax and radio choices currently.
On 3/29/07, Nino Wael [EMAIL PROTECTED] wrote:
heheh obviously i am using onchange and not onchance:)
Fra: [EMAIL PROTECTED] på vegne af Nino Wael
Sendt: to 29-03-2007 13:42
Til:
On Thu, 15 Mar 2007, Daniele Dellafiore wrote:
How can I access a cell in the table? What is the path for, say, cell 1,1?
Or there are other way using tester?
You mean WicketTester? I suppose that you need to know the
wicket component paths to use it. As Igor said, you can
deduce them from the
I have a scenario where I want to perform an action on the server prior to
issuing a jsform.submit() on the client. I had been using SubmitLink, but
the timing was wrong because I need to tweak some data on the client BEFORE
submitting. I finally got the idea to combine AjaxLink and SubmitLink.
form wicket:id=form
span wicket:id=fragment/span
/form
wicket:fragment wicket:id=foo/wicket:fragment
new Form(form).add(new Fragment(fragment, foo));
Should work IMO.
Did you read: http://incubator.apache.org/wicket/examplefragments.html
Martijn
On 3/29/07, Dmitry Kandalov [EMAIL
On Tue, 13 Mar 2007, Erik van Oosten wrote:
ZedroS Schwart wrote:
* Best practices for working with Hibernate and Spring, especialy
regarding DAO handling and session ?
http://www.databinder.net
Or go for wicket-spring and normal spring-hibernate layers
as you would do in any other
Martijn Dashorst wrote:
form wicket:id=form
/form
wicket:fragment wicket:id=foo/wicket:fragment
new Form(form).add(new Fragment(fragment, foo));
Should work IMO.
Did you read: http://incubator.apache.org/wicket/examplefragments.html
You are right. I read it but to much
On Mon, 19 Mar 2007, Udora wrote:
Because of the my impression so far, I've decided to download the Wicket
source and look for answers to my future questions there. Probably I'd be
less productive that way but unfortunately I don't clearly see any other
alternative.
Quite the contrary, wicket
yes, create a jira
-igor
On 3/29/07, Peter Thomas [EMAIL PROTECTED] wrote:
And the Ajax replace / browser back-button problem is still there even in
1.3.0 [29-Mar]. Do you need me to open a JIRA? I'll revert to 1.3 for
now.
Thanks,
Peter.
On 3/29/07, Peter Thomas [EMAIL PROTECTED]
It appears that the patch is only for versions 1.3 and 2.0, and we are
using 1.2.4, hence it won't apply correctly.
The failure handler you mentioned works quite well, thank you for that,
but it only seems to work in development mode. Basically here is what
is happening for me:
In development
One problem I have due to avoiding DTOs is that most of the time I don't
want to serialize my form models, because they are (often big) entities with
lazy loaded associations. So in principle I would use an
LoadableDetachableModel to load the entity from the repository each time the
model is
Ok, let me try to explain another way.
If you create a page where you use the radio component. The radios represent
various kinds of datasets(OLAP cubes in this case but it does not really
matter).
On monday the 1. march you record with jmeter your test case(jmeter only
records the http
On 3/29/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Looking at that code, I don't understand why we even need:
private short uuid = -1;
as there is no code other than in getValue that changes the value, and
that value can just be recreated everytime it is needed (as it is
nothing more than a
there is support for it now on the javascript side. matej, you created
a boolean for me in the wicket serialize method, we only need a
behavior (or make the current one smarter) that uses that, radios and
checkboxes did seem to work at my place
On 3/29/07, Matej Knopp [EMAIL PROTECTED] wrote:
hi,
I am working with DataView where each item will a have a label, checkbox and
another Dataview which is created on the fly, but it seems that the models
in the sub Dataview is not been attached, when error happens the Sub
Dataview which contains fields is not high lighted.
Is there a issue
On 3/29/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Looking at that code, I don't understand why we even need:
private short uuid = -1;
as there is no code other than in getValue that changes the value, and
that value can just be recreated everytime it is needed (as it is
nothing
what do you mean fields are not highlighted?
-igor
On 3/29/07, changdt2 [EMAIL PROTECTED] wrote:
hi,
I am working with DataView where each item will a have a label, checkbox
and
another Dataview which is created on the fly, but it seems that the models
in the sub Dataview is not been
class SomeModel extends LoadableDetachableModel {
protected Object load() {
return new Foo();
}
}
new SomeModel(anotherFooThatWasLoaded);
Oh, cute! Or even:
new LoadableDetachableModel(anotherFooThatWasLoaded) {
protected Object load() { return new Foo(); }
}
I thought that
hi,
I find it' s don't pop the ajax modal window when user click the ajaxlink
object, some time user have to make twice double click can show it. user has
complained it, so what can i do for it?
-
Take Surveys. Earn Cash.
when a dropdown list is first show, it has a please select option to prompt
user to select one, when user select and save the record, and edit it again,
the drop down list will only show the data, so user cannot unselect some one.
so I have to add a into the list. Can i get a better
give us a quickstart that shows this behavior and we can fix it.
-igor
On 3/29/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
hi,
I find it' s don't pop the ajax modal window when user click the ajaxlink
object, some time user have to make twice double click can show it. user
has complained
On 3/29/07, Johan Compagner [EMAIL PROTECTED] wrote:
and if a user just refreshes the page? or you use it as a response
page somewhere else? then suddenly everything is empty?
Yeah, that's a good point.
Eelco
-
Take
and if a user just refreshes the page? or you use it as a response
page somewhere else? then suddenly everything is empty?
If the user refreshes the page the previous request parameters will be
reposted and will overwrite the fresh form model object properties, so he
will see the page as was
this is what I have
public class MyRadioChoice extends RadioChoice
{
public MyRadioChoice(final String id, final IModel model,List
choices)
{ super(id,model,choices);}
public boolean wantOnSelectionChangedNotifications(){return true;}
}
public void populateItem(final
and if a user just refreshes the page? or you use it as a response
page somewhere else? then suddenly everything is empty?
If the user refreshes the page the previous request parameters will be
reposted and will overwrite the fresh form model object properties, so he
will see the page as
if you use dataview in a form you have to set the proper itemreusestrategy
so dataview doesnt discard items and rebuild them on every request
see dataview.setitemreusestrategy and reuseifmodelsequalstartegy
-igor
On 3/29/07, changdt2 [EMAIL PROTECTED] wrote:
this is what I have
public
Dear all,
At first, I got this exception, after I click Close this window with
result OK inside the ModalWindow.
wicket.util.io.WicketSerializeableException: Error reading field: locale
for object class: class
wicket.extensions.ajax.markup.html.modal.ModalWindow$MaskType
children-maskType
NOTE:
what version are you using? can you check if this still happens with
latest 1.3 wicket version?
-Matej
On 3/29/07, Chan Man Kam [EMAIL PROTECTED] wrote:
Dear all,
At first, I got this exception, after I click Close this window with
result OK inside the ModalWindow.
I just download it form mvn (http://wicketstuff.org/maven/repository)
a few day before.
#Generated by Maven
#Mon Mar 12 00:03:31 CET 2007
version=1.3-incubating-SNAPSHOT
Man Kam
Matej Knopp wrote:
what version are you using? can you check if this still happens with
latest 1.3 wicket version?
Only if the request was from a form and when you are not using the
render-to-buffer strategy.
Sorry Eelco, would you be so kind as to explain this, I'm new to wicket and
still a bit ignorant of its internals.
I see two access points to the form page:
1) First time you enter the page.
2)
yeah, that's rather old snapshot, i think it's already fixed.
On 3/29/07, Chan Man Kam [EMAIL PROTECTED] wrote:
I just download it form mvn (http://wicketstuff.org/maven/repository)
a few day before.
#Generated by Maven
#Mon Mar 12 00:03:31 CET 2007
version=1.3-incubating-SNAPSHOT
Man Kam
if you do a submit and validation erros happening then no new pag is
created but the page is reused. but you dont have a problem then
because the form will have all the values posted.But if the user does
a refresh then in default wicket setting, you dont do a new post, one
a page request to the
3) refresh of the page (is a get, press f5 in your browser)
Martijn
On 3/29/07, Carlos Pita [EMAIL PROTECTED] wrote:
Only if the request was from a form and when you are not using the
render-to-buffer strategy.
Sorry Eelco, would you be so kind as to explain this, I'm new to wicket and
i will look at that if i read correclty locale serialization problem
this weeken. i dont have acces to my laptop tonigth (and in a RAD race
tomorrow again)
if people can generate unit test for objects that fail
then that would be great
On 3/29/07, Chan Man Kam [EMAIL PROTECTED] wrote:
Dear all,
3) refresh of the page (is a get, press f5 in your browser)
(1) and (2) were intended to be states where a reload could be attempted.
There is no point in adding a third explicit refresh item. But anyway, not
only f5 but C-R and View/Reload (I'm using firefox) do a reload, which
consists of
You forget the redirect after post, or even when nothing is submitted.
First render of the page refresh...
Martijn
On 3/29/07, Carlos Pita [EMAIL PROTECTED] wrote:
3) refresh of the page (is a get, press f5 in your browser)
(1) and (2) were intended to be states where a reload could
Don't make the drop down choice required when a null value is valid.
Martijn
On 3/29/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
when a dropdown list is first show, it has a please select option to
prompt user to select one, when user select and save the record, and edit it
again, the
You forget the redirect after post, or even when nothing is submitted.
First render of the page refresh...
I have been reading about the redirect after post pattern (of which I wasn't
aware) here
http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost and
now I understand
yess the rendering strategy is configurable. But do you really want to
resubmit always?
i already told you when a page is created or
reused. Its .created once (bookmarkable or by your sellf
setResponsePage(ne MyPage());) then with a form submit it will reuse
that instance from the session
On
On 3/29/07, Carlos Pita [EMAIL PROTECTED] wrote:
You forget the redirect after post, or even when nothing is submitted.
First render of the page refresh...
I have been reading about the redirect after post pattern (of which I wasn't
aware) here
On 3/29/07, Carlos Pita [EMAIL PROTECTED] wrote:
You forget the redirect after post, or even when nothing is submitted.
First render of the page refresh...
Will wicket always work in this mode? Is this configurable?
Read: http://cwiki.apache.org/WICKET/render-strategies.html
Another
Hi,
I am new to Wicket and want to use XHTML and validate the files. I use
IntelliJ Idea but I could not succeed in validating. I run into two
problems:
- I did not find any wicket.xsd? I just found a DTD, but I don't know
how I should use it.
- How can I switch the file extension to xhtml
Thank you very much Martijn and Eelco, I won't say you made it crystal clear
to me now, but I understand a tad more. I would now reformulate my (1) and
(2) states as:
(1) The form is entered from a bookmarkable page.
(2) The form is posted (POST) to a non-bookmarkable page because of normal
Hello,
Thank you very much for your fast answer.
I'm using what you said, but sure I'm not doing in the way I should because
it doesn't work as expected. Now I can get keep the country selected, but it
is not refreshed when changing the locale.
This is what I have:
countries = new
can you show us your code?
Chris Colman wrote:
there is a reason why some of the stuff is done where it is. now,
I believe that with the minor change that I have made everything is
still being done in the exact same order so there should be no
consequences of this change. It's just
switchable via an application
setting so that existing code and test cases work in the same way as
they do now]
RequestCycle.java
public final void setResponsePage(final Page page)
{
// CJC 20070329 - added to auto init WebPages to allow
// getVariation
Okay, here's my opinion:
People have been using Wicket for years now and this is the first bug
of this type I have heard of. I am very reluctant attempt any sort of
generic framework-level fix to the semantics of Java object construction
(regardless of how anyone feels about the practices
Life tomorrow be best however.
Tomorrow be best, however. Watch them manage save clear.
Inboxes cant more than within minutes day.
Goldeneye, we carnt times minites because thats what spammers. Sleeping playing
postput other minutesif someone suprise somehowif shall? Videos as watch them
manage
63 matches
Mail list logo