I tried to implement something like:
// java docs removed for clarity
public abstract class Change implements
IClusterable {
private static final long serialVersionUID = 1L;
// former type
public FORMER former;
protected Change(final FORMER former)
{
setFormer(former);
https://issues.apache.org/jira/browse/WICKET-2187
done. thank you.
On Thu, Mar 26, 2009 at 11:40 AM, Ricky wrote:
> thanks, i'll create a JIRA issue and submit a patch tonight, appreciate
> your time!
>
>
> On Thu, Mar 26, 2009 at 8:31 AM, Johan Compagner wrote:
>
>> if you have a patch for bet
i already said OSIV that comes with spring doesnt support
transaction-per-request, so what makes you think i am using it or any
other filter? :) wicket has plenty of hooks to do this.
-igor
On Thu, Mar 26, 2009 at 3:36 PM, James Carman
wrote:
> On Thu, Mar 26, 2009 at 6:32 PM, Igor Vaynberg
>
On Thu, Mar 26, 2009 at 6:32 PM, Igor Vaynberg wrote:
> not if you buffer the response like wicket does by default :)
Right, but you have to make sure your filters fire in the correct
order, then. If your OSIV wraps around WicketFilter, then buffering
won't fix the problem. The exception will h
not if you buffer the response like wicket does by default :)
-igor
On Thu, Mar 26, 2009 at 2:34 PM, Maarten Bosteels
wrote:
> Igor,
>
> IIUC, transaction-per-request will commit AFTER the response has been
> rendered, right ?
> That means that there's also risk for inconsistency: when the commi
How is this going to help you? Scenario as I understand it:
1. User requests homepage - pulls from site - with your etag in it
2. User requests homepage again - calls site - your server does all of
the loading of data - then you calculate / set etag
3. Browser now knows that it is th
Thanks Jerry; I think that applies only to static pages.
My next idea is to try overridding WebPage.setHeaders and just set the
response.setHeader("Cache-Control", "max-age=3600, must-revalidate");
response.setHeader("ETag", "1"); // I'll use a checksum on the data coming
back from my search (E
On Thu, Mar 26, 2009 at 5:34 PM, Maarten Bosteels
wrote:
> Igor,
>
> IIUC, transaction-per-request will commit AFTER the response has been
> rendered, right ?
> That means that there's also risk for inconsistency: when the commit
> fails, user will think everything is fine, but changes are rolled
I think it is accepted and should be left that way. By default in
development, component use check is on - so you should catch these unless
you're explicitly ignoring them by turning CUC off.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Mar 26, 2009 at 4:41 PM, Scott Swank wrote:
Should I open a JIRA for this, or is this an accepted side-effect?
Scott
On Thu, Mar 26, 2009 at 2:39 PM, Scott Swank wrote:
> Surprisingly getDebugSettings().setComponentUseCheck(false) allows
> this behavior, at least on 1.3.
>
> add(new Label("authorName"));
>
>
>
>
> ... not that I'
Surprisingly getDebugSettings().setComponentUseCheck(false) allows
this behavior, at least on 1.3.
add(new Label("authorName"));
... not that I'm advocating this side effect.
Scott
On Fri, Feb 13, 2009 at 10:26 AM, Igor Vaynberg wrote:
> not to mention it doesnt make sense for a l
Igor,
IIUC, transaction-per-request will commit AFTER the response has been
rendered, right ?
That means that there's also risk for inconsistency: when the commit
fails, user will think everything is fine, but changes are rolled
back.
Or am I missing something ?
Maarten
On Thu, Mar 26, 2009 at 7
Hi,
Unfortunately it causes an InternalErrorPage-- we basically have a css file
included in the html:
The css includes the iepng.htc file:
img {behavior: url('../iepngfix.htc');}
Nothing out of the ordinary :-(
Thanks, Jason
Serkan Camurcuoglu-3 wrote:
>
> we had used iepngfix.htc meth
Before I finished posting this question I figured out the solution to my
problem, but because it was tricky to figure out I thought I would post this
anyway in case somebody else runs into the same issue.
==
I created an editable tre
Without really digging into this, it looks to me to be an issue where your
CSS file is being served and in your CSS you have a URL in the CSS that is
causing a bad URL to be sent to the server - which Wicket is picking up and
doesn't know what to do with it.
It's this: url(iepngfix.htc)
Use a too
we had used iepngfix.htc method, but our css file was relative to our
web application, so iepngfix.htc file was not served through wicket..
but I believe it should not be problematic.. does it cause any obvious
error in the application other than the error log?
novotny wrote:
Hi,
In order
Jeremy,
Yes, if you believe showing "model" on such a high level architectural
diagram meant to depict how the major components hang together, then you
should show IModel instead of LDM for sure. And it's true that newcomers
need to understand models and can find this concept hard to grasp if the
HHB wrote:
Hey,
I want to employ something like StackPanel of GWT in my Wicket application.
Any production ready component?
Thanks for help and time.
the easiest way is to use jQuery, the accordion widget in particular:
http://jqueryui.com/demos/accordion/
--
Leszek Gawron
-
Hi,
In order to support .png files on IE we added a "fix/hack" as documented
here
http://www.twinhelix.com/css/iepngfix/
However in the logs we're seeing this wicket error:
org.apache.wicket.WicketRuntimeException: Internal error parsing
wicket:interface = iepngfix.htc
at
org.apache.wic
Have you looked at a standard HTTP caching proxy like
http://www.squid-cache.org/ ?
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Mar 26, 2009 at 2:02 PM, Jim Pinkham wrote:
> Changing my search query to this got some better hits:
> http://lmgtfy.com/?q=cacheability
> So, allow m
Changing my search query to this got some better hits:
http://lmgtfy.com/?q=cacheability
So, allow me to refine my question based on that - has anyone tried some of
these approaches (see first result from above) to generrate and dump content
to a static file (renamed if it chages) and having the wi
there are three patterns to transaction management
the default pattern is session-per-transaction. this is not convenient
because after your business logic closes the transaction you can no
longer use the session in the ui.
there are two ways to solve this: either use session-per-request -
which
User error :)
review what element your adding the inner list to... looks like your
adding it to the ListView instead of the Item.
Change:
this.add(projects);
to
item.add(projects);
- Brill Pappin
On 26-Mar-09, at 12:50 PM, Luther Baker wrote:
I'm trying to create a page -
I actually find that auth-roles is very simply to use and usually all
I need... if it is ever deprecated I assure you I'll revive it under
another source tree.
However although for some reason it says you should use wicket-
security (not sure why unless wicket-security has the same simple
im
I found the cause of this issue so I'm replying to myself here.
This problem was actually related to the way Component#setModelObject is
implemented: before setting a new model object, it is checked via
Component#defaultModelComparator if the new model and the old model are
the same. This is done
Ahh ... but of course!
Thanks both of you. The nested structure did indeed obscure the problem.
Fixed and refactored a bit - and now working as expected.
Thanks for your time!
-Luther
On Thu, Mar 26, 2009 at 12:01 PM, Jonathan Locke
wrote:
>
>
> uh, well maybe not dangerous, just less clear
While I agree that you could take out LDM specifically, I really think that
you should replace it with IModel - I think it is critical to show that
IModel is the abstraction between a component and where it gets it's data.
This is the number one misundertstood thing that I find among those I teach.
Hey,
I want to employ something like StackPanel of GWT in my Wicket application.
Any production ready component?
Thanks for help and time.
--
View this message in context:
http://www.nabble.com/Equivalent-of-StackPanel-for-Wicket-tp22726615p22726615.html
Sent from the Wicket - User mailing list
uh, well maybe not dangerous, just less clear than it could be.
Jonathan Locke wrote:
>
>
> i think you mean to add the projects listview to the categories list view
> /item/
>
> your structure is a little dangerous here because you have one ListItem
> item
> obscuring the other. if the oute
i think you mean to add the projects listview to the categories list view
/item/
your structure is a little dangerous here because you have one ListItem item
obscuring the other. if the outer one were called outerItem and the inner
one
were called innerItem, i think you meant to say outerItem.a
I think you have to add "projects" to the current category item, not
to "this" (which would refer to the categories listview itself).
So try replacing:
this.add(projects);
By:
item.add(projects);
2009/3/26 Luther Baker :
> I'm trying to create a page - similar to Jira's BROWSE PROJECTS.
>
>
I've found a few posts about how to mark dynamic pages so they won't be
cached.
I've got a different situation that I think is fairly common - the 'home'
page of my app is effectively a (cheesr-like) catalog of items that changes
infrequently. Users didn't like paging, so it's about 300 items in
Hello,
what would be your prefered way to secure a Wicket 1.4 application?
"Spring Security and Wicket-auth-roles" seems to be outdated. This project
suggests to use Wicket-Security. So it is presumably not the best idea to use
it.
http://cwiki.apache.org/WICKET/spring-security-and-wicket-aut
I'm trying to create a page - similar to Jira's BROWSE PROJECTS.
My initial take amounts to a loop in a loop.
The outer loop is CATEGORIES and the inner loop is PROJECTS in said
category.
| CATEGORY 1
| p1
| p2
| p3
| CATEGORY 2
| p4
| p5
| p6
...
I've attached code below but if I removed the
I have link that is not receiving an onclick event. It links to a page in my
application, and I do not want it bookmarkable. It's in a RefreshingView.
The browser renders the link with the correct style for a link, but if you
hover over the link, you don't get the URL to show up in the status b
thanks, i'll create a JIRA issue and submit a patch tonight, appreciate your
time!
On Thu, Mar 26, 2009 at 8:31 AM, Johan Compagner wrote:
> if you have a patch for better toString() impl be my guest and attach it to
> jira
>
> Those Changes classes are internal to component, they are inner class
Allright... i don't think i fetch it with ajax, but it doesn't matter.
One other thing though - i couldn't see that it was possible to create a
MooTip without a header, is that so? I couldn't see that there was a way to
set the "addTitle" boolean to false.
nino martinez wael wrote:
>
> There's
Hi,
The spec. for
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/Cookie.html#setValue(java.lang.String)
says it cannot include '@' so the value needs to be encoded/escaped before
storing.
Problem is i can't see any easy way to add this functionality without taking
my own copies of Cook
have a look at "sweet titles"
http://www.dustindiaz.com/sweet-titles/
James Carman wrote:
If you're interested in using static tooltips that are styled, we've
had good luck with overlib.
On Thu, Mar 26, 2009 at 5:34 AM, RoyBatty wrote:
Right, thanks for all the input.
I did try mootips n
Your application works, but it seems a bit complicated to me :)
I would like to know the exact exception, but I do not know how, it tells me
to "call getNextException to see the cause", but ho do I do that?
Have a nice day!
On Thu, Mar 26, 2009 at 12:22 PM, reiern70 wrote:
>
> Can you provide a
Thanks Linda,
That was very helpful.
I also figured out that I am a complete cretin... I forgot to replace the
tags with tags in my original markup (where I replaced the
TextArea with my LimitedTextArea *sigh*). At least that explains why I was
getting weird content all the time :)
T
Linda v
i will appreciate anyone that can help me look into this problem. I think I
lack the knowledge on proper implementation on ListTree.
I had surfed the net, I couldn't find something that could be of help.
Please, could anyone help me out.
-- Forwarded message --
From: Ajayi Yinka
Arg, I wanted to make my changes bold. But now I see stars. Not sure if
you get those too, but if you do: leave out the stars :)
Linda van der Pal wrote:
quote: "To keep the models of the nested components and the top
component synchronized,
we need to override two methods: onBeforeRender, whic
quote: "To keep the models of the nested components and the top
component synchronized,
we need to override two methods: onBeforeRender, which prepares for
rendering,
and convertInput, which handles receiving input."
So your code would become something like this:
public class LimitedTextArea e
I had the same problem some time ago an in my case it was the missing closing
. An in your original post you had only
Without closing .
So it could have been the problem.
I'm sorry if this was missleading you.
Stefan
-Ursprüngliche Nachricht-
Von: triswork [mailto:tristan.k...@gmail.
Hi Stefan
You have completely lost me on this one.
All I want to do is have my TextArea (contained within my
FormComponentPanel) to render properly without sticking arbitrary bits of
markup inside itself.
That markup you have quoted is being generated by Wicket - not by me :(
Stefan Lindner wr
On Thu, Mar 26, 2009 at 8:31 AM, Kaspar Fischer wrote:
> 1. Is it correct that there are two variants of the pattern?
>
> In one variant there is a single transaction (and a single session) that
> gets committed at the end of the request, as described in [1]. If I am not
> mistaken, James's wicket
I am learning about the OSIV pattern and have so far read the
introduction at hibernate.org [1], the Spring JavaDoc for
OpenSessionInViewFilter [2], the excellent MysticCoders tutorial [3]
that uses Spring's OpenSessionInViewFilter, and some more.
I have basic questions:
1. Is it correct t
if you have a patch for better toString() impl be my guest and attach it to
jira
Those Changes classes are internal to component, they are inner classes of
Component so they dont have to specify that extra name..
Its just verbose. Also those 2 are protected final but i think they could be
private
Should do it
-Ursprüngliche Nachricht-
Von: triswork [mailto:tristan.k...@gmail.com]
Gesendet: Donnerstag, 26. März 2009 13:14
An: users@wicket.apache.org
Betreff: Re: FormComponentPanel woes
Hi Linda,
No, I haven't :(
I didn't realise I had to... Do you know where I can find some
I found it in the book Wicket in Action.
triswork wrote:
Hi Linda,
No, I haven't :(
I didn't realise I had to... Do you know where I can find some documentation
explaining this?
Thanks
T
Linda van der Pal wrote:
Hi
Did you override onBeforeRender and convertInput?
Regards,
Linda
Sorry... That last bit isn't my markup. It is the text that is appearing in
my textarea component.
My markup looks like this:
(Maximum characters: 100)
T
Steve Flasby wrote:
>
> shoudn't that be:
>
>
>
> or am I missing something?
>
> Cheers - Steve
>
--
Vie
Hi Linda,
No, I haven't :(
I didn't realise I had to... Do you know where I can find some documentation
explaining this?
Thanks
T
Linda van der Pal wrote:
>
> Hi
>
> Did you override onBeforeRender and convertInput?
>
> Regards,
> Linda
>
--
View this message in context:
http://www.na
shoudn't that be:
or am I missing something?
Cheers - Steve
triswork wrote:
Hi
I am getting really frustrated here because I can't figure out what I am
doing wrong. I am creating a new TextArea form component that is limited to
a particular number of characters. The trouble is, that my tex
Hi
Did you override onBeforeRender and convertInput?
Regards,
Linda
triswork wrote:
Hi
I am getting really frustrated here because I can't figure out what I am
doing wrong. I am creating a new TextArea form component that is limited to
a particular number of characters. The trouble is, that m
Hi Linda,
We will shortly start offering the jWeekend course in The Netherlands.
See http://blog.jteam.nl/2009/03/24/jteam-announces-wicket-training/ for
more information.
Regards,
Erik.
Linda van der Pal wrote:
Triggered by the news of a London Wicket Event, I wondered if there is
any
Hi
I am getting really frustrated here because I can't figure out what I am
doing wrong. I am creating a new TextArea form component that is limited to
a particular number of characters. The trouble is, that my text area is
always rendered containing its own HTML.
Basically, I have:
public clas
Subbu,
Thank you!
I have a quick minute now, so I thought you'd appreciate a few crumbs of
feedback before I can take a better look, hopefully late this evening.
0 - this is a great start!
1 - take out the LDM - this stretches the scope of the diagram beyond what
it needs to show.
2 - if the lev
Can you provide an stack trace or some more info? Is this happening when you
run your application in eclipse or just on the bridge setting? Right now I'm
using hibernate+OSGi on some project and it works just fine... provided
Hibernate can load you entity classes by name.
Best,
Ernesto
Daniel
RequestLogger
On Wed, Mar 25, 2009 at 20:02, Andreas Kaluza wrote:
> Hi @ all,
>
>
>
> I'm using Wicket 1.35 with a jetty server. My question is if I can get the
> number of the active users, who are logged in the system. Perhaps getting
> the number of active sessions or something like that. Is
Hi,
I'm still trying to solve the database problem...
I think it could be useful to mention, that I get an exception at these
lines:
HibernateTemplate ht = new HibernateTemplate(sessionFactory);
ht.save(msg); <-- HERE!
and if I change the code to this:
Session session = sessionFactory.op
If you're interested in using static tooltips that are styled, we've
had good luck with overlib.
On Thu, Mar 26, 2009 at 5:34 AM, RoyBatty wrote:
>
> Right, thanks for all the input.
>
> I did try mootips now, and they both work fine. One thing i noticed, though,
> was that mootips seemed to glic
Subbu,
Very good that somebody picks this up!
At this very high level pages and components are basically just parts of
a component tree. A page is just the root of such a component tree. I
would therefore recommend replacing the 'page' and 'component' icons by
a single stack of 'component tre
There's some settings in regard to the glitch thing I think a timer or
something I think, but this is only in regard when using ajax..
regards
2009/3/26 RoyBatty :
>
> Right, thanks for all the input.
>
> I did try mootips now, and they both work fine. One thing i noticed, though,
> was that moot
Right, thanks for all the input.
I did try mootips now, and they both work fine. One thing i noticed, though,
was that mootips seemed to glich more than prototips, i.e. i seems more
performance-heavy? Am i imagining this? :) (i'm setting the mootip up as in
the example)
Currently we have no nee
I found out that if no node is added to the node1, The onclick method works
as supposed.
But if I try to add one sub-node to it, I begin to have the same type of
error as below.
I am sure there is a problem somewhere that I have not been able to trace (I
am a new to wicket framework). Could anyoe
Hello,
consider example underneath.
Form with DateTextField and RadioGroup. When an incorrect date is entered in
the TextField, the value choosen in radiogroup is lost. When correct date is
entered, the value is shown correct in radiogroup.
Is this an error in my code? Or a bug?
I'm using wicke
I made my own IconWithToolTip component that renders an icon with a
jQuery cluetip on hover. Takes advantage of all the neat jQuery
extensions like hoverIntent (did they really meant to hover or did
they just wave the mouse around).
Welcome to the source if you'd like it.
cheers,
Steve
O
Yeah there are dozens of ways doing it easy with static tooltips.. But
if you want easy ajax tooltips, mootip are the only way with wicket
right now I believe. Especially because they are truly dynamic.
And im not saying mootip are the best, it was just the only one (at
the time and which I found)
Ok thanks about the pointer, I correct the url.. I forgot todo it
after minis was adopted into wicketstuff core
2009/3/26 RoyBatty :
>
> OK, OK, i get it, everyone loves MooTip :)
>
> The reason i started out with prototip was actually that the mootip
> "example" link on the wicketstuff-minis page
Did you already have a look at http://www.walterzorn.com/tooltip/tooltip_e.htm ?
-Ursprüngliche Nachricht-
Von: RoyBatty [mailto:math...@afjochnick.net]
Gesendet: Donnerstag, 26. März 2009 09:21
An: users@wicket.apache.org
Betreff: Re: best way to add tooltips in wicket
OK, OK, i get it
Thanks igor,
I had a go at implementing the form level validator, but it still requires a
FormComponent to attach its error message to.
For example:
form.add(new IFormValidator() {
@Override
public void validate(Form f) {
if (myList.size() == 0) {
f.error(new ValidationError().add
Based on my understanding, i just prepared a diagram.
Wicket Contributors.. Please review and let me know your valuable feedback.
http://www.nabble.com/file/p22717793/wicket%2Barchitecture.jpg
Thanks,
Subbu.
jWeekend wrote:
>
> Jeremy,
>
> It's one of the first things I looked for when I f
OK, OK, i get it, everyone loves MooTip :)
The reason i started out with prototip was actually that the mootip
"example" link on the wicketstuff-minis page was broken.
(http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis).
But if it's easier to change the CSS setting for MooTip
it's this one:
http://www.nabble.com/Session-end-method-td18020171.html#a18024174
was pretty good hidden
2009/3/26 Jeremy Thomerson :
> "the list" = this mailing list
>
> search it on nabble
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Wed, Mar 25, 2009 at 7:10 PM, Andrea
I think what are mentioned in the article are the "Grand redesign", I
do not think this is the case here, also since the dead line are in a
month or two..
2009/3/25 Phillip Rhodes :
> It's just rewriting the UI. Most of the code is behind spring services, so
> this is hardly a 100% rewrite, it's
Download the wicket plugin for netbeans(Go to tools-> Plugins, and select
available plugins) and create a new wicket project after this.
Yinka
On Thu, Mar 26, 2009 at 7:43 AM, Philippe Marzouk wrote:
> On Thu, Mar 26, 2009 at 12:06:23AM -0700, FaRHaN wrote:
> > I have Wicket in Action book but
Check out svn's code, copy examples to your nb project folder, run it :)
On Thu, Mar 26, 2009 at 12:06:23AM -0700, FaRHaN wrote:
I have Wicket in Action book but those examples are being explained in
Ant/Maven and not in netbeans IDE. Are there any examples which are
also executable in netbeans
On Thu, Mar 26, 2009 at 12:06:23AM -0700, FaRHaN wrote:
> I have Wicket in Action book but those examples are being explained in
> Ant/Maven and not in netbeans IDE. Are there any examples which are
> also executable in netbeans IDE ?
>
In Netbeans, install the Maven plugin and create a new Maven
%-O
I've spent a lot of time trying to figure out what's wrong with code and
markup but didn't notice this typo.
Thanks Martijn
You might want to spell wicket correctly in your markup. wikcet is not
the valid xmlns prefix :)
Martijn
--
View this message in context:
http://www.nabble.com/
You might want to spell wicket correctly in your markup. wikcet is not
the valid xmlns prefix :)
Martijn
On Wed, Mar 25, 2009 at 9:00 PM, rora wrote:
>
> Hi Janos,
> I did what you advised me to do but got the following exception (in this
> case I used a list of 3 entries with 3 fields):
> Unexp
I have Wicket in Action book but those examples are being explained in
Ant/Maven and not in netbeans IDE. Are there any examples which are also
executable in netbeans IDE ?
82 matches
Mail list logo