I agree. If you make the PropertyModel access private getter and setter I
don't see any reason because it cannot access the attribute field directly
(when the getter and setter are omitted) .
- Paolo
On 8/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> > Just to be pedantic they are not ign
On 8/24/07, Patrick Angeles <[EMAIL PROTECTED]> wrote:
>
>
> The extensions AjaxFallbackDefaultDataTable and related classes are
> extremely nice, btw. It's allowed me to quickly set up list paging and
> sorting in a way that would have taken me days using any other web
> framework.
thats the ide
I'm not that intrepid so I think I'll just wait until beta3 to get those
fixes.
The extensions AjaxFallbackDefaultDataTable and related classes are
extremely nice, btw. It's allowed me to quickly set up list paging and
sorting in a way that would have taken me days using any other web
framework.
My understanding is that because it's not bundled as part of a
release, the *wiki* doesn't have any issues with needing any
particular licence for it's info, so you should be free to add info to
it, no matter what the licence of the support code is.
Either way, thanks, though!
/Gwyn
On Friday, A
i think it has been fixed since then. at least snapshots at
wicketstuff.org/wicket13 appear to be working fine.
-igor
On 8/24/07, Patrick Angeles <[EMAIL PROTECTED]> wrote:
>
>
> 1.3-beta2
>
>
> igor.vaynberg wrote:
> >
> > i believe this was fixed a long time ago, what version are you seeing
> t
1.3-beta2
igor.vaynberg wrote:
>
> i believe this was fixed a long time ago, what version are you seeing this
> with?
>
> -igor
>
>
> On 8/24/07, Patrick Angeles <[EMAIL PROTECTED]> wrote:
>>
>>
>> That was fast :)
>>
>> Also, while we're on it, I just noticed that the NavigationToolbar text
i think a tree on the left would be neat
-igor
On 8/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> On 8/24/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
> > That is because index page should be better organized
> > IMO: if it mentioned all the nested examples too on
> > the index pag
On 8/24/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
> That is because index page should be better organized
> IMO: if it mentioned all the nested examples too on
> the index page it would help to navigate there.
Would be pretty big though. Could you give an example or patch?
Eelco
---
patches are welcome
-igor
On 8/24/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
>
> That is because index page should be better organized
> IMO: if it mentioned all the nested examples too on
> the index page it would help to navigate there.
>
> --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
i believe this was fixed a long time ago, what version are you seeing this
with?
-igor
On 8/24/07, Patrick Angeles <[EMAIL PROTECTED]> wrote:
>
>
> That was fast :)
>
> Also, while we're on it, I just noticed that the NavigationToolbar text is
> off. For a list of 50 items with a pagesize of 5,
That is because index page should be better organized
IMO: if it mentioned all the nested examples too on
the index page it would help to navigate there.
--- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> you didnt look very hard than
>
> http://wicketstuff.org/wicket13/ajax/choice.1
>
> -igor
>
>
That was fast :)
Also, while we're on it, I just noticed that the NavigationToolbar text is
off. For a list of 50 items with a pagesize of 5, it says: "Showing 1 to 6
of 50" (should say "Showing 1 to 5 of 50").
--
View this message in context:
http://www.nabble.com/AjaxFallbackDefaultDataTab
you didnt look very hard than
http://wicketstuff.org/wicket13/ajax/choice.1
-igor
On 8/24/07, Oleg Taranenko <[EMAIL PROTECTED]> wrote:
>
> Hi * *,
>
>
> I can not find subj neither in wicket nor in extensions codabases.
>
> Must I write it or there is a workaround (AjaxLink?)
>
>
> Cheers,
>
Hi * *,
I can not find subj neither in wicket nor in extensions codabases.
Must I write it or there is a workaround (AjaxLink?)
Cheers,
Oleg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Thanks,
I will try that. And please make those methods final...
Regardy,
Johannes Schneider
Igor Vaynberg wrote:
dataview doesnt have its own markup, it delegates it to its direct children.
so you want to put that oncomponenttag into the item the dataview creates.
override dataview.newitem()
no, of course not the items. whatever calls oncomponenttag can do a
c.getparent() instanceof abstractrepeater check.
-igor
On 8/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> On 8/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > or we can forward the call to the repeatermore intuit
On 8/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> or we can forward the call to the repeatermore intuitive for newbies
> less intuitive for the rest :)
The items would forward the calls? Hmmm. Sounds a bit dangerous/ confusing.
Eelco
-
or we can forward the call to the repeatermore intuitive for newbies
less intuitive for the rest :)
-igor
On 8/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> On 8/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > dataview doesnt have its own markup, it delegates it to its direct
> c
On 8/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> dataview doesnt have its own markup, it delegates it to its direct children.
> so you want to put that oncomponenttag into the item the dataview creates.
> override dataview.newitem() and override oncomponenttag on the returned
> item.
It woul
dataview doesnt have its own markup, it delegates it to its direct children.
so you want to put that oncomponenttag into the item the dataview creates.
override dataview.newitem() and override oncomponenttag on the returned
item.
-igor
On 8/24/07, Johannes Schneider <[EMAIL PROTECTED]> wrote:
>
oh, and btw
http://wicketstuff.org/wicket13 is where the live examples are.
wicket-library isnt maintained and hasnt been for a while, not sure why its
still up and running.
-igor
On 8/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> thanks, fixed in trunk
>
> -igor
>
>
> On 8/24/07, Patrick
Hi,
I use a DataView to create a list (). The DataView is used to
render the -tags. Now I try to add a custom id value to the tag
if some circumstances are fulfilled:
@Override
protected void onComponentTag( @NotNull ComponentTag tag ) {
super.onComponentTag( tag );
Iterator ite
thanks, fixed in trunk
-igor
On 8/24/07, Patrick Angeles <[EMAIL PROTECTED]> wrote:
>
>
> I noticed this in the examples:
>
>
> http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.AjaxDataTablePage
>
> Changing the sort order doe
I noticed this in the examples:
http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.AjaxDataTablePage
Changing the sort order does not seem to take you to the first page... I
stepped through the code, and it looks like it should
Igor,
We are not really trying to make it portable or our own abstraction. The aim
would be a subset of the non-ajax Wicket API. In my comfortable ignorance it
is a nice way to keep track of dirty components, hide details of
ajax/non-ajax and let our tech lead keep firm control over which bits of
> Just to be pedantic they are not ignored:
> with "public getXXX" and "private setXXX" the property is read only
> with "public getXXX" and "no setXXX" the property is read only
> with "no getXXX" and "public setXXX" property is read and write
I would say that if the field exists, it should alway
On 8/24/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> We can do that because all our components implement specific interfaces
> which changes
> the state of the component. For example
>
> interface ILabelMethods
> {
>setBackground(Color color)
>setForeground(Color color)
>// and so
On 8/24/07, Vincenzo Vitale <[EMAIL PROTECTED]> wrote:
> Yes I see your point and you are absolutely right but please consider
> that a lot of companies (included mine) have been using Spring MVC for
> a long time and there are a lot of projects already in production
> using that technology and wor
> > Anyway, for this case, if anyone cares, we can fix it in either way.
> >
> I care.
> Is that enough anyones?
Done (using Johan's suggestion).
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On 8/24/07, Swaroop Belur <[EMAIL PROTECTED]> wrote:
> Well, i had the same bad luck as India is not in the choice.
> They asked me to get a paypal account
Great. Largest software country in the world by now? So does it work
with paypal then? For all countries?
Eelco
---
On 8/24/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> On 7/26/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > Eelco and I are really happy to announce the availability of our first
> > two chapters of our forthcoming book "Wicket in Action".
>
> Manning does not accept orders from Hungary, whe
On 8/24/07, Alex Shneyderman <[EMAIL PROTECTED]> wrote:
>
> I wonder if there is any documentation as to how the rendering process
> works
>
> How do I go from Component graph -> html associated with the page?
the basic answer is that wicket traverses the component graph and calls
various render
Now available from badongo to avoid cheesy IE problems
http://www.badongo.com/file/4142529
Nino Saturnino Martinez Vazquez Wael wrote:
Argh had made an error in the previous quickstart that made the
dropdown to be broken..
This version however displays the problem as it are.
http://fileho.com
I wonder if there is any documentation as to how the rendering process works
How do I go from Component graph -> html associated with the page? And
what is the model's role there. I have been reading and re-reading the
getting started manual, unfortunately it is an extremely incomplete
document, s
You should also make sure that you are using DiskPageStore as pagestore.
-Matej
On 8/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> who cares, he says he has a database in there so the tests should be pretty
> even.
>
> for all we know wicket might be five times slower then spring mvc! and it
the problem is you replace it but do not update the reference so next time
the onclick runs it calls replacewith on an old reference. it is a common
mistake.
EinsatzPanel newPanel = new EinsatzPanel("einsatzPanel", ein);
newPanel.setOutputMarkupId(true);
einsatzPanel.replaceWith(newPanel);
einsatz
the ui layer is generally not portable. if you start building your own
abstraction to make it portable you will end up with a pretty big mess
because you will be working against whatever framework you are using and
eventually that abstraction will turn into a framework itself.
-igor
On 8/24/07,
who cares, he says he has a database in there so the tests should be pretty
even.
for all we know wicket might be five times slower then spring mvc! and it
may very well be because spring mvc is so simple in comparison. but who
cares? a five fold improvement of something that is only five percent
its happening because you are creating invalid html
you cannot have a span between a tr and td, so you just need to adjust how
you are outputting the markup. change testpage.html to use the following and
it will work:
-igor
On 8/24/07, Ar
class mypanel extends panel {
private List options;
mypanel () { add(new dropdownchoice("id",model, new PropertyModel(this,
"options"),...);}
now that it is using a property model to retrieve its choices just
add/remove items from the options list
-igor
On 8/24/07, andrea pantaleoni <[EMAIL P
* Ryan Sonnek:
> I'm not familiar with IResourceStream and using a WebPage approach has
> allowed for me to have great control over several aspects including:
> * url mount points
> * url parameter strategies
> * possibly configuring the response Expires/Cache headers?
>
> Do you have any examples
I'm not familiar with IResourceStream and using a WebPage approach has
allowed for me to have great control over several aspects including:
* url mount points
* url parameter strategies
* possibly configuring the response Expires/Cache headers?
Do you have any examples of how this would work as a
* Ryan Sonnek:
> I'd really need to see this to believe it. Can you really use
> this kind of component without it being a page? Using a page
> allows for bookmarkable URLS, mount points, easy page parameter
> passing, all of which I use *extensively* to create my rss
> feeds. someon
Just to be pedantic they are not ignored:
with "public getXXX" and "private setXXX" the property is read only
with "public getXXX" and "no setXXX" the property is read only
with "no getXXX" and "public setXXX" property is read and write
Matej Knopp-2 wrote:
>
> Well, the private acessing func
Well, the private acessing functionality was mostly build with situation like
private String myField;
new PropertyModel(this, "myField");
i.e. without the setters and getters functionality. But I don't see
reason why should getters and setters be ignored, even if they are
private. Johan?
-Matej
Thanks again Matej,
At first I just made my setValue method private. I had to remove getValue to
make PropertyModel access the private member. Not sure I'm keen on this
behaviour. We have a long weekend here in the UK so I can ponder it slowly.
Realised I've been avoiding implementing something b
It's not out of date. PropertyModel provides access to privdate
properties and it is completely intetional. The reason is actually to
provide better encapsulation, because if you e.g. bind your component
to a property of that component, you don't have to provide public
setters and getters for that
The problem with this exception was the "double" refresh of components.
I tried it this way:
protected void onSubmit(AjaxRequestTarget target) {
[...]
target.addComponent(field);
target.addComponent(form);
}
This throws the exception.
Just refresh the whole form and eve
Hi Benjamin,
where is the Panel einsatzPanel defined?
Maybe it helps defining it as a Class property?
Kind regards
Florian Sperber
Benjamin Ernst wrote:
Hi,
I am trying to replace a Panel, which is inside a Form, which is inside a
Page, which is inside a ModalWindow.
The first time it works
On Fri, 24 Aug 2007 12:24:46 +0200
Federico Fanton <[EMAIL PROTECTED]> wrote:
> > I was wondering, is there a way to cleanly enable/disable complex
> > components such as DateFields and Palettes? I see that
> > Component.setEnabled() is final so it cannot be overridden to handle
> > special cas
On 8/24/07, Oleg Taranenko <[EMAIL PROTECTED]> wrote:
>
> moreover the payment through a paypal account, that withdraws money from card
> emitted by a
> russian bank, failed too! :|
They seem to accept visa, mastercard and AMEX, you don't have to use paypal.
Gabor Szokoli
--
Thanks Matej,
Is this
http://wicketstuff.org/wicket13doc/org/apache/wicket/model/PropertyModel.html
PropertyModel javadoc out of date where it says that "Note that the
property resolver by default provides access to private members and methods.
If guaranteeing encapsulation of the target object
Hi,
I am trying to replace a Panel, which is inside a Form, which is inside a
Page, which is inside a ModalWindow.
The first time it works fine, but when I want to replace it a second time,
the Panel has no parent.
Here is the code:
listItem.add(new AjaxButton("pflege", MitarbeiterForm.this) {
That's a really good question. If you look at the source for my solution,
it's a very lightweight wrapper around the ROME RSS library. I don't have
any code that's setting response headers. If you have a solution, I'd be
happy to incorporate it into the FeedPage.
On 8/24/07, thijs <[EMAIL PROTE
I'd really need to see this to believe it. Can you really use this kind of
component without it being a page? Using a page allows for bookmarkable
URLS, mount points, easy page parameter passing, all of which I use
*extensively* to create my rss feeds. someone will have to prove me wrong
if this
Hi,
there's nothing wrong with yor approach, actually, it's more solid
than using (Compound)PropertyModel because you get full refactoring
support. The downside is of course code verbosity. Unless java get
property expression there's not much we can do about it though :-/
-Matej
On 8/24/07, Sam
I't really does not matter much but I'm with Eelco and Johan on this.
I prefer not to allow null values in the constructor. At least not if
there is a constructor with fewer parameters that can be used instead.
So I prefer to chain towards the simpler constructor if possible.
On 8/24/07, Martin Fu
Hi,
i am using a subclass of AjaxEditableLabel.
This one works fine so far but I have one Problem.
If the value of the label is < 0 the markup should change.
I tried it this way with no effect.
public class MyAjaxEditableLabel extends AjaxEditableLabel{
protected void onSubmit(AjaxRequestTarge
Hello Konstantin,
Your code snippet is from panel constructor, is not it? So far it
executed only first time, by creating page!
Your need explicitly use in the link handler replaceWith() method. See
Component's javadoc.
Cheers,
Oleg.
Friday, August 24, 2007, 8:46:01 AM, you wrote:
> I need to
moreover the payment through a paypal account, that withdraws money from card
emitted by a
russian bank, failed too! :|
Friday, August 24, 2007, 1:36:25 PM, you wrote:
> Well, i had the same bad luck as India is not in the choice.
> They asked me to get a paypal account
> -swaroop
> On 8/2
On 8/24/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> Manning does not accept orders from Hungary, where I happen to live and work.
> Normally we don't bother with such businesses and buy from amazon.com
> instead, but the online preview of the Wicket book is worth making an
> exception.
> Any sug
Well, i had the same bad luck as India is not in the choice.
They asked me to get a paypal account
-swaroop
On 8/24/07, Gabor Szokoli < [EMAIL PROTECTED]> wrote:
>
> On 7/26/07, Martijn Dashorst < [EMAIL PROTECTED]> wrote:
> > Eelco and I are really happy to announce the availability of our fir
On 7/26/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Eelco and I are really happy to announce the availability of our first
> two chapters of our forthcoming book "Wicket in Action".
Manning does not accept orders from Hungary, where I happen to live and work.
Normally we don't bother with su
I could have made it a lot clearer by saying that the factory would produce
objects inside a Wicket container. So as Swing uses AWT as a container we
would use adapted Wicket components as the containers...
Sorry, have never done any Swing so the analogy wasn't obvious. Been in
struts like world
Hi,
i solved it by myself.
I took a look at the sources and so i got the hint, what to do.
I had to switch between the editor and label from the superclass.
I think, it will work now.
Freundliche Grüße / With kind regards
Fabian Hagen
[EMAIL PROTECTED]
24.08.2007 11:09
Bitte antworten an
Does anybody use any other data binding than the built in Wicket classes?
We have few complex objects rather than lots of objects with lots of fields
so having the binding more explicit e.g.:
add(new TextField("value", new ModelString() {
public void setStr
On Fri, 24 Aug 2007 12:08:48 +0200
Federico Fanton <[EMAIL PROTECTED]> wrote:
> I was wondering, is there a way to cleanly enable/disable complex components
> such as DateFields and Palettes? I see that Component.setEnabled() is final
> so it cannot be overridden to handle special cases.. Should
Hi everyone!
I was wondering, is there a way to cleanly enable/disable complex components
such as DateFields and Palettes? I see that Component.setEnabled() is final so
it cannot be overridden to handle special cases.. Should I always call
visitChildren() on the component and setEnabled() on eve
On Thu, 23 Aug 2007 09:00:18 -0700
"Igor Vaynberg" <[EMAIL PROTECTED]> wrote:
> i dont know if it is by design or not. it makes sense to me that you pass in
> a model with at least an empty collection, otherwise palette has to create
> an instance of some collection which isnt as clean.
I see.. S
Eelco Hillenius schrieb:
private component init(String, IModel) which can assume null arguments
do the null checks in the constructor and forward to that method
That's an option in general, though the disadvantage of that is that
you can't use final fields.
Anyway, for this case, if anyo
Yes I see your point and you are absolutely right but please consider
that a lot of companies (included mine) have been using Spring MVC for
a long time and there are a lot of projects already in production
using that technology and working fine with the IT infrastructure now
available.
Of course
Hi,
in my testapp i'm trying to use an AjaxEditableLabel. When I put some data
in, it works fine but now comes my Problem.
My label is as Subclass of AjaxEditableLabel and so I tried to implement
the onEdit() function.
The thing is, that the displayed values might calculated by a formula in
t
There is not much point in comparing Wicket to Spring MVC. Spring MVC
is a very simple action based framework with very little functionality
(and probably minimal overhead). So what you would really be comparing
is Wicket to JSP (assuming you use JSP as your view layer). Now again,
Wicket is a full
Hi Nino,
at the moment I don't want to compare Ajax so in the applications I
wrote for testing it's not used.
Sure, I will post the results here... probably the next week...
Attached the JMeter scripts I wrote (it would be better only one
script but at the moment the urls used are different). I
We can do that because all our components implement specific interfaces
which changes
the state of the component. For example
interface ILabelMethods
{
setBackground(Color color)
setForeground(Color color)
// and so on
}
and all those implementations do record the change
johan
On 8/2
Thanks Johan,
Glad it wasn't a totally silly idea. Any top tips or problems you can share?
Nice that Igor's approach by its very nature avoids sending the same
component more than once. Trees are great ;)
Johan Compagner wrote:
>
> this is how we also do it. Have a changes recorder per compone
I think it's looking okay, did you pick up the thing mentioned on the wiki?
You are not using ajax in Spring MVC? It would be wrong to just plain
compare non ajax to ajax..
Also you could write to the Jmeter list, to get a broader view of your
test plan.
Also you'll post results here ?
reg
Many thanks Igor, that sounds like a very pragmatic approach. I was thinking
about all sorts of horrible kludges like re-rendering the whole page and
seeing how elements changed or hooking into the serialisation.
Taken away another reason to do my over complicated solution ;) Am I
worrying over n
Hi all,
any performance comparison out there between Spring MVC and Wicket?
I do want to convince people I'm working with to use Wicket for the
next presentation projects but someone has concerns about the session
usage and performances with Ajax.
There are a lot of post in which is explained t
* Ryan Sonnek:
> http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
>
> Just wanted to post an announcement that there's a new wicket stuff project
> (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from within
> Wicket. I've been using it for the past several weeks and it
Sorry for the readme i've fixed it. I used the gmap2 project as
template, as I remember it.
I belive that the test failing are because some of the stuff are not
done yet, so it should continue to do so until its working.
regards Nino
Jean-Baptiste Quenot wrote:
* Nino Saturnino Martinez Vaz
* Nino Saturnino Martinez Vazquez Wael:
> I once started a wicket stuff contrib, called wicket input
> events. Which were gonna be all about input events like mouse
> events and key events. It never got that far because I didnt
> really needed it. Some of the basic infra structur
* Igor Vaynberg:
> yep, DownloadLinks will block because requests to the same page
> are serialized.
Igor, that's a good point.
Thomas, did you try to follow the approach shown in the static
pages examples?
See http://wicketstuff.org/wicket13/staticpages/
--
Jean-Baptiste Quenot
aka
igor.vaynberg wrote:
>
> i dont get it, where do you expect it to go? it looks like you are
> replacing
> an item inside panel7, not inside the panel that is inside the table?
>
> maybe you should build a quickstart so we have something to play with.
>
>
Thanks for you replay Igor.
The pane
Argh sorry for the quick answer.. Instead of using a list to supply
options for the dropdown you'll need to use a model, and then add the
option by adding it to the modelobject.. This is how I've done it.
Afterwards you can either poke model.changed or model.setobject with the
list.
regards N
Sure just add it to the model/bean:)
andrea pantaleoni wrote:
Hi,
I'm creating a DropDownChoice in this way:
DropDownChoice dropDownChoice = new
DropDownChoice(id,PropertyModel(beanName,"propertyName"),List,renderer)
Now I want to add a choice with key 0 and Value "" (empty string)
I was look
Argh had made an error in the previous quickstart that made the dropdown
to be broken..
This version however displays the problem as it are.
http://fileho.com/download/ff12cb141317/wicket-quickstart.zip.html
Small guide on howto see the problem:
First select an option from the dropdown, after i
Hi,
I'm creating a DropDownChoice in this way:
DropDownChoice dropDownChoice = new
DropDownChoice(id,PropertyModel(beanName,"propertyName"),List,renderer)
Now I want to add a choice with key 0 and Value "" (empty string)
I was looking for the API and I expected to find something like
dropDownCho
Hmm, I've now managed to reproduce the problem in a wicket quickstart.
It's great news on one side, this means that it has nothing todo with
wicket-spring thing or hibernate. On the other side im a bit puzzled by
what could be causing the problem.
If someone would take a look, I've uploaded
89 matches
Mail list logo