Hi,
Anyone compare wicket with Tibco General Interface? Tibco's stuff
seems very impressive.
Also I found it's very difficult to have a more advanced example for
each wicket components.API doc and examples only list the very basic
one.(ie: I want a single click behavior inside Palette which I
Instead of using a test stub, i'd use jmock or some similar mock
framework and get a little more control :)
2009/4/6 Olivier Michallat omichal...@gmail.com:
The problem is that your unit tests run out of the web container, you
can't rely on a servlet context listener to load the Spring context
code will then look like this:
mockery.checking(new Expectations() {
{
oneOf(eventRepository).update(with(any(Event.class)));
}
});
I'm trying to disable a tab in a TabbedPanel based on authorization. I'm
using wicket-auth-roles, and it works in other places, for example for
buttons. Could anybody tell me what I'm doing wrong? The tab just keeps
on showing, and if you click on it you go to a page that states that you
don't
Hi,
I try to retrieve the value of highlighted choice in palette by
single click. Is there any sample code to do that anywhere? I cannot
find anything from google or wicket book.
Ying
-
To unsubscribe, e-mail:
Hello,
I have a Wizard with a FinishButton. I want the button always be
enabled. Because the method isEnabled is final I cant override it.
I think coping the button and change the isEnabled method to always
return true is a bit ugly. What is de best way to do it?
Regards,
Martin
--
I have a based web page which contains a wicket Tree, and need to keep the
treestate for each extend webpages.
So I override the newTreeState( ) as below:
Tree cMenuTree = new Tree(menuTree, createTreeModel()) {
@Override
protected ITreeState newTreeState() {
Hi,
This is more of a general design question and I would really
appreciate some input. Do you localize the service layer as well as
the Wicket presentation layer?
I have a specific use case. When a user register a new account the
service layer sends an e-mail message with an activation link.
I think I had the same problem a while ago.
Look at the solution in discussion underneath:
http://www.nabble.com/TabbedPanel-%2B-authorization-strategy-td13949910.html#a13965618
Linda van der Pal wrote:
I'm trying to disable a tab in a TabbedPanel based on authorization. I'm
using
Hi,
Is it correct that there is no stateless AjaxFallbackLink alternative?
Which can pass through parameters?
If so I would probably implement one if it's not very hard. Could you
give good advises on this? Directions, approaches and so on.
Right now I think first I have to study
Hi there,
After a long period of reading, now I'm starting to code my
application using these frameworks: Wicket, Google Guice and
Warp-persistence. I facet a conceptual problem (IMHO) about how
initialize google guice. I read a lot of source codes on the internet
and most of them, if not all,
Hi!
Radio.onBeforeRender:
@Override
protected void onBeforeRender()
{
// prefix markup id of this radio with its group's id
// this will make it easier to identify all radios that belong
to a
specific group
Hi
I am new to Wicket , in using wicket , the system often tells me the memory is
not enough. Is there any one kindly tell me how to use wicket in cluster to
avoid it or any document/example for it? Thanks your time so much!
Best Regards
Ji
Very cool! I am an AppleTV hobbyist myself. Do you have a blog post or
something regarding the steps you took to do this? I'd be curious to check
it out!
-Matt.
On Mon, Apr 6, 2009 at 23:55, Igor Vaynberg igor.vaynb...@gmail.com wrote:
thats pretty freaking cool :)
-igor
On Mon, Apr 6,
Hi,
We just noticed that if user is on a page and ajax request is
executing, pressing a link can cause AbstractDefaultAjaxBehavior's
failurescript to be executed on the browser.
We noticed that this happens at least in cases where pressing a link
forwards user to other page by setting a
the system which is that?
On Tue, Apr 7, 2009 at 15:54, Wenke Ji jiwe...@gmail.com wrote:
Hi
I am new to Wicket , in using wicket , the system often tells me the memory
is not enough. Is there any one kindly tell me how to use wicket in cluster
to avoid it or any document/example for it?
without telling us what you currently use for your settings, we won't
be able to help you.
how much memory did you allocate for your server. Does it only run
your wicket app, did you use loadabledetachablemodels, did you profile
your application to see if there's a leak or if you keep too much
I guess, you can try to override protected void onBeforeRender() and make
something like:
protected void onBeforeRender(){
this.setEnabled(true);
super.onBeforeRender();
}
Martin Tilma wrote:
Hello,
I have a Wizard with a FinishButton. I want the button always be
enabled. Because
Hi I am having the same problem as you had. I've changed DateField to
DateTextField but I have still the original value. Please help.
Caisi
Michal Hybler wrote:
If someone have same problem I have solved that by using DateTextField
instead of DateField from wicket extension.
M.
Michal
I just added my first post on this a few nights ago and I will be
filling in the blanks soon. There is a prototype roadmap I am moving
through that will ensure I have all the pieces to justify spending
time designing the actual app.
http://www.siberian.org/
John-
On Tue, Apr 7, 2009 at 6:30 AM,
I have a DropDownChoice defined as follows.
// Model for populating Condition Dropdown
IModel conditions = new LoadableDetachableModel() {
public Object load() {
ListConditions c = new ArrayList();
try {
c = dao.getConditions();
} catch (DaoException e) { }
return c;
}
};
//
Is it a normal form without AjaxSubmitButton?
-Ursprüngliche Nachricht-
Von: Chris [mailto:ch...@carlsoncentral.com]
Gesendet: Dienstag, 7. April 2009 16:53
An: users@wicket.apache.org
Betreff: Validating DropDownChoice
I have a DropDownChoice defined as follows.
// Model for
I tried launching the YUI Menu2 stuff today and it looks like the
latest changes have broken the YUI menu support. The menus show up as
a normal ul/li list.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
You could also use one of the two PageTabPanel components we wrote at
wicketskunkworks.org which would allow you to secure the content of a
tab using normal page authorization.
There is not much in the way of docs at the moment but you can check
out both components from:
most of the time if those things happen you have send something yourself
into the buffer somehow/somewhere
johan
On Sun, Apr 5, 2009 at 20:15, Daniel Toffetti dto...@yahoo.com.ar wrote:
Hi all,
I've found this exception in the catalina logs:
05/04/2009 14:51:17
what do you mean by single click behavior inside the palette?
-igor
On Mon, Apr 6, 2009 at 9:49 PM, Ying dongy...@gmail.com wrote:
Hi,
Anyone compare wicket with Tibco General Interface? Tibco's stuff
seems very impressive.
Also I found it's very difficult to have a more advanced example
Try out wickext ... http://code.google.com/p/wickext/
On Wed, Apr 1, 2009 at 8:30 AM, HHB hubaghd...@yahoo.ca wrote:
Hey,
My team lead is insisting on employing JQuery Accordion
in our Wicket application.
As you know that the Accordion consists of pairs
of headers and contents panels.
The
both wicket and spring allow you to customize how text bundles are
loaded. you can create a spring bundle loader that uses your
webapplication.properties file or a wicket bundle loader that uses
your spring bundle. either way you can then have business tier and web
share certain text bundles for
that is expected since onbeforerender is called before every render.
if (!getmarkupid().startswith(getgroup().getmarkupid()) {
setmarkupid(getgroup().getmarkupid()+-+getmarkupid());
}
-igor
On Tue, Apr 7, 2009 at 6:41 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
why do you think its such a good idea to post the same question more then once?
-igor
On Tue, Apr 7, 2009 at 4:51 AM, Ying dongy...@gmail.com wrote:
Hi,
I try to retrieve the value of highlighted choice in palette by
single click. Is there any sample code to do that anywhere? I cannot
Please open jira issue - or assign the code you posted to existing
one. I'll apply it.
-Matej
On Tue, Apr 7, 2009 at 3:30 PM, Mikko Pukki mikko.pu...@syncrontech.com wrote:
Hi,
We just noticed that if user is on a page and ajax request is
executing, pressing a link can cause
ah, thought you posted a snippet from your code.
fixed.
-igor
On Tue, Apr 7, 2009 at 10:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
that is expected since onbeforerender is called before every render.
if (!getmarkupid().startswith(getgroup().getmarkupid()) {
ah, thought you posted a snippet from your code.
No, wazn'tme.
fixed.
It looks like a hack. Wouldn't it be better fixed by overriding public
String getMarkupId() ?
**
Martin
On Tue, Apr 7, 2009 at 10:09 AM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
that is expected since
Ying, is an HTML color picker perhaps what you are looking for? Try
http://cpicker.com/, I found it to be a good one.
Ying-9 wrote:
Hi,
I try to retrieve the value of highlighted choice in palette by
single click. Is there any sample code to do that anywhere? I cannot
find anything
No comments?
On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes esnu...@gmail.com wrote:
Hi there,
After a long period of reading, now I'm starting to code my
application using these frameworks: Wicket, Google Guice and
Warp-persistence. I facet a conceptual problem (IMHO) about how
initialize
I think the thread subject indicated my question. The palette question is
just an example I encountered when trying to do something with wicket. I
have a separate question just for palette.
Appreciate any input regarding comparison with Tibco General interface.
igor.vaynberg wrote:
what do
add(new palette(.) {
protected component newchoicescomponent() {
component choices=super.newchoicescomponent();
choices.add(new ajaxeventbehavior(click) {
protected void onevent(ajaxrequettarget t) {
// do whatever you need
}});}});
-igor
On Tue, Apr 7,
new link(edit) {
onclick() {
setresponsepage(new editpage(getpage().getpagereference(), getmodel()));
}
}
class editpage {
public editpage(pagereference ref, imodel model) {
setresponsepage(ref.getpage());
}
}
-igor
On Tue, Apr 7, 2009 at 12:12 PM, Roman Zechner
thanks!!
Igor Vaynberg wrote:
new link(edit) {
onclick() {
setresponsepage(new editpage(getpage().getpagereference(), getmodel()));
}
}
class editpage {
public editpage(pagereference ref, imodel model) {
setresponsepage(ref.getpage());
}
}
-igor
On Tue, Apr 7,
first!
-igor
On Tue, Apr 7, 2009 at 10:46 AM, Eduardo Nunes esnu...@gmail.com wrote:
No comments?
On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes esnu...@gmail.com wrote:
Hi there,
After a long period of reading, now I'm starting to code my
application using these frameworks: Wicket,
how can i make sure to get back to the same page of a
AjaxFallbackDefaultDataTable that i came from after a redirect?
e.g.:
1. i am on page 3 of a table of persons (listpage).
2. i click on a row to edit a person (detailpage).
3. after submitting changes, i redirect to the listpage again, but i
I know that I can write one, but I was looking for a panel that can can
expand/collapse if a plus/minus sign is clicked.
I will appreciate it if you could point out one.
Thanks.
-
To unsubscribe, e-mail:
Don't know whether my previous email was successful or not. Apology if this
is duplicate.
I want to do same thing as
http://www.nabble.com/How-can-I-get-hold-of-a-palette's-selected-item--td2001571
4.html
Basically want to use palette and capture value user clicks in the choice
list, which
Does anyone know what a ModalWindow does after it shows itself? I've
got a ModalWindow that shows just fine, but then it takes forever to
become responsive (on a page that takes a while to render due to a
large-ish table on it). The way I know when it's going to become
responsive is when I'm
Jonathan, can you elaborate? Why do you think jersey is
better? Have you any experience of integrating it with wicket?
We use Jersey for REST here, mostly because it is Sun's reference
implementation of JAX-RS (and thus will most likely be updated fastest).
As for the options:
* Restlet:
Hi,
I submitted this bug back in March and have not seen any indication that it has
been noticed. I was wondering if there is something else I need to do. This
issue is preventing us from migrating to 1.3.5 which we would like to do to get
the fix for WICKET-1679.
Thanks,
Steve Katz
Also, how could I disable default double click action in palette?
Thanks for your code. Appreciate a little more help. How do I get the
highlighted object from palette? I have this
ListScenarioDefinition choiceList = getAllScenarios();
ListScenarioDefinition selectedChoice =
Hello Wicket dev, gurus and mortals, I was successfully using Wicket to build
the UI for my new web-app gig. I have studied the javadoc:
org.apache.wicket.markup.html.form, org.apache.wicket.MarkupContainer and
others until bleary-eyed. The web-page I am using will display correctly the
values
with a bit of javascript: this.options[this.selectedIndex] which you
then append to the generated url.
-igor
On Tue, Apr 7, 2009 at 2:55 PM, yxd0018 ying_d...@ml.com wrote:
Thanks for your code. Appreciate a little more help. How do I get the
highlighted object from palette? I have this
component choices=super.newchoicescomponent() {
oncomponenttag(tag) {
super.oncomponenttag(tag);
tag.getattributes().remove(ondblclick);
}
}
-igor
On Tue, Apr 7, 2009 at 3:10 PM, yxd0018 ying_d...@ml.com wrote:
Also, how could I disable default double click action in palette?
textfield.settype(Long.class)
-igor
On Tue, Apr 7, 2009 at 4:15 PM, David Brown
dbr...@sexingtechnologies.com wrote:
Hello Wicket dev, gurus and mortals, I was successfully using Wicket to build
the UI for my new web-app gig. I have studied the javadoc:
org.apache.wicket.markup.html.form,
You seem to have a String validator on a number field. What do you
want to test a range? Or max value of that long? Use a different
validor
On 08/04/2009, David Brown dbr...@sexingtechnologies.com wrote:
Hello Wicket dev, gurus and mortals, I was successfully using Wicket to
build the UI for my
Within a component's renderHead method is it possible to get the value
of the id attribute for the component tag?
For instance, I have:
div wicket:id=multi id=boo/div
And within renderHead if I use getMarkupId() I get multi1 back, if I
use getMarkupId(false) I get null.
The JavaDoc for
I have no idea about JS, where is the generated url? Could U post some sample
code pls? Appreciate very much.
igor.vaynberg wrote:
with a bit of javascript: this.options[this.selectedIndex] which you
then append to the generated url.
-igor
On Tue, Apr 7, 2009 at 2:55 PM, yxd0018
FYI, the only way I can seem to get the id value within renderHead is
to use Component's getMarkupAttributes(), but the JavaDoc tells me not
to use this method as it's supposed to be used by Wicket internally
only. And they use capital letters too when telling me this.
What to do, what to
55 matches
Mail list logo