Ok, thanks for the info.
Sorry for not letting this thread die... but one more question (and
hopefully last):
Right now, the page I refactored looks like this:
MyPage page = new MyPage( MyBean bean )
{
SomeComponent component = new Component( "id", new MyModel( bean ) );
bla bla
Hi, Mo
Sorry, it is still broken.
I updated WICKET-387.
Matej Knopp-2 wrote:
>
> Actually, it should be fixed already. Can you please check if it works
> as it should?
>
> -Matej
>
> On 3/14/07, Vincent Demay <[EMAIL PROTECTED]> wrote:
>> Hi
>>
>> I do not see difference between you two ;) samples
>
once you understand models it becomes quiet trivial :)
below is the simple way (without using a compound property model)
class mypage extends webpage {
private user user;
private logtype logtype;
// getters setters (only necessary in 1.2.x, in later wicket will access
private properties through p
The popilateItem as i know it is used within the dataview. That part i
understand. let me re-explain myself.
on my webpage class, i have a dataview component. i also have a dropdownview
component . they are both children of a form component. i have a beans user,
log and logtype. (I am using wick
yes. that and the ability to create new listeners. there is nothing
special about the listeners that wicket pre-registers to handle various
kinds of requests such as resource requests or link clicks (although you
should definitely prefer the already existing event listeners!). in fact,
below i
Thanks for your comment Igor, I really appreciate.
Just some questions : do you use CompoundPropertyModel or the detachable one ?
For the form beans, the user profile page I'm working on really proves
you right. I was willing at first to avoid "yet another bean" but in
fact it seems indeed to be
I have an implementaion of IDataProvider. that has setters in it and
originally i used it like a model. however the properties have now been
changed to beans. can i still use what you say below? does that populateItem
go into my implementaion of dataView?
in other words,
Imodel myModelwhichImpl
first of all the dataprovider is a readonly interface, it has no set method
like the model.
that said what you want is simple:
populateitem(item item) {
final imodel namemodel=new propertymodel(item.getmodel(), "name");
add(new dropdownchoice("names",namemodel,nameslist));
}
-igor
On 3/15
Yeah, this seem to be related to the new wicket object stream code.
Reverting back to DefaultObectStreamFactory fixes it
Objects.setObjectStreamFactory(new
IObjectStreamFactory.DefaultObjectStreamFactory()). Johan, any ideas?
On 3/15/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> When i try to op
i seei have a fair understaning of models this is what i am doing: I have
a dataprovider that services a dataview. this data provider is the the model
that i ultimately need to update. however the properties within this are
beans i need to set them using the selection from the dropdown. so fo
I've got no clue about those exception. There is problem with current
wicket's output stream (it's obvious even in wicket-examples.
Reverting back to default helps here).
But. There is bigger problem than this. The problem with two different
instances of one page. I don't see easy solution for thi
since you dont specify the model for the selection wicket will look for a
compoundpropertymodel you have somewhere above. the value will go into the
bean that is in the compoundpropertymodel into a property with the same name
as the id of the dropdownchoice.
there is a great page on models on our
also how do i get the user selection from a drop down that uses the
dropDownchoice(String id,list choinces) constrctor?
Gwyn wrote:
>
> I'm away from my main computer now, so can't check code, but have you
> had a look at the Wicket examples, e.g.
> http://www.wicket-library.com/wicket-exampl
yes i have but i am not quite sure how to apply it to what i am doing. It
calls for a model on which the current selecting is designated thing is in
my selection list i have a strings. but in the model that need setting i
have only mostly bean properties. what i want to do is as the user makes a
s
I'm away from my main computer now, so can't check code, but have you
had a look at the Wicket examples, e.g.
http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=:wicket.examples.compref.DropDownChoicePage
/Gwyn
On 15/03/07, GS-ikiini <[EMAIL PROTECTED]> wrote:
>
> ok he
ok here is another question...how do i by pass the validating and form
processing and go straight to the onSubmit method of my form(not the
button)?
-B
GS-ikiini wrote:
>
> hey all,
>
> I am attempting to do some form processing for a filter that i am
> building. I user 4 dropDownChoice in
A Page, with a private final ModalWindow reference.
Also, the more I used the ModalWindow in a Tomcat session (between start and
stop of server) the less of the exceptions I see. In one case where I was
constantly loading the ModalWindow, I stopped getting those exceptions! I
didn't get the cha
This really is strange. Do you have panel inside the window or a page?
-Matej
On 3/15/07, ChuckDeal <[EMAIL PROTECTED]> wrote:
>
> Yeah, already tried that :) I knew there was something else I was supposed
> to say in that last post...
>
> On a side note, I don't know if this is related, but I g
To refresh a repeater, you have to add it's parent (e.g.
webmarkupcontainer) to ajax request target. Repeater itself has no
markup.
-Matej
On 3/15/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> for the defaultdatatable ,i only need add a parent container of datatable
> into the target of ajax
It is definitely possible. First make sure you are running 1.2.5 or
better (this will fix a bug where posts did not have a '/' after the
context name if you choose to deploy the application with a non root
context). Map your servlet to '/*' ... Next, deploy. =)
The only other issue to worry about
The snapshot works well. As you probably read, we probably will
abandon the constructor change, and will need some time to get a
version up that is like 2.0 but without that feature. In the
meanwhile, 2.0 snapshot should work pretty good. In your case, the
best thing to do is probably create a vers
Hi, I'm using the FileUpload component and set the maxSize property to 150Kb,
I've
found that when the uploaded file size is greater than this value, an error
message is
displayed (which I customized) but the other fields in the form are emptied.
How can I fix this situation?
Thanks,
Jaime.
> One part that I just can't seem to figure out from reading Pro Wicket and
> browsing through the apidocs is how to
> make something like Tapestry "services".
Contrary to what some people say on The Server Side etc, Wicket and
Tapestry are very different frameworks. This means that not everything
you wanted to know how to have an equivalent of a tapestry service. if i
remember correctly tapestry services return things. like an asset service
that streams images.
if all you want is a callback then you can use urlFor methods to build such
a callback url. see, for example, how Link component
hey all,
I am attempting to do some form processing for a filter that i am building.
I user 4 dropDownChoice in a form with a submit button. I want to overide
the onSubmit method, which i did. however when i try to get the values
selected from the drop down in the method for prodessing, they come
Yeah, already tried that :) I knew there was something else I was supposed
to say in that last post...
On a side note, I don't know if this is related, but I get a bunch of the
following exceptions just by opening my ModalWindow, regardless of the
SessionStore or ObjectStream:
12:39:42,537 ERRO
> Can someone offer me some guidance on how to verify that the
> SecLvlCahce/FilePageStore is actually the culprit? Can I provide some
> debugging info/log output that would be of use to a Wicket dev in tracking
> it down? Mind you, I'm not getting anything in my logs that says there is a
> probl
Really? A resource?
But I have nothing to return from my service resource.
Robert
On 3/15/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
wicket's equivalent of a service is a shared resource. you can register
your own shared resources through your webapplication subclass.
as far as selecting p
for the defaultdatatable ,i only need add a parent container of datatable into
the target of ajax modal window.
But for the repeat view ,it cannot work !!. I also want to when the gridview
can work well in 2.0 version
I used 2.0 version snapshot
thx.
---
When I began my project at last year, i had to make a choice between 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 .
When i try to open a link by new window ,it' happen. I have tried the sample
library, it get the same error.
Is there one can tell me something? I wanto know how to catch the error
information in a customed error page.
thx
2007-03-15 23:35:00,640 ERROR wicket.markup.html.WebPage - Page [Page c
wicket's equivalent of a service is a shared resource. you can register your
own shared resources through your webapplication subclass.
as far as selecting pages via javascript:
wicket doesnt really have a page service. urls for pages are resolved
internally. if you want a stable entry point int
there is a bug in 1.2.5 with header contributors. what happens is that
wicket-ajax.js file doesnt get included in the rendered page and so the link
goes into fallback mode.
this is fixed in wicket-1.2.x branch which you can check out and build, or
wait for 1.2.6 release
-igor
On 3/15/07, Juha
Sorry, I posted this too soon. more details...
Wicket 1.3 (revision 518581)
I know that the code was working correctly with the SecLvlCacheStore as
recently as the week of 01MAR2007 - 07MAR2007 if not even a few days after
that.
ChuckDeal wrote:
>
> I need some help tracking down a problem w
I need some help tracking down a problem with the
SecondLevelCacheSessionStore/FilePageStore. I think the problem is there
because when I switched to the HttpSessionStore, it went away. That only
took me 5 or 6 hours to figure out...arghh
Anyway, my scenario is this:
I have a Page that contains
Hmm this is really wierd, when testing this against one of our dev machine's
these errors does not occur.. It only occurs against our servers.
Fra: [EMAIL PROTECTED] på vegne af Nino Wael
Sendt: to 15-03-2007 13:56
Til: wicket-user@lists.sourceforge.net
Emne: [Wi
Hi. I am trying to make a test to check the content of a DataTable
that is in a WebPage.
I can get the table with page.get("table");
where "table" is of course the path to my table component in the page.
How can I access a cell in the table? What is the path for, say, cell 1,1?
Or there are other
Hi
I have some components that uses the ajaxformupdatingbehavior. Some times(1% of
1300 requests) under "heavy" load(24 concurent users/threads using jmeter) some
of them fails to be able to select something in the dropdown thats using the
updating behavior. This leads me to think that the aj
Hi,
I have been examining how I can convert a web application product from
Tapestry 3 to Wicket, and trying to adapt
myself to the Wicket way of thinking about web flow.
One part that I just can't seem to figure out from reading Pro Wicket and
browsing through the apidocs is how to
make somethin
Hi,
I found out that in some cases AjaxFallbackLinks creates a normal call
(AjaxRequestTarget == null) in onClick instead of an ajax call.
In my example case there is a (submit)Button that puts some stuff on
Vector which is shown in a ListView below. If following process is done,
the AjaxReque
When I read some old posts discussing changes to the converts I thought
you where trying to re-invent Format. All that would be required is a
factory/cache that finds/builds the correct instance and perhaps some
new Format subclasses.
If you can code MyOwnBigDecimal, then my would it be impossi
On 15/03/07, Al Maw <[EMAIL PROTECTED]> wrote:
As part of our ongoing incubation process at Apache, we're going to be
renaming the core wicket package from "wicket" to "org.apache.wicket"
shortly (not quite sure when yet, but soon).
If you're developing against the subversion wicket-1.x branch,
You can still do that, but you need to reverse the logic: query the
running thread for the required progress/data instead of pushing it
from the thread to the session.
The difference between Swing apps and web apps is that you can run the
web app on multiple machines, where the session is shared b
But how for example will it then be possible to run time intensive
functions while updating the process status within the gui?
I think in a MVC or event driven environment it must be possible to
completly seperate the business logic from the gui.
In Swing for example it is the usual way to put time
44 matches
Mail list logo