well that's not quite what hugues wants to achieve, I think that roles
returns null should _not_ give the current user any roles, sothat the admin
page is _not_ accessible
from my point of view, you should go for wicket-security too (yepp that's
shameless maurice-promoting :-)). or at least you
You are using the wrong authorization framework!
:) No seriously now. I don't know what is wrong with your code,
although the authenticate method might give some useful debugging
info.
There is however a second authorization framework for wicket called
Swarm. you might want to check it out.
you have not used it correctly
return a Roles object and not null
@Override
public Roles getRoles() {
return new Roles(ADMIN);
}
@AuthorizeInstantiation(ADMIN)
public class AdminPage extends WebPage {
}
On 11/6/07, Maurice Marrink [EMAIL PROTECTED] wrote:
You are using the wrong
In deed, it's an open issue: https://issues.apache.org/jira/browse/WICKET-693
Timo Rantalaiho wrote:
On Mon, 05 Nov 2007, Stefan Fußenegger wrote:
I was asking myself the same a while ago. Today I found a file named
wicket-xhtml1-strict.dtd in the SVN. You can find it at
Sure, dtd = old way, xsd = new way. But sadly, there is no official XHTML 1.0
Schema to extend (yet). However, there are two candidates for the future:
http://www.w3.org/TR/xhtml1-schema/ (work in progress) and
http://www.w3.org/TR/xhtml-modularization/ (working draft). Hence, the only
way to
+1
Orion Letizi wrote:
If you think a talk on scaling Wicket with Terracotta would be
interesting, we'd love to come...
Cheers,
Orion
Johan Compagner wrote:
Guys,
we are already in the month of the great Wicket meetup in the netherlands
So does anybody have idea's what you
On Mon, 2007-11-05 at 18:12 -0800, Orion Letizi wrote:
If you think a talk on scaling Wicket with Terracotta would be interesting,
we'd love to come...
Very interested. All things considered I may be able to help setup a
simple 2 node demo if I have the spare hw at the time.
Not sure how
Hello everybody,
I have a question about the localization in Wicket 1.3 beta 4. I have to
handle different files for the same language and the same component. In
example, I have a home page in english who says Hello dude! (this
string is stored in a *.properties file). And I need a second
:) will focus on what I need then:)
Eelco Hillenius wrote:
Im wondering if we(wickeers) would need an integration for a window
manager possibly: http://www.vegui.org/ ? Havent checked it enough to
see how complex it are and how easy it would be to make an simple
integration.
I don't
Looks good to me.
I'm using just like you are. Are you sure that your wicket application
class is correct (i.e., that your filter is actually using
WicketApplication, and not WebApplication or something like that)?
I sugguest putting some breakpoints and checking the logs. Your
Wouldn't this essentially be the same as using wicket:panel
id=header/ and using WebMarkupContainers on the java side?
I.e.:
Base
Structural markup goes here (see below for explanation of this)
wicket:panel id=header /
More structural markup goes here
wicket:panel id=body /
And
Hi
I'm using a ModalWindow for an user input -popup. The problem is that when i
call AjaxRequestTarget.show(ModalWindow), i get an IOException from deep
within jetty. Here's how it looks in the console:
13:33:56.139 WARN!!
java.io.IOException: Tiedostonimen, hakemistonimen tai levynimen
I totally agree with you, having named extension points would be perfect.
However, I am trying to do a quick proof of concept that can be discussed
before I implement all those nice and shiny features. Hopefully this
prototype convinces some of those sceptics out there ;)
I think the anyone
Hi,
I've got a form, which I'm processing with Ajax, but I need to go
onto a different page once it submits correctly. The problem I'm
seeing is that if I do a
setResponsePage(Sent.class);
then the URL that's being generated is:
Gwyn Evans wrote:
Hi,
I've got a form, which I'm processing with Ajax, but I need to go
onto a different page once it submits correctly. The problem I'm
seeing is that if I do a
setResponsePage(Sent.class);
then the URL that's being generated is:
Julian Klappenbach wrote:
Resume and references available upon request. Please respond in private to:
we could use a freelancer in southern Germany. Anyone?
cu uwe
Contact me: [EMAIL PROTECTED]
-
To unsubscribe, e-mail:
Hi chaps, I am using a panel in a page, and I actually using a DataView with
paging enable in the panel for show some data, I pass the datasource from
the webpage to that panel, something Like final Panel p = new
BoxListPanel(boxListView,boxList);, everything is fine, but now the data
getting too
There are a few ways to include your browser specific styles in a project:
- CSS hacks to target specific browsers
- IE Conditional Comments
- Server-side browsercheck
I'm not asking which way is better or the best. I'm asking who's using
one of these methods and what is the best way to
Hi Al,
Tuesday, November 6, 2007, 12:30:00 PM, you wrote:
AM Gwyn Evans wrote:
Hi,
I've got a form, which I'm processing with Ajax, but I need to go
onto a different page once it submits correctly. The problem I'm
seeing is that if I do a
setResponsePage(Sent.class);
then the URL
it is sometimes really not easy to see if it is wicket!
wicket is to pure html.. Happily we have our wicket:interface things
still...
But i guess that could also change in maybe 1.4
johan
On 11/6/07, Nick Heudecker [EMAIL PROTECTED] wrote:
Hi,
After quite a bit of development, I'm happy to
+1!
On 11/6/07, Orion Letizi [EMAIL PROTECTED] wrote:
If you think a talk on scaling Wicket with Terracotta would be
interesting,
we'd love to come...
Cheers,
Orion
Johan Compagner wrote:
Guys,
we are already in the month of the great Wicket meetup in the
netherlands
So does
Hi everyone.
I am quite new to Wicket but I start to really like it ;-)
I have a problem on which I spent several hours of research and trying but
it wouldn't solve.
I have a navigation in which the navigationlinks have to be dynamically
added (dependent on which rights the logged-in user has).
Hi guys,
I would like to change the default text for invalid fields on a
FeedbackPanel...
How can I do that?
Thanks!
--
View this message in context:
http://www.nabble.com/Invalid-field---feedbackpanel-messages-tf4758491.html#a13608034
Sent from the Wicket - User mailing list archive at
Hallo Herr Schäfer,
ganz unverbindlich angefragt: Raum Nürnberg, würde das Ihrem Verständnis von
southern Germany entsprechen?
Mit freundlichen Grüßen
Stefan Lindner
-Ursprüngliche Nachricht-
Von: Uwe Schäfer [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 6. November 2007 13:52
An:
What is the proper way to declare a default wicket:child / and ensure that
the page containing the wicket:child / is not directly accessible on its own?
I know I can just call the extending page (i.e. Page1 extends BasePage, calling
Page1.html), but how do I ensure that BasePage.html is not
Wouldn't this essentially be the same as using wicket:panel
id=header/ and using WebMarkupContainers on the java side?
yes it would be exactly the same thing.
Hi all,
I have a problem where I want to map one wicket application under different
urls, with the standard servlet url-mapping.
I want to have a situation where my application is addressable through the
following mechanism.
http://myserver:8080/mywicketwebapp/NL/*
Tom Desmet wrote:
http://myserver:8080/mywicketwebapp/NL/*
http://myserver:8080/mywicketwebapp/EN/*
http://myserver:8080/mywicketwebapp/FR/*
...
What I would like to achieve is that when someone enters the web application
by the url /mywicketwebapp/NL, that all wicket requests stay under this
maentele wrote:
My question/problem is: how do I get the currentPage (the currently active
link)?
Just call Component#getPage()
Regards,
Al
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Will Jackson wrote:
What is the proper way to declare a default wicket:child / and
ensure that the page containing the wicket:child / is not directly
accessible on its own?
I know I can just call the extending page (i.e. Page1 extends
BasePage, calling Page1.html), but how do I ensure that
On Tue, Nov 06, 2007 at 10:23:26PM +1100, Chris Colman wrote:
In the panel example you give you must still provide all of the
structural markup surrounding your panel tags in EVERY page's markup in
your system and if you decide to make a system wide change of this
structural markup you must
Al Maw wrote:
Just call Component#getPage()
Shame on me ...
I thought I tried that once and it didn't work back then ...
Looks like I did something wrong.
Tanks very much, Al
Thomas Jaeckle
--
View this message in context:
Ok I have been able to setup wicket 1.2.6 to jdev and produce a helloworld of
my own.
After I tried it with 1.3 beta 4, even though I made the changes proposed to
migrate I could not run it successgully (using JDeveloper).
I will provide the web.xml, HelloWorld.java, HelloWorld.html,
The proposed extension would just lead to more convenience, as it saves us
from having to create child pages as page/panel pairs when their are 2
panels needed (assuming no inheritance at all)
John Krasnay wrote:
On Tue, Nov 06, 2007 at 10:23:26PM +1100, Chris Colman wrote:
In the panel
Hello fellow Wicket users,
I am getting a
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
org.apache.wicket.util.io.DeferredFileOutputStream exception when I
added a file upload feature to my AddProductForm.
My form is serialiazable yet I
I posted a new message in Wicket - Dev:
http://www.nabble.com/Patch%3A-Multiple-%3Cwicket%3Achild--%3E-tags-on-a-single-base-page--tf4759260.html
It contains a patch that demonstrates the discussed enhancement. Please
comment!
-- stefan
Stefan Fußenegger wrote:
Hi folks,
I just stumbled
It doesn't work until after adding the component to the page.
Martijn
On 11/6/07, thomas jaeckle [EMAIL PROTECTED] wrote:
Al Maw wrote:
Just call Component#getPage()
Shame on me ...
I thought I tried that once and it didn't work back then ...
Looks like I did something wrong.
But if it traverses and then call wrapOnAssignment on the first one it finds
what do all the chained models do then? Why are they there? Because
from that moment on those chained are completel gone. They could even be
gc'ed
So this only works if getObject from them are doing nothing more then
Make BasePage an abstract class.
some things in live are soo simple :)
(are we testing for abstract pages or will there just be an exception?)
johan
wicket doesn't do the caching of the result of the AbstractResourceStream
Wicket only passes that lastmodifiedtime to the browser, which should on his
turn do the caching.
So if you are sure that your stuff doesn't have to be updated a lot then you
should cache it
For every different
Johan Compagner wrote:
But if it traverses and then call wrapOnAssignment on the first one it
finds
what do all the chained models do then? Why are they there? Because
from that moment on those chained are completel gone. They could even be
gc'ed
So this only works if getObject from them
Martijn Dashorst wrote:
It doesn't work until after adding the component to the page.
This is true.
So you need something like this (I've modified your variable names to
make it more obvious what is what):
pageLink.add(new AttributeModifier(class, true,
new AbstractReadOnlyModel()
Hi,
I'm wondering what the best way is to autofocus to the next field in a form.
When the length of a textfield is reached the focus should automatically
transfer to
the next field in the form. Is there a way to get the next field or do I
need to set id's
on the fields and keep track of the
Johan Compagner wrote:
Make BasePage an abstract class.
some things in live are soo simple :)
(are we testing for abstract pages or will there just be an exception?)
Probably the latter, but if your users are guessing URLs then they
deserve to lose.
Regards,
Al
add javascript to your tr tags
pure html sample:
table id=test border='1' cellspacing='0' cellpadding='0'
tr onmouseover=this.style.background='red';this.style.cursor='pointer'
onmouseout=this.style.background='white'; onclick=alert('bang')
tdTest/td
tdTest/td
tdTest/td
I have another question related to wicket-contrib-gmap2:
I'm trying to create a new GMap2 component in response to an AJAX request.
My code looks much like the code in the constructor of class
wicket.contrib.examples.gmap.controls.HomePage(), in the gmap2 examples,
which says:
final
That's what I thought to do, but how to call the detail page with
javascript?
On Nov 6, 2007 3:01 PM, Stefan Fußenegger [EMAIL PROTECTED] wrote:
add javascript to your tr tags
pure html sample:
table id=test border='1' cellspacing='0' cellpadding='0'
tr
i wouldnt use wicket's localization support for this.
you can always implement your own IStringResourceLoader, but the
problem with that is that wicket caches the lookup by default so you
wouldnt be able to switch.
now what you CAN do is write your own resourcemodel that would append
the style
David Bernard-2 wrote:
Hi,
I started the wicketstuff-jquery project, currently there is no doc/wiki,
only the [source][1] is available and a demo application ([source][2],
[war][3]).
For the communication with between client and server, I used the native
Wicket API, simpler than
Salut Xavier,
I was wondering if I could/should commit the changes I made to wicketstuff
push to the svn. In brief, this is what I did:
1. Extended the CometdDefaultBehaviorTemplate.js with the following if
clause
var doRoundTrip = true;
if(prop == script) {
doRoundTrip = false;
Even better... tried it out and when attempting to
access the abstract home page I get a 404 (as desired)
Thanks Al!
--- Al Maw [EMAIL PROTECTED] wrote:
Johan Compagner wrote:
Make BasePage an abstract class.
some things in live are soo simple :)
(are we testing for abstract pages
Marco Aurélio Silva wrote:
I'm using a PageableListView component and I want to make each row of the
list clickable. I don't want to add a column with a label like details, I
just want to click in any place of the row to go to details. Is there a way
to do this?
If you don't mind requiring
Is there a way to do it without javascript?
Thanks
On Nov 6, 2007 3:27 PM, Al Maw [EMAIL PROTECTED] wrote:
Marco Aurélio Silva wrote:
I'm using a PageableListView component and I want to make each row of
the
list clickable. I don't want to add a column with a label like
details, I
just
Marco Aurélio Silva wrote:
Is there a way to do it without javascript?
Well, obviously if you want to handle clicking on things without
Javascript then whatever it is needs to be a standard Link.
You can abandon tables and do something like this:
div wicket:id=listView
a wicket:id=link
I have created an anonymous innner class of AjaxFallbackLink this overrides
onClick and getAjaxCallDecorator as such:
...
@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new AjaxCallDecorator() {
Guys,
Facing a minor issue...thought to ask here before investing too much time in
it...
Got a login page with loginform (with onSubmit processing)...below is the
code for the onSubmit method, what i want to do is in case of an
authentication error take the user to the same LoginPage and
igor.vaynberg wrote:
now what you CAN do is write your own resourcemodel
-igor
Is it possible to place style1 and style2 strings in separate files? I mean,
is it possible to force the resource localizer to look up into several files
for style1.foo or style2.foo?
Thank you for your
I don't know the exact details of your model hierachy and where you use them
in your components.
But am i right that you do sorting in memory?
So 1 model is loading the rows
another model is sorting the rows?
and another is doing X?
But what do you give to the component then? And why must is
Sebastiaan van Erk wrote:
[...]
If you do override init, make sure to call super.init()
Whao! well done, Sebastiaan, I was overriding init(), and not calling
super.init();
Now it works.
But what bugs me is that it solves my own application (where init() was
overrided), but not the
The team I gave an introductory presentation to on Friday have already
started playing with Wicket today. I spoke to one of them this evening who
had also just upgraded to http://www.jetbrains.com/idea/ IDEA 7 (from
6.0.2). He showed me how easy it was to load his Wicket project by just
opening
Mmh, I though I was replying to each one in the thread by using the Reply to
author button, but looks like private emails were sent...
Anyway, I was saying I tried all recommendations, and the result was still
the same.
And I probably will try the Swarm way (if nobody has more clue...)
Thanks
Hi Jan,
to operate in before you can call this method (Component#getMarkupId)
at org.apache.wicket.Component.getMarkupId(Component.java:1201)
at wicket.contrib.gmap.GMap2.getJSinvoke(GMap2.java:399)
at wicket.contrib.gmap.GMap2.getJSsetZoom(GMap2.java:424)
at
The next 3 scheduled 2-day London Wicket courses with Al Maw are on
January 12-13,
February 9-10,
March 8-9
For more details/booking/enquiries click http://jWeekend.co.uk here .
MEAP access to http://manning.com/dashorst/ Wicket In Action will be sent
to you once your booking is complete.
I dont think that will work quite that way out of the box.
because our normal statefull redirect page will go to
/?wicket:interface=:0:
And also form post will go to that kind of url (and then redirect)
Ofcourse you can mount the page with the hybrid mounts. Then the redirects
will pretty
Johan Compagner wrote:
I don't know the exact details of your model hierachy and where you use
them
in your components.
But am i right that you do sorting in memory?
So 1 model is loading the rows
another model is sorting the rows?
and another is doing X?
yes, that's it, roughly.
formcomponent.setlabel()
-igor
On 11/6/07, Pills [EMAIL PROTECTED] wrote:
Hi guys,
I would like to change the default text for invalid fields on a
FeedbackPanel...
How can I do that?
Thanks!
--
View this message in context:
Cool. I'm checking to see if Jonas Bonér can make it. He lives in Sweden,
so it's pretty easy for him to get to Amsterdam. Keep you all posted.
Cheers,
Orion
Martijn Dashorst wrote:
+1
On 11/6/07, Orion Letizi [EMAIL PROTECTED] wrote:
If you think a talk on scaling Wicket with
Hi Jan,
the good news is that I think we got a better understanding on this
question, the bad news is we only can offer a workaround, not an elegant
solution.
The problem is that Firefox and obviously Konqueror too object to load
external header script Elements within an XMLHttpRequest. If
You can create a .properties file with the same name as your page, and put
messages such as:
myForm.myComponent.null=Please enter a non-null value
as in http://www.agileskills2.org/EWDW/chapters1-3.pdf Enjoying web dev
with Wicket , page 45.
Regards,
Hugues
Pills wrote:
Hi guys,
I would
I'm using a BreadCrumbBar and BreadCrumbPanels to implement a directory
hierarchy. This works great when starting at the top and working my way
down, but I'd also like to be able to open a page to any point in the
hierarchy and have the BreadCrumbBar serve as a way to navigate back up
the
Hello all,
I've finally migrated my time tracking tool, eHour, from Struts to Wicket !
eHour is a webbased time tracking tool for consultancy companies and
other project based businesses.
The primary objective is to keep time tracking as simple and user
friendly as possible while still being
There's a Wicket plugin for IDEA called WicketForge. You can download it
using IDEA's plugin manager.
On 11/6/07, jweekend [EMAIL PROTECTED] wrote:
The team I gave an introductory presentation to on Friday have already
started playing with Wicket today. I spoke to one of them this evening
Hello-
I'm new to wicket and trying to build a general purpose wicket solr
(http://lucene.apache.org/solr/)
Before getting too deep into it, I figured I'd ask advice on what
pattern to build from.
In solr, I build a query and get a response with a few parts. The parts
correspond to
if you are using this for a directory then i would build your own
component. in the directory there is only one way in to something.
breadcrumb bar as it is is defiend to support multiple ways of getting
to something so there is a lot of overhead assocaited with it. in a
directory structure, given
In our app we have a ListView into which we can dump panels for, in
our case, various different filtering options depending on the page.
The base page keeps a List and that's used as the model for the
ListView. If the subclass doesn't add anything, nothing shows up.
But the pages that need them
Hi Thijs,Please tell me about version of portlet wicket-exemples.war
I can't find it on wicket site .Thank you
Thijs wrote:
Check out http://www.nabble.com/Portlet-howto-tf4587073.html#a13093514
justment wrote:
I want to implements wicket portlet on liferay
but I can't get any
On Nov 6, 2007 7:01 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
if you are using this for a directory then i would build your own
component. in the directory there is only one way in to something.
breadcrumb bar as it is is defiend to support multiple ways of getting
to something so there is a
On Tue, 06 Nov 2007, skatz wrote:
The problem is, the onClick() method does not seem to be getting called
(does not stop in eclipse debugger at the breakpoint, and observed behavior
is as if it is not being called). So my question is, what am I doing wrong?
Have you checked that onClick()
Just download the source from SVN and build it. You'll have to change the
portlet.xml anyway
justment wrote:
Hi Thijs,Please tell me about version of portlet wicket-exemples.war
I can't find it on wicket site .Thank you
Thijs wrote:
Check out
For some reason onSubmit is never called on a simple form.
Has anyone seen this problem before?
- Brill Pappin
80 matches
Mail list logo