On 9/19/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
For work I'm trying to use wicket, but my boss wants to be reassured
that it will scale well. Can anyone point me to any sources (not
anecdotes) about how well wicket scales? And yes, I know my question
is vague, but right now, so are our
That looks very interesting. I'ĺl look into that and see if i can get it
to work.
Thanks Igor.
Igor Vaynberg wrote:
an easy way to do this is to key both repeaters off the same model:
class mypage extends webpage {
class resultsmodel extends loadabledetachablemodel {
load() { return
Bit more information is that the bean property that is causing the problem is
being set to null by my html form via a wicket ajax update...
Could it be that although wicket is doing everything correctly the DOM in
(firefox 2) has not settled after the elmt.innerHTML= ... from the
previous ajax
I'm making a forum project to learn about Wicket, Hibernate Spring.
It has been interesting, but now I am kinda stuck for a while on
authentication/authorization.
The difficulty I am having is that the roles a user can have is
based on the forum he is on. Each forum is owned by a different user.
The fix I came up with was to get the Authentication from my session class.
Ian
- Original Message
From: Thies Edeling [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, 18 September, 2007 11:19:20 PM
Subject: Re: Acegi (Spring Security)
Did you manage to fix this ? I have
Hi,
when a new Browser-Window is opened, I want to start a new Session for this
window.
I implemented the method onNewBrowserWindow() in my HomePage.class, but it
is never called.
I tried opening a new Browser, a new Browser-Window and new Tab, but
nothing.
Is there any other way to determine if
Hi everyone!
I have a form which needs to select a Class from a list, so I added a
DropDownChoice loaded with a list of beans like:
public class ClassDescriptionBean{
private String description;
private Class type;
[getters and setters omissis]
}
so that the form shows nice
You need to turn on multi window support. But this is not really user
overridable callback. Also, what do you mean by start new session?
-Matej
On 9/19/07, Benjamin Ernst [EMAIL PROTECTED] wrote:
Hi,
when a new Browser-Window is opened, I want to start a new Session for this
window.
I
Johan Compagner wrote:
setCached causes wicket to send http cache headers. Resources it self
are cached in SharedResources. The resource itself is responsable what
is cached internally
what does it mean that Resource is cached in SharedResources?
In my case:
getSharedResources().add(
Hi
I store some context-information in the session. When a new window is opened
it has a new context, so I want to have a new Session for this context.
But the old window should stay with the old context.
Benjamin
2007/9/19, Matej Knopp [EMAIL PROTECTED]:
You need to turn on multi window
What do you mean with Scaling?
Wicket scales pretty well. because we fully support clustering out of the
box.
So you can add just add new servers.
Wicket it self is fast, the database would be much more of a bottleneck.
johan
On 9/19/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
For work I'm
thats final
you could try to do something with:
protected Object convertChoiceIdToChoice(String id)
But that is an id and how is that id converted to what?
Is that the ClassDescriptionBean?
And that Again must be converted to something else?
johan
On 9/19/07, Federico Fanton [EMAIL PROTECTED]
On Wed, 19 Sep 2007 12:11:10 +0200
Federico Fanton [EMAIL PROTECTED] wrote:
Obviously PropertyResolverConverter doesn't know how to map a
ClassDescriptionBean to the corresponding Class, but how am I supposed to do
it? I already have a custom ConverterLocator in place, but it looks like it
but you get null pointers in the serverside. So what should that have to do
with busy parsing on the client side
That second submit is being done again (with the OLD dom) and that maybe
doesn't map correctly any more?
The problem is that the ajax request and waiting for the response and
updating
You can use pagemap metadata for it, providing you have recent enough
wicket version. And, of course, you have to turn on the multiwindow
support.
-Matej
On 9/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/19/07, Benjamin Ernst [EMAIL PROTECTED] wrote:
Hi
I store some
But shouldn't that be a validation error?
-Matej
On 9/19/07, Sam Hough [EMAIL PROTECTED] wrote:
I'm getting null pointers on the server side because the form _values_ seem
not do have been set by the client yet so in the http request
someParameter= which would otherwise not be the case.
While the repaint is somewhat asynchronous, this shouldn't affect the
actual form serialization. Can you provide a quickstart that can be
used to reproduce this problem?
-Matej
On 9/19/07, Sam Hough [EMAIL PROTECTED] wrote:
I'm using 1.3-beta3
I think as far as the wicket js is concerned it
I'm getting null pointers on the server side because the form _values_ seem
not do have been set by the client yet so in the http request
someParameter= which would otherwise not be the case.
Doesn't seem like something I want to handle on the server... If somebody is
hacking, has broken
On 9/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/19/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
For work I'm trying to use wicket, but my boss wants to be reassured
that it will scale well. Can anyone point me to any sources (not
anecdotes) about how well wicket scales? And yes, I
Robert ... wrote:
I'm making a forum project to learn about Wicket, Hibernate Spring.
It has been interesting, but now I am kinda stuck for a while on
authentication/authorization.
The difficulty I am having is that the roles a user can have is
based on the forum he is on. Each forum
Hi,
thanks for your help. I will try that, but I have one last question
(hopefully): How do I turn on the multiwindow support?
Benjamin
2007/9/19, Matej Knopp [EMAIL PROTECTED]:
You can use pagemap metadata for it, providing you have recent enough
wicket version. And, of course, you have to
Just curious how I can get these changes. are there 1.3.0-SNAPSHOTS being
published or do I need to wait for beta4/rc1 to be published?
On 9/19/07, Matej Knopp [EMAIL PROTECTED] wrote:
Hi, should be fixed in trunk.
-Matej
On 9/19/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
It's been a while
Hi Kent
hmm, while this could be okay. I just fear the possibility that tests
may succeed if other components contains foo. This test does not take
hierarchy into account..
For the simple Bbcodecomponent, it will work as I will be testing it
isolated. However if others that are using the
Also custom actions will help. For example all and forum to
indicate if a user has permissions on all forums or just on those
forums he is a registered user / administrator etc.
Combined with my previous mail you can optimize your security check a
bit. We actually use both of these techniques in
http://wicketstuff.org/maven/repository
Also documented on the website:
http://wicket.apache.org/getting-wicket.html
Martijn
On 9/19/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
Just curious how I can get these changes. are there 1.3.0-SNAPSHOTS being
published or do I need to wait for
On 9/18/07, John Krasnay [EMAIL PROTECTED] wrote:
public class MyPage extends WebPage {
@SpringBean
public SomeService someService;
public MyPage() {
someService.doSomething();
}
}
Using an annotation instead of calling createSpringBeanProxy directly
allows me
On Wed, Sep 19, 2007 at 09:05:48AM -0400, Rick Reumann wrote:
Yea, I'd like to use the annotation but I believe that's only working when
running under Java5? (sadly, this app has to run on an old websever that is
using Java4.) (The annotation is in the wicket-contrib-spring-jdk5 so I just
Hello,
I have 2 textfields who each have the TinyMCEBehaviour, but the first one is
simple and the other advanced (so they each have a different TinyMCESettings
in constructor).
This results in getting 4 tinyMCE editing boxes on my page, and the problem
is because the same 'editor_selector' is
Application.getPageSettings().setAutomaticMultiWindowSupport(true);
-Matej
On 9/19/07, Benjamin Ernst [EMAIL PROTECTED] wrote:
Hi,
thanks for your help. I will try that, but I have one last question
(hopefully): How do I turn on the multiwindow support?
Benjamin
2007/9/19, Matej Knopp
Hi folks,
In our WebSession subclass we manage some resources which need to be
cleaned up when the session goes away (because of timeout, etc). Is
there a recommended way to call a shutdown() method on our session
class? I have seen WebApplication.sessionDestroyed(String), but I'm not
sure how to
So is the form sent using wicket JS from the DOM?
Anyway, I'm afraid I need to get the OK from my project manager before
spending more time on this :( Sucks that he is happy for you to work for
free on our problem but that I'm not even allowed to help you in this effort
:(
Thanks for your time
On 9/19/07, John Krasnay [EMAIL PROTECTED] wrote:
Sounds like you still need a Spring context for your unit tests, to give
createSpringBeanProxy something to work with. Not a huge deal but still
a minor complication. With the annotation approach, I can just ignore
the annotation and inject a
Hi !
I want to make an Enum field in a bean to fire an event. With plain
Wicket I can do something like:
DropDownChoice ddc = new DropDownChoice(person, options) {
public void onSelectionChanged(java.lang.Object
newSelection) {
info(Changed!);
It seems like in:
parameters.put(filter, filter);
the filter object is the instance of com.foo.bar.Filter class, I guess if
you implement toString() correctly within this object that might help, also
instead of com.foo.bar.Filter object, try supplying a String as an
alternate,
Good luck.
ivana wrote:
Hi
I have a problem with the DatePicker. It works fine if the input is a
valid date or if the input is very wrong, for example: ''xxx.
But when the input consists of numbers and but is not a valid date, the
calendar is rendered with NaN in every field.
I ran into the exact
yeah, we totally forgot that the dojo popup is actually closed via
javascript on the client and passing references around only on the server
doesn't help at all.
with some javascript foo, the actual call to close the popup form inside the
iframe would have to look something like that:
Martijn,
Great to hear! I haven't bought the MEAP yet, but that's another
great reason to! Perhaps it would make a good starting point. But
still, if anyone has developed a more full featured solution and are
interested in open sourcing it, I'd like to talk.
Tauren
On 9/19/07, Martijn
In our WebSession subclass we manage some resources which need to be
cleaned up when the session goes away (because of timeout, etc). Is
there a recommended way to call a shutdown() method on our session
class? I have seen WebApplication.sessionDestroyed(String), but I'm not
sure how to get
Referring to Imge examples if I drop a few images into folder:
src\main\webapp\images
e.g.
src\main\webapp\images\cat.gif
src\main\webapp\images\dog.gif
src\main\webapp\images\snake.gif
Then how do I show these imges into the:
src\main\java\org\apache\wicket\examples\images\HomePge.java
Referring to Imge examples if I drop a few images into folder:
src\main\webapp\images
e.g.
src\main\webapp\images\cat.gif
src\main\webapp\images\dog.gif
src\main\webapp\images\snake.gif
Then how do I show these imges into the:
src\main\java\org\apache\wicket\examples\images\HomePge.java
Thanks Eelco for the prompt response, here is what I have.
Image url woring fine in the browser:
https://lilo:8443/whisky/images/mlogo/Merchant.gif
Then in my class this is what i have:
item.add( new Image(merchantLogo,
https://lilo:8443/whisky/images/mlogo/Merchant.gif;) );
And my html looks
Thanks Eelco, This is working now with ContextImage, as you suggested, Now
how do I use this image to create one external link, I tried:
td width=20% /td
but it fails miserably after complaining about hierarchy, i can't really
find any method like:
ExternalLink(java.lang.String id,
Sorry, Posting again with image tag, and anchor hack---
Thanks Eelco, This is working now with ContextImage, as you suggested, Now
how do I use this image to create one external link, I tried:
td width=20%-a- wicket:id=merchantLink i-m-g
wicket:id=merchantLogo/ /td
but it fails miserably
You need to close your a tag.
On 9/19/07, chickabee [EMAIL PROTECTED] wrote:
Sorry, Posting again with image tag, and anchor hack---
Thanks Eelco, This is working now with ContextImage, as you suggested, Now
how do I use this image to create one external link, I tried:
td width=20%-a-
On 9/19/07, chickabee [EMAIL PROTECTED] wrote:
Oh, Sorry, this is alreay closed I just forgot to hack it so you can see it
correctly in your browser, here it is the way I have it:
td width=20%-a- wicket:id=merchantLink i-m-g
wicket:id=merchantLogo/ /-a-/td
Note : -a- = a and i-m-g = img
On 9/19/07, chickabee [EMAIL PROTECTED] wrote:
Nope! I don't know how to add image component to external link component?
Igor suggested something but that went over my head.
Like I said:
ExternalLink link = new ExternalLink(link, http://foo.bar;);
link.add(new ContextImage(img,
46 matches
Mail list logo