you don't have to choose. you can wrap a compoundpropertymodel around a
detachablemodel and get both access convenience and detachability. wicket
models are much more flexible and powerful than most people realize at
first.
ZedroS Schwart wrote:
>
> Thanks for your comment Igor, I really app
thx, i know container context config, but i 'm so stupid that i don't know
filterPath can be empty . it cannot work when i try
/* ,* .
thx a lot, it work well now.:-)
> Message: 2
> Date: Fri, 16 Mar 2007 15:38:47 +0100
> From: "Korbinian Bachl" <[EMAIL PROTECTED]>
> Subject: Re: [Wicket-user
hey,
is there way to get the "select one" option to remain in the selection list
after the user has made a selection?
-B
igor.vaynberg wrote:
>
> the id of dropdowns has nothing to do with their model. i am not using a
> compound property model anywhere in the code, nor am i not specifying i
yes. and that design was not accidental. in a framework, making
some things harder is as important as making other things easier.
for example, we could have provided easy access to the HttpSession.
there are people who do need access to that. but it gives people the
wrong idea about how to
yes, state is mainly kept in server side components by design (programming
model and security are two good reasons for this). however, state can also
reside in url parameters (bookmarkable page links) if you explicitly put it
there. and then of course there's javascript / ajax.
Robert ... wro
Wicket == component-oriented manipulation of markup.
As such, Wicket is primarily a UI framework, not a framework for creating
web services. Igor is right that this idea that Wicket should handle any
kind of request over HTTP is scope creep. That job is for some other
framework.
Robert ...
It is going to be HUGE..
Lookup: GTAPCurrent: $2.36 5 Day Target price: $5Expected: Steadily climb for
the top.
This sym is gaining momentum!!!
See the news, Wicket-user!!!
-
Take Surveys. Earn Cash. Influence the Fu
Easiest way to call a wicket method from javascript is imho to extends
AbstractDefaultAjaxBehavior - implement the respond() method, call
getCallbackScript() to obtain javascript that needs to be executed to
call the respond() method. The behavior must be added to a component
(or page, as page itse
Here is a super-simple example of creating a custom request listener.
First, you create the new listener interface:
public interface IHelloListener extends IRequestListener
{
public static final RequestListenerInterface INTERFACE = new
RequestListenerInterface(
IHe
you are welcome. the wiki is here:
http://cwiki.apache.org/WICKET/
-igor
On 3/16/07, GS-ikiini <[EMAIL PROTECTED]> wrote:
hey i think i figured it outi am passing a list of the object ideed
and
the toSting method is automatically called to display what the user sees.
I
need to go look u
1. the ajax modal window cannot work at IE 6, and fine at firefox. it will
generate a script error.
"Wicket.Ajax.Call" is null or not a Object. I try the ajax example of the
example application, it's same eorror.
2. Crypted URL cannot work , add the below code into application, and generate
hey i think i figured it outi am passing a list of the object ideed and
the toSting method is automatically called to display what the user sees. I
need to go look up how to alter that using the ichoiceRender..once i get
that then i think it would work the way i want it to...you've been a big
if this is the case then you build a listener using our requestcycle.urlfor()
methods. once robert has a specific usecase i can help him with that, but
what he described up till now is perfectly fulfilled via servlets.
-igor
On 3/16/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
It could be
Bare with me, I'm looking at creating a little example with those listeners...
Eelco
On 3/16/07, Robert . <[EMAIL PROTECTED]> wrote:
>
>
> On 3/16/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > Please don't take any off this as criticism against Wicket. I'm sure it
> is a
> > > great projec
first the properties are on the page, not on the dataprovider. since
dataprovider is an inner non-static class it has access to page properties.
second - the particular user object or logtype will come from the dropdown.
you give the dropdown a list of users and logtypes you said earlier no?
dro
It could be useful in situation where UI components are not mapped to Wicket
components, but you wants access to page state.
For example just think about a javascript input dialog. How to send the user
input value in a wicket page?
Or in any other situation where you use third parts UI widgets n
On 3/16/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Please don't take any off this as criticism against Wicket. I'm sure it
is a
> great project. And I will be using it in the future.
> I'm just not sure if I should convert this project from Tapestry to
Wicket.
> I am beginning to think tha
we have a WicketSessionFilter, not sure if that is an exact name, that you
can map onto your servlet. it will give you access to wicket session, and
from there to application.
not sure why you need the request cycle, since that encapsulates
wicket-specific workflow.
-igor
On 3/16/07, Robert .
I see..I am still thinking in old java style...let me try again...
i have my dataprovider class/model. my page class and 2 beans. in my
dataprovider class.model, the 2 beans are properties. that i need to set via
drop down choice. so i set them as specified here. what i don't understand
i
Because I still want/need the Wicket session, request cycle, application
context and all that.
On 3/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
but this is just scope creep in tapestry. what you have just described is
almost exactly a service() method in a servlet. why not just build a ser
> Please don't take any off this as criticism against Wicket. I'm sure it is a
> great project. And I will be using it in the future.
> I'm just not sure if I should convert this project from Tapestry to Wicket.
> I am beginning to think that it's not a good idea.
Imo, you always need a very good
the id of dropdowns has nothing to do with their model. i am not using a
compound property model anywhere in the code, nor am i not specifying it
directly.
the model for each dropdown is specified as a propertymodel where "this"
refers to the page and the string refers to the property on that pag
but this is just scope creep in tapestry. what you have just described is
almost exactly a service() method in a servlet. why not just build a servlet
to do what you want?
wicket is about the UI, if you need callbacks that have nothing to do with
UI like youve mentioned why use wicket for that?
this is fixed in wicket-1.2.x branch and will be available when 1.2.6 is
released.
-igor
On 3/16/07, Robert . <[EMAIL PROTECTED]> wrote:
Hi,
I noticed a problem on the Tree pages of wicket-examples.1.2.5
If you do some actions on one of the tree pages and then switch to another
page, then th
let me make sure i understand..
add(new DropDownChoice("users",new PropertyModel(this, "user"),));
the Property model returns the User model. and the id of this dropdownchoice
is used to access that model? so get or setUsers on the User user of this?
if that is correct. can i do add(new Drop
listContainer.setOutputMarkupId(true);
On 3/16/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> hi, I know i should add the parent to ajax request target, but it cannot
> work.
> look the below code, please check my might fault
> WebMarkupContainer listContainer = new WebMarkupContainer(form,
The key here is not wicket - its the webcontainer you use. If you use Tomcat
then there is a special ROOT configure directive (or Path - sorry here, but
havent had to do with it for long time) wich can be found in the Tomcat-Docs
(similar is jetty - just look for "context root" or "context path")
Hi,
I'm implementing a form with a table component as one of its component. The
table has some textfields columns. The problem is that upon submit my model
is not updated to reflect the values filled in the textfields. Can someone
point me to an example where this sort of thing is implemented? I'
Each component is unique in the hierarchy. The link listeners get a
session/page/version relative url that instructs Wicket to retrieve
the correct page/version from the pagemaps. This is the :0:1:2:3 part.
So it is possible to have a form that is a form submit listener, an
ILinkListener, or some o
hi,
pardon for my poort english first.
I need deploy the application into web site which can be acess by domain name.
for example , www.toy.com is refer to my app. but i cannot know how to config
it in 2. 0 since it use filter instead of
servlet. it seems that i have to set the filterPath to
I tried to look at those listeners. If I understand correctly you always
need to be a component to be a listener.
Each listener interface must have 1 method with 0 parameters. So it means
all state must be kept in the component.
You cannot pass any parameters to it? So in the case of a PageLink yo
hi, I know i should add the parent to ajax request target, but it cannot work.
look the below code, please check my might fault
WebMarkupContainer listContainer = new WebMarkupContainer(form,
"listContainer");
RepeatingView listView = new RepeatingView(listContainer, "dataList");
setWindowC
On 3/15/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> 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
Robert, I agree with you definitefly.
Wicket should provide a "generic" PageService not tied to a specific
component. It would be very useful for client-server interaction where a
visual component is not req
On 3/16/07, Robert . <[EMAIL PROTECTED]> wrote:
Hi!
A Tapestry service basically has
Hi!
A Tapestry service basically has a
public void service(RequestCycle) method.
Something like a PageService would do something like
cycle.activate(cycleparam[0])
Now I understand that I don't usually need a PageService. The onClick for
Link components are much easier to use. However what i
Hi,
I noticed a problem on the Tree pages of wicket-examples.1.2.5
If you do some actions on one of the tree pages and then switch to another
page, then the WICKET AJAX DEBUG link is not available, and the tree does
not work.
For example:
1) Goto Simple tree
2) Click "Expand all nodes"
3) Goto Tr
That's not a bad idea at all. Thanks!
On Fri, 2007-03-16 at 08:55 +, Gwyn Evans wrote:
> Hi,
> (If Igor says anything different, just ignore this! :-))
>
> The change that I'd consider would the standard one of if it'd be
> worth passing in a custom IMyBean interface derived from IMode
Hi,
(If Igor says anything different, just ignore this! :-))
The change that I'd consider would the standard one of if it'd be
worth passing in a custom IMyBean interface derived from IModel, to
cover the case where I might want to use something like-but-not-a
MyBean, but I can't see anything
38 matches
Mail list logo