you need to add wicketstuff repo to your pom tag
-igor
On Wed, Nov 11, 2009 at 11:48 PM, Alex Rass wrote:
> Went to the page (thanks!) got the SVN copy down.
> Ran Maven.
> Maven blows up with an error (below).
> Anyone knows how to get past this (or can fix it).
>
> Thanks.
>
> Output from run
Yes that shouldn't be a problem I just need to figure out the injection,
how do you do this? I use wicket-spring also.
On Thu, 2009-11-12 at 08:53 +0100, Matthias Keller wrote:
> Hi Sam
>
> We use Spring to inject them.
> Well, somewhere you'll need that logic what class is loaded by which
> rep
Hi Sam
We use Spring to inject them.
Well, somewhere you'll need that logic what class is loaded by which
repo - you could of course do it in a more generic way using factories
or a kind of a mapper or whatever...
Since we only have around 10 classes, this is easy.
If you use hibernate, you c
Went to the page (thanks!) got the SVN copy down.
Ran Maven.
Maven blows up with an error (below).
Anyone knows how to get past this (or can fix it).
Thanks.
Output from running maven is here:
G:\comp\apache-wicket-1.4.1\tinymce>\comp\maven\bin\mvn
[INFO] Scanning for projects...
[INFO]
We have close to a hundred repositories, this wouldn't work. How do you
inject the services into the EntityModel anyway?
On Thu, 2009-11-12 at 08:34 +0100, Matthias Keller wrote:
> Hi Sam
>
> What exactly do you mean by repository? Do you have to load every entity
> from another place?
> in load
Hi Sam
What exactly do you mean by repository? Do you have to load every entity
from another place?
in load(), we have the code to load every possible entity in our
implementation, for example:
T entity;
if (this.clazz == User.class) {
entity = userService.load(...);
} else if (this.clazz
> Have you done any more work with using Bindgen with Wicket? It looks
> interesting to me.
No, but coincidentally I got an email from Igor about bindgen a few days
ago. He's been putting some work into a maven apt plugin and then
submitting a hand full of bindgen bugs that I've fixed.
Igor's c
Just to confirm (for me as a foreigner) - this is the correct place?
http://tinyurl.com/foyles
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Nov 2, 2009 at 5:11 PM, jWeekend wrote:
> We will hold our next London Wicket Event on Saturday, 21st November, from
> 14:45. This time we h
Anybody have thoughts on this? I am curious also.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Nov 4, 2009 at 10:27 AM, danisevsky wrote:
> Hallo, I am thinking about learning and using Jackrabbit instead of
> relational database (+ Hibernate) in my new wicket application (which
Have you done any more work with using Bindgen with Wicket? It looks
interesting to me.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Jul 22, 2009 at 2:34 PM, Stephen Haberman
wrote:
> Hi,
>
> I just released bindgen 2, a type-safe alternative to OGNL-like string
> expressions, th
Does anybody how to pass a smart EntityModel (link below) to another
page? We use a different repository for each entity type. I can't get it
to work. I have tried storing the repository as a field on the
EntityModel and using an abstract method on EntityModel to retrieve it.
http://wicketinactio
I have a page with date picker that picks the date, DropdownChoice for hour and
minute. When I click "today" button I change the model in onsubmit method. It
is suppose to change the form value in datepicker, hour and minute to
today/now.This changes hour and minute but doesn't change the value
TinyMCE is one of the most popular out there, it has some wicket
integration already done
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-tinymce
On Wed, 2009-11-11 at 20:02 -0500, Alex Rass wrote:
> Hi.
>
> Hi.
>
> Did a bit of googling, but didn't find anything good...
>
>
Hi.
Hi.
Did a bit of googling, but didn't find anything good...
Anyone ever had to create an edit screen where you can do html/source
editor?
Any idea what I can use?
In other words: I store html in database.
I would like to be able to let my users bring it up inside a wicket screen.
Edit html
Is it possible to build a wicket URL in a JSP that gets forwarded to and
handle by the Wicket filter mechanism?
This seems like it should be simple but doesn't appear to work right in
1.4.1.
We build up a wicketized URL that makes it into the WicketFilter, but
that filter strips all the req
Please try to ask the question again, try to restructure the sentences? I
cant understand what you wrote (not to be rude).
2009/11/11 hxysun
> hi,
> I have a question:I run wicket-examples-1.4.3 in tomcat 6.0.20 windows
> sys,findig Auto-Complete TestField Example not enable,no down-list
> autom
I agree on Jeremy on this one. I actually don't know much about ajax (migth
be an understatement), but with wicket I've been able todo alot of ajax
integrations.
Heres something to read (if you want to know the inner workings):
http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-
On Wed, Nov 11, 2009 at 3:53 PM, Peter Ross wrote:
> On Wed, Oct 28, 2009 at 5:08 PM, Jason Novotny wrote:
>> Martin Makundi wrote:
>>>
>>> ... and expect trouble with ajaxifying jquery plugins that skin html
>>> components. They will not work properly if you replace your components
>>> via ajax
I think wicket iolite has this aswell...
2009/11/10 Владимир Михайленко
> Thank you, now it works.
>
> On Tue, Nov 10, 2009 at 8:29 PM, Pieter Degraeuwe <
> pieter.degrae...@systemworks.be> wrote:
>
> > You are getting this exception from a unittest. When you use WicketTester
> > in
> > combina
I think last time this came up it ended out being some issue with jetty?
2009/11/11 Rangel Preis
> I extends HttpsRequestCycleProcessor and SwitchProtocolRequestTarget
> to make my custom HttpsRequestCycleProcessor
> In the method getUrl from SwitchProtocolRequestTarget i just remove the
> p
you should be able to put the change in a property file.. Like described
here :
http://day-to-day-stuff.blogspot.com/2008/05/wicket-internationalization.html,
so you just need to find the key for the field.
2009/11/11 Rene Peters
>
> Hello,
>
>
>
> I developed a component (a Panel containing a F
Hello,
I developed a component (a Panel containing a Form) for uploading a file.
It works fine but it I would like to change the label of the button and the
text displayed next to the button.
The text it displays by default is "choose file" on the button and the text
displayed next t
On Wed, Nov 11, 2009 at 7:23 PM, svenmeier wrote:
>
> Why so complicated?
>
because I started by looking at what wiquery did and then simplifying
it to my case. However I wasn't sure if it was the correct approach
or the most simple hence the question is there a better solution.
> @Override
> pub
Yes. Looks like this is the only non-JS way to go (still searching).
Simple but ugly.
Regards,
Stephan
Am 11.11.2009 um 21:53 schrieb Igor Vaynberg:
> you should do something like this
>
> [form1][select/][submit button/][/form1]
> [form2][form components panel/][/form2]
>
> user presses the s
you should do something like this
[form1][select/][submit button/][/form1]
[form2][form components panel/][/form2]
user presses the submit button in form 1, in form 1's onsubmit you
swap the form components panel based on the selection.
simple.
-igor
On Wed, Nov 11, 2009 at 12:50 PM, srm wrot
Ah! Stupid me!
I've read that it is working with JS and I didn't make sure to disable JS for
my local host.
Argh.
So it's not solved. Need to find a way around then.
Thanks for the pointer.
Regards,
Stephan
Am 11.11.2009 um 21:44 schrieb Martijn Dashorst:
> How do you think wantOnSelection
How do you think wantOnSelectionChangedNotification() works? With or without JS?
Martijn
On Wed, Nov 11, 2009 at 9:39 PM, srm wrote:
> SOLVED!
> w/o JS/AJAX
>
> I created a factory to produce the corresponding Panel(including the form)
> and I use a call to replaceWith() in onSelectionChanged():
SOLVED!
w/o JS/AJAX
I created a factory to produce the corresponding Panel(including the form)
and I use a call to replaceWith() in onSelectionChanged():
[code]
@Override
protected void onSelectionChanged(final Object newSelection) {
Panel newPanel = AddItemPanel.getAddItemPanel(selected,
Hi,
I have been using panel replacement instead of multiple different
pages as a way to avoid a kind of back button problem but I am not
happy with my solution.
The objective is to prevent the user from going back after an update
to previous pages/versions of the page containing state of domain d
Right?
Wrong, see explanation below.
Sven
mbrictson wrote:
Actually wicket-ajax.js is smart enough to fire these "dom ready" events
after an ajax request.
Of course, a jQuery $(document).ready() will not fire; neither will the
"ready" events of other various JS libraries. However if you spec
Actually wicket-ajax.js is smart enough to fire these "dom ready" events
after an ajax request.
Of course, a jQuery $(document).ready() will not fire; neither will the
"ready" events of other various JS libraries. However if you specifically
use Wicket's "dom ready" event (i.e. renderOnDomReadyJa
Are you holding the model as an instance variable somewhere? If so, you'll
need to detach it manually. The component only auto-detaches the default
model.
i.e. this will get auto-detached:
public class SomeComponent extends Component {
public SomeComponent(String id, IModel model) {
super
Won't work on an ajax request because the dom ready event isn't fired.
Right?
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Nov 11, 2009 at 2:23 AM, svenmeier wrote:
>
> Why so complicated?
>
> @Override
> public void renderHead(IHeaderResponse response) {
> response.renderOnD
I extends HttpsRequestCycleProcessor and SwitchProtocolRequestTarget
to make my custom HttpsRequestCycleProcessor
In the method getUrl from SwitchProtocolRequestTarget i just remove the port:
if (port != null) {
result.append(":");
result.append(port);
}
Hi all,
I have a wizard with five wizardSteps.
Also I have an LDM called EntityModel,
EntityModel extends LDM{
EntityModel(Key key)
this.key=key;
}
load(){ // I look up for the entity with the key}
}
But I have a case where it doesnt behave as expected.
There is a case where the f
Has anyone seen this before, and maybe know a workaround for this problem?
Regards,
Daniel
>>> "Daniel Pote" 2009-11-11 11:00 >>>
I had a RadioGroup with an ajax-call working fine, but when i added it to a
FormComponentFeedbackBorder it stopped working in MSIE6. However its working in
MSIE8 a
Am 11.11.2009 um 15:59 schrieb Ernesto Reinaldo Barreiro:
> If you reload the page when selecting the element, instead of using AJAX, I
> guess the same will work because you have a selected article... I think AJAX
> is just a detail here, maybe you can use
>
> protected boolean wantOnSelectionCh
If you reload the page when selecting the element, instead of using AJAX, I
guess the same will work because you have a selected article... I think AJAX
is just a detail here, maybe you can use
protected boolean wantOnSelectionChangedNotifications()
{
return false;
}
on DropDownCh
Am 11.11.2009 um 15:25 schrieb Ernesto Reinaldo Barreiro:
> I have used something similar to
[snip]
[snap]
>
> for such situations... I delegate creation to a factory class (so that new
> products can be plugged in).
>
> Best,
>
> Ernesto
>
Thank you for this example.
But I'm bound to not u
I have used something similar to
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.OnChangeAjaxBehavior;
import org.apache.wicket.markup.html.form.DropDownChoice;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.panel.EmptyPanel
How would you approach the following:
PageA is used to insert an article. At first, the user chooses what kind of
article to insert (DropDownChoice).
When the User made his choice, a coresponding form should be loaded/visible
underneath the
DropDownChoice. That's all to be solved without JavaS
How do you "already know" the attributes of all of the research items? Does
that mean that you could enumerate them?
On Nov 11, 2009 12:23 AM, "Sam Barrow" wrote:
The value objects are not simple attributes of an entity. Let me explain
what they do (a little simplified but the fundamentals are
I checked
http://docs.huihoo.com/javadoc/jboss/4.0.2/javax/security/jacc/URLPatternSpec.java.html.
I need change url to this :
http://xyz.sk/mymount?wicket:interface=:0:form::IFormSubmitListener:: and
everything work fine.
Strange thing is that I developed app on Jetty and Tomcat and everything
public class HomePage extends WebPage {
private static final long serialVersionUID = 1L;
private static int testCounter = 0;
WebMarkupContainer container;
/**
* Constructor that is invoked when page is invoked without a session.
*
* @param parameters
*
Works great with a Container.
Thanks Ernesto, you're the best :)
Saludo
Chris
-Ursprüngliche Nachricht-
Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Gesendet: Mittwoch, 11. November 2009 10:28
An: users@wicket.apache.org
Betreff: Re: AbstractAjaxTimerBehavior causes except
Try using startComponent instead of startPage
Ashley Aitken wrote:
>
>
> Thanks All.
>
> Igor - I'm a Wicket newbie. When I get more experience I'll see if I
> can do something along the lines you suggest. For now I just wished
> to know if it would be possible / sensible.
>
> Casper -
I had a RadioGroup with an ajax-call working fine, but when i added it to a
FormComponentFeedbackBorder it stopped working in MSIE6. However its working in
MSIE8 and Firefox.
If I remove the FormComponentFeedbackBorder it starts working again.
I traced it down to FormComponent.class where
getR
I didn't mean to 'replace' but to 'add'. You need both lines.
On Wed, 2009-11-11 at 10:06 +0100, Giambalvo, Christian wrote:
> Hi Martin,
>
> this doesn't work.
>
> @Override
> protected void onTimer(AjaxRequestTarget target)
> {
> Label t2 = new L
Put a container (WebMarkupContainer?) around components you want to update,
atatch the behavior to that container and make sure the comapoent you want
to update are "dynamic": meaning that theirs "state" should change every
time they are rendered.
Best,
Ernesto
On Wed, Nov 11, 2009 at 10:24 AM,
You're right Ernesto, your example works, but what if I want to replace a whole
panel and not just the model of a label?
-Ursprüngliche Nachricht-
Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Gesendet: Mittwoch, 11. November 2009 10:15
An: users@wicket.apache.org
Betreff:
Well I think it all boils down to the explanation a gave on my first e-mail:
if you replace the component with a new one that does not have the behavior
then you will get an exception (the same will happend if you remove the
behavior during a round trip). I guess Martin was just trying to say that
Hi Martin,
this doesn't work.
@Override
protected void onTimer(AjaxRequestTarget target)
{
Label t2 = new Label("message", "Test " + testCounter);
t2.setOutputMarkupId(true);
test = t2;
testCounter++;
On Wed, 2009-11-11 at 09:21 +0100, Giambalvo, Christian wrote:
> Hi all,
>
>
>
> maybe i found a bug.
>
> Don't know if I'm doing something wrong.
>
> But it's a simple usecase.
>
>
>
> Following code produces an exception:
>
>
>
> public class HomePage extends WebPage {
>
>
>
>
Following example works fine
public class TestCounter extends WebPage {
private int counter = 0;
private Label message;
/**
*
*/
public TestCounter() {
message = new Label("message", new AbstractReadOnlyModel(){
private static final long serialVers
Btw, the exception is thrown on first call not on second round trip.
-Ursprüngliche Nachricht-
Von: Giambalvo, Christian [mailto:christian.giamba...@excelsisnet.com]
Gesendet: Mittwoch, 11. November 2009 09:39
An: users@wicket.apache.org
Betreff: AW: AbstractAjaxTimerBehavior causes exc
Hi Ernesto,
the label was just an example.
In my app i try to replace the navigation (you remember your suggestion with a
timer?)
The navigation is a panel. So recreate the whole panel and then try to replace
it with the new one.
This is where the AbstractAjaxTimerBehavior comes in.
Greets Chri
Hi Chris,
Maybe it is because you are adding the timer to the label and later on
replacing it is another component. Then the second AJAX round trip to the
page will look for the AbstractAjaxTimerBehavior associated to the "message"
component, but the new one does not have associated such a behavi
Why so complicated?
@Override
public void renderHead(IHeaderResponse response) {
response.renderOnDomReadyJavascript(init_slider_js());
}
Peter Ross-6 wrote:
>
> On Wed, Nov 11, 2009 at 3:48 PM, Jeremy Thomerson
> wrote:
>> On Tue, Nov 10, 2009 at 10:38 PM, Peter Ross
>> wrote:
>>
>>> Hi
Hi all,
maybe i found a bug.
Don't know if I'm doing something wrong.
But it's a simple usecase.
Following code produces an exception:
public class HomePage extends WebPage {
private static final long serialVersionUID = 1L;
private static int testCounter = 0;
p
Then just keep the criteria to get those items in your components?
samb0057 wrote:
>
> The value objects are not simple attributes of an entity. Let me explain
> what they do (a little simplified but the fundamentals are there).
>
> We have a research module that performs pricing research.
>
60 matches
Mail list logo