Re: Wicket and CoC

2008-11-27 Thread Alex Objelean
Using AutoComponentResolver, you can add a feedback panel like this: wicket:component class=org.apache.wicket.markup.html.panel.FeedbackPanel/ Ricardo Mayerhofer wrote: I started to use wicket some time ago, and I'm really enjoying it. Best framework ever. But I've some suggestions. I

Re: Wicket and CoC

2008-11-27 Thread Jeremy Thomerson
You can do exactly what you asked in less than 40 lines of code - and not be bound to the class name in the HTML (which you shouldn't do). Here's how: IN YOUR APPLICATION CLASS: @Override protected void init() { super.init(); registerConventionalComponent(feedbackPanel,

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-27 Thread Stefan Fußenegger
Hi Igor, I don't think IDataProvider is only about databases. There are other data sources and some return the total amount and the desired subset at the same time (Lucene as a famous example). Such data sources would really benefit of a single-query-approach. I faced this issue myself in a

javascript conflicts

2008-11-27 Thread Daniele Dellafiore
Hi all. I am using wicket-animator and I have discovered today a conflict with the wicket default component update via ajax. If a single component is added to the AjaxRequestTarget and I append a custom javascript via AjaxRequestTarget.appendJavascript() that affect the same component, i.e.

Re: Wicket and CoC

2008-11-27 Thread Nino Saturnino Martinez Vazquez Wael
COOL!!! :) Jeremy Thomerson wrote: You can do exactly what you asked in less than 40 lines of code - and not be bound to the class name in the HTML (which you shouldn't do). Here's how: IN YOUR APPLICATION CLASS: @Override protected void init() { super.init();

Re: Label Link item within a same table cell

2008-11-27 Thread Nicolas Castin
Hello, I had approxymatly the same think to do (with image in place of link / label). I created a custom panel handling the content of the cell, which allows more that one element into it. Regards On Thu, Nov 27, 2008 at 1:50 PM, simonm [EMAIL PROTECTED] wrote: I am drawing a table using

Wicket-Spring Injection

2008-11-27 Thread Arie Fishler
Hi, I have some injection related issues in my wicket application. 1. My session hold a bean (managed by the spring container) that is passed to it on construction of the session. It is not a Serializable object (some of the interfaces that this object is using are spring interfaces and not

Re: Hand on session code

2008-11-27 Thread Michael Sparer
the first possibility that comes to my mind is overriding the following method in your application: @Override protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { @Override

Hand on session code

2008-11-27 Thread Eyal Golan
Hi, In deployment, we set our own internal error page: getApplicationSettings().setInternalErrorPage(InternalErrorPage.class); and getExceptionSettings().setUnexpectedExceptionDisplay( IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE); Is there a quick way to get the type of the

Re: nice URL for forms

2008-11-27 Thread kan
Just a thought. Does it have any sense to make something like BookmarkablePageForm component? So, the component would be designed to use with form and takes Page.class (and maybe PageParameters which could be serialized as set of input type=hidden). It generates action attribute which points to

Re: Hand on session code

2008-11-27 Thread Eyal Golan
Thanks, but looking at WebRequestCycleProcessor I didn't see onRuntimeException method. We use 1.3.4 version Looking at AbstractRequestCycleProcessor:respond, I see the call: if (responseClass != internalErrorPageClass settings.getUnexpectedExceptionDisplay() ==

Re: Hand on session code

2008-11-27 Thread Dipu
this is what I do /** * @see org.apache.wicket.Application#newRequestCycle(org.apache.wicket.Request, * org.apache.wicket.Response) */ public RequestCycle newRequestCycle(final Request request, final Response response) { return new WebRequestCycle(this, (WebRequest)request,

Re: Hand on session code

2008-11-27 Thread Michael Sparer
What do you mean by saying you didn't see onRuntimeException in WebRequestCycleProcessor? If you didn't find it there it's because it's a method of its base class ;-) What I didn't mention when providing the code was that it's actually returning a Page (our internal server error page) and gets

Re: Label Link item within a same table cell

2008-11-27 Thread James Carman
I typically use Fragments for these kinds of situations, unless of course, the same type of component will need to be used elsewhere. Then, I use a custom Panel class. On Thu, Nov 27, 2008 at 8:01 AM, Nicolas Castin [EMAIL PROTECTED]wrote: Hello, I had approxymatly the same think to do (with

getting ip address from URIRequestTargetUrlCodingStrategy

2008-11-27 Thread Stefan Becker
hi, in my webapp i want to serve files from the filesystem to the user. so i coded something like this: mount(new URIRequestTargetUrlCodingStrategy(/files) { @Override public IRequestTarget decode(RequestParameters requestParameters) { final String fileId

TinyMCE in an Ajax loaded panel

2008-11-27 Thread Martijn Lindhout
Hi all, I searched nabble, but couldn't find any recent posts that brought me a solution to this problem: I have a page with two panels, a master/detail setup. The master has a list of items, the detail a TinyMCE editor. The details panel is invisible until the user clicks an item in the master

Re: Hand on session code

2008-11-27 Thread Eyal Golan
Thanks Dipu and Michael, Michael, you understood correctly. I used Dipu's solution as it looks nicer (no offend Michael :) ) However, I added a check for development / deployment. And this is my (almost) final method. /** * @see

Re: getting ip address from URIRequestTargetUrlCodingStrategy

2008-11-27 Thread Michael O'Cleirigh
Hi Stefan, You can get the IP address that sent the request like this: WebRequest wr = (WebRequest) RequestCycle.get().getRequest(); String originatingIPAddress = wr.getHttpServletRequest().getRemoteHost(); You can probably place it directly in the decode(...) method of your url coding

Re: Hand on session code

2008-11-27 Thread Michael Sparer
Nicer? Well it's quite the same with the difference that I overrode the cycle processor and Dipu just the cycle ... I suspect you didn't find the right method to override ;-) regards, Michael egolan74 wrote: Thanks Dipu and Michael, Michael, you understood correctly. I used Dipu's

Re: Hand on session code

2008-11-27 Thread Eyal Golan
I actually did find it afterward :) the ctrl+o in my eclipse confused me. :/ And I understood that it's the same Thanks anyway... I Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail

Re: Wicket-Spring Injection

2008-11-27 Thread Igor Vaynberg
On Thu, Nov 27, 2008 at 4:44 AM, Arie Fishler [EMAIL PROTECTED] wrote: Hi, I have some injection related issues in my wicket application. 1. My session hold a bean (managed by the spring container) that is passed to it on construction of the session. It is not a Serializable object (some of

Set format date inline

2008-11-27 Thread kan
I have a MyPojo with property java.util.Date someDate I use CompoundPropertyModelMyPojo Now I add components on my page, like add(new Label(someDate)) and it automagically uses IConvertor to convert from Date to string. But in some places of web-site I need print only 27/11/2008, in some places

RES: Set format date inline

2008-11-27 Thread Bruno Cesar Borges
@Override public IConverter getConverter(Class? type) { return MyConverter(); } -Mensagem original- De: kan [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 27 de novembro de 2008 14:57 Para: users@wicket.apache.org Assunto: Set format date

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-27 Thread Igor Vaynberg
On Thu, Nov 27, 2008 at 12:46 AM, Stefan Fußenegger [EMAIL PROTECTED] wrote: I don't think IDataProvider is only about databases. you started off with your core assumption being wrong. idataprovider was written exclusively for accessing databases. my thinking, at the time, was that 99% of

How can I instance home page myself

2008-11-27 Thread Kamil Hark
an Application class (and WebApplication) has method Class getHomePage() Why this method returns class instead of Page object? Now I'm limited to use non-argument constructor, I connot pass any dependiences and so on. Are there any posibilities to instance and return Page object? regards

RES: How can I instance home page myself

2008-11-27 Thread Bruno Cesar Borges
What kind of dependencies you want to pass on? If you want URL parameters, just put a PageParameters argument to the Page's constructor. Wicket will inject that automatically. If you want to inject objects from the Application instance, you can just get those from Page's constructor itself.

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-27 Thread Stefan Fußenegger
Hi Igor, thanks for implementing this minimal version. i totally agree with your reasoning. Is there any chance though that this goes into 1.3 branch as well? I'd really appreciate that. you mentioned that you implemented such a repeater yourself. didn't you use any navigation or did you write

Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Casper Bang
What attracts me to Wicket is how it tries to do as much in type-safe Java code as possible, so I was a bit surprised with the finding that the org.apache.wicket.authorization stuff is not based upon Enum and EnumSet but rather type-unsafe string tokens. Are there good reasons for this design

Re: RES: How can I instance home page myself

2008-11-27 Thread Kamil Hark
Yes I know that I can do it through Application but then it is very dificult to test. If I could inject args into constructur like below then it would be much better new MyPage(Foo foo){...} -- View this message in context:

Bug of Wicket when iterate the form using iterator()?

2008-11-27 Thread Valentine2008
Hi, I wrote the following code to print out all the children of the an input form. --- Iterator iterator = getInputForm().iterator(new Comparator() { public int compare(Object o1, Object o2) {

How to get all the children of a MarkupContainer?

2008-11-27 Thread Valentine2008
Use iterator(Comparator)? Or other ways? Thanks, Valentine -- View this message in context: http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20723938.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Nino Saturnino Martinez Vazquez Wael
A really good question. I've heard that it's because that it is a demo of how you could implement it. I share the exact same thoughts as you do about this. Casper Bang wrote: What attracts me to Wicket is how it tries to do as much in type-safe Java code as possible, so I was a bit surprised

RES: RES: How can I instance home page myself

2008-11-27 Thread Bruno Cesar Borges
You can always code your page in such way that makes it easy to be tested, like this: public MyPage() { setFoo(getApplication().getFoo()); } protected MyPage(IFoo foo) { setFoo(foo); } -Mensagem original- De: Kamil Hark [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 27 de

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-27 Thread Igor Vaynberg
On Thu, Nov 27, 2008 at 10:28 AM, Stefan Fußenegger [EMAIL PROTECTED] wrote: Hi Igor, thanks for implementing this minimal version. i totally agree with your reasoning. Is there any chance though that this goes into 1.3 branch as well? I'd really appreciate that. done you mentioned that

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Igor Vaynberg
because you cannot add custom enum values without editing source code. there is a version implemented using classes in wicketstuff somewhere. -igor On Thu, Nov 27, 2008 at 10:33 AM, Casper Bang [EMAIL PROTECTED] wrote: What attracts me to Wicket is how it tries to do as much in type-safe Java

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Igor Vaynberg
iterator() -igor On Thu, Nov 27, 2008 at 10:42 AM, Valentine2008 [EMAIL PROTECTED] wrote: Use iterator(Comparator)? Or other ways? Thanks, Valentine -- View this message in context: http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20723938.html Sent

RES: RES: How can I instance home page myself

2008-11-27 Thread Bruno Cesar Borges
By the way, you can implement an IPageFactory :-) -Mensagem original- De: Bruno Cesar Borges [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 27 de novembro de 2008 16:49 Para: users@wicket.apache.org Assunto: RES: RES: How can I instance home page myself You can always code your

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-27 Thread Igor Vaynberg
show us the full code please -igor On Thu, Nov 27, 2008 at 10:39 AM, Valentine2008 [EMAIL PROTECTED] wrote: Hi, I wrote the following code to print out all the children of the an input form. --- Iterator iterator = getInputForm().iterator(new

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Casper Bang
No but an application is designed for a given number of roles, what would you possibly accomplish by adding new roles without editing source code and account for the new behavior you are putting in? Seems to me the application would always need to be revised to work with these new roles (say

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Valentine2008
Can we get even the invisible children? Seems we cannot:-( igor.vaynberg wrote: iterator() -igor On Thu, Nov 27, 2008 at 10:42 AM, Valentine2008 [EMAIL PROTECTED] wrote: Use iterator(Comparator)? Or other ways? Thanks, Valentine -- View this message in context:

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-27 Thread Valentine2008
The getInputForm() will return an instance of Form class in Wicket. After creating the form, --- // 3. create, setup, and add the input form inputForm = new Form(inputForm); inputForm.setOutputMarkupId(true); add(inputForm);

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Igor Vaynberg
the problem is that the enum would have to live *inside* the wicketstuffauth code. so wicketstuffauth would be the library that would need to define the enum - and it doesnt know about your application specific roles. at least this was the issue when it was first being designed. i havent really

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Igor Vaynberg
iterator() does not check visibility. -igor On Thu, Nov 27, 2008 at 11:24 AM, Valentine2008 [EMAIL PROTECTED] wrote: Can we get even the invisible children? Seems we cannot:-( igor.vaynberg wrote: iterator() -igor On Thu, Nov 27, 2008 at 10:42 AM, Valentine2008 [EMAIL PROTECTED]

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-27 Thread Igor Vaynberg
i cannot put this into my ide and run it to confirm the error you are getting. -igor On Thu, Nov 27, 2008 at 11:22 AM, Valentine2008 [EMAIL PROTECTED] wrote: The getInputForm() will return an instance of Form class in Wicket. After creating the form, --- // 3. create,

Re: DateTimeField and java.util.Calendar

2008-11-27 Thread Eduardo Simioni
If you want Wicket to be competitive, you should think about better and centralized documentation. Many developer blogs is not documentation, an outdated wiki is not documentation, and definitely source code is not documentation. I'm saying all this, because, once again, I spent a lot of time to

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Valentine2008
But Component.get(pathString) will check the visibility and will return null if the child is invisible. Right? Thanks, Valentine igor.vaynberg wrote: iterator() does not check visibility. -igor On Thu, Nov 27, 2008 at 11:24 AM, Valentine2008 [EMAIL PROTECTED] wrote: Can we get

Re: Set format date inline

2008-11-27 Thread kan
Yes, I know. But it takes Class only. And I have several different formats (just date, date+time+tz, human readable date like 2 days ago and so on), how can I substitute a format in given piece of code like add(new Label(someDate))? 2008/11/27 Bruno Cesar Borges [EMAIL PROTECTED]: @Override

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Igor Vaynberg
no. why would it do that? visibility is a render-time condition, it has nothing to do with component hierarchy. -igor On Thu, Nov 27, 2008 at 12:01 PM, Valentine2008 [EMAIL PROTECTED] wrote: But Component.get(pathString) will check the visibility and will return null if the child is

Re: Set format date inline

2008-11-27 Thread Jeremy Thomerson
Not really the best solution, but you can create a different label for different formats that you want, i.e.: DateOnlyLabel (which overrides getConverter and always returns a converter that displays only the date) DateAndTimeLabel (etc) ala... public class DateOnlyLabel extends Label {

Re: Set format date inline

2008-11-27 Thread Igor Vaynberg
public class datelabel extends webcomponent { private string pattern; public datelabel(string id, imodeldate date, string pattern) { super(id, date); this.pattern=pattern; } protected void onComponentTagBody(markupstream s, componenttag t) { replacecomponenttagbody(s,t, new

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-27 Thread Valentine2008
Hi Igor, I understand. I cannot dump all my code here. It is too much. I will try to give you a runnable code. Now, I am using iterator() instead of iterator(Comparator) to bypass the problem. Thanks, Valentine igor.vaynberg wrote: i cannot put this into my ide and run it to confirm the

Markup other than HTML

2008-11-27 Thread Eyal Golan
Hi, I was asked today if it's possible to render a page to different format than HTML. I guess it is possible, but how one can do it? Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail

Re: Markup other than HTML

2008-11-27 Thread Jeremy Thomerson
@Override public String getMarkupType() { return xml; } -- Jeremy Thomerson http://www.wickettraining.com On Thu, Nov 27, 2008 at 2:30 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I was asked today if it's possible to render a page to different format than HTML. I

Re: Markup other than HTML

2008-11-27 Thread Jeremy Thomerson
Oops - sent early - override that in YourPage.java and then just make YourPage.xml - viola! On Thu, Nov 27, 2008 at 3:00 PM, Jeremy Thomerson [EMAIL PROTECTED] wrote: @Override public String getMarkupType() { return xml; } -- Jeremy Thomerson

Re: Markup other than HTML

2008-11-27 Thread Ernesto Reinaldo Barreiro
What else do you want to generate? For XML maybe this link give you a hint: http://www.jroller.com/wireframe/entry/wicket_feedpage As for generating other things (e.g. PDF)... One idea could be navigate the component hierarchy and produce some document out of it. Of course, for doing this you

[VOTE] End of Life wicket-contrib-gmap?

2008-11-27 Thread Jeremy Thomerson
I am starting to work on the WicketStuff reorg as the community voted to do. In doing so, I noticed that wicket-contrib-gmap is still set up to compile against 1.3.0-incubating-snapshot. Also, we know that Iulian has said he is no longer maintaining it. In light of this, I propose the following

[VOTE] Consistent naming for Wicket Stuff projects

2008-11-27 Thread Jeremy Thomerson
I am beginning the WS reorg as noted in previous emails. You can monitor progress here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/ As we move projects into the wicketstuff-core, I would like to see us rename them consistently, getting rid of the

Re: [VOTE] Consistent naming for Wicket Stuff projects

2008-11-27 Thread Timm Helbig
Am Thursday 27 November 2008 22:54:28 schrieb Jeremy Thomerson: [X] - YES - I would like consistent naming PS - I feel like I'm starting a lot of vote threads - should I not be? IMHO if you feel the need to do so, go ahead. I won't mind. Thank you for asking! Regards, Timm

Re: DateTimeField and java.util.Calendar

2008-11-27 Thread Bruno Borges
If you are working with Maven, you can set the Eclipse plugin to download the source for you, then you will have the JavaDoc while developing through this IDE. You can also buy the Wicket in Action book (no, Martijn is not giving me any money ... though I'd really appreciate a few dutch beers).

Re: [VOTE] Consistent naming for Wicket Stuff projects

2008-11-27 Thread Bruno Borges
[X] YES But I'd like to suggest to use wicket-stuff-myproject I like the 'stuff' word instead of 'contrib'... sounds more ... cool! :D cheers, Bruno Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it.

Re: [VOTE] End of Life wicket-contrib-gmap?

2008-11-27 Thread Bruno Borges
Create a branch named 'attic' and put dead projects there... :-) Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Thu, Nov 27, 2008 at 7:49 PM, Jeremy Thomerson

Re: DateTimeField and java.util.Calendar

2008-11-27 Thread jWeekend
Eduardo, See org.apache.wicket.extensions.yui.calendar.DateField if you want a popup DateTextField does not have a popup DateTimeField has fields for time (as well as date) All the javadoc seems to be http://repo1.maven.org/maven2/org/apache/wicket/wicket/ there .

Re: [VOTE] End of Life wicket-contrib-gmap?

2008-11-27 Thread Nino Saturnino Martinez Vazquez Wael
HI Jeremy [ X ] - YES, please create a branch in the Wicket Stuff repo just for I were handed over the code some time ago as I've participated on the project, but I think gmap2 are more developed and stable.. And I have no intention of having the two projects compete im thinking of gmap2, so

Re: [VOTE] Consistent naming for Wicket Stuff projects

2008-11-27 Thread Nino Saturnino Martinez Vazquez Wael
[ X ] - YES - I would like consistent naming Jeremy Thomerson wrote: I am beginning the WS reorg as noted in previous emails. You can monitor progress here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/ As we move projects into the wicketstuff-core, I

ImageButton picture.x and picture.y

2008-11-27 Thread Tim Squires
Hi, I'm trying to retrieve the x and y coords from a user click on an ImageButton. Can anyone tell me how to get these parameters in an onSubmit method? Currently I'm doing final IModelPicture picture = new AbstractReadOnlyModelPicture() { @Override

Re: ImageButton picture.x and picture.y

2008-11-27 Thread Nino Saturnino Martinez Vazquez Wael
Hi Tim You should get a grasp on models. But isnt it an imagearea (cant remember the exact name) or something you want? Image button is just a button which has a image... Tim Squires wrote: Hi, I'm trying to retrieve the x and y coords from a user click on an ImageButton. Can anyone tell

Re: ImageButton picture.x and picture.y

2008-11-27 Thread Nino Saturnino Martinez Vazquez Wael
maybe james patch can help you : http://www.nabble.com/Client-Side-Image-Map...-td20516107.html#a20516107 ? Otherwise it should be ImageMap already there.. Nino Saturnino Martinez Vazquez Wael wrote: Hi Tim You should get a grasp on models. But isnt it an imagearea (cant remember the exact

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Ned Collyer
Interestingly we used a similar approach with using classes as pseudo enums. Not being able to extend enums is a bit suckfull. igor.vaynberg wrote: the problem is that the enum would have to live *inside* the wicketstuffauth code. so wicketstuffauth would be the library that would need to

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Casper Bang
Yeah. First I actually didn't understand why until Igor pointed it out. I'm no longer using wicket-auth-roles, if one can live with the roles being defined along side the authorization code it works quite nicely (and with somewhat cleaner code). I ran into another issue however, trying to

Re: Set format date inline

2008-11-27 Thread Timo Rantalaiho
On Thu, 27 Nov 2008, kan wrote: I have a MyPojo with property java.util.Date someDate I use CompoundPropertyModelMyPojo Now I add components on my page, like add(new Label(someDate)) and it automagically uses IConvertor to convert from Date to string. But in some places of web-site I need

Re: [VOTE] Consistent naming for Wicket Stuff projects

2008-11-27 Thread James Carman
[X] YES - I would like consistent naming! On Thu, Nov 27, 2008 at 4:54 PM, Jeremy Thomerson [EMAIL PROTECTED] wrote: I am beginning the WS reorg as noted in previous emails. You can monitor progress here:

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Igor Vaynberg
this is where the classes variation comes in. class AdminRole extends UserRole - done -igor On Thu, Nov 27, 2008 at 6:56 PM, Casper Bang [EMAIL PROTECTED] wrote: Yeah. First I actually didn't understand why until Igor pointed it out. I'm no longer using wicket-auth-roles, if one can live with

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Igor Vaynberg
or even something cooler with interfaces and multiple inheritance... interface admin extends user,publisher {} -igor On Thu, Nov 27, 2008 at 7:57 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: this is where the classes variation comes in. class AdminRole extends UserRole - done -igor On Thu,

Re: [VOTE] Consistent naming for Wicket Stuff projects

2008-11-27 Thread Ned Collyer
[X] YES - I would like consistent naming! Contrib is a bit lame... could be gift or present.. but again - they are all lame. wicket stuff seems good. Makes sense too. I was thinking of making a post about all these vote threads :) I'm personally not a fan, but i think a vote page on the wiki

Re: getting ip address from URIRequestTargetUrlCodingStrategy

2008-11-27 Thread Stefan Becker
great! i didn't think it was THAT easy. i spend a whole day to find an answer to this, but was looking at the wrong places. thank you Original-Nachricht Datum: Thu, 27 Nov 2008 11:06:31 -0500 Von: Michael O\'Cleirigh [EMAIL PROTECTED] An: users@wicket.apache.org Betreff:

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-27 Thread Wayne Pope
you mentioned that you implemented such a repeater yourself. didn't you use any navigation or did you write that yourself? just wondering. i implemented a simple prev/next pager which is all that was required or that usecase. Matej's implementation from inMethods works perfectly. I suggest