Hi,
I want to be able to show a Warning message appear when the session is
about to expire (say 5 minutes before) and if the session has expired then
on the UI it should come. This is to ensure a User does not enter any data
and lose it when they click Submit.
Use Case I wanna prevent: Lazy User
Hi Dimiter,
I have not implemented a multi-level, mouseover-based menu system, but I can
offer the following general advice. Wicket makes it easy for client-side
events to trigger callbacks in your server-side Java application, from which
you can, for example, render new content into existing DOM
For what it's worth, encapsulating Session#setMetaData() and
Session#getMetaData() to work around this issue led me to the following
pattern which I'm really enjoying. Synchronization and dirtying are omitted
here for brevity.
SessionMetaDataModel implements IModel {
private final MetaDataKey ke
I would create your own 'ContextImage' that does exactly what you
want. Extend component, override oncomponenttag and put the model
value into the src attribute.
Martijn
On Tue, Jun 7, 2011 at 11:46 PM, Daniele Dellafiore wrote:
> Hi.
>
> I take some user uploaded images from an external service
Without looking at the implementation, to see if the styling is causing an
issue:
1) Delete all style declarations from the css file (i.e. blank it)
2) See if the issue persists - in which case it's probably something else
3) Add your style declarations back one at a time to the css file to see
Hi,
why not use the 'tutsplus' code which you like and bind the links to
bookmarkable pages?
You could also inject some variables (e.g. the urls) into javascript
from wicket:
private HeaderContributor contrib = new HeaderContributor(
new IHeaderContributor() {
@Override
public void rend
https://issues.apache.org/jira/browse/WICKET-3779
On Wed, Jun 8, 2011 at 11:32 AM, Igor Vaynberg wrote:
> most likely it is an oversight. open an issue. at some point session
> access was synchronized, but later it was made more granular. the
> metadata code may have never been updated.
>
> -igor
Hi guys!
I'm relatively new to the Wicket and am still learning so in advance,
excuse me if I've missed anything.
What I'm looking for and I can not find a solution for is how can I
create a multi level dropdown navigation in Wicket? I mean, the
popular multi level dropdown navigation (CSS/JS-base
most likely it is an oversight. open an issue. at some point session
access was synchronized, but later it was made more granular. the
metadata code may have never been updated.
-igor
On Wed, Jun 8, 2011 at 11:29 AM, Dan Retzlaff wrote:
> Hey all,
>
> Can someone help me understand the synchron
Hey,
a while ago I wrote about the difficulties to get the ObjectSizeOfAgent to run.
As I needed it pretty badly for a project I built something new and
added some more accurate size measurement for objects.
I put all my code on Github and I am going to add some more
performance related things in
Hey all,
Can someone help me understand the synchronization and dirty-marking
requirements surrounding Session#setMetaData()? I thought the rules for
Session use were (1) synchronize data access, (2) call Session#dirty() after
data changes to replicate the changes across the cluster. However, I do
Doesn't sound like https://issues.apache.org/jira/browse/WICKET-3727
but who knows.
On Wed, Jun 8, 2011 at 6:23 PM, Craig Pardey
wrote:
> Hi,
>
> I am using i18n in Wicket to set the value on a button.
>
> The markup for the button is
>
>
> The value does not get translated if "save" is in the a
On Jun 8, 2011, at 12:54 PM, Brian Lavender wrote:
> And yes, my blog uses Wordpress, not Wicket quite yet.
If you are going to make your blog out of Wicket, you might want to consider
using Brix (http://www.brixcms.org). It welds a NoSQL document database to
Wicket, along with some basic pa
Hi Sven,
I found what causes the drop functionality not to work on IE8.
I have a panel which has wicket-dnd draggable and droppable functionality. I
allocate that panel to each table cell.
On the html file for the panel, I have the following header which already
exists on the homePage.html file:
Hello everyone,
I have been blogging regarding my experience using Wicket based upon my
experience learning Wicket using the "Wicket in Action" book by Dashorst
et al. using different takes or perhaps just my experience breaking down
the examples from the book. In others, I do a simple additions.
Hi,
I am using i18n in Wicket to set the value on a button.
The markup for the button is
The value does not get translated if "save" is in the application-level
resource bundle. It only gets translated if "save" is in the page-level
resource bundle.
Is my markup incorrect, or is this a bug?
http://code.google.com/p/wicket-menu/
Not complete but if you see the source code, it will give you an idea.
cheers,
-fatih
On 8 June 2011 16:28, hubert_hupe wrote:
> hi guys,
>
> i have no clue how to create a simple navigation bar like this:
> http://net.tutsplus.com/tutorials/javascript-aja
hi guys,
i have no clue how to create a simple navigation bar like this:
http://net.tutsplus.com/tutorials/javascript-ajax/a-different-top-navigation/
if possible i need images for the headlines.
when you move the mouse over the menu it drops down - there are millions of
website with this funct
Just resolved the issue. The problem was that I wasnt setting
"container.setOutputMarkupId(true);" before I initially added the container
to the page. I was setting it when the user clicked a button, which always
occurred after the container was initially added.
My original flow was something lik
Here is my bean class, followed by a panel class where I set up the
PropertyModel and the ListView, followed lastly by the panel's markup
BEAN:
public class IncidentListBean implements Serializable
{
List incList;
public IncidentListBean() {
incList = new ArrayList(
I don't see anything in the logs but I will look. I will try kill -3 pid
when it happens again.
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Wednesday, June 08, 2011 9:38 AM
To: users@wicket.apache.org
Subject: Re: WicketRuntimeException
This is the wr
Do you think that can be good also if I want to let the browser cache some
images? I serve thumbnails that I do not want to be server every time.
On Tue, Jun 7, 2011 at 11:52 PM, Martin Grigorov wrote:
> use Image with DynamicImageResource which loads the image with
> urlConnection
>
> On Tue, J
This is the wrong thread.
I bet there is another one with longer stack.
On Wed, Jun 8, 2011 at 3:27 PM, Jeffrey Schneller
wrote:
> Thanks for the idea of using kill -3 pid
>
> I don't see the page in the stack trace which is below, unless it is the line
> I have started with ===>.
>
>
>
> org.ap
Thanks for the idea of using kill -3 pid
I don't see the page in the stack trace which is below, unless it is the line I
have started with ===>.
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is
still locked by: Thread[TP-Processor24,5,main], giving up trying to get
Hi Andrea,
On Wed, Jun 8, 2011 at 1:11 PM, Andrea Del Bene wrote:
> Hi,
>
> I've started to explore the converting mechanism of wicket. I've red javadoc
> and both Wicket in Action and Wicket Cookbook but there still be something
> not completely clear to me.
> Converter are created by converter
Hi,
I've started to explore the converting mechanism of wicket. I've red
javadoc and both Wicket in Action and Wicket Cookbook but there still be
something not completely clear to me.
Converter are created by converter locator, which creates one instance
of converter for each java type, right?
Hi Sven,
I'm trying to build a standalone example of the error I am experiencing on
IE8, but in the meantime, I thought about posting the html produced on both
IE8 (where I'm experiencing the problem) and on Firefox (where there is no
problem).
I'll attach as text file so it doesn't clutter up this
On Wed, Jun 8, 2011 at 11:26 AM, Martin Grigorov wrote:
> If you have the karma you can miss the attaching part and commit
> directly in SVN
> dashorst ^^
Moved it to dev@ instead...
Martijn
-
To unsubscribe, e-mail: users-unsu
Jira and up and running and the last time I checked it still supports
attaching files (patches) :-)
If you have the karma you can miss the attaching part and commit
directly in SVN
dashorst ^^
2011/6/8 Robert Dahlström :
> +1 on skipping a boolean flag in the constructor. Igors suggestion to
> pr
+1 on skipping a boolean flag in the constructor. Igors suggestion to
provide a mode parameter feels like a good one.
/Robert
On 06/08/2011 10:18 AM, Martin Grigorov wrote:
Hi Per,
I see your point.
It is just my opinion (and ticket's reporter) that this additional
boolean parameter to the co
Boolean parameters are the bane of software development. I'd urge
anyone to reconsider their train of thought when they declare
foo(boolean x). It is really bad to have AttributeAppender(boolean
appendOrPrepend, ...) if you can have both AttributeAppender() and
AttributePrepender()
Classes are che
Hi Per,
I see your point.
It is just my opinion (and ticket's reporter) that this additional
boolean parameter to the constructor is adds much less noise than
adding additional 2 classes.
If the name of AttributeAppender is changed to AtrributeAdder (because
we are used that add(obj) appends and a
Hi Sven,
Thanks for your reply.
I've tested wicket-dnd on windows Vista, using IE9 and that's when the
problem occurs.
The problem of the on drop functionality not displaying the object dropped,
described in my previous post occurs on IE8 under both windows vista and
windows xp. Wicket-dnd works f
why not roll this into attributemodifier and have mode { replace,
append, prepand } where replace is how the modifier works now...
-igor
On Wed, Jun 8, 2011 at 12:07 AM, Martin Grigorov wrote:
> Hi,
>
> I also had the same thoughts when I added the flag (as the patch
> suggested) but AttributeAp
Hi Martin Grigorov,
But i made naming proposals:
AbstractAttributeRegister
| |
AttributeAppender AttributePrepender
My pain in the ... is only that we have now 2 more constructors. This
(in my opinion)
really important class should be clear in design and respon
The stack trace shows the page that is holding the lock as well
Martijn
On Wed, Jun 8, 2011 at 7:20 AM, Martin Grigorov wrote:
> On Wed, Jun 8, 2011 at 7:00 AM, Jeffrey Schneller
> wrote:
>> I have started to see more and more of the following exception when
>> users are using the wicket app.
>
Very nice, Bruno!
Just one thing:
> Thanks to Wicket 1.5 and the auto resource path URL feature, it is even
> better to have separated HTML+css+js from the Java/Scala code.
Which feature exactly do you mean ?
On Wed, Jun 8, 2011 at 3:22 AM, Bruno Borges wrote:
> Hi everyone,
>
> I've been wo
Hi,
I also had the same thoughts when I added the flag (as the patch
suggested) but AttributeAppender is a class with just constructor
overrides and one method override (#newValue()). If we introduce yet
another class for prepend then there is no sense in "the one common
parent" because they have
38 matches
Mail list logo