And take a look at the niceurl example in wicket-examples while you're at it.
Eelco
On 3/17/06, David Leangen <[EMAIL PROTECTED]> wrote:
>
> Check out wicket.protocol.http.WebApplication.
>
> There are 4 methods for doing this. Should be fairly straigt forward.
>
>
> Cheers,
> Dave
>
>
>
> > ---
Check out wicket.protocol.http.WebApplication.
There are 4 methods for doing this. Should be fairly straigt forward.
Cheers,
Dave
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Matthias Albert
> Sent: 18 March 2006 15:42
> To: wicket-user@lis
The "Migrate-1.2..." wiki page has one statement that interests me:
"Introduced mounting/ nice urls. Provided convenience methods for
mounting bookmarkable pages and packages"
Is there any explanation or example available? I browsed through the API
docs and can't see how to "mount" pages or
If this is x-browser, then that is cool, but doesn't solve the problem for lists and repeaters. But I /really/ don't need nor want an automagic solution to the problem of wrapping a component in markup.I think putting too much 'ease of use' in the form of guessing into the wicket core is a bad thin
Igor Vaynberg schrieb:
do you call getResourceSettings().getResourceFinder(wpath).add(wpath) ?
No, because IResourceFinder doesn't have an add method.
This is my code int MyWebApplication.init(), now the root path being the
root of the HTML files ("content" is already the topmost package nam
In some cases, I would like to display "--" instead of blanks. I will look into using converters, thanks.
SteveOn 3/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
use youre own converter?How do you want them to be displayed?johan
On 3/17/06, Steve Knight <[EMAIL PROTECTED]
> wrote:Hello,How ca
You're right, the session wasn't shared because each was running as a separate Application (servlet).I built the pages at different times was just testing...but now the app is coming together - time to clean house!
It works now, thank you!On 3/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
w
well, one of the others was a select box for example, because inner html does not work properly on it. another case is when you want to update component's attributes - that means you have to rerender the tag so you have to have a container that contains the one you want to rerender.
i just checked
use youre own converter?How do you want them to be displayed?johanOn 3/17/06, Steve Knight <[EMAIL PROTECTED]
> wrote:Hello,How can I change how null values are displayed in Labels?
Thanks,Steve
why do you have 2 applications objects for youre web application?Do you have 2 wicket servlets mapped? Do you really have 2 webapps?But then you don't share session data. Because you make 2 session objects. 1 for login and 1 for Edit product application.
Why are you doing that?Also better thing to
see the LibraryExample:getSecuritySettings().setUnauthorizedComponentInstantiationListener(new IUnauthorizedComponentInstantiationListener() { public void onUnauthorizedInstantiation(final Component component)
{ // If there is a sign in page class declar
I'm doing exactly that and I don't see how I could invalidating the session in any way.Let me clarify; I have a Login page and a EditProduct page. EditProduct will be one of many pages of which I'd like only the administrator User to access.
So, the Login Application class has this override: p
but most of the time the ListView is the component that needs to be wrapped.What are the others ?So then it is only when you have listviews in listviews.But how would you auto wrap a listivew? What would you do if you had this:
.. some td with componentswould you then make it:
.. some td with com
d'oh! Sorry, been at wicket all day...the brain is turning to pudding.On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:problem is here: new IChoiceRenderer()) <== remove that extra parenthesis :)
-IgorOn 3/17/06,
Vincent Jenks <
[EMAIL PROTECTED]> wrote:I'm trying to create a DropDownChoice s
excel like datagrid ;)
On 3/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> come on guys.. request more features you see that igor will implement them
> all right away!
>
> johan
>
>
>
> On 3/17/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> >
> > i was taking a short break from work, and tho
problem is here: new IChoiceRenderer()) <== remove that extra parenthesis :)-IgorOn 3/17/06, Vincent Jenks <
[EMAIL PROTECTED]> wrote:I'm trying to create a DropDownChoice select list based on a List of entity beans I'm pulling from EJB3. I'm following the example in the wicket-examples code but i
I'm trying to create a DropDownChoice select list based on a List of entity beans I'm pulling from EJB3. I'm following the example in the wicket-examples code but it's not working for me.I'm try do to it this way, per the example code:
add(new DropDownChoice("productCategory", catsMode
i have no idea what you exactly do but if you put something in the session like((MySession)getSession()).setUser(new User());and then later on get it back:((MySession)getSession()).getUser();
then it will be there. Ofcource the session shouldn't be invalidated and the browser should support cookies
indeed we do, but when you use repeaters/panels it is hard to have a hardcoded id that is unique :)-IgorOn 3/17/06, Johan Compagner <
[EMAIL PROTECTED]> wrote:didn't we now have a feature that we don't have to add the component on the wicket side?
so you can just do: ...and in the rerender compon
didn't we now have a feature that we don't have to add the component on the wicket side?so you can just do: ...and in the rerender component you just give the id it should replace and the real component
I thought this was in by request of martijn.johanOn 3/17/06, Nathan Hamblen <[EMAIL PROTECTED]
come on guys.. request more features you see that igor will implement them all right away!johanOn 3/17/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:i was taking a short break from work, and thought what the hell, why not write one?
so i did, only took me half an hour or so. i just checked it into e
I'm currently migrating over to the new Authentication stuff in Wicket 1.2. My current code in my Application class is:getSecuritySettings().setAuthorizationStrategy( new SimplePageAuthorizationStrategy(
ISecurePage.class) { @Override protected
But if the magic is not happening without a user asking for it (since it
turns out that's not possible anyway) are you guys still subtracting? I
mean, it's a lot easier to write stylesheets that don't affect spans
than it is to...
WebMarkupContainer wrapper53 =add(new
WebMarkupCont
Hello,How can I change how null values are displayed in Labels?Thanks,Steve
i was taking a short break from work, and thought what the hell, why not write one?so i did, only took me half an hour or so. i just checked it into extensions. its not very flexible/powerful yet, but it works well. look in wicket-examples/ajax for an example of it in all its glory. its called Ajax
-1 As well. Even span can break layout very easily.
And one more question. What's wrong with forms? List views can't be
replaced without containers, that's fine, but what's the problem with forms?
-Matej
Martijn Dashorst wrote:
I'm -1 on this one.
This will break layout for web pages. Most
There are several possibilities here.Dynamic approachNeeded in the following cases: - resource needs to be generated - resource comes from external, non-web system (database, etc) - resource must be filtered (component id's subsitution, etc)
- resource must be packaged with your componentStatic ap
Oh, right, because that code isn't run before rendering. That also
prevents any kind of "by default" functionality since there's no way for
a component to know in advance that it's going to be an Ajax target. So,
I'll just file the RFE under "would be nice, needs creative
implementation."
Nathan
note: the component cannot be added via a target. it has to be there in the html when the page renders fully.-IgorOn 3/17/06, Nathan Hamblen
<[EMAIL PROTECTED]> wrote:I wouldn't suggest using a div, but spans are usually transparent to the
layout. The only side effect I can see is if someone has a
I wouldn't suggest using a div, but spans are usually transparent to the
layout. The only side effect I can see is if someone has a global style
on spans (which would be pretty weird) or a selector on one like
"div#myDiv span {color: red}" (still pretty weird, but I do it
occasionally to skip defin
This still isn't working how I would have expected...
So I've still got a Login page and an EditProduct page. If I go to /login (Login page) and login...I can't then go to /edit_product (EditProduct page) - I'll be automatically redirected back to Login...so obviously the User object was not foun
ie, I made the page nonversionable
On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> Oh, sorry. I made it in the constructor of my ajax-page.
>
> On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > where did you make that call?
> >
> >
> > -Igor
> >
> >
> > On 3/17/06, Mats Norén <[EMAIL PR
Oh, sorry. I made it in the constructor of my ajax-page.
On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> where did you make that call?
>
>
> -Igor
>
>
> On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote:
> > ok, I did setVersioned(false) and everything works as expected.
> >
> > On 3/17/06,
I'm -1 on this one.This will break layout for web pages. Most if not all web designers take special care to layout things, and magically adding a span/div to the markup is against the previewability principle.
MartijnOn 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
it might be possible to do th
Entered it in bug tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=1452553&group_id=119783&atid=684975
It should be a pretty simple fix so hopefully someone can take care of it before 1.2 beta 2 comes out...Thanks,Andrew
where did you make that call?-IgorOn 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote:
ok, I did setVersioned(false) and everything works as expected.On 3/17/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:> it does indeed. the way i fixed it is that whenever an ajax request is> processed it temporarily
ok, I did setVersioned(false) and everything works as expected.
On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> it does indeed. the way i fixed it is that whenever an ajax request is
> processed it temporarily turns off versioning on the page. since the
> backbutton in the browser doesnt ca
Did anyone see the dynamic favicon link on
digg today?
This is a pretty neat thing. I’m
sure it would make a great addition at some point!
http://softwareas.com/index.php?name=dynamic-favicons&page=
Examples:
http://ajaxify.com/run/favicon
http://ajaxify.com/run/favicon/cycle
it might be possible to do that, but it will require some changes to the api and i dont have time to look into this right now. please add an rfe. also please add these notes:if we make behaviors be able to output markup before and after the component it is attached to renders then most ajax behavio
Ai. Yeah, that's a common one. I wonder if there is any way we can
check at startup whether package resources are available to clients.
The only thing I can think of is to issue an HTTP request to localhost
to retrieve a shared resource, and test whether this does give the
expected result. Wonder i
I've seen some threads in the mailing-list archive, and for I understand, there's no common way to deal with resources like those in the subject.Could you guys please list what's the best approaches to deal with images, so programmers and designers can work together without any problem? I wanna see
At this time, there is no specific DWR support. We have our own
focussed Ajax support, and we have one project for Dojo and one for
Scriptaculous (both in wicket-stuff). DWR has a lot of server side
handling, meaning that it would have an overlap with what Wicket does
to some extend, which is the r
it does indeed. the way i fixed it is that whenever an ajax request is processed it temporarily turns off versioning on the page. since the backbutton in the browser doesnt capture ajax requests there is no point in versioning any changes done inside that request.
-IgorOn 3/17/06, Mats Norén <[EMAI
Another one is, probably, that certain components (ListViews, Forms...)
can't be set as Ajax targets. And as for those components that can be
targeted, their own attributes (like a TextArea's value) aren't updated,
only their body contents. So in fact you have to wrap almost anything
you want to ta
On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> what version are you using?
I'm using subversion HEAD from yesterday
>i thought i fixed this a long time ago. if you
> dont mind create a distilled quickstart project that reproduces this so i
> can play with it on my side.
I could try :)
Do
this is a callback method that is triggered from the browser, so no infinite loops to worry about.-IgorOn 3/17/06, Frank Silbermann <
[EMAIL PROTECTED]> wrote:
I have two RadioChoice
components which postback immediately. Whenever onSelectionChanged() is
called on one, I may need t
I have two RadioChoice
components which postback immediately. Whenever onSelectionChanged() is
called on one, I may need to modify the model of the other RadioChoice
(thus changing its selected value).
This behavior is mutual.
Is it possible to get into an infinite
loop of calls to on
what version are you using? i thought i fixed this a long time ago. if you dont mind create a distilled quickstart project that reproduces this so i can play with it on my side.-Igor
On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote:
I've got a page with a ajaxified form and two listviews updated wi
you can also turn on ajax debug mode via getAjaxSettings() in your app.init() method. that way you can view what is sent back to the client from an ajax request.once you turn on the debug mode there will be a WICKET AJAX DEBUG link in the lower left corner, click that to bring up the ajax log conso
I've got a page with a ajaxified form and two listviews updated with ajax.
The two listviews works like the palette-component in wicket which
allows a user to add / remove items. The difference is that I do it
with AjaxFallbackLinks:
ListView selectedItems = new PCMListView("selectedItems", select
i don't know any serious problem that is currently in 1.2 because if it had i already was on it to fix it.We have already a changes.xml and also on wiki we have a port guide from 1.1 to 1.2johan
On 3/17/06, Vincent Jenks <[EMAIL PROTECTED]> wrote:
If I might ask, what are the known (major) problem-
For some reason my Eclipse / Jetty plugin
wasn’t updating the code before running.
This works and it’s a thing of
beauty!
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Southern
Sent: Friday, March 17, 2006 9:34
AM
To:
wicket-user@lists.sourceforge.net
S
it should be pretty easy to do.you create a panel with both the label and the textfield. hide the textfield initially. attach an ajax onevent behavior to the label and in the event handler hide the label, show the textfield and update the panel via ajax. same thing for textfield, add an onblur beha
no it means that the session will be replicated when you use clustering. So it will update itself in the httpsession.yes just clear a reference and call dirty() this will ofcourse remove the object from the session.
johanOn 3/17/06, Vincent Jenks <[EMAIL PROTECTED]> wrote:
And this does what? The
yeah, that would indeed break all resources not just the packaged ones. we do warn all new developers on our wicket best practices and gotchas wiki page. all our examples also use /app/* if i am not mistaken.-Igor
On 3/17/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
aah igor,
sincerely i must t
thanks :)-IgorOn 3/17/06, Timo Stamm <[EMAIL PROTECTED]> wrote:
Igor Vaynberg schrieb:> ah, if you are on 1.1 then we already have examples that do this.>> check out wicket-examples under display tag examples. there should be an> export example there.
Thanks a lot Igor, that's what I was looking fo
And this does what? The Javadoc just says it marks the session as dirty...does this mean it will be cleaned up automatically?On 3/17/06, Johan Compagner
<[EMAIL PROTECTED]> wrote:
don't forget to call dirty() method on the session object when you change a value of the session: public void setU
first of all this is a bit strange usage of the CompoundPropertyModelBut i guess it still should work.What i would do is give the ListItem the CompoundPropertyModelAnd then don't give any models to the labels something like this:
PageableListView employees = new PageableListView("employees", employ
If I might ask, what are the known (major) problem-areas, if any, in Wicket 1.2? What are the serious known bugs? I'd like to be developing in 1.2 myself but if there are some serious problems, I'd rather wait.My project is due to go into production in *exactly* one month...so I'm not sure if I s
What about removing objects from the session? Simply use the setter to set to null? Will that clear it?On 3/17/06, Vincent Jenks <
[EMAIL PROTECTED]> wrote:Yep, my mistake, thanks! It works fine. I guess it'll take some getting used to but it's not all that bad.
-vOn 3/16/06,
Igor Vaynberg <
[
don't forget to call dirty() method on the session object when you change a value of the session: public void setUser(User user) { this.user = user;
dirty(); }johanOn 3/17/06, Vincent Jenks <[EMAIL PROTECTED]
> wrote:Yep, my mistake, thanks! It works fine. I guess it'll ta
Hello,
I have a strange issue with Wicket 1.2 beta.
I want to display a list of employees from the database, so I use a
PageableListView for that.
This is the constructor of my Page:
public EmployeeManagement() {
DecoratorBorder decorator = new DecoratorBorder("decorator");
Yep, my mistake, thanks! It works fine. I guess it'll take some getting used to but it's not all that bad.-vOn 3/16/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:UserSession us = new UserSession(
EditProductApp.get());this is wrong, you dont create the session yourself, you let wicket create it fo
Fixed the _javascript_/ajax problem thank
you.
What is now happening however is that
although the ajax
request is sent, the checkbox is updated twice, setting it back to it’s
selected state. I cannot see why this would be the case.
This is the only code relating to the
checkbox:
there are for firefox a lot of plugins like dom inspector or view formatted sourcewhich generated the source from the dom so that you see it how it is now in the browser.johan
On 3/17/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
Hi guys;I have something strange happening wicket 1.2 beta 1I have a WebMar
My mistake – ‘WicketAjaxPost’
was a typo. Making the change suggested suggested by Ayodeji ( /app/ -> /app/*
in web.xml fixed the problem. Thank you.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: Thursday, March 16, 2006
5:55 PM
To:
wicket
Hi guys;
I have something strange happening wicket 1.2 beta 1
I have a WebMarkupContainer that has a ListView in it, and outside
that MarkupContainer I have an AjaxLink that do something and cause
the Container to redraw, which works, what I have noticed is, the
ListView which is a Table in the m
Please take at wicket-examples, it contains quite some ajax examples.
Additional ones are available in various wicket-stuff project. You'll
recognize from the name of the modul which ajax lib they support.
Juergen
On 3/17/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
> How Wicket handle AJAX?
>
> A
How Wicket handle AJAX?And does anybody had success integrating it with know-frameworks like DWR (my best choice to do ajax stuff).Regards,Bruno-- Bruno Borges - SCJP 1.4
[EMAIL PROTECTED]
To all Wicket Users that may be having _javascript_ errors indicating 'Object Expected' from browser most times..please after you have done what you are expected to do..perform this simple check:
Look into your Web.xml and confirm that the context reference of the WicketServlet is /app/* and not
I have been tryin to use wicket Ajax support to workout a Label that onDoubleClick, it will transform into a textfield so that
onBlur, it will feed the edited value back to the model...
any idea on how i can get this done or any anticipated support out-of-the-box for this kind of function? i thi
aah igor,
sincerely i must tell you i have found out the problem
using /app rather than /app/* for WicketServlet Web.xml configuration breaks most PackageResourceReferences
that was the problem. maybe they should also warn all new developers using wicket of that common error.
i am happy now :
Ok, thanks. That sound perfect.
-regards Nino
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] på vegne af Johan Compagner
Sendt: fr 17-03-2006 11:51
Til: wicket-user@lists.sourceforge.net
Cc:
Emne: Re: [Wicket-user] wicket 1.1.1: specif
if you are just developing and youre application doesn't have to go live with 1 month or soi would build in 1.2. We will break out another beta this weekend and then we will go into RC mode.johan
On 3/17/06, Nino Wael <[EMAIL PROTECTED]> wrote:
Hmm, how far is 1.2 from going stable, is possible to
Sorry for not reading the homepage, I see that you have a migration guide.
However my question about how far you are from going stable still stands.
-regards Nino
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] på vegne af Nino Wael
Sendt: fr 17-03-2006 11:22
Hmm, how far is 1.2 from going stable, is possible to get a status on that?
Im in the midst of developing could I just switch to 1.2?
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] på vegne af Johan Compagner
Sendt: fr 17-03-2006 11:05
Til: wicket-use
don't know currently for 1.1.1 but in 1.2 we have selection change support in RadioGroup.johanOn 3/17/06, Nino Wael <
[EMAIL PROTECTED]> wrote:On my RadioChoice I make use of the onSelectionChanged, I cant find a method to do this on Radio/RadioGroup so I guess I need to implement this aswell?
-Nin
Igor Vaynberg schrieb:
ah, if you are on 1.1 then we already have examples that do this.
check out wicket-examples under display tag examples. there should be an
export example there.
Thanks a lot Igor, that's what I was looking for!
I have created an entry in the wiki:
http://www.wicket-wik
On my RadioChoice I make use of the onSelectionChanged, I cant find a method to
do this on Radio/RadioGroup so I guess I need to implement this aswell?
-Nino
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] på vegne af Igor Vaynberg
Sendt: fr 17-03-2006 09:46
you could also use youre own converter for this.On 3/16/06, Frank Silbermann <[EMAIL PROTECTED]
> wrote:
Are there any examples of model decorators
I could look at? I have a model that
consists of one of several code values, and I would like a label to
automatically display a tex
don't use redirect to buffer strategy. but REDIRECT_TO_RENDER or ONE_PASS_RENDERin 1.1 the headers don't work in redirect_to_buffer.johanOn 3/17/06,
Timo Stamm <[EMAIL PROTECTED]> wrote:
Thanks Igor, I like this suggestion:add(new Link("export-link") {onclick() {getRequestCycle().setRe
Alright, thank you very much. Now I get it
Tom
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: Friday, March 17, 2006 1:48 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Difference between Panel and Border
Heh.
you can add an attribute modifier that will insert the style attribute for dropdownchoice. for radiochoice you cant since it is in total control of the markup, if you want to style it you can use Radio/RadioGroup components instead.
-IgorOn 3/17/06, Nino Wael <[EMAIL PROTECTED]> wrote:
Hi
you should initialize the model that is feeding the radiochoice with the default value.-IgorOn 3/16/06, Nino Wael <
[EMAIL PROTECTED]> wrote:
Hi
I need to have a default value selected when rendering a radiochoice, should I overide getdefault c
hoice for to do this?
-regards Nino
Title: wicket 1.1.1: specifiying style on radiochoice or dropdownchoice
Hi
How do I specify a style for radiochoice or dropdownchoice, do I need to create my own class and create a constructor which takes a style as a string and then adds it to the html?
-regards Nino
85 matches
Mail list logo