Hi Erik,
Yes. So you mean in short: use Acegi for authentication and use
wicket-auth-roles for authorization. That is a good compromise
because you get some of the features of Acegi out-of-the-box, like a
LDAP-server authentication as you mention.
Questions;
Do you use a "normal" login form
That's weird. Which wicket version are you using? Seems that Wicket 1.x
has already become 1.3 and the latest revision is 473519.
Wicket 1.2 has it's own branch now.
Are you sure you're using the apache repository?
-Matej
Erik van Oosten wrote:
> Hello,
>
> Something is going wrong with my he
Very cool, I'll have to get Maven set up and give 1.3 a whirl. This
is certainly marvelous timing as far as I'm concerned.
On 11/10/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Ok i committed everything delayed sessions, stateless pages (stateless link
> and form) and
> the SecondLevelCacheSt
Yipee!
Eelco
On 11/10/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Ok i committed everything delayed sessions, stateless pages (stateless link
> and form) and
> the SecondLevelCacheStore is now in the 1.3 branch.
>
> please start testing :)
>
> what more do we want in 1.3 from 2.0?
>
> johan
not at that time. during the render phase you are not allowed to modify component hierarchy. try doing it in onattach instead.in 2.0 you will need to use a different pattern - we havent built the reparenting mechanism in
2.0 yet - still figuring out what the simplest way is.-igorOn 11/10/06, Jonat
Ok i committed everything delayed sessions, stateless pages (stateless link and form) andthe SecondLevelCacheStore is now in the 1.3 branch.please start testing :)what more do we want in 1.3 from 2.0?
johanOn 11/10/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
Yes the stateless things are almost i
您好:
我公司为百中兴实业有限公司,因我公司与全国各行业公司有着密切的联系,所以近期我公司推出
代开发票这业务。
如果您公司需要做帐,补帐,或想少上点税减轻公司的负担,这些您都可以找我,我公司可以以最
优惠点数为您办理,至于合作途径,我公司可以先开票给贵公司,验证后再付款。
我公司真诚寻找合作伙伴,若贵公司有什么需要或问题,请来电联系!
联系人:陶德军
手机:13725522631
电话:0755―81340554(传真)
[EMAI
您好!
我公司是深圳市税务代理有限公司。我公司现有各种财务所用票据(普通国税发票,地税发票,增值税发票,海关专用缴款书)可以向外优惠代开。欢迎贵公司来电咨询,希望我们有共同合作的机会。如有打扰,请原谅。谢谢!
联系电话:13714839618
联系人:林先生
[EMAIL PROTECTED]
-
Using Tomcat but need to do more? N
Is it possible to take a component such as a Button and make it a
child of a new component so as to wrap it?
class MyPage extends WebPage {
add(new Button("myButton"));
public void onBeforeRender() {
visitChildren(new MyVisitor());
}
}
class MyVisitor imp
Hi Rik,
We use Acegi because of its excellent backend features. We do not use
Acegi to do authorization in the frontend, we just give a
username/pasword and ask it for the roles. Acegi gets it out of LDAP for
us, wicket-auth-roles does the authorization. The Acegi filter sets the
authenticated
Yeah. There are just multiple problems with URL based authorization.
It works fine for document-oriented sites, but how long ago was it
when we were building those :)
Take for example the use case that you want to hide a panel - but show
the rest of the page - when a user is not authorized for tha
Thanks for both of your replys!
I think extending WebComponent is the way I'll do it as then I don't
care about the type of model that gets used...
Thanks again!
Cheers,
-js
On 11/10/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Probably the easiest thing to do is extend WebComponent instea
Hi,
That is also the reason why Acegi and Wicket don't integrate well.
Till now I have not found a good way to secure Wicket components by
Acegi. Acegi is based on URL requests, method intercepting and
securing domain objects by ACL's. According to me you want to set
authorization on compo
That's a good alternative too.
Eelco
On 11/10/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Something like this?
>
> class MyLabel extends Label {
>private String text;
>public MyLabel(String id, String text, final FormComponent fc) {
>super(id, new AbstractReadOnlyModel() {
>
Probably the easiest thing to do is extend WebComponent instead of
label. Label is a super simple component really. This
protected void onComponentTagBody(final MarkupStream markupStream,
final ComponentTag openTag)
{
replaceComponentTagBody(markupStream, openTag,
Something like this?
class MyLabel extends Label {
private String text;
public MyLabel(String id, String text, final FormComponent fc) {
super(id, new AbstractReadOnlyModel() {
Object getObject(Component component) {
return text + (fc.isRequired() ? " *" : "");
I have a custom label component that extends label. In the constructor
it takes a form component that I want it to check if isRequired() at
render time and append "*" to the text of the label. What would be the
easiest way to do this? The data for the label could be passed in
through various models
We (Martijn and me) spoke there last year, but after doing a couple of
presentations the last year, we're out of time and energy (and money!)
to keep on doing that. We might get more active again in 2007.
But... everyone is more than welcome to take up the initiative, so if
any of you Wicket users
> Will it be ok if I try to write something to wiki?
Sure, any contribution to the WIKI is appreciated.
Thanks,
Eelco
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with p
Eelco Hillenius wrote:
>
> But as you got from the answers on this thread, URL based
> authorization schemes in not something we recommend for Wicket. It'll
> basically bring you back to page-level development again, whereas the
> whole point of Wicket is to provide a component based paradigm.
>
Sorry for the misguidance there. Something like this works:
final DateFormat fmt = new
SimpleDateFormat("-MM-dd");
final DateConverter dateConverter = new DateConverter()
{
public DateForma
> So if you yourself want to do that then implement your own webrequest
>
Good point... I guess I can extend WebRequest and tell Wicket to use
that... but Can I do similar think for WebResponse?
Yes, in fact doing that making the application hard, or may be
impossible to run at other web container
Thanks. The six month time frame on 2.0 probably means that if we go
with Wicket it'll be 1.3 and then an upgrade to 2.0.
On 11/10/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Sounds cool. Good luck!
>
> Alternatively, you could consider 2.0, but that depends on how long
> your project will t
I cant notice this behaviour with wicket 1.2.3 so far -
under 1.2.2 i have cases where the JS part misses, not so more under
1.2.3...
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
VaynbergGesendet: Freitag, 10. November 2006 17:57An:
wicket-user@lists
Hello Erik,
thank you very much for this hint. It was still not perfekt,
but gave me a thread to solve my problem. My constructor
is now like this:
IModel model = new Model(userModel);
setTitleModel(new ResourceModel("confirmation.title"));
setSumm
Sounds cool. Good luck!
Alternatively, you could consider 2.0, but that depends on how long
your project will take.
Eelco
On 11/10/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> Excellent. We're beginning our big new public web app in the next
> month or so and there have been questions about st
Excellent. We're beginning our big new public web app in the next
month or so and there have been questions about stateless options in
Wicket. It will eventually be a complete rewrite of the web layer for
www.vegas.com. We're considering Wicket & Facelets (i.e. JSF).
We can get (nearly) valid h
Yeah. Erik, I see your point for the general case, but Alberto's case
- which I have myself sometimes too - is that you only use a panel
because you have to, but you want the user to view your component as
one of it's embedded elements (in his case the TextField). I think
that's a valid case.
So,
Ok, I'll try to extract the problem.
Erik.
Eelco Hillenius schreef:
> On 11/10/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
>> add a bug into jira preferrably with a quickstart
>>
>
> Or maybe even better a unit test that proves this and that we can put in
> wicket.
>
> Eelco
>
On 11/10/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> add a bug into jira preferrably with a quickstart
Or maybe even better a unit test that proves this and that we can put in wicket.
Eelco
-
Using Tomcat but need to do m
Wicket can't do that getParameter conversionIt is tomcats stupid thing that you need to configure that extra in the connector configuration.Others don't have to do that and do follow everything with the encoding the browser sends in.
So if you yourself want to do that then implement your own webreq
add a bug into jira with your quickstart-igorOn 11/10/06, Korbinian Bachl <[EMAIL PROTECTED]
> wrote:2.0 ?or1.x ?(sorry, dont know whats in Trunk at the moment you got it)
you might want to use wicket 1.2.3 as this hasnt the behaviour so far...> -Ursprüngliche Nachricht-> Von: [EMAIL PROTEC
add a bug into jira preferrably with a quickstart-igorOn 11/10/06, Erik van Oosten <[EMAIL PROTECTED]
> wrote:Hello,Something is going wrong with my header contributions. A css that was
added like thisadd(HeaderContributor.forCss(MyPage.class, "MyPage.css"));are only rendered once and then neve
On 11/9/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> Wicket default is UTF-8. The problem is that e.g. Tomcat _requires_
> some specific configuration as well. Wicket can do anything about it.
>
I think the question I really try to do is can I assume the servlet
container default to some en
Hello,
Something is going wrong with my header contributions. A css that was
added like this
add(HeaderContributor.forCss(MyPage.class, "MyPage.css"));
are only rendered once and then never again.
To be precise:
- I start jetty.
- I request the page (it is bookmarkable).
- I get redirected t
If you want to use a CompoundPropertyModel you can do something like the
following in the constructor of the component:
setModel(new CompoundPropertyModel(...)); // where ... is either your
POJO or another model
add(new Label("userModel.userName"));
Leave the html unchanged.
Because you did n
2.0 ?
or
1.x ?
(sorry, dont know whats in Trunk at the moment you got it)
you might want to use wicket 1.2.3 as this hasnt the behaviour so far...
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag
> von Alberto Bueno
> Gesendet: Freitag, 10. No
The trunk
> What version of Wicket do you use?
>
> Regards
>
> Korbinian
>
>
>
>> -Ursprüngliche Nachricht-
>> Von: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Im Auftrag
>> von Alberto Bueno
>> Gesendet: Freitag, 10. November 2006 10:35
>> An: wicket-user@lists.sourceforge.net
>
What version of Wicket do you use?
Regards
Korbinian
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag
> von Alberto Bueno
> Gesendet: Freitag, 10. November 2006 10:35
> An: wicket-user@lists.sourceforge.net
> Betreff: [Wicket-user] Problem i
You need to create a Label in the constructor of the given part that passes
the information to it.
e.g:
add(new Label("userModel.userName", userModel.getUserName));
BTW: you can change the Labelname to whatever you want as its not associated
with the content behind it.
e.g:
add(new Label("usernam
Hello all !
I would like to add a CompoundPropertyModel as wizard static page. I have done
so far:
public class StepX extends StaticContentStep {
/**
* Constructor.
*
* @param userModel
*/
public StepX(UserModel userModel)
{
In my case, I have created a TextField component, that is a panel that
contains internally a TextField wicket component. Now, if I add the
method addToField, the user will have two methods:
TextField.add(IBehavior behavior)
TextField.addToField(IBehavior behavior)
I think that this case will
It worked well until I pass parametr with %2F ('/') . The problem is that
HttpServletRequest.getPathInfo() returns the URL that is already decoded
(checked with Jetty 6 and Tomcat 5.5). For nice URLs the getRequestURI() or
getRequestURL() should be used, it seems to return the request as it was
pas
When I create a page, and this page generate this html code:
]]>*/
Now, I add a button in the page (a very simple page):
public class Index extends Q
Yes the stateless things are almost in 1.3. I need to finish it up a bit more.I don't know about the final of 1.3 but i guess we can have a beta of 1.3 pretty soon.johan
On 11/10/06, Scott Swank <[EMAIL PROTECTED]> wrote:
Will Wicket 1.3 have the full stateless functionality of 2.0? If not,what si
> That would be:
>
> /**
> * The format string that will be used to enter the date in the input
> field.
> * This format will be honored even if the input field is hidden. Use
> * Javascript notation, like '%m/%d/%Y'.
> */
> private String ifForm
It still return Non-English version of Calendar even if I try
Locale.English / Locale.US
DatePickerSettings settings = new DatePickerSettings();
settings.setLanguage(DatePickerSettings.getLanguageFromMap(Locale.ENGLISH));
TextField dateField = new TextField("birthDay", new
PropertyModel(account, "
47 matches
Mail list logo