Also, I'm starting to dig into these and fix them and most of them make sense
to me. They are obviously asynchronous threads that we start.
But this one has be a bit baffled. Does anybody recognize the classes in the
stack?
2010-06-04 00:06:34,623 ERROR [main] session.ManagerBase - Exception l
Hi,
I'm trying to make an image subclass that shows an icon. Which icon it
shows depends on its model object, which is a boolean. Problem is, I'm
not getting the model object: it's always null. If I use a Label instead
of InStockIconImage, it works: the label shows a boolean (true/false).
A
Oops, I went a bit too far in pruning non-essential code.
InStockIconImage has a second constructor:
public InStockIconImage(String id) {
super(id);
}
I think it centers around this. If I pass a PropertyModel(listingModel,
"inStock") explicitly to the constructor, it works, but
Maybe this is related to this override on Image class?
@Override
protected IModel initModel()
{
// Images don't support Compound models. They either have a
simple
// model, explicitly set, or they use their tag's src or value
// attr
Wilhelmsen Tor Iver wrote:
I've recently been wondering about the following use case: an instance
of Foo class, used as a detached value object, is edited in a
FooEditPage. For some reasons, let's say this page then needs to launch
dialogs spanning over different pages. Each of these pages could
Mauro Ciancio wrote:
Hi,
On Wed, Jun 2, 2010 at 7:43 PM, Joseph Pachod
wrote:
I've recently been wondering about the following use case: an instance of Foo
class,
used as a detached value object, is edited in a FooEditPage. For some reasons,
let's
say this page then needs to launch dialog
Igor Vaynberg wrote:
usually i simply allow pages to take models of whatever it is they
need, just like any other component. in case of a dto being passed
around you can simply use the default model: new Model(new
Dto()); and pass that to any page. that way the page does not need to
worry about w
Thank you for your help.
So I solved it by using repeaters "RepeatingView".
On DropEvent I add the droppedComponent to the repeating view and update the
page.
I also had to set wantOnDragStartNotification(false),
wantOnDragStopNotification(false), otherwise the dropped Component was not
found on
Could you provide a small testcase? I'm using d&d very intensive in a calendar
app and never had any problems with this.
Stefan
-Ursprüngliche Nachricht-
Von: DerBernd [mailto:beha...@web.de]
Gesendet: Freitag, 4. Juni 2010 11:06
An: users@wicket.apache.org
Betreff: Re: drag and drop
No I have a absolutely specific question to jwicket-jquery.
I want to set the "handle" option on a draggable, to define the tag which is
used to drag the panel.
e.g. handle: 'h2'
Unfortunately theres no setter for the handle option.
Thank you
--
View this message in context:
http://apache-
The default value for both is false! The code:
private boolean onDragStartNotificationWanted = false;
/**
* If set to {...@code true}, the callback-Method {...@link
#onDragStart(AjaxRequestTarget,SpecialKeys)}
* is called when the drag operation starts.
Hi is it possible to add a dataTable in a DataTable and how?
I have a dataTable and when i press on a line in it i want a new dataTable
to popup
below the line i have pressed. How do i do this?
I have a DefaultDataTable("dataTable", columns, provider, 10)
where i have added the columns to a arrayL
Thank you very much Nino and Kent,
I've read about Wicketpagetest before and I've been planning to try it
out. Looks like now is my chance :-)
Ronan
On 04/06/2010 02:16, Kent Tong wrote:
Hi Ronan,
Looking at the output of WicketTester.debugComponentTrees() I can see
that the grid row is th
Look into the original jQuery docs for draggable and set any options that are
not implementet now with
setRawOptions("handle: 'h2'");
This should do the trick. If you have any suggestion for implementing a
setHandle(???)
method that doesn't simple have a String paramete
So here is my Example Case
I have several "Platzhalter" which implement IDroppable and some
"FeldKurs"Objects which implement IDraggable. The FeldKurs Components are
dragged on Placeholders.
When I define
dragger.setWantOnDragStartNotification(true);
dragger.setWantOnDragStopNotification(true);
Thank you setRawOptions("handle: 'h2'"); works great, just want I was
searching for!!!
Bernd
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2242954.html
Sent from the Wicket - User mailing list archive at Nabble.com.
This is a general Ajax problem. The ajax calls fired by the jQuery handlers
dragStart/drag/dragEnd are not sychronized with each other. So it may happen
that the onDrop event of the droppable is fired BEFORE the dragEnd.
In the onDrop method you replace the dragged component wit a new one (redraw
I got the same problem!
Did you solve it already?
If yes, I would be glad to get some help!
I just disabled the weekend days in DatePicker by overriding the method
@Override
protected String getAdditionalJavascript() {
additionalJavascript += "${calendar}.addWeekdayRende
Hi Ernesto,
Just got the 1.4.9 source code and I see what you mean.
But why is it like this?
I copied the whole Image source code to a new class, removed this
initModel method, and then things work fine if I don't supply a model.
Why would the Image component behave different from the other
c
I would say you need to use your own image resource, not subclass Image itself.
On Fri, Jun 4, 2010 at 7:03 AM, Erwin Bolwidt wrote:
> Hi Ernesto,
>
> Just got the 1.4.9 source code and I see what you mean.
> But why is it like this?
> I copied the whole Image source code to a new class, removed
I`m using a renderer to work with the OutOfBoundsDate,
but it doesn't work when the DatePicker is initially displayed.
When I do some action in the DatePicker (e.g. change the month) the
OutOfBoundsDate is correctly rendered (here sundays and saturdays are
disabled)
e.g. I disable the weekend d
Hi Erwin,
On Fri, Jun 4, 2010 at 1:03 PM, Erwin Bolwidt wrote:
> Hi Ernesto,
>
> Just got the 1.4.9 source code and I see what you mean.
As a rule I always install the source code of any OpenSouce software I
use: Javadoc could be wrong or outdated but source code will never
mislead you;-)
> But
Thanks Igor. I was already running 1.4.7, but I just upgraded to 1.4.9 and
that solved the problem. But strange that the bugfix wasn't mentioned on the
http://wicket.apache.org/news.html page.
Regards
/Jimi
Igor Vaynberg-2 wrote:
>
> i think this is fixed in 1.4.7+, you should upgrade
>
--
Ok, thank you,
good to know. At the moment I don't need to watch the dragStop or DragStart
Event. So I can leave it as it is.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2243182.html
Sent from the Wicket - User mailing list archive at
Hello,
For release I'm doing at work I need to generate a wicketstuff-core
1.4.9.1 release.
I see that there have been some updates to trunk (1.4.10-SNAPSHOT) so if
you would like these changes to be included in the this point release
please back port your changes to the 1.4.9 branch.
I've
Hello,
I've been banging my head against the proverbial brick wall for the last
day. I have a fairly large web application which I've been modifying part
of.
Essentially, part of the process generates dynamic web forms based on xml
configuration files. We noticed that on one of our servers when we
Does anyone know of a TextField component or perhaps a Behavior that can be
added to a TextField that will render a link when the user types a URL into
it?
Thanks,
Josh
Have you tried clearing your cache on your browsers?
On Fri, Jun 4, 2010 at 11:57 AM, Bryan Montgomery wrote:
> Hello,
> I've been banging my head against the proverbial brick wall for the last
> day. I have a fairly large web application which I've been modifying part
> of.
>
> Essentially, part
Yeah, I thought it might be as simple as that - but unfortunately not.
On Fri, Jun 4, 2010 at 12:29 PM, James Carman wrote:
> Have you tried clearing your cache on your browsers?
>
> On Fri, Jun 4, 2010 at 11:57 AM, Bryan Montgomery
> wrote:
> > Hello,
> > I've been banging my head against the p
>
> Essentially, part of the process generates dynamic web forms based on xml
> configuration files. We noticed that on one of our servers when we deployed
> the war file that the fields would not hold their values, and as soon as you
> tabbed out, the entry would disappear. Taking the same war fil
Hello Wicket comunity,
let me introduce the new web project based on Wicket from Slovakia.
Project name is RESTAURACIE.SK and you can find it at http://restauracie.sk.
RESTAURACIE.SK is restaurant guide showcasting restaurant across the
Slovakia.
Today we support only slovak locale, but in the f
Nice one. Bookmarking... :)
--
Marek Šabo
On 06/04/2010 08:46 PM, David Skuben wrote:
> Hello Wicket comunity,
>
> let me introduce the new web project based on Wicket from Slovakia.
>
> Project name is RESTAURACIE.SK and you can find it at http://restauracie.sk.
>
> RESTAURACIE.SK is restauran
Hello
I use AjaxSelfUpdatingTimerBehavior on one tab and when switching to
another tab I want to stop it.
The AjaxSelfUpdatingTimerBehavior will be active only if this tab is
selected (start timer behavior when select the tab and stop it when
select other tab).
Any help is welcome.
Thanks,
Deceba
Actually I should say, that it is not force re-directing even on using the
recommended approach. It still stays in the same current page.
Am I doing something wrong here? I tried to remove the finally block
{Session.get().invalidate(); } and moved that code to detach(), still no
success.
Please
Thanks for the ideas. Still no joy.
The behavior is consistent between three different clients, all running
different versions of IE (6,7 and 8).
I was able to use the debugging feature built in to IE 8 to see that the
wicket ajax javascript was gettting called. At some point in that process it
lo
Do you have apache or a load balancer or anything else in the network?
Is there maybe a simple difference in your httpd.conf pertaining to
sessions?
On Fri, Jun 4, 2010 at 1:32 PM, Bryan Montgomery wrote:
> Thanks for the ideas. Still no joy.
>
> The behavior is consistent between three differen
Hi,
My suggestions were meant to be general, and with "best" I actually
meant in all environments including certified J2EE servers.
Any number of environments (Igor suggested Jetty) may work with or
without these suggestions.
That is because deployment environments may or may not make decisions
obviously you have to know what you are passing around. you shouldnt
pass around objects that link to page instances, such as anonymous
classes of models.
-igor
On Fri, Jun 4, 2010 at 2:04 AM, Joseph Pachod wrote:
> Igor Vaynberg wrote:
>>
>> usually i simply allow pages to take models of whatev
just like you would with any other component, wicket doesnt care
-igor
On Fri, Jun 4, 2010 at 2:23 AM, midikem
wrote:
>
> Hi is it possible to add a dataTable in a DataTable and how?
> I have a dataTable and when i press on a line in it i want a new dataTable
> to popup
> below the line i have p
right, sounds like the session is being lost and the page is being
rerendered fresh.
-igor
On Fri, Jun 4, 2010 at 1:46 PM, Scott Swank wrote:
> Do you have apache or a load balancer or anything else in the network?
> Is there maybe a simple difference in your httpd.conf pertaining to
> sessions
Hi, I would like to do a multiple page form. For example, I have a two-page
form. Both pages have a few fields that need validation. The first page has a
button called "Next" and the second page has a "Previous" button and a "Submit"
button.
Any pointers or how-to info will be greatly appreciat
Do you searching for an wizard implementation?
http://www.wicket-library.com/wicket-examples/wizard/
On Fri, Jun 4, 2010 at 11:49 PM, David Chang wrote:
> Hi, I would like to do a multiple page form. For example, I have a two-page
> form. Both pages have a few fields that need validation. The fir
I believe that passing the page where user click "Add" as parameter to the
wizard is an simple solution to has an reference to set on the cancel
response.
On Fri, Jun 4, 2010 at 3:55 AM, Swanthe Lindgren <
swanthe.lindg...@megasol.se> wrote:
> Hello all.
> I our application we have a lot of searc
Hello,
An option is to create a panel that inside of it has
two components, a textbox and a link. Via ajax
you can update the textbox's model and show the
link if needed.
I don't know if there is a pre-made component with
that functions, but I've wrapped two components
into a panel and it wor
Igor,
Can you please comment on the following couple of points I got?
1. "Pulling session from memcached node": I double checked the
recommendation and it looks like fetching session from the memcached node
doesn't take much time (around 200ms at most). But there was a
recommendation about immed
On Fri, Jun 4, 2010 at 10:32 PM, DmitryM wrote:
>
> Igor,
>
> Can you please comment on the following couple of points I got?
>
> 1. "Pulling session from memcached node": I double checked the
> recommendation and it looks like fetching session from the memcached node
> doesn't take much time (aro
Are you sure the resource files are packaged? Check you pom.xml settings, it
should contain something like:
false
src/main/resources
false
src/main/java
47 matches
Mail list logo