Sorry I got some of my words missing. I mean the latest
wicket-contrib-gmap2-1.4 is not compatible with wicket-1.3.4.
So the only way is to checkout the svn and DIY that jar file???
overseastars wrote:
Hi
I'm using wicket 1.3.4 which is not compatible with wicket-contrib-gmap2
public class mywebpage extends webpage {
@SpringBean private Dao dao;
public mywebpage() {
add(new textfield(foo).add(new ivalidatiorstring() {
public void validate(ivalidatablestring v) {
string value=v.getvalue();
if (!dao.valueunique(value)) {
2008/10/20 overseastars [EMAIL PROTECTED]
Sorry I got some of my words missing. I mean the latest
wicket-contrib-gmap2-1.4 is not compatible with wicket-1.3.4.
So the only way is to checkout the svn and DIY that jar file???
If you wan't to stay 'on the edge' you can check out trunk,
Hi,
wicket-ioc/cglib (using 1.3-snapshot) has problems when it comes to creating
proxies for constructor injection (and also when it comes to enhance final
classes):
Caused by: java.lang.IllegalArgumentException: Superclass has no null
constructors but no arguments were given
at
add a package private default constructor to your class.
these are all well known limitations of proxying classes, you should try to
make sure your injected dependencies are interfaces or you something like
salve so no proxies are needed.
-igor
On Sun, Oct 19, 2008 at 11:53 PM, Jan Kriesten
Hmm theres no 1.3 snap..
So yes currently no other way..
overseastars wrote:
Sorry I got some of my words missing. I mean the latest
wicket-contrib-gmap2-1.4 is not compatible with wicket-1.3.4.
So the only way is to checkout the svn and DIY that jar file???
overseastars wrote:
Hi
A URL is quite a strong argument for using pages. With the
wicket-annotations project its dead-easy to make pages bookmarkable,
just add @MountPath(path=/path/to/page).
Jörn
On Sun, Oct 19, 2008 at 11:55 PM, Ned Collyer [EMAIL PROTECTED] wrote:
I use markup inheritance for some pages, but I
Check you dependencies..
I just use jetty when running from eclipse, much simpler.. Just run
start jar or debug start jar.. etc..
Leucht, Axel wrote:
Hi,
I'm currently trying to get a HelloWorld application running with wicket 1.3.4.
I'm doing all my web development from within the Eclipse
I use those annotations - they are awesome :)
If you could annotate a panel to be bookmarkable.. that'd be interesting.
So the panel COULD be embeded into other components, or used standalone as a
page.
Currently I achieve this by creating a new page class which instantiates and
passes the
Hi Igor,
add a package private default constructor to your class.
default constructor wont work in this case.
these are all well known limitations of proxying classes, you should try to
make sure your injected dependencies are interfaces or you something like
salve so no proxies are
Hi,
my application currently uses CryptedUrlWebRequestCodingStrategy to
protect against CRSF attacks. Afaik 1.3.5 will include an update that
generates the key based on user sessions:
http://issues.apache.org/jira/browse/WICKET-1782
According to Johan Compagner, there are still issues with that
for me +1 if it does not interfere with other stuff.
Jörn Zaefferer wrote:
Hi,
my application currently uses CryptedUrlWebRequestCodingStrategy to
protect against CRSF attacks. Afaik 1.3.5 will include an update that
generates the key based on user sessions:
what i dont get
if an attacker wants to submit the form. and it can get to the form it can
do the post
but you say it cant access the cookie. But if the cookie value is just
compared to the form post value
we have to make sure that the name of the cookie cant be guessed right? So
what should the
I'm trying to refresh a custom components describe in
http://cwiki.apache.org/WICKET/how-to-load-an-external-image.html
http://cwiki.apache.org/WICKET/how-to-load-an-external-image.html
.
It's an External image wrapped in a link (clickable image)
nbsp;
The StaticImage part works great.
No, the cookie is subject to the same-origin-policy, both in reading
and writing. The request is authenticated because the session cookie
is set, but its invalid when the form itself is missing the value.
Combining the attack with XSS would give access to the cookie, but
then he could just as well
I've looked at CSRFGuard, the approach has several of the drawbacks
described in the paper. Its much less effective then the
double-submitted-cookie, eg. it involves buffering and rewriting the
response to modify forms. It generates values for each rendered form
and stores it in the user session
hmm i will read the paper then
I stil dont get it how it is possible with 1 cookie, that then can never
change when it is first generated
and all the forms also just have that value right?
But it is also for double submit protection right? So the cookie has to
change right?
But how can you then
Ahh, a no go for their filter then. The idea are very nice though.
Jörn Zaefferer wrote:
I've looked at CSRFGuard, the approach has several of the drawbacks
described in the paper. Its much less effective then the
double-submitted-cookie, eg. it involves buffering and rewriting the
response to
The only markup difference between pages and panels for me is that
panels use wicket:panel and pages use wicket:extend. Making that the
same, I'd prefer wicket:extend, would make it even easier to switch
from a page to a panel and back.
Jörn
On Mon, Oct 20, 2008 at 10:22 AM, Ned Collyer [EMAIL
Could someone direct me in how to go about making an exisiting website a
multilingual one in wicket framework?
General info, articles you can recommend would be great.
I'm in the starting phase so I don't have any specific questions yet.
Thanks
--
View this message in context:
I found this interesting:
Don't forget OWASP CSRFTester and CSRFGuard
http://freedom-to-tinker.com/blog/wzeller/popular-websites-vulnerable-cross-site-request-forgery-attacks#comment-100619
Comment by Jeff Williams http://www.owasp.org on September 29th, 2008
at 9:53 am.
OWASP has made two
Is it just static multilingual, like help texts buttons etc.. Then you
can use property files, database stuff etc.. There something about this
on the wiki and in WIA..
If it's deeper like some of your classes descriptions, etc can be
translated its another story.. A little more messy, unless
Hi,
Is there any reason getObject and setObject were not made final in Model
class? the reason why i am asking is that there might be the case when
people misuse this; for example (and i have seen this at my current
workplace);
Model xModel = new Model(new Long(1)) {
I've got a highly functional JS widget (a grid) which I'm trying to wrap up
in a wicket component. The JS widget has an object it uses to talk to the
server - you tell this object a URL. I've got as far as adding a
DefaultAjaxBehavior to my component and telling the JS widget the callback
URL -
Yes. if you checkout open layers contrib mootips theres something there:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-openlayers/src/main/java/org/wicketstuff/openlayers/event/ClickEventListenerBehavior.java
2008/10/20, dideep [EMAIL PROTECTED]:
I've got a highly functional JS widget (a grid) which I'm trying to wrap up
in a wicket component. The JS widget has an object it uses to talk to the
server - you tell this object a URL. I've got as far as adding a
DefaultAjaxBehavior to my component
Hi,
I'm using the org.apache.wicket.datetime.markup.html.form.DateTextField
component for my date fields.
When I enter some random string in the text field in the feedback panel,
'asdfasdf' is not a valid Date. message appears.
I would like to customize that message, but I can't find which key
Hi,
Is there any particular reason why Model doesn't implement a default equals(..)
and hashCode() function? I have a very simple IDataProvider that simply wraps
the returned object in a Model, and since I want to reuse the items I had to
inline override the aforementioned functions.
Hmm and what about nested forms?
Johan Compagner wrote:
hmm i will read the paper then
I stil dont get it how it is possible with 1 cookie, that then can never
change when it is first generated
and all the forms also just have that value right?
But it is also for double submit protection
whenever there is something nonfinal people will always find a way to misuse it.
model methods are not final because it gives you a simple base class
to subclass instead of starting from scratch with an imodel.
-igor
On Mon, Oct 20, 2008 at 6:37 AM, Ricky [EMAIL PROTECTED] wrote:
Hi,
Is
grepping the wicket source I found in file
src/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.properties:
IConverter='${input}' is not a valid ${type}.
but I don't know if you can specify a separate message for type Date..
Goran Novak wrote:
Hi,
I'm using the
Wicket in Action book says that IConverter.Date should work..
Serkan Camurcuoglu wrote:
grepping the wicket source I found in file
src/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.properties:
IConverter='${input}' is not a valid ${type}.
but I don't know if you can
Joel,
What advantage does Tapestry 5 provide you over Wicket for your front office
pages?
Thanks,
Richard Allen
On Sun, Oct 19, 2008 at 8:17 AM, Joel Halbert [EMAIL PROTECTED] wrote:
We're actually using two web frameworks in our application, depending on
the type of page.
Our application
i dont think this is normal. please file a jira issue.
-igor
On Fri, Oct 17, 2008 at 3:48 AM, aditsu [EMAIL PROTECTED] wrote:
Hi, I'm using wicket 1.4-m3
I was debugging a problem and I found that RequestCycle.urlFor(Component,
RequestListenerInterface, ValueMap) can sometimes modify the
Hi,
I want to use REST url for my application using wicketstuff-annotation
but it seems that I can't use the same path for 2 pages.
For example :
- /products for the list of products
@MountPath(path = products)
public class ProductListPage extends Webpage
- /products/5 for the detail of
Thanks for replying
Martin Funk-3 wrote:
2008/10/20 overseastars [EMAIL PROTECTED]
Sorry I got some of my words missing. I mean the latest
wicket-contrib-gmap2-1.4 is not compatible with wicket-1.3.4.
So the only way is to checkout the svn and DIY that jar file???
If you wan't
igor.vaynberg wrote:
i dont think this is normal. please file a jira issue.
Filed WICKET-1881
Thanks
Adrian
--
View this message in context:
http://www.nabble.com/RequestCycle.urlFor-modifies-a-page%27s-parameters--tp20031013p20077002.html
Sent from the Wicket - User mailing list
I've got a panel for which I am building a number of DropDownChoices.
Each must be selected, and if any one of them is not, a message must
be displayed in the corresponding feedback panel. The problem however
is that, with my HTML as such:
table
tr wicket:id=reasons
tdspan
Like so:
DropDownChoice myDropDownChoice = new DropDownChoice(...);
myDropDownChoice.setLabel(new Model(Description));
add(myDropDownChoice);
Hope that helps.
-Original Message-
From: Steve Thompson [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 12:49
Hi,
I use Tomcat 6.0.16/17/18 with the Wicket Example Application out of the box.
No Problems at all. I suspect Tomcat is not the Problem.
Regards,
Timm
Am Monday 20 October 2008 09:30:32 schrieb Leucht, Axel:
Hi,
I'm currently trying to get a HelloWorld application running with wicket
Dane -
Thanks, this worked like a charm!
On 10/20/08, Dane Laverty [EMAIL PROTECTED] wrote:
Like so:
DropDownChoice myDropDownChoice = new DropDownChoice(...);
myDropDownChoice.setLabel(new Model(Description));
add(myDropDownChoice);
Hope that helps.
-Original
How about mounting that to just products and displaying different
content based on the presence of the parameter? You abstract the
content of both pages into panels and show one or the other based on
the paramter.
Jörn
On Mon, Oct 20, 2008 at 6:15 PM, Cédric Thiébault
[EMAIL PROTECTED] wrote:
Hi igor
I dont know how to fix this. I already copyied all jar files under WEB-INF
to tomcat6's lib folder.
igor.vaynberg wrote:
looks like you are missing slf4j jars in your war?
-igor
On Mon, Oct 20, 2008 at 10:18 AM, overseastars [EMAIL PROTECTED]
wrote:
Hi all
I dont know why
I don't think you want your app jars in the server lib directory.
Those .jars should be in /WEB-INF/lib
-Clay
overseastars wrote:
Hi igor
I dont know how to fix this. I already copyied all jar files under WEB-INF
to tomcat6's lib folder.
igor.vaynberg wrote:
looks like you
Can anyone please help me with this?
Kind of not getting any clue.
Appreciate any help.
thanks
Kuga
Kuga wrote:
Hi,
Can anyone help me with the following. Thanks in advance for any help.
I need to update the Title of the Modalwindow based on some actions on the
dialog. For example say i
Hello,
I have a project which uses mostly javascript because it is a client base
part. My problem is when i cannot redirect wicket pages in javascript. I
already try this in behavior:
.
init.js
function clientReady() {
location.href = '${url}';
}
in behavior...
final Map
46 matches
Mail list logo