getApplication().getPageSettings().setVersionPagesByDefault(false);
>
> - getApplication().getSessionSettings().setMaxPageMaps(1);
>
>
>
>
>
> Regards,
>
>
>
> Arjan Zwaan.
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
ort for that that you could just set the response
> page in an ajax request
> and then the ajax request would redirect to that page.
> But i can't find support for this anymore.
> Matej? Eelco?
>
> johan
>
>
> On 11/30/06, *Erik van Oosten* <[EMAIL PROTECTED
:
> no the internal error doesn't get the exception.
> You can override this and do what every you want with the method :
> RequestCycle.onRuntimeException()
>
> johan
>
>
> On 11/29/06, * Erik van Oosten* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>
am), I've
> been trying to disable them, but they keep showing up with multiple
> instances of the same page in the session (which is not needed in our
> case). I'm using the InspectorBug class from wicket.examples.debug, to
> see what's in the session btw.
>
>
Okay, thanks!
Erik.
Johan Compagner schreef:
> no the internal error doesn't get the exception.
> You can override this and do what every you want with the method :
> RequestCycle.onRuntimeException()
>
> johan
>
--
Erik van Oosten
http://www.day-to
.
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
o
i.e ajaxLink.setEnabled(false);
>
> Seems to have no effect.
>
> Is this a feature or defect etc?
>
> Thanks.
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Take Surveys. Earn Cash. Influen
().getPerson();
>4. }
>5. };
>6.
>7. add(new Label("notice", new StringResourceModel("notice",
> this, model)));
>8.
>9.
> 10. notice=You currently have a registration in progress for
>
Hello,
Since the e-mail below I have not gained any further insights. Therefore
we solved the matter with a huge kludge: a filter that removes javascript.
Regards,
Erik.
Erik van Oosten schreef:
> Hello,
>
> I have a requirement to download html files so that they can be added
Or do you think it is too powerful?
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
/host2/app2. The URL
> will be /app1/images/icon.jpg or /app2/images/icon.jpg . How can I set
> the image path to something like $baseurl/images/icon.jpg ? I've try
> to setup at but the rendered HTML don't
> contain that elements.
>
--
Erik van Oosten
http://ww
om/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> 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/
---
ge that do not know where to redirect after the login.
>
> Can somebody help me with that?
>
> Thanks in advance for the answer and really sorry if it is "so" obvious.
>
> Marc
>
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
---
Ah, you mean that the key names themselves are too generic.
Ok, that is another thing. I'll leave that the to actual developers :)
Erik.
Alexei Sokolov schreef:
I don't agree. At least rename them.
Alexei
On 11/16/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
You can
pdown
controls.
So that leaves just number 2.
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
Meanwhile I did find the culprit for the ajax console. It was an
AjaxFallbackLink subclass, rendered in disabled state.
Erik.
Erik van Oosten wrote:
> Why the header stuff for the ajax console is added is another riddle for
> me. As far as I can see, there is no ajax behavior added
behavior added to any
component on the page.
Another approach I tried was to disable all header contributions.
Unfortunately I could not find the appropriate hooks for that.
Does anybody have an idea on what I could do?
Thanks and regards,
Erik.
--
Erik van Oosten
http://www.day-to-day
ow can I let user know some require field is missing? Is
> there any predefine ID for the user to like wicket:id="messages"> that will output the error message to
> user?
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
--
Hi Igor,
To ease your life a bit :) I wrote WICKET-71 and updated the wiki
(http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html).
Thanks for solving WICKET-71 so quickly :)
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com
: wicket
Affects Versions: 1.2.3
Reporter: Erik van Oosten
Please add the following to the class comment of wicket.ListItem.
*
*
* NOTE: when you want to change the default generated markup it is important to
* realise that the ListView instances does not correspond to any markup
e"), SubPage.class, null)));
>
> When debugging
> public final void renderHead(final Response response)
> in WebPage, "subpage" is still an entry of meta.pageMapNames...
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
--
rchbox + underneath my results.
> Only the results may be scrollable, so the searchbox is always visible.
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support
ations?
I think that would a good idea. I can not imagine a situation where this
would be confusing.
I had to think hard for at least 30 seconds before I understood the
solution. The point is that ListView does not correspond to any markup,
only the ListItems do.
Regards,
Erik.
--
Erik v
Hello,
Is there a particular reason why ListView does not respect the
RenderBodyOnly flag?
I have something like this:
I want it to render as:
item 1
item 2
item 3
etc.
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day
Ok, let me know when its needed.
Erik.
Igor Vaynberg schreef:
On 11/13/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
What the heck, I'll
volunteer to write those release notes if someone gives me that jira
list.
https://issues.apache.org/jira/browse/WI
be +1 for this. keeping up changes.xml is a pain imho, and
since a
good amount will already be entered into jira it will take work off us.
-igor
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
t; 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 header contributio
> wating for reply
>
> Regards
>
> Ketan D.Gote
--
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 wit
?
Martijn
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
Erik van Oosten
http://www.day-to-da
Components: wicket
Affects Versions: 1.2.3, 2.0
Reporter: Erik van Oosten
In browsers without JavaScript the onclick attribute is not sufficient on a
link when popupsettings are used.
Please extend Link to include a target attribute when popupsettings are used.
The value of the target
we should. Mind opening up a feature request for that?
>
> Eelco
>
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but need to do more? Need to support web services, security?
G
ought Wicket's philosophy was to never depend on JavaScript. However,
it is not a big thing, you can easily set it yourself.
Regards,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomca
tion=no,menuBar=no,resizable=no,status=no,toolbar=no');
> return false;" id="reportLink">Report
>
>
> Johan Compagner wrote:
>
>> what does the link where you click on look like?
>>
>> D
role_viewer role_administrator
com.example.app.AdminPage role_administrator
How do this for buttons depend on the structure of your application.
You'll have to devise a way to identify the button (or better, the
function it will perform), and call a
MetaDataRoleAuthorizationStra
n. Maybe the only good solution is to build 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 we
t; 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, etc.
>
> Cheers,
> -js
>
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
we can put in
> wicket.
>
> Eelco
>
--
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 pr
--
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
Do
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>
>
> -
> Using Tomcat bu
want to use the same idea of AlternateParent when we add a new component.
>>>> I have a panel, and I want to add a behavior in the panel, but the
>>>> behavior is used in a field
>>>> component that is in the panel.
>>>>
>>>> I do
s 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 Oost
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 tec
LEncoded the parametr, so my nice URL looks like
> http://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?
>
le 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://
d(new MyBehavior());
>
> I want to say:
>
> panel.add(new MyBehavior());
>
> and in the add() method of the panel say:
>
> public Component add(final IBehavior behavior)
> {
> get("myField").add(behavior);
> }
>
> Any idea to imple
"undo" the constructor change and generics :)
-Matej
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
webapplication
> handle the specific case of false logins, not caring about how many
> REQUESTS came in, just how many false ATTEMPTS came in?
>
> That sounds like it would make a lot of sense....
>
--
Erik van Oosten
http://www
at would 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
hat I'm thinking about doing: Record when the last
>> request for the loginpage from a certain IP came in and only
>> handle the request when at least a second or two have passed.
>> This would have to be done application wide because when an
>> attacker uses a tool like
his is the case. A merge should ignore those
completely.
johan
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
ce 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
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:
> Hell
{
> response.write(JavascriptUtils.SCRIPT_OPEN_TAG);
> response.write("function
> ekt(e){if(typeof(e.keyCode)==\"undefined\"){return
> e.which;}else{return e.keyCode;}}");
> response.writ
accomodate
> 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
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
n?wicket:interface=:22::
>
> 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
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.blo
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.
>
> Mat
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-da
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 PROTE
aying tabs
> going
> to be implemented in Wicket?
>
>
> 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.
Er
:
> I actually 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/
-
gt;> Click here
>>
>> I want to change this to:
>>
>> Click here
>> [Wicket Contents]
>>
>
>
>
> -Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
120709&bid=263057&dat=121642
> ___________
> 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/
BM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
&
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 no
Id=0&wicket:ignoreIfNotActive=true');
/*-->]]>*/
These pieces of _javascript_ are unfortunately not being executed.
Note that the id's are empty and there this weird "src_" attribute. I
am sure how FireFox treats this. Also I wonder why the scripts are so
carefully co
ht?
>
> However, I guess most 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:
>
thought. 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
list of labels at java code, and 2) need designer keep multiple copy
> of HTML in sync manually.
>
> I just wonder if I have just have HTML template like
>
>
>
>
> {label.message_to_user}
>
>
>
>
> Then wicket will look it up from bundle wi
e browser doesn't change 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?
., for the following links:
>
> deactivate
>
> 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/
---
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
> fo
onimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
l. then it is going to
> try to find [ 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?
>
> -
age! I expected the parents 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 Tomca
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... }
-- The
Affects Versions: 1.2.2
Reporter: Erik van Oosten
Please make authorisation rules inheritable from the base class(es) of a
component.
The following change will allow you to define authorization rules on some
class. All sub-classes will automatically inherit these authorization rules
rom the default.
> Panel p = new Panel();
> p.setTemplate("xyz.html"); // with a class path resource
> InputStream is = ...; p.setTemplate(is); // with a template in an
> input stream.
>
> Is somethi
orization rules on base 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-
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
s[i];
roles.add(authority.getAuthority());
}
return roles;
}
return null;
}
}
--8<--
sunraider schreef:
> Can you give me a sample of how the authorizationstrategy can be plugged
omeone experienced know how to disable the em tags or how to add a
> custom css style to them? One of the following possiblities would be fine as
> output:
>
> Sub 2
>
> or
>
> Sub 2
>
> Thank you for any assistance to solve my p
rea prior 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 p
ion Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> _______
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Erik van Oosten
ht
}
> }
> }
> }
>
> Then to use it, in my code:
>
> TextArea description = new TextArea("description");
> add(description);
> TextAreaFixer.updateTextArea(description);
>
> Is ther a better way to do what I am tryin
interface is form driven
> and laid out using basic block elements with CSS handling all of the
> positioning. Even then, laying it out with tags would be better
> than what we have currently (developers have too much freedom with
> presentation... font tags are S-O-O '90s) hehe
&
-
>
> ___
> 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/
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"));
>
> -Ig
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,
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/
---
n code to another method.
The only 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
fiNummerValidator.NotValid",
messageModel(formComponent));
}
}
}
8<-----------
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-
Using Tomcat but ne
tried the following:
>
> 1. setResponsePage()
>
> 2. RequestCycle rc = RequestCycle.get();
> rc.setResponsePage(ClientMasterPage.class);
>
> Neither of which provide the desired result.
>
> Any suggestions are welcome.
>
> Thanks to all.
>
>
>
> if I alter AbstractAutoCompleteBehavior to execute the javascript in a
> setTimeout() then everything work correctly in Firefox.
> --
> Caleb Land
> ([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>)
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
---
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:
&g
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
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,
Erik.
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.
>
1001 - 1100 of 1166 matches
Mail list logo