We have an app with three user types and two user levels (read or
read-write in effect). We want to use these in authorization, and thought about
an approach using annotations. However, at the point of the Wicket auth.
interface methods, only class-targeted annotations are visible, and that
Hello, everyone!
I experience a problem when triggering a modal window from another modal
window. When a removal icon is clicked in the first modal, there's a
confirmation dialog, that pops up. Although I've set everything up, the
windowClosedCallback gets activated only when I confirm removal
I forgot to mention that the first time I click yes, I get:
confirmation dialog called
yes button clicked
in console, and the conf dialog closes itself. when I open it for second time,
I get
confirmation dialog called
yes button clicked
removal supposed to be called
and the item really gets
It works perfect for 6.x releases. You changed the version to 7 your
self, so it is your responsibility to change the other stuff too.
When we upgrade the version we'll be sure to modify the plugin
accordingly.
Martijn
On Thu, Feb 11, 2010 at 10:39 PM, Russell Morrisey
It still doesn't work. Do I need a form inside my repeater?
protected void populateItem(Item arg0) {
Label pagina;
final Label codi;
final TextArea valor;
SubmitLink link;
final AccTextosWrapper tWrapper = (AccTextosWrapper)arg0.getModelObject();
pagina = new Label(pagina,
For example..
class Honey {
int id;
int milkid;
String name;
// getters and setters
}
class Milk {
int id;
String name;
// getters and setters
}
and my query:
SELECT honey.id ID, honey.milkid MILKID, honey.name HONEYNAME,
milk.name MILKNAME FROM honey, milk
WHERE honey.milkid=milk.id;
And i
Ok i got it solved using a Form in each row that contains the textarea and
the submitlink.
Thanks
El 12 de febrero de 2010 09:53, Rubén khanser khan...@gmail.com escribió:
It still doesn't work. Do I need a form inside my repeater?
protected void populateItem(Item arg0) {
Label pagina;
I am facing authorization problems this days, as you see in onother message.
when I started to deal with this problem I were also uncomfortable at the
idea to use annotation on components or even specific class (like
SecureComponent). Too much noise in the code and too much interference of
You could create a reference from Honey to Milk, since you have a
milkid field there. Then, you'd use a list of Honey objects and
you'd display these properties:
id
milk.id
name
milk.name
On Fri, Feb 12, 2010 at 3:58 AM, Ivan Dudko ivan.du...@gmail.com wrote:
For example..
class Honey {
Igor,
I made a quickstart and found that it's not a wicket issue but a tomcat
issue. I installed tomcat 6.0.24 and configured it in Netbeans and now it
works as expected.
Thanks
Andreas
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday,
Hi,
I'm using
Wicket.Ajax.registerPreCallHandler(showBusyScreen);
Wicket.Ajax.registerPostCallHandler(hideBusyScreen);
Wicket.Ajax.registerFailureHandler(hideBusyScreen);
to show and hide a busy screen on the page while executing AJAX calls. But it
also shows up when I click the close button
Does anyone know? Please, people, I'm getting despaired of this...
-Original Message-
From: Martin Asenov [mailto:mase...@velti.com]
Sent: Friday, February 12, 2010 10:23 AM
To: users@wicket.apache.org
Subject: RE: modal in a modal problem
I forgot to mention that the first time I click
No point using a submit link if you are going to override onclick with
a non form related Ajax behavior.
-igor
On Friday, February 12, 2010, Rubén khanser khan...@gmail.com wrote:
It still doesn't work. Do I need a form inside my repeater?
protected void populateItem(Item arg0) {
Label
QuickStart strikes again :)
-igor
On Friday, February 12, 2010, Andreas Lüdtke sam.lued...@t-online.de wrote:
Igor,
I made a quickstart and found that it's not a wicket issue but a tomcat
issue. I installed tomcat 6.0.24 and configured it in Netbeans and now it
works as expected.
Thanks
I have a Palette component that I need to be able to fire an event when an
item on the right side(selected side) has been clicked. Additionally I need
to know what item was clicked because I'm going to be populating another
panel based on that click.
I have created my own component called
Good evening,
I have a BookmarkablePage which may need PageParameters or not, depending on
the business workflow. I used to mount it under /page but now that we do use
the PageParameters-providing constructor I have a problem which forced me
not to mount the page in my Application class anymore.
Is there a way in Wicket for Button form onSubmit to refresh the page and
scroll to a particular anchor? For example if I have 3 separate forms with a
FeedbackPanel in each, if I click the submit button for the final form and
there's a validation error, when the page refreshes the error messages
Daniele,
I think you're exactly right to use the
get/setMetaDatahttp://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#setMetaData(org.apache.wicket.MetaDataKey,
M) methods, per the Javadoc on
MetaDataKeyhttp://wicket.apache.org/docs/1.4/org/apache/wicket/MetaDataKey.html(example
code
take a look at querystringurlcodingstrategy,mixedparamurlcodingstategy
,mixedparamhybridurlcodingstategy,
and use what suits you .
Good evening,
I have a BookmarkablePage which may need PageParameters or not, depending
on
the business workflow. I used to mount it under /page but now that we
Hi
Im creating a dynamic image with the DynamicImageResource, and my problem with
this is in explorer, since my generated image is a png and there(explorer) when
i choose 'save as..' it try to save it as a 'bmp'.
In firefox it works well and when i try to save it, i get the image as 'png'.
Tony,
I'm not sure if you can mess with the URL (e.g. append a #errors) from
within Wicket without causing a redirect (and loosing your errors from the
request and form state) -- someone smarter than me can address that -- but
if you wanted to get creative, maybe in the onError handler your can
Martijn,
I encountered this error without making ANY changes to the POM generated by the
quickstart archtype command, when running mvn eclipse:eclipse
-DdownloadSources=true. The artifact it is having trouble with is the maven
jetty plugin, not jetty itself. The POM has jetty.version 6.1.4
Hi,
I
would like to add AJAX behavior to an application that sends an update
to my application after a certain number of characters have been typed.
For example, if the user is entering a zipcode, I would like a callback
to my application to be made after the user enters the fifth character.
you can do the same thing with wicket ie. on 5th char typed,make a
ajaxcallback to wicket,
1)you need to add behavior to component and implement it's respond method
the way it suits your need.
2)in the js part you will make a callback on 5th char typed,callbackurl you
will get from the behavior
Below stack trace indicates that getConfigurationType() is called a lot. It,
however, consults a Hashtable, thereby hitting a synchronized block every
time. Note the resulting wait time (in seconds).
My fix is to cache the value in my WebApplication subclass (and populate
this tiny cache eagerly
Vineet is exactly right, just to further flesh it out:
You want to add a subclass of AbstractDefaultAjaxBehavior to your page, this
automatically contributes the wicket-ajax.js file to your page which exposes
these JavaScript methods for you:
===
function wicketAjaxGet(url,
Riyad,
1)url is callbackurl you will get from
abstractdefaultajaxbehavior.getcallbackurl()
2)method you need to implement is the abstractdefaultajaxbehavior's respond
method
On Sat, Feb 13, 2010 at 3:58 AM, Riyad Kalla rka...@gmail.com wrote:
Vineet is exactly right, just to further flesh it
Ah! Thanks Vineet.
On Fri, Feb 12, 2010 at 3:42 PM, vineet semwal
vineetsemwal1...@gmail.comwrote:
Riyad,
1)url is callbackurl you will get from
abstractdefaultajaxbehavior.getcallbackurl()
2)method you need to implement is the abstractdefaultajaxbehavior's respond
method
On Sat, Feb 13,
make sure you correctly set the content type
-igor
On Fri, Feb 12, 2010 at 10:12 AM, _Eynob _ ey...@hotmail.com wrote:
Hi
Im creating a dynamic image with the DynamicImageResource, and my problem
with this is in explorer, since my generated image is a png and
there(explorer) when i
you can use an iajaxcalldecorator to add javascript before the call is
made and interrupt it by simply return true until fifth character
has been pressed.
-igor
On Fri, Feb 12, 2010 at 12:45 PM, Steven Haines lyg...@yahoo.com wrote:
Hi,
I
would like to add AJAX behavior to an application
30 matches
Mail list logo