van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM
van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM
be the
easiest way to do this? The data for the label could be passed in
through various models, etc.
Cheers,
-js
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support
a
Wicket specific solution.
Regards,
Rik
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre
://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded by
servlet, so Wicket again sees it as someId/1+1, so the result is someId=1
1.
How can I pass the '+' as parameter?
Thanks, Jan
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
Ah. Sorry.
Erik.
jan_bar schreef:
Sure, have a look at the url in my original post :-)
Jan
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated
as was set by Tomcat.
When authorisation is required and no user in the session, you can
forward to a secured url with a RestartResponseAtInterceptPageException.
Note that in this setup only the login page needs to be behind the
secured url.
Erik.
Dmitry Kandalov schreef:
Erik van Oosten wrote
this functionality?
Thanks
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make
());
and in the add() method of the panel say:
public Component add(final IBehavior behavior)
{
get(myField).add(behavior);
}
Any idea to implement this functionality?
Thanks
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
and another
not. So I guess I need different url's. What is the best way to do this?
Should I make two different WebApplication's and map them to different url's
or should I implement IRequestCodingStrategy?
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
that this is the case. A merge should ignore those
completely.
johan
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
a second or two have passed.
This would have to be done application wide because when an
attacker uses a tool like cURL a new session is created with
each request.
So what would you guys suggest?
- Johannes
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
be a
rather simple but yet effective solution, too: It would render brute
force useless and behave quite similar to the Linux shell login you
mentioned
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
of an $Id$ tag, presence of javadoc and a lot of code
formatting rules.
Regards,
Erik.
Martijn Dashorst schreef:
I was going to propose to use checkstyle instead. Problem with
checkstyle is that it is not a unit test and doesn't run inside
Eclipse, NetBeans or IDEA :-).
--
Erik van Oosten
I verified it just now and it works!!!
Congratulations on solving this apparently difficult bug!
Thanks,
Erik.
Matej Knopp schreef:
Is that problem still present? Could you please check current svn too?
-Matej
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
::
How can I change the wicket prefix so the URL is looking like this:
http://127.0.0.1/application?portal:interface=:22::
I need this for security. Visitors should not know that the application is
using wicket.
Thank you very much,
Maciej Bednarz
--
Erik van Oosten
http://www.day
is the first recommended even
though it does not show up to date information?
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security
the scalability issues Apache faces with their infrastructure
(something about several tera byte per month).
Martijn
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web
I solved it already.
I added the following to the behavior:
public void bind(Component component) {
super.bind(component);
component.add(HeaderContributor.forJavaScript(this.getClass(),
javascriptfile.js));
}
Erik.
Erik van Oosten schreef:
Hello,
I used Igor's
Hi Matej,
You can download a quickstart here:
https://omelet.zapto.org/ajaxtrouble.zip (3Mb).
Regards,
Erik.
Matej Knopp schreef:
Can you please provide a test case?
Thanks.
-Matej
Erik van Oosten wrote:
Hi,
The release notes of 1.2.3 state that the Ajax header contributions
://lists.sourceforge.net/lists/listinfo/wicket-user
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
://lists.sourceforge.net/lists/listinfo/wicket-user
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly
wanted to change the html source dynamically
Rather than writing different panel which would limit all my variations
:)
Shams
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need
?
doesnt tabbedpanel already use that?
You answered yourself here: it is all css :)
If you want to use sliding doors, it is your own responsibility to
provide the right css.
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com
Yep, that is correct.
Luckily that is all in place so you could say that TabbedPanel is
Sliding-Doors-ready.
I only reacted to the phrase 'TabbedPanel uses sliding doors' which is
IMHO not correct.
Erik.
Igor Vaynberg schreef:
On 11/2/06, *Erik van Oosten* [EMAIL PROTECTED]
mailto
I used the 1.x branch from svn at October 1, around 14:00 CET.
Do you want me to check today's svn?
Erik.
Matej Knopp schreef:
Is that problem still present? Could you please check current svn too?
-Matej
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
I just did an update and I see that relevant files have been changed.
I'll try immediately.
Thanks,
Erik.
Erik van Oosten schreef:
I used the 1.x branch from svn at October 1, around 14:00 CET.
Do you want me to check today's svn?
Erik.
Matej Knopp schreef:
Is that problem
. So when you create a new page it
would have blank parts defined for every one of it's parent's parts? You
could then delete them or add others, but it would inherit it's parent's
parts at creation time?
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
on runtime
information, e.g., for the following links:
a href=# wicket:id=change_statusdeactivate/a
For the active user it will show deactivate but for deactivate I
would like it show activate. How can I do that in wicket?
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
so if you do a refresh
you get another one again.
I guess matej is looking into this?
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security
the programmer fill a
long list of span component?
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated
people like to put all bundles key value pair in
single properties file so that it is easier to reuse and translate. I
believe this can be done in wicket, anyone know how?
On 11/1/06, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi Carfield,
There is also the wicket:message tag.
I am trying
hase with FireBug. Unfortunately my
_javascript_ is lacking way too much for this advanced stuff.
Any help is greatly appreciated.
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomc
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
I understand. Looks like a solid answer to me.
Erik.
Igor Vaynberg schreef:
On 10/30/06, *Erik van Oosten* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
If did see something else, if you look at Component#initModel
there is a
for loop that iterates up to the root
Hi,
I see some very unexpected behavior in getting the model object inside a
list view. Here is my case:
-- The data classes
class Course {...}
class Person { private List addresses; ...getter/setters...}
class Address { private String street; private String city;
...getter/setters... }
--
to be a ListView, and then a
MyPanel and only then a MyPage.
I am missing something or is this a bug?
Regards,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support
[ person.street] property and fail.
to fix this you need to make the listitem's model compound as well.
the easiest way is to extend PropertyListView instead of ListView
makes sense?
-igor
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
?
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM
? But then how does that work when there are multiple
versions of the homepage?
I'd appreciate any insight or references,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more
classes and all
sub-classes will automatically inherit these authorization rules. It is
easy to override this by explicitly adding authorization rules for a
subclass.
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
InputStream is = ...; p.setTemplate(is); // with a template in an
input stream.
Is something like this already possible?
Cheers
Erik
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do
the em tags or how to add a
custom css style to them? One of the following possiblities would be fine as
output:
span class=menuemSub 2/em/span
or
span class=menuSub 2/span
Thank you for any assistance to solve my problem,
Maciej A. Bednarz
--
Erik van Oosten
http://www.day
);
Is ther a better way to do what I am trying to accomplish?
Thanks!
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done
@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff
to rendering?
Before I attempt this myself, has anyone created a div based TextArea
component, that can be made available to me?
Erik van Oosten wrote:
Hi,
It is up to the component on how to interpreted the disabled property.
In your case you could make a new form component (use TextArea
driven
and laid out using basic block elements with CSS handling all of the
positioning. Even then, laying it out with span tags would be better
than what we have currently (developers have too much freedom with
presentation... font tags are S-O-O '90s) hehe
Thanks,
-js
--
Erik van
If you want to maintain existing classes, you'd better use:
item.add(new AttributeAppender(class, new Model(foo), ));
Erik.
Igor Vaynberg schreef:
item.add(new SimpleAttributeModifier(class, foo));
-Igor
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff
. setResponsePage()
2. RequestCycle rc = RequestCycle.get();
rc.setResponsePage(ClientMasterPage.class);
Neither of which provide the desired result.
Any suggestions are welcome.
Thanks to all.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
,
messageModel(formComponent));
}
}
}
8---
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web
problem with this is that I can not test whether error is
called. But that is a very low risk.
Thanks,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support
Nice improvement.
Erik.
Igor Vaynberg wrote:
in 2.0 the validators are decoupled so it should be trivial to test
them fwiw :)
-Igor
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat
Yes you are right. The error methods are final on FormComponent not in
AbstractValidator.
Thanks Frank,
Erik.
Frank Bille schreef:
On 10/17/06, *Erik van Oosten* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
A more easy sollution is to, in your test, subclass your
work correctly in Firefox.
--
Caleb Land
([EMAIL PROTECTED] mailto:[EMAIL PROTECTED])
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security
Hi,
I am using the AutoCompleteBehavior (from wicket-extension). The text
field that has auto completion is part of an AJAX loaded panel. The
problem is that the JavaScript required for the auto completion is not
loaded.
How can I make Wicket load the JavaScript libraries?
Regards,
Sorry, I should have mentioned that. We are indeed using 1.2.2.
How stable is the latest stuff in svn?
Regards,
Erik.
Igor Vaynberg schreef:
what version are you using? we knew this was a problem in 1.2.2 and
already fixed it in svn.
-Igor
On 10/13/06, *Erik van Oosten* [EMAIL
Okay, thanks. That is good news.
Erik.
Igor Vaynberg schreef:
the wicket-1.x branch is pretty stable, should be released as 1.2.3
very soon.
-Igor
On 10/13/06, *Erik van Oosten* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Sorry, I should have mentioned that. We
(resource.key));
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your
Correct.
Well, unless you also use FormComponentLabel.
Erik.
craigdd schreef:
So you are saying as long as you have the following in the .properties of the
page formid.firstName=My Label, I don't even need to set the label in the
form code?
Very Nice.
--
Erik van Oosten
http
Wicket book provide more insight
and information or am I ok with what is available for online resources?
Thanks,
--Todd
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need
It's on the Wiki: http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle
You can find it by following 'Reference library' from the main page.
Regards,
Erik.
craigdd schreef:
Does anyone have any good documentation of the life cyle for wicket?
--
Erik van Oosten
http://www.day
container way too much while doing some simple web development. I
thought maybe that people in this forum have had the same issue and found
some slick ways around it.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com
labels, and how to use resource bundles within wicket objects such as forms
to display back error messages gotten from resource bundles.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash
started from Eclipse (as all programs
you start from Eclipse). Strictly there is no class reloading, but you
_can_ change classes on the fly. Just remember that when you restart
JBoss, you must recompile and redeploy your changed classes.
Regards,
Erik.
--
Erik van Oosten
http://day-to-day
Hi,
How do I find out in which mode Wicket is running (development/production)?
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
[re-post due to mail-list problems.]
Hi,
How do I find out in which mode Wicket is running (development/production)?
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys
Should it not be:
listItem.add(new AjaxLink(openEditItem) {
instead of
add(new AjaxLink(openEditItem) {
?
A lot of e-mail does not come through somehow. BTW, not only gmail has
problems.
Have fun,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
:)That I know.
I meant, how can I find out from code? I should have been more clear :)
Erik.
Korbinian Bachl schreef:
Hi Eelco,
you watch the first 2 lines in the server log
or you can get the config value in the app class...
Regards
--
Erik van Oosten
http://day-to-day
Created.
https://sourceforge.net/tracker/index.php?func=detailaid=1571677group_id=119783atid=684978
Thanks for the code Pierre-Yves.
Regards,
Erik.
Johan Compagner schreef:
not yet, we should add this to the core
please make a feature request.
johan
--
Erik van Oosten
http://day
?
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions
Hi,
For those interested in the book 'Pro Wicket', I just posted a review.
http://day-to-day-stuff.blogspot.com/2006/09/wicket-getting-serious-pro-wicket-book.html
Regards,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com
I just did a little blog about the results of the thread:
http://day-to-day-stuff.blogspot.com/2006/09/wicket-for-bscs.html
Thanks,
Erik.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's
to the
applications (downloadable) proving this point?
Cheers
Erik
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel
Or this one?
http://www.javalobby.org/java/forums/t70272.html
Erik.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT
Hi Erik,
Let me rephrase the question:
What arguments did you use, that would interest big slow companies in
adopting Wicket?
Regards,
Erik.
PS. Too many Eriks in The Netherlands :)
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
. For example FireFox 1.0 is not supported.
Anyone else?
Thanks Erik,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's
prefer? BSD, Apache, (L)GPL or another one?
greets,
Ted
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get
.
Eelco
* There have been a bunch of discussions where some wind bags said
that this is something no-one actually does. But they are wrong,
because I've seen it work, and some of the projects I know of
currently are doing it with great success as well.
On 9/26/06, Erik van Oosten [EMAIL
about the current context, etc).
Rather than building all the variants over and over again, you create
this reusable component and use it throughout your project.
Eelco
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
ago, I was primarily doing that for 'management' reasons.
Eelco
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel
.
This is not inherently true for the framework though
True, but that is not good enough for this very biased list :)
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash
String(input.getBytes(iso8859-1), UTF-8);
I think these problems are caused by javascript,because i am not
familiar with javascript.
So i can't give reasons.
May somebody can give a patch.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
for length
and where we just do this .equals(value) without testing for null
i will not rewrite those by first testing null to be able to call for
length.
On 9/21/06, *Erik van Oosten* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
If this gets accepted, may I humbly suggest
.
This is wrong, we never said so. Just meant switching from
[nullability-check] !.equals(value) to [nullability-check]
value.length() != 0... ONLY THOSE DUETS!
Re-read it, you will see.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
copy a chinese word and paste to the AutoCompleteTextField, no event
will fired.You can see it in the server side.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence
, but the question is: whoever promoted that idea? Seems to
be auto-promoted and auto-rejected... ;)
Anyway, have a nice day!
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future
If this gets accepted, may I humbly suggest to replace
value != null !.equals(value)
with
value != null value.length() != 0
The latter performs considerably faster (though it is of course still a
micro optimization).
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day
LOL
I'll refrain from sending trivial changes to the wicket list in the
future :)
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
it be...
I guess with a global search replace tool, you may
micro-optimize likely a lot of portions of code containing that
non-optimized comparison...
(will try, nevertheless, to submit that patch...)
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
done for you so you have more time for other features.
Good luck and have fun,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
Ted Roeloffzen schreef:
Hello Wicket community,
We, two IT-students, are currently working on our graduation assignment.
Our
, *Pierre-Yves Saumont* [EMAIL PROTECTED] mailto:[EMAIL
PROTECTED]
wrote:
As far as I am concerned, I would need components that allow to
integrate easyly some CMS functionnlities in a Web app more than a
complete application.
Pierre-Yves
--
Erik van Oosten
http://www.day
That is a very very nice implementation.
Thanks Iulian,
Erik.
Iulian Costan schreef:
please check this out: http://syca.4java.ca/gmap/
/iulian
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
Peter Neubauer schreef:
Hi there,
I'm just wondering if anyone has done some abstration for a Google Map
panel for Wicket in order to display points of interest etc in e.g. a
Panel?
/peter
/
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM
javascript functions available on the net that allow you
to add and remove classes from an element.
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
Gwyn Evans schreef:
I'm not sure enought of CSS and tables to be able to say if there's
going to be any issues
'Why?' I had the same question. After thinking some more I did find one
point where integration could be used. JScience declares simple scalar
durations. Perhaps they can be used as parameters to the several
Joda-Time constructors and methods. I guess it is kind of cool that when
you starting
A vote for:
1. Give me the constructor change and the Java 5 functionality in one
pass (Wicket 2.0)
Regards,
Erik.
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new
Gili wrote:
From past experience, whenever classes require arguments in their
constructors there is always some flexibility lost. For example, you
absolutely cannot invoke any code before super() if you subclass such
a class so if the value of one of the arguments needs to be calculated
901 - 1000 of 1015 matches
Mail list logo