Sorry I can't help you with your question. But may I ask where you get the
PhoneFormatter?
On Wed, May 14, 2008 at 5:58 PM, Sam Barnum [EMAIL PROTECTED] wrote:
Using the tips in this PDF
http://londonwicket.org/content/LondonWicket-FormsWithFlair.pdf
I created the simple RequiredBorder
Sam,
a similar issue happened to the WicketAjaxIndicatorAppender.
take a look at WicketAjaxIndicatorAppender#renderHead to see
how this is solved there.
maybe you can do something similar with your RequiredBorder.
regards,
Gerolf
On Thu, May 15, 2008 at 2:58 AM, Sam Barnum [EMAIL PROTECTED]
Igor Vaynberg wrote:
well, apparently johan ran into a situation where component? is too
restrictive...
As I understand it, Johan ran into a situation where Component? causes
*warnings* for users who use raw types. Which I've been arguing all
along that they SHOULD get: they should use
wow !! this wicket is sooo cool :)
I did exactly what you suggested and it works like a charm.
public IResourceStream getMarkupResourceStream(MarkupContainer
container,
Class containerClass) {
if (html == null) {
final DefaultMarkupResourceStreamProvider
Hi Lars,
Very good site, i like it its, pretty cool
Dipu
On Wed, May 14, 2008 at 9:36 AM, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search for
day
trips and such. See: www.eropuit.nl.
Thanks to the user- and dev-group for
Hi,
I almost have clustering working now - thanks for all the help people have
given me.
However keep seeing page exprired errors, specifically on a page that has an
ajax lazy load panel on it. the page will load fine, but when the lazy load
code executes the app throws a page expired error, a
Hi
Im dabbling with using a rich editor.
I have a page where I have several ajax tabs, one of them are to contain
a editor. I first tried using tinceMCE, but that has troubles with ajax
and the header contributions (tinyMCE cant handle it).
Then I switched to YUI, but if I add the component
Hello,
I have a custom error page BaseErrorPage:
public class BaseErrorPage extends WebPage {
private final static long serialVersionUID = 1L;
public BaseErrorPage() {
super();
}
protected void configureResponse() {
String acceptHeader =
Hello,
For the application that i am currently developing i need to schedule some
task.
I am planning to use quartz, but before starting to integrate it in my
wicket's app
i would like to know if anybody have used it or another scheduler with
wicket.
Thanks
--
View this message in context:
do you have more stacktrace like Cause : x
On Thu, May 15, 2008 at 11:22 AM, Sergey Podatelev
[EMAIL PROTECTED] wrote:
Hello,
I have a custom error page BaseErrorPage:
public class BaseErrorPage extends WebPage {
private final static long serialVersionUID = 1L;
public
so it seems a terracotta problem or config problem...
What kind of session store are you using?
On Thu, May 15, 2008 at 11:15 AM, richardwilko
[EMAIL PROTECTED] wrote:
Hi,
I almost have clustering working now - thanks for all the help people have
given me.
However keep seeing page
I am planning to use quartz, but before starting to integrate it in my
wicket's app
i would like to know if anybody have used it or another scheduler with
wicket.
we used Quartz, works like a charm. I wonder, though, what it has to do
with Wicket - your scheduling probably (or rather:
if you use terracotta you shouldnt use the default DiskPageStore i believe
but revert back to the 1.2 httpsessionstore..
On Thu, May 15, 2008 at 11:28 AM, richardwilko
[EMAIL PROTECTED] wrote:
We are using the default session store, in that we haven't specified
anything
different.
All
We are using the default session store, in that we haven't specified anything
different.
All the pages are serizable and are clusterable by terracotta.
The only difference in the clustered and non clustered app is that you have
to use the terracotta session manager in jetty for terracotta to
hi,
I am planning to use quartz, but before starting to integrate it in my
wicket's app i would like to know if anybody have used it or another scheduler
with
wicket.
quartz is a good choice - it just works (tm).
best regards, --- jan.
Hello,
I have a MyButton that extends Button.
I have a JavaScript that I need to ad to the output markup after the
button's markup.
I'm trying to do this with two differnet options:
Either I Override onAfterRender in MyButton:
@Override
protected void onAfterRender() {
if
I still get the same behaviour with the httpsessionstore.
the problem seems to be that the page isnt put in the page map, so when the
ajax call is made to lazy load the panel it cant access the page its on.
looking at the http session data in the terracotta admin console i see that
the
On Thu, May 15, 2008 at 6:04 AM, Wouter Huijnink [EMAIL PROTECTED] wrote:
I am planning to use quartz, but before starting to integrate it in my
wicket's app i would like to know if anybody have used it or another
scheduler with
wicket.
we used Quartz, works like a charm. I wonder, though,
look at setAttribute then for the store
It should be but into the session in the detach of the request.
On Thu, May 15, 2008 at 12:30 PM, richardwilko
[EMAIL PROTECTED] wrote:
I still get the same behaviour with the httpsessionstore.
the problem seems to be that the page isnt put in the
The default stacktrace is listed below.
Apparently, the error page won't load for the same reason original page
wasn't loaded: Spring (which I also use) wants a Connection even for a page
that does not require any database interaction. This question is also
bothering me, and although this is a
quartz, definitely... do look into spring + quartz. excellent control.
Cristi
On Thu, May 15, 2008 at 1:51 PM, Jan Kriesten [EMAIL PROTECTED]
wrote:
hi,
I am planning to use quartz, but before starting to integrate it in my
wicket's app i would like to know if anybody have used it or
ok somehow spring does something
Caused by: org.springframework.transaction.CannotCreateTransactionException:
Could not open JDBC Connection for transaction; nested exception is
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
So are you using some spring thing there?
use a behavior that adds an onDocumentLoad/Ready script to the browser
On Thu, May 15, 2008 at 12:35 PM, Eyal Golan [EMAIL PROTECTED] wrote:
Hello,
I have a MyButton that extends Button.
I have a JavaScript that I need to ad to the output markup after the
button's markup.
I'm trying to do
Hello ,
I would like to use wicket to create a dynamic chart, I mean the values of
my chart change in the time. I use googleChart to create my chart but it is
a static chart and all the example I have with wicket to create static
chart any idea how I can create a dynamic chart by using wicket ?
have you checked out JFreeChart ?
Is not dynamic as a progress bar, but dynamic as the info changes.
On Thu, May 15, 2008 at 3:12 PM, emee [EMAIL PROTECTED] wrote:
Hello ,
I would like to use wicket to create a dynamic chart, I mean the values of
my chart change in the time. I use
ok. thank, I'll try it (though I have never written JavaScript till a few
days ago...)
BTW, why is the difference between the overriding method and the behavior
method?
On Thu, May 15, 2008 at 2:52 PM, Johan Compagner [EMAIL PROTECTED]
wrote:
use a behavior that adds an onDocumentLoad/Ready
you can also do it on component
public void renderHead(final HtmlHeaderContainer container)
or let the component implement IHeaderContributor
i guess that renderHead(final HtmlHeaderContainer container) shouldnt be
public but more protected or final..
johan
On Thu, May 15, 2008 at 2:44 PM,
thanks,
that's exactly what I did.
I add to my component (button) an AbstarctBehavior, which is an
IHeaderContributor.
I even override renderHead:
@Override
public void renderHead(IHeaderResponse response) {
response.renderCSSReference(/eurekify/style/button/EurekifyButton.css);
Yes, as I said in the previous message, I use SpringWebApplicationFactory.
The problem, apparently, is that Spring wants to have a working database
connection even when Wicket renders pages that doesn't access database in
any way.
Can Wicket handle a runtime exception like this?
On Thu, May 15,
Hi,
for every item in a table there's a delete link, which should be only visible
for certain users.
ProductAreaListPage.html:
-
tr wicket:id=productAreaTable class=list
tdspan wicket:id=id[id]/span/td
tdspan wicket:id=name[name]/span/td
tdspan
Hi,
I want to generate XML document using wicket but I have this problem.
I want to generate something like
root
var name=a1/
var name=a2/
var name=a3/
otherStructure/
/root
I decided to generate the var elements by ListView. This has some problem,
because after rendering I have in
get the components markupid from the component itself.
johan
On Thu, May 15, 2008 at 3:03 PM, Eyal Golan [EMAIL PROTECTED] wrote:
thanks,
that's exactly what I did.
I add to my component (button) an AbstarctBehavior, which is an
IHeaderContributor.
I even override renderHead:
I generated my sitemap xml files using wicket, the xml is something like:
?xml version=1.0 encoding=UTF-8?
urlset xmlns=http://www.sitemaps.org/schemas/sitemap/0.9;
url wicket:id=urlList
loc wicket:id=locNodehttp://www.example.com//loc
lastmod
why should wicket handle exceptions like that, what kind? what should wicket
do then?
you should just be sure that you always can create an error page, we cant
help if that bombs out.
johan
On Thu, May 15, 2008 at 3:18 PM, Sergey Podatelev
[EMAIL PROTECTED] wrote:
Yes, as I said in the
Ok, I've been playing around a bit more, and it turns out that this is not
limited to when I do clustering with terrracotta, but happens when i run
jetty normally.
The page expired exception fires with this message
Cannot find the rendered page in session
Yes there are other solutions :)
In this case you would use a DataPermission.
Something like
permission ${DataPermission} delete_product, enable;
coupled with a DatasecurityCheck on your links like so:
setSecurityCheck(new DataSecurityCheck(delete_product));
will do the trick.
Maurice
On Thu,
if you dont use terra then you should use the DiskPageStore
with that store getting page expires shouldnt happen as long as the http
session is there.
johan
On Thu, May 15, 2008 at 3:55 PM, richardwilko
[EMAIL PROTECTED] wrote:
Ok, I've been playing around a bit more, and it turns out that
Thanks,
the XML code is fine, but I need to know how to do it in the .java file. It
seems you just use Labels that fill the value of each node. But my problem is
little bit different. What I want is to be able do set there some attribute.
You have in your XML code:
loc
On a side note:
Don't forget to overwrite isErrorPage() to return true.
Maurice
On Thu, May 15, 2008 at 3:46 PM, Johan Compagner [EMAIL PROTECTED] wrote:
why should wicket handle exceptions like that, what kind? what should wicket
do then?
you should just be sure that you always can create
You can use
setEscapeModelStrings(false) to not escape special characters.
attributemodifiers to add attributes to tags or use onComponentTag for this
Maurice
On Thu, May 15, 2008 at 4:05 PM, Milan Křápek [EMAIL PROTECTED] wrote:
Thanks,
the XML code is fine, but I need to know how to do it
i see, try the following:
WebComponent comp = new WebComponent(locNode);
comp.add(new AttributeModifier(url, true, new Model(mylocation.com));
add(comp);
with the markup eg. loc wicket:id=url /
that should work
Milan Křápek wrote:
Thanks,
the XML code is fine, but I need to know how
this one will do:
public X extends Component? void foo(ClassX clazz);
however, the subtle differences between this and igors version are
really hard to get.
Am 15.05.2008 um 16:31 schrieb Igor Vaynberg:
this is the usecase we are talking about. i get a compile error,
which sucks.
this is the usecase we are talking about. i get a compile error, which sucks.
public class Test
{
public static void main(String[] args)
{
Foo foo = new FooImpl();
foo.foo(IntegerComponent.class); // ok
foo.foo(Component.class); // compile error
}
public
yes and those i already came across some in wicket
i changed to ? and suddenly in extentions and/or examples compile errors
all over the place...
then i quickly turn it off again... (for now)
johan
On Thu, May 15, 2008 at 4:31 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
this is the usecase we
right, non-clustered and httpsessionstore = exceptions
non-clustered and default session store = no exceptions (as far as i can
see)
clustered and httpsessionstore = exceptions
clustered and default session store = exceptions
although our live site is running on a httpsessionstore (non
We also use quartz with great success especially with wicket spring integration
everything runs just fine!
--Message d'origine--
De: Jan Kriesten
À: users@wicket.apache.org
Répondre à: users@wicket.apache.org
Envoyé: 15 mai 2008 12:51
Objet: Re: Scheduler in wicket
hi,
I am planning
taken from SUN's generic tutorial:
http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf
end of page 8
snip :::
interface CollectionE
{
public boolean containsAll(Collection? c);
public boolean addAll(Collection? extends E c);
}
We could have used generic methods here instead:
interface
if you mean it changes in the browser after the page is finished loading,
you are probably talking client-side technologies: JS, flash, applets,
something like that.
emee wrote:
Hello ,
I would like to use wicket to create a dynamic chart, I mean the values of
my chart change in the
I am planning to use quartz, but before starting to integrate it in my
wicket's app i would like to know if anybody have used it or another
scheduler with
wicket.
we used Quartz, works like a charm. I wonder, though, what it has to do with
Wicket - your scheduling probably (or rather:
has anybody worked on Wicket Dojo Tooltip?
-Original Message-
From: Patel, Sanjay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 10:57 AM
To: users@wicket.apache.org
Subject: WicketStuff Dojo Tooltip - Question
I used WicketStuff Dojo Tooltip in my one page and it works fine.
Gerolf,
Thanks for the reply. WicketAjaxIndicatorAppender is a behavior, but
my RequiredBorder is a border. It seems like there's got to be an
easy answer to this that doesn't require a javascript hack.
Here's what I think is happening:
* The phone format is rendered on the first pass,
Matthew, we wrote the phone formatter in house. It's way too messy
to share on here. If I were going to rewrite it, I'd use regex to:
* Strip everything except [0-9x#] from the input
* Everthing before the 'x' or '#' is the phone number, everything
after is the extension
* Count the number
SOLVED!
turns out that there are some new images being added to the page, but the
image url had been messed up, specifically, was '', so when the page loads,
instead of loading the image it makes a call to the home page, so instead of
20 images we get 20 calls to mydomain.com, this then messes
turns out that there are some new images being added to the page, but the
image url had been messed up, specifically, was '', so when the page loads,
Ugh, that's still a very tricky error it seems. I thought Igor
recently checked something in for that, that at least prints a
warning? I can't
Hi,
This is really not related to wicket but I thought this might still be a
good place to ask...
I was wondering if anyone knows of a system independent way to performance
test Java code in unit tests. I am thinking of something that might hook
into the VM and count bytecode instructions or
On Thu, May 15, 2008 at 6:25 PM, Sam Barnum [EMAIL PROTECTED] wrote:
* Somehow disable the border only for ajax calls
Sam,
I think you can do something like this in RequiredBorder#renderAfter:
AjaxRequestTarget target = AjaxRequestTarget.get();
if (target == null) {
// we're in a normal
These look pretty nice for free:
http://teethgrinder.co.uk/open-flash-chart/
On Thu, May 15, 2008 at 11:29 AM, Jonathan Locke [EMAIL PROTECTED]
wrote:
if you mean it changes in the browser after the page is finished loading,
you are probably talking client-side technologies: JS, flash,
Hi Benjamin
I'll see if I have some time left tomorrow, otherwise hopefully before
next tuesday.
Thijs
Benjamin Ernst wrote:
Hi Thijs,
We are currently trying to integrate Liferay 5 with wicket 1.3. Can you give
us the advise you offered? That would be very nice.
Thank you in advance,
i have test JFreeChart with wicket but it is not a dynamic image what do you
mean about it a dynamic as the info changes?
Eyal Golan wrote:
have you checked out JFreeChart ?
Is not dynamic as a progress bar, but dynamic as the info changes.
On Thu, May 15, 2008 at 3:12 PM, emee [EMAIL
My back button, doesn't send request back to the server.
I can see that the proper cache invalidating headers are set by the
response.
This is happening on firefox and IE, and using either tomcat or jetty.
Any clues ?
--
View this message in context:
For consistency sake, wouldn't it be wise to use IChoiceRenderer for
RadioGroup and CheckBoxMultipleChoice? Seems like a natural solution to
override IChoiceRenderer#getIdValue(...) to infer IDs for selection
comparison the same way that it is being done in DropDownChoice.
Otherwise, how else can
Pure JavaScript .. simple stunning!
http://people.iola.dk/olau/flot/examples/graph-types.html
// Paolo
On Thu, May 15, 2008 at 9:11 PM, Ryan Gravener [EMAIL PROTECTED]
wrote:
These look pretty nice for free:
http://teethgrinder.co.uk/open-flash-chart/
On Thu, May 15, 2008 at 11:29 AM,
checkboxmultiplechoice uses ichoicerenderer afaik, did you mean checkgroup?
radiogroup/checkgroup work differently, they leave all text generation
up to the user so no choice renderer is required.
-igor
On Thu, May 15, 2008 at 1:01 PM, Hoover, William [EMAIL PROTECTED] wrote:
For consistency
What do you mean I don’t understand ?
paolo di tommaso wrote:
Pure JavaScript .. simple stunning!
http://people.iola.dk/olau/flot/examples/graph-types.html
// Paolo
On Thu, May 15, 2008 at 9:11 PM, Ryan Gravener [EMAIL PROTECTED]
wrote:
These look pretty nice for free:
yes... sorry CheckGroup is what I meant. It seems as though
RadioGroup/CheckGroup should also have the capability of using an
IChoiceRenderer as well, right? One reason I was thinking that is if
someone has a model object instance A that is a different instance than
any of the choices in the list,
I agree with your view on keeping Wicket from being bloated. What if the
IChoiceRenderer was optional? If you provide it you have automation. If
you do not it works as it does now.
It's strange that that kind of functionality is provided when multiple
selections is needed (i.e.
I need to implement the usual account activation via email function. Can
anyone point me to some example of how this is implemented? If in Wicket
even better but anything would help me a lot.
One question I have is how to generate hard to guess unique keys in the
email link? I use Hibernate
java.util.UUID.randomUUID().toString()
On Thu, May 15, 2008 at 6:57 PM, Matthew Young [EMAIL PROTECTED] wrote:
I need to implement the usual account activation via email function. Can
anyone point me to some example of how this is implemented? If in Wicket
even better but anything would help
On Thu, May 15, 2008 at 3:12 PM, Hoover, William [EMAIL PROTECTED] wrote:
It's strange that that kind of functionality is provided when multiple
selections is needed (i.e. CheckBoxMultipleChoice), but it is not when
only one choice is needed (i.e. RadioGroup/CheckGroup).
CheckGroup is a
I'm trying to get a handle on thread-safety for components. I'm new
to Wicket. My best information, so far, comes from the previous
discussion Wicket Session and threading:
http://mail-archives.apache.org/mod_mbox/wicket-users/200801.mbox/thread
Eelco Hillenius, in response to Sebastiaan van
You may also want to have a enum/int to represent what kind of token it is.
New user, new email, forgot password, etc..
On Thu, May 15, 2008 at 7:01 PM, James Carman [EMAIL PROTECTED]
wrote:
java.util.UUID.randomUUID().toString()
On Thu, May 15, 2008 at 6:57 PM, Matthew Young [EMAIL
Guys has this been resolved?? We have been having some customers complain as
well (some sending screen shots of others peoples data as proof). Because
our users click streams are available publically at their control, we had
thought jsessionids occurring in the click stream were being
I'm not sure precisely what the current synchronization implementation is
and there may be some edge cases that are not perfect, but the overall
design is single-threaded, meaning you should not need to provide
synchronization. Some requests, like image resources would potentially be
handled in
You could also just use a md5 hashkey with content specific to the account:
MessageDigest messageDigest = MessageDigest.getInstance(MD5);
return new String(messageDigest.digest((encryptionKey +
value).getBytes()));
**
Martin
2008/5/16 Ryan Gravener [EMAIL PROTECTED]:
You may
Hi!
I want to change the background image and color on different wicket pages.
All my pages inherits from
a root page that is the master layout. How can this be done.
I must have it like
body,html{
background: .
}
so that I have browser compability. Right now I have this in a external
Sorry... a little early. Not chaning, changing.
I have looked at HeaderContributor() but that requires a css file and I
want just to append like SimpleAttributeModifier but the html, body can't
have the same id and If I add a wicket:id on body I get exception when
extending the wicket page.
--
76 matches
Mail list logo