Hi All!,
we have a Problem here.
We have a Page, where lots of Panels are added.
These Panels should be individually enabled, as soon as a ValidationError is
available for one of them.
We have overridden isEnabled() for all Panels to return true, whenever an
Errormessage is registered for a Panel
On Wed, Oct 6, 2010 at 10:51 PM, Mauro Ciancio wrote:
> BTW, I've defined all the beans with prototype scope, so it's not a
> spring issue.
>
Why are you using prototype scope anyway?
-
To unsubscribe, e-mail: users-unsubscr...
On Wed, Oct 6, 2010 at 10:38 PM, Jeremy Thomerson
wrote:
>
> Wrong. First, you have to understand what is happening behind the scenes.
> Look at the URL that actually appears in your form's "action" attribute -
> it is a full URL to a specific component, which will invoke the
> IFormSubmitListen
Hi James!
> I checked jetwick and it looks cool. ;-)
>
hey, thanks ;-)
> Do you use JFreeChart to create those charts?
>
initially I did. But now only that tiny bar image is stolen from
jfreechart :-)
http://jetwick.com/img/bar-min.png
the rest is created via divs and css and a bit java
I've just picked up a new Android phone (HTC Desire - awesome phone BTW)
and most of our wicket powered site works well. There are two issues
which maybe just me not knowing how to use the phone properly or they
may be issues with the Webkit based browser on those things:
1. I haven't been abl
I guess it is some WebKit related Javascript issues.
Don't know how hard is to debug them but if you manage - send us a patch ;-)
On Thu, Oct 7, 2010 at 2:03 PM, Chris Colman
wrote:
> I've just picked up a new Android phone (HTC Desire - awesome phone BTW)
> and most of our wicket powered site wo
On 2010-10-07 04:51, Mauro Ciancio wrote:
Hello everyone,
I'm using spring in one wicket project and I'm lost about how the
proxy stuff works. I've realized that the fields marked with
@springbean are injected when the component injection listener runs.
Also, I've looked in AnnotProxyField
Hi all,
I am using a HiddenField to hold the result of some jquery processing
and can see the 'value' changing in the dom (using FireBug). I am also
able to trigger the onchange event and the HiddenField is notified of the
change (via AjaxEventBehavior).
At that point, however, the Hid
Hi
I cant get below working:
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
if (wallboardConfigurationModel.getObject().hasCustomCss()) {
final StringResourceStream stringResourceStream = new StringResourceStream(
wallboardConfigurationModel.getObject().getCustomCs
Hi,
> Why are you using prototype scope anyway?
In order to get a new fresh instance every time is requested.
> AFAIR the once the bean is looked up from spring it is being cached by
> AnnotProxyFieldValueFactory itself.
>
> So using prototype scope will not work anyway: either way you always ge
Hi everyone,
i'm trying to implement a custom TextField that fires "onchange" event
without using Ajax (it is a requirement of my project - i have good reasons
not to use Ajax).
Looking at the source files of DropDownChoice, CheckBox etc. (they all
implement the "wantOnSelectionChangedNotificati
I think as a WorkAround is to get the beans yourself from the Spring context
insteads of relying on the @SpringBean annotation
On Thu, Oct 7, 2010 at 10:51 AM, Mauro Ciancio [via Apache Wicket] <
ml-node+2966817-1959417264-65...@n4.nabble.com
> wrote:
> Hi,
>
> > Why are you using prototype scop
On Thu, Oct 7, 2010 at 9:13 AM, Leszek Gawron wrote:
> AFAIR the once the bean is looked up from spring it is being cached by
> AnnotProxyFieldValueFactory itself.
>
> So using prototype scope will not work anyway: either way you always get a
> fresh bean (so you cannot keep state) or you will alw
Hi,
I am using the ExternalLink class for external sites. I've noticed
this class does not implement the ILinkListener interface and I am not
able to monitor these clicks.
I tried to implement the listener, but I did not get far. e.g.
public class MonitorExternalLink extends ExternalLink implemen
On Thu, Oct 7, 2010 at 9:50 AM, Mauro Ciancio wrote:
> OK, I understand, that explains my issue. However, I have a bean that
> is stateful and the state cannot be sent by wicket componets (more
> precisely it's a bean that provides the local date and local time, and
> it's cached in a field so eve
Add onclickbehavior?
**
Martin
2010/10/7 Abid K :
> Hi,
>
> I am using the ExternalLink class for external sites. I've noticed
> this class does not implement the ILinkListener interface and I am not
> able to monitor these clicks.
>
> I tried to implement the listener, but I did not get far. e.g
Hi Martin,
Do you mean the javascript 'onclick' function? Cause I have tried to
implement the "onLinkClicked( )" method, and copied the 'getUrl()',
'onComponentTag()' methods from the Link class. But, did not manage to
get it working.
Thanks
On 7 October 2010 16:00, Martin Makundi
wrote:
> A
I mean:
link.add(new AjaxEventBehavior("onclick") {
...
});
**
Martin
2010/10/7 Abid K :
> Hi Martin,
>
> Do you mean the javascript 'onclick' function? Cause I have tried to
> implement the "onLinkClicked( )" method, and copied the 'getUrl()',
> 'onComponentTag()' methods from the Link class
That is the whole point of externallink: it links to an external URL.
If you want to receive the request prior to sending the user onwards,
use a proper Link and redirect the browser to the external url using
setRequestTarget(new RedirectRequestTarget(url));
Martijn
On Thu, Oct 7, 2010 at 4:55 PM
We have had to grab the beans ourselves for request scoped beans. In our case
they are trying to cache service call results that may change over time and
allows for data consistency through the request. If we use the @SpringBean
annotation for this we have seen that the bean is cached and not
"ref
Hi, thanks for the quick replies.
> I think as a WorkAround is to get the beans yourself from the Spring context
> insteads of relying on the @SpringBean annotation
Yes, that would work.
> The code specifically checks to see if the bean is a singleton before
> it caches it. Non-singleton beans
Thanks, that has worked.
On 7 October 2010 16:34, Martijn Dashorst wrote:
> That is the whole point of externallink: it links to an external URL.
> If you want to receive the request prior to sending the user onwards,
> use a proper Link and redirect the browser to the external url using
> setReq
Thanks martin: however all of them unfortuantely is at 1.4.12
wicket-ioc
wicket-spring
wicket
wicket-auth-roles.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-1-4-12-cannot-cast-to-org-apache-wicket-protocol-http-WebApplication-tp2965438p2967100.html
Sent
use ajaxformcomponentupdatingbehavior, ajaxeventbehavior does not send data over
-igor
On Thu, Oct 7, 2010 at 6:23 AM, dbuttery wrote:
>
> Hi all,
>
> I am using a HiddenField to hold the result of some jquery processing
> and can see the 'value' changing in the dom (using FireBug). I am al
you can toggle the state with setenabled(true/false) inside onconfigure() method
-igor
On Thu, Oct 7, 2010 at 1:10 AM, splitshade wrote:
>
> Hi All!,
>
> we have a Problem here.
> We have a Page, where lots of Panels are added.
> These Panels should be individually enabled, as soon as a Validati
That was it!! Works like a charm ...
Thanks Igor!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-get-value-of-input-recognized-in-HiddenField-component-tp2966761p2967157.html
Sent from the Users forum mailing list archive at Nabble.com.
I made a quickstart and it works.
Now I'm looking for the bug in my application.
Thanks
Tito
2010/10/6 Tito
> Well thank you!!
>
> I'm going to see this. If I see another details or if I can solve I will
> tell you.
>
> Thank you very much for helping!
>
> Bye
>
>
> 2010/10/6 vov
>
>
>> Sorr
Does nobody have any suggestions? If I can't get this fixed, I'm going
to have to write the app in another framework (possibly GWT) and I'd
really rather not have to do that.
Shelli
-Original Message-
From: Shelli Orton
Sent: Wednesday, October 06, 2010 3:52 PM
To: users@wicket.apache.o
Again, does nobody have any suggestions? If I can't get this fixed, I'm
going to have to write the app in another framework (possibly GWT) and
I'd really rather not have to do that.
Shelli
-Original Message-
From: Shelli Orton
Sent: Wednesday, October 06, 2010 4:05 PM
To: users@wicket.a
you have posted an incomplete piece of code and somehow from that we
are supposed to guess what is not working? create a quickstart and
provide that.
-igor
On Thu, Oct 7, 2010 at 10:15 AM, Shelli Orton wrote:
> Does nobody have any suggestions? If I can't get this fixed, I'm going
> to have to
the ldm's load() is called whenever ldm's getobject() is called, which
is called whenever *your* code uses the model. you are free to call
detach() on the ldm yourself if you need it to reload the value at
some point.
-igor
On Wed, Oct 6, 2010 at 3:05 PM, Shelli Orton wrote:
> Hi,
>
> Again, tha
Take a look at this, it may helps.
https://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html#LifecycleofaWicketApplication-ModelChanges
On Thu, Oct 7, 2010 at 2:15 PM, Shelli Orton [via Apache Wicket] <
ml-node+2967225-1123928259-65...@n4.nabble.com
> wrote:
> Does nobody have any
hi, wow, this is great, thank you so much!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Enable-FormFields-on-Error-tp2966341p2967462.html
Sent from the Users forum mailing list archive at Nabble.com.
This is what worked for me, maybe this is of use for someone else
IPageMap pageMap = //get page map (like in
//RestartResponseAtInterceptPageException#redirectToInterceptPage())
IRequestTarget target = createMySpecialTarget();
//now just to setup intercept url
pageMap.redirectToInterc
Hi,
I am trying to get through with the very basics of Wicket - radiochoice. But
somehow I got stuck and all solutions I tried made my problems even worse...
So, what am I doing wrong?
I have this code:
static final List NUMBERS = Arrays.asList(new String[] { "1", "2",
"3" });
private RadioCho
cant help you without seeing more code and stack
-igor
On Thu, Oct 7, 2010 at 2:28 PM, Zeldor wrote:
>
> Hi,
>
> I am trying to get through with the very basics of Wicket - radiochoice. But
> somehow I got stuck and all solutions I tried made my problems even worse...
> So, what am I doing wrong
I doubt anything else is needed, it throws NullPointerException at syso
attempt. Rest of the form is working properly - I can of course post more
code, but what would be needed?
Stacktrace is pretty generic too...
org.apache.wicket.RequestCycle logRuntimeException: Method
onFormSubmitted of inte
It was a Wicket 1.5-M1 bug!
I made a quickstart accidentally in wicket 1.5-M2.1 and it worked.
The problem is that wicket 1.5-M2 don't have HeaderContributor anymore haha.
Well thanks for every body, I wanted to warn.
Bye
Tito
2010/10/7 Tito
> I made a quickstart and it works.
>
> Now I'
Here is a quickstart that demonstrates two ways of accomplishing this. These
are the ways that were previously suggested on this thread. Please open it
and try the following links, and submit the form on each to prove that the
HTML template choice is persisted even after "the url becomes unusabl
I forgot to include the URLs you should try in that quickstart:
http://localhost:8080/example1
http://localhost:8080/example1?template=red
http://localhost:8080/example2
http://localhost:8080/example2?template=red
Here's the link to the quickstart again:
http://apache-wicket.1842946.n4.nabble.com
On Thu, Oct 7, 2010 at 5:04 PM, Zeldor wrote:
> Caused by: java.lang.NullPointerException
>at com.spiritia.auth.Registration$1.onSubmit(Registration.java:186)
>
The error is obviously at Registration.java:186 - please show us that code
if you can't figure it out.
--
Jeremy Thomerson
ht
186 is System.out.println(_numbers);
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/RadioChoice-what-s-wrong-tp2967576p2967903.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
in that case either your System or your System.out is null :)
-igor
On Thu, Oct 7, 2010 at 11:35 PM, Zeldor wrote:
>
> 186 is System.out.println(_numbers);
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/RadioChoice-what-s-wrong-tp2967576p2967903.html
> Sent fr
Well, _numbers is null :) That's why I wonder what's wrong with getting the
ObjectModel - I must be doing smth wrong there :)
On Fri, Oct 8, 2010 at 8:43 AM, Igor Vaynberg-2 [via Apache Wicket] <
ml-node+2967914-1064517663-152...@n4.nabble.com
> wrote:
> in that case either your System or your S
if number is null it will just print "null"
-igor
On Thu, Oct 7, 2010 at 11:49 PM, Zeldor wrote:
>
> Well, _numbers is null :) That's why I wonder what's wrong with getting the
> ObjectModel - I must be doing smth wrong there :)
>
> On Fri, Oct 8, 2010 at 8:43 AM, Igor Vaynberg-2 [via Apache Wic
45 matches
Mail list logo