Re: page without class

2009-11-13 Thread Linda van der Pal
Have you tried? I'd guess it should just work. Regards, Linda tubin gen wrote: can I create a page just with html and not write class ? I need some static html pages and writing java for those will be of no use .

Re: Adding wicket components to a fixed container

2009-10-23 Thread Linda van der Pal
Well it should be possible (if I understand correctly what you want). For example I have a screen with a panel where I want to show several different kinds of information. I've named the panel viewdetails and fill it with either a panel where you can edit the details or with a panel where you

Re: where download inmethod datagrid

2009-10-23 Thread Linda van der Pal
It's part of wicketstuff now: http://wicketstuff.org/confluence/display/STUFFWEB/Home Regards, Linda Roman Ilin wrote: Hi *, I saw some screen shots of inmethod datagrid components. I see some messages in this mailing list as well writing people are using them. But I can't find it following

Small bug in inmethod datagrid

2009-10-22 Thread Linda van der Pal
I've just reported a bug with the inmethod datagrid: http://wicketstuff.org/jira/browse/GRID-2 I've added a quickstart as well. When I try to resize the columns of a datagrid with both columns that are lightweight and those that are not, the position of the table borders changes, but the text

Re: How to throw new PageExpiredException?

2009-10-21 Thread Linda van der Pal
When I ran into this problem myself with 1.4-rc4, I remembered this message and upgraded to rc7. But I still get the Unexpected RuntimeException page instead of my custom SessionExpiredPage. Am I doing something wrong? Regards, Linda public class WicketApplication extends

Column filtering on inmethod datagrid

2009-10-20 Thread Linda van der Pal
I've tried to add column filtering to the inmethod datagrid by creating a new class ChoiceFilteredPropertyColumn which extends the new class FilteredPropertyColumn, which extends the inmethod PropertyColumn and implements the new interface IFilteredColumn. In other words, I've merged two sets

inmethod IDataSource

2009-10-19 Thread Linda van der Pal
Hello, I have a problem with the inmethod IDataSource. I've provided my own implementation for it, including implementing the query method. But for some reason, it only seems to want to return one row, while I know there should be two. Can anybody tell me what I might be doing wrong? It must

Re: inmethod IDataSource

2009-10-19 Thread Linda van der Pal
*/ public void setTotalCount(int count); -Matej On Mon, Oct 19, 2009 at 2:52 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Hello, I have a problem with the inmethod IDataSource. I've provided my own implementation for it, including implementing the query method

Re: inmethod IDataSource

2009-10-19 Thread Linda van der Pal
count of items */ public void setTotalCount(int count); -Matej On Mon, Oct 19, 2009 at 2:52 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Hello, I have a problem with the inmethod IDataSource. I've provided my own implementation

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Linda van der Pal
I'm certain there is a 1.4 version, as I have it downloaded. Try using this URL to get it from SVN: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/releases/wicketstuff-core-1.4-rc7/inmethod-grid-parent Regards, Linda Stefan Lindner wrote: I found inmethod datagrid at

Re: Highlighting selected row in AjaxFallbackDefaultDataTable

2009-10-09 Thread Linda van der Pal
I solved this problem by switching over to the inmethod datagrid. Which has, of course, given me other problems that I still need to solve. Regards, Linda Roman Ilin wrote: Hello *, is it possible to highlight selected row without rewrithing populateItem() or something similar? If not then

Re: InvalidUrlException - how to show 404 page

2009-10-02 Thread Linda van der Pal
I haven't tried such a thing yet, but the last chapter of Wicket in Action describes how to do such things. Here's the example they give for responding with different error pages for specific errors. public class CheesrRequestCycle extends WebRequestCycle { public

Re: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Linda van der Pal
I created a deteletButton as follows. I have a DeleteButton innerclass, and a method that adds this button to the panel that is shown in the table. private class DeleteButton extends Button { private static final long serialVersionUID = 1L; public DeleteButton(final String id,

Re: AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Linda van der Pal
, because wicket is unable to populate an item (I assume the deleted one) How can I tell wicket to reload the datagrid because something in the DB changed. - Ursprüngliche Mail Von: Linda van der Pal lvd...@heritageagenturen.nl An: users@wicket.apache.org Gesendet: Mittwoch, den 30

Re: AW: AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Linda van der Pal
AdministratorDataProvider()) { } thanks! - Ursprüngliche Mail Von: Linda van der Pal lvd...@heritageagenturen.nl An: users@wicket.apache.org Gesendet: Mittwoch, den 30. September 2009, 13:37:44 Uhr Betreff: Re: AW: How would you realize a delete-Link in a datagrid row? I used

Difference between DropDownChoice and ListMultipleChoice from the eyes of an IVisitor

2009-09-25 Thread Linda van der Pal
I've used the ShinyFormVisitor that Alastair Maw came up with (http://londonwicket.googlecode.com/files/LondonWicket-FormsWithFlair.pdf) to format the validation errors on my form. But now I'm running into something that I can't explain. I have two complex fields on my form, one a

Re: Truncating DataTable content

2009-08-25 Thread Linda van der Pal
? Linda van der Pal wrote: Thanks for the ideas, but the truncating itself is not the main problem. (I could easily truncate the data in the SortableDataProvider.) The main problem that requires met to dive deeply into the code is my requirement to also show the full data in a tooltip

Re: Truncating DataTable content

2009-08-24 Thread Linda van der Pal
wrote: Create some kind of generic StringTruncatingModel that does the ... truncation on getObject(). In DataTable.populateItem(), wrap the row model in a StringTruncatingModel, before passing to the Label being used to show the string? Linda van der Pal wrote: I thought it would be a cool idea

Re: Blank page problem

2009-08-24 Thread Linda van der Pal
My guess would be that the page doesn't render at all, therefore also not rendering the Wicket Ajax Debug label and link. Regards, Linda Arie Fishler wrote: Hi, I have a page rendering all sorts of stuff. I do it on development so I see the Wicket Ajax Debug label. From time to time, not on

Re: How do I get my DropDownChoice to refresh the list of choices with Ajax?

2009-08-20 Thread Linda van der Pal
through AJAX, it reloads the list of authors. Regards, Bas - Original Message - From: Linda van der Pal lvd...@heritageagenturen.nl To: users@wicket.apache.org Sent: Wednesday, August 19, 2009 4:54 PM Subject: How do I get my DropDownChoice to refresh the list of choices with Ajax

Truncating DataTable content

2009-08-20 Thread Linda van der Pal
I thought it would be a cool idea to truncate the data in my table, so the data isn't spread over several lines in the table row. It should then be possible to read the complete content in a tooltip. After digging into the code of the AjaxFallbackDefaultDataTable I found that to do this I

How do I get my DropDownChoice to refresh the list of choices with Ajax?

2009-08-19 Thread Linda van der Pal
I have a page with a dropdown list on it with authors. If I enter a new book I want my fields to be filled based on the ISBN. This works just fine. But now I want those fields to be filled with data I collect from the internet, meaning that it isn't always already in my database, and therefor

Re: Ajax based filling of form

2009-08-13 Thread Linda van der Pal
. What's the problem? jk On Wed, Aug 12, 2009 at 04:27:41PM +0200, Linda van der Pal wrote: I have a panel with a form. This form has several fields, one of which is the ISBN of a book. The fields are filled by a CompoundPropertyModel if the user is editing his previous entry, and they are empty

Re: Ajax based filling of form

2009-08-13 Thread Linda van der Pal
member. Something like this would work: add(new TextField(title, new PropertyModel(this, book.title))); jk On Thu, Aug 13, 2009 at 09:15:50AM +0200, Linda van der Pal wrote: Well the model doesn't update. (Not that I'd expect it to.) Here's some pieces of my code I deem relevant to the problem

Ajax based filling of form

2009-08-12 Thread Linda van der Pal
I have a panel with a form. This form has several fields, one of which is the ISBN of a book. The fields are filled by a CompoundPropertyModel if the user is editing his previous entry, and they are empty if the user is adding a new book. Simply entering data or updating it and then submitting

Re: Beginner problems with TabbedPanel

2009-07-29 Thread Linda van der Pal
Try adding the following line to that delteBtnClick method (as the last line): target.addComponent(tabPanel); Linda Gajo Csaba wrote: This is what the link does in Wicket's source code: new Link(linkId) { private static final long serialVersionUID = 1L; @Override

Re: [OT] Continue to support Wicket 1.2 in WicketForge

2009-07-27 Thread Linda van der Pal
I've only ever seen questions on this list about 1.3 and 1.4 (in the few months I've been on it, that is), so I'm guessing that if there are users of 1.2 they are either knowledgable enough not to have questions, or they're simply not on this list. Regards, Linda Maarten Bosteels wrote: We

Re: the effective ways of wicket models to access database

2009-07-27 Thread Linda van der Pal
Well the reason the book leaves it open is that it really is up to you how you get your DAOs. That has nothing to do with Wicket anymore and depends wholly on your own preferences. Regards, Linda David Chang wrote: Hello, I am reading Wicket in Action to learn Wicket. The example on Page 99

Re: Check if ajax request in HeaderContributor

2009-07-22 Thread Linda van der Pal
So you are rendering the entire page again? Because usually you only target certain areas of the page, so the headers don't come into the picture. Linda Marieke Vandamme wrote: Hello, How do I test if the request is an ajax request in the HeaderContributor? Because I don't want to call

Re: Ajax-y interactions inside a form

2009-07-22 Thread Linda van der Pal
Have you tried adding an AjaxFormComponentUpdatingBehavior? Something like this: dropdown.add(new AjaxFormComponentUpdatingBehavior(onchange) { private static final long serialVersionUID = 1L; @Override protected void onUpdate(final AjaxRequestTarget target) {

Re: Ajax-y interactions inside a form

2009-07-22 Thread Linda van der Pal
.) Andrea Aime wrote: Linda van der Pal ha scritto: Have you tried adding an AjaxFormComponentUpdatingBehavior? Something like this: dropdown.add(new AjaxFormComponentUpdatingBehavior(onchange) { private static final long serialVersionUID = 1L; @Override protected void onUpdate(final

Re: best or common practice for application plug-ins

2009-07-20 Thread Linda van der Pal
Seeing how it looks like you want to create your own CMS, you might want to have a look at Hippo CMS. They've built it in Wicket AFAIK. Regards, Linda Sam Stainsby wrote: On Mon, 20 Jul 2009 09:10:57 +0200, Per Lundholm wrote: Well, plug-ins, are they compile-time or run-time? Sounds

Re: How to get context path of Application

2009-07-17 Thread Linda van der Pal
What is it exactly you are trying to do? Linda Gerald Fernando wrote: How to get context path of Application Thanks7Regards, Gerald A No virus found in this incoming message. Checked by AVG - www.avg.com Version:

Re: How to get context path of Application

2009-07-17 Thread Linda van der Pal
that the system could not find the file.but i give a absolute path it is working so i need to get my tomcat path to access that file. How can i access that file?Is there any other way. am expecting your reply urgent. Thanksregards, Gerald A On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal lvd

Re: how to Get Context path

2009-07-17 Thread Linda van der Pal
Per, Look at the reply he gave me to that same question. Linda Per Newgro wrote: Gerald Fernando schrieb: Hello Friends, how to get the context path of current class ThanksRegards, Gerald A Can you please explain what you mean with context path of current class? Cheers Per

Re: How to throw new PageExpiredException?

2009-07-16 Thread Linda van der Pal
A quote from Wicket in Action: = The three custom error pages can be set in the init method of your Application using the application settings. Here’s an example: @Override protected void init() { IApplicationSettings settings = getApplicationSettings();

Re: what is wicket

2009-07-14 Thread Linda van der Pal
Have a look at the documentation: http://wicket.apache.org/introduction.html Linda Gerald Fernando wrote: Hello Friends, Am Gerald, new to wicket. can anyone say about wicket and advantages over other technologies it is very useful to my next step. please help me ThanksRegards, Gerald A

Re: xml+wicket component

2009-07-08 Thread Linda van der Pal
So is the XML replacing a database? Or is it meant more like internationalization? Regards, Linda Gerald Fernando wrote: Hi mark, i dont have sample code am very new to wicket. my requirement is that i think like option A i have a xml file which has first name,last name and middle name

Re: xml+wicket component

2009-07-08 Thread Linda van der Pal
Wicket in Action, it will explain most about repeaters and models and showing data on a page. Regards, Linda Gerald Fernando wrote: our database data comes as xml file. How do i display it in client side using wicket On Wed, Jul 8, 2009 at 3:18 PM, Linda van der Pal lvd...@heritageagenturen.nl

Re: Model Question

2009-07-07 Thread Linda van der Pal
Is there a Calendar object under the covers somewhere? Cause it looks like a conversion error, seeing how the months start counting from zero in the Calendar object. Regards, Linda jpalmer1...@mchsi.com wrote: I have the following code to allow the user to select the date that a report is to

Re: [OFF TOPIC] Java desktop applications

2009-06-12 Thread Linda van der Pal
Try reading Filthy Rich Clients by Chet Haase and Romain Guy. That will at least help with the nice-looking part. Regards, Linda Jeremy Thomerson wrote: I would like to build a nice-looking java desktop application. I hope that isn't an oxymoron :). I have built some desktop apps before -

Re: ListMultipleChoice and HashSet

2009-06-10 Thread Linda van der Pal
Thanks for the help Igor! I was sure I had already tried to add the friends = new HashSetUser(); line to my constructor and that it didn't work. Apparently I screwed up somehow, because it is working after all. Regards, Linda Linda van der Pal wrote: I've created a quickstart and attached

Re: ListMultipleChoice and HashSet

2009-06-09 Thread Linda van der Pal
guesses, but I'd rather do it right the first time. Regards, Linda Linda van der Pal wrote: Well it's unlikely to be a bug in Wicket (not that I was expecting one). When I tried to make a quickstart, the quickstart didn't show the error. It worked as I expected in the first place. So now I'm off

Re: Ajax and LoadableDetachableModel

2009-06-09 Thread Linda van der Pal
Did you explicitly detach the model? Regards, Linda Luther Baker wrote: Quick question regarding a blog engine I'm working on: my user is editing a blog Post and gets to the Category section. Category is implemented with a DropDownChoice and LoadableDetachableModel. For convenience - I also

Re: ListMultipleChoice and HashSet

2009-06-08 Thread Linda van der Pal
a setter that takes a set as an argument in your domain model. -igor On Wed, Jun 3, 2009 at 11:57 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Igor Vaynberg wrote: need to see more of the stacktrace -igor This is the entire stacktrace that is shown

Re: ListMultipleChoice and HashSet

2009-06-05 Thread Linda van der Pal
Igor Vaynberg wrote: so looks like you are using a set as the model object but dont have a setter that takes a set as an argument in your domain model. -igor On Wed, Jun 3, 2009 at 11:57 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Igor Vaynberg wrote: need to see more

Re: ListMultipleChoice and HashSet

2009-06-04 Thread Linda van der Pal
Igor Vaynberg wrote: need to see more of the stacktrace -igor This is the entire stacktrace that is shown: WicketMessage: Error calling method: public void nl.lunaris.bookdb.model.database.User.setFriends(java.util.Set) on object: User: Test Root cause:

ListMultipleChoice and HashSet

2009-06-03 Thread Linda van der Pal
I tried setting the model of a ListMultipleChoice to a HashSet (by using a CompoundPropertyModel and the id of the HashSet). The list of possible choices was an ArrayList. It shows my selected choices nicely. But I'm getting an error when I want to save the data. So I'm guessing the LMC

Re: Data getting lost upon form submission

2009-06-02 Thread Linda van der Pal
I just thought of something, might this be a serialization problem? And if so, any clue on how I can solve it? Linda. Linda van der Pal wrote: Forgot to copy this line (which came just before the start of the form): setDefaultModel(new CompoundPropertyModelUser(user)); Linda van der Pal

Re: Data getting lost upon form submission

2009-06-02 Thread Linda van der Pal
messages in the output? On Tue, Jun 2, 2009 at 6:13 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: I just thought of something, might this be a serialization problem? And if so, any clue on how I can solve it? Linda. Linda van der Pal wrote: Forgot to copy this line (which came just

Re: Data getting lost upon form submission

2009-06-02 Thread Linda van der Pal
(view the source code): http://www.wicketstuff.org/wicket13/forminput/ On Fri, May 29, 2009 at 5:39 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: I am once again making some error in my thinking. I'm trying to edit a user in a form, but for some reason not all the values are passed

Re: Data getting lost upon form submission

2009-06-02 Thread Linda van der Pal
can get it working. On Tue, Jun 2, 2009 at 7:14 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: That seems to be even worse than CheckBox, as now it doesn't even show the roles that are saved in the database anymore. (Which it did do before with the CheckBox.) Linda James Carman

Data getting lost upon form submission

2009-05-29 Thread Linda van der Pal
I am once again making some error in my thinking. I'm trying to edit a user in a form, but for some reason not all the values are passed on upon submitting. Can anybody have a look and point me in the right direction? When I save the data I can see the name and the password, but not the

Re: Data getting lost upon form submission

2009-05-29 Thread Linda van der Pal
Forgot to copy this line (which came just before the start of the form): setDefaultModel(new CompoundPropertyModelUser(user)); Linda van der Pal wrote: I am once again making some error in my thinking. I'm trying to edit a user in a form, but for some reason not all the values are passed

Re: Wicket meeting in Amsterdam?

2009-05-26 Thread Linda van der Pal
://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.html Any other Amsterdamers interested in such a meetup? Francisco 2009/4/29 Linda van der Pal lvd...@heritageagenturen.nl: Who would be interested in a meeting in Amsterdam? We talked about it before in several discussions, but I thought

Re: How to manipulate values in a data table?

2009-05-06 Thread Linda van der Pal
Turn it into an object with that status as an integer and a name as String? Then the toString should return the name. You could possibly even use an enum. Linda HHB wrote: Hey, I have a message class that has a status (which it is an integer) to indicate whether the message has been sent

Re: Maven setup

2009-05-06 Thread Linda van der Pal
For more information about Maven, check out this online book: http://www.sonatype.com/books/maven-book/pdf/maven-definitive-guide.pdf Regards, Linda Frank Tegtmeyer wrote: Hi, does anybody have a Wicket quickstart project updated to the latest versions? I am new to Java, to Maven and to

Re: Add a ui lock page over the page while waiting for response

2009-05-06 Thread Linda van der Pal
Back when I was programming in jsp I solved this by disabling the button after clicking it (because it would redirect after processing the data). Not sure how I'd do such a thing with Wicket. Linda. Matthias Keller wrote: Hi We have a web form which does some very extensive backend

Re: How to append JavaScript to a link?

2009-05-05 Thread Linda van der Pal
deleteButton.add(new SimpleAttributeModifier(onclick, return confirm('Are you sure?');)); HHB wrote: Hey, The last cell in a data table is a link (that is contained in a form) that will delete the row. How to append JavaScript code that will display a confirmation dialog? Thanks for help and

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-04 Thread Linda van der Pal
field on it - because you told it to use the publisher field. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 2:31 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: columns[3] = new ChoiceFilteredPropertyColumn(new ModelString(Publisher), name, publisher

Re: Tools for Managing a Wicket Project

2009-05-01 Thread Linda van der Pal
Sonar is a tool that measures code quality, based on a lot of other tools like PMD, CheckStyle, Cobertura, and others. I've just started using it and it's very good. You should be able to get Effective Java at all the better bookstores and otherwise online at places like Amazon.com.

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-01 Thread Linda van der Pal
implements IFilterStateLocator { private final transient ListBookListData list; private Publisher publisherFilter = new Publisher(); ... } Linda van der Pal wrote: Are there any good examples out there that show how to use ChoiceFilteredPropertyColumn and FilterToolbar? I've

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-01 Thread Linda van der Pal
? extends Y filterChoices) Regards, Linda Linda van der Pal wrote: Could anybody tell me what I'm doing wrong? My code compiles just fine, but I get a runtime exception saying that the Publisher class doesn't have a publisher attribute. (Which is correct, it has a name and an id attribute.) What

Wicket meeting in Amsterdam?

2009-04-29 Thread Linda van der Pal
Who would be interested in a meeting in Amsterdam? We talked about it before in several discussions, but I thought it might attract more notice in it's own thread. And also what kind of meeting would you like it to be? (Social, unconference, sessions, code reviews, something else entirely?)

ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-04-29 Thread Linda van der Pal
Are there any good examples out there that show how to use ChoiceFilteredPropertyColumn and FilterToolbar? I've already looked at wicket-phonebook, ut for some reason the FilterToolbar they use doesn't require the FilterForm as an argument, whereas that is required. They probably use an older

Re: Which repeater to use for my case?

2009-04-29 Thread Linda van der Pal
I don't see why you should change from PageableListView (unless it is for entirely different reasons, like the size of your list). I have in fact just programmed such functionality with a PageableListView. (Although I didn't use a modal window, but a tabbedpanel to show the details.)

Re: How to get an i18n message?

2009-04-27 Thread Linda van der Pal
Here's an example from my own code: private static final String SQLERROR_GET = new ResourceModel(error.sqlException.select).getObject(); My properties.xml file contains a key that is called error.sqlException.select. This string is an error message that I later on add to my

Re: Basic help please

2009-04-22 Thread Linda van der Pal
I think you should detach the model of the contacts and then add the contacts to the target. Linda. HHB wrote: Hey, I have a panel that consists of two parts: the first lists groups names. the second lists the contacts of a group, which gets populated upon clicking on the group name (via

Re: [poll] Interest in regular Deventer Wicket meetup?

2009-04-20 Thread Linda van der Pal
Well I was discussing having a meeting in Amsterdam, though not quite yet on a regular basis. And I see no reason not to have them in both locations. I'd probably be able to attend in Deventer once, but certainly not on a regular basis. Regards, Linda jeroen dijkmeijer wrote: +1 First of

Re: [OT] Wicket spirited conference?

2009-04-17 Thread Linda van der Pal
Well we could just set a date somewhere in the future and just organize something. I have no idea how large the Wicket community in the Netherlands is (I'm guessing the numbers were a bit skewed at the one meeting I was at, due to international guests who attended ApacheCon). But if the group

Re: [OT] Wicket spirited conference?

2009-04-17 Thread Linda van der Pal
If you want sessions, a sponsor will have to be found for a room (and a beamer). nino martinez wael wrote: For me it had to have some sessions etc, I'll be happy to on something. But otherwise it's hard to justify.. regadrs Nino 2009/4/17 Linda van der Pal lvd...@heritageagenturen.nl

Re: [poll] Interest in regular Deventer Wicket meetup?

2009-04-17 Thread Linda van der Pal
-1 I'd love to come, but I live near Amsterdam, so it would be two hours by train for me. Not quite feasible. Linda. Martijn Dashorst wrote: I want to poll if there is an interest in a regular Wicket meetup in Deventer, the Netherlands. We can only host at most ~20 people, so I expect this

Re: [OT] Wicket spirited conference?

2009-04-16 Thread Linda van der Pal
JAOO is a very good conference too. Regards, Linda. Martijn Dashorst wrote: devoxx, øredev and javazone are the primary conferences that come to mind. Martijn On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi I know this is off topic, but I were

Re: Just showing rating results

2009-04-10 Thread Linda van der Pal
It shouldn't be too hard to write one. It would just be a component that shows an image then. The html would be something like this: html body wicket:panel img wicket:id=rating/ /wicket:panel /body /html And the java file would be something like this: public class RatingPanel extends Panel {

Re: Adding a confirmation popup

2009-04-10 Thread Linda van der Pal
iinterfere with your onclick JS. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Apr 10, 2009 at 3:38 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: In the book Wicket in Action I found this example: public class MyPage extends WebPage { public MyPage() { Link link

Re: Adding a confirmation popup

2009-04-10 Thread Linda van der Pal
Thanks to you both, now at least I know what to experiment with. Regards, Linda Serkan Camurcuoglu wrote: I think it should be input type=submit instead of button, or you should add form submit javascript code into the onclick handler.. Linda van der Pal wrote: I've put it on a button

authorizing a tab

2009-04-07 Thread Linda van der Pal
I'm trying to disable a tab in a TabbedPanel based on authorization. I'm using wicket-auth-roles, and it works in other places, for example for buttons. Could anybody tell me what I'm doing wrong? The tab just keeps on showing, and if you click on it you go to a page that states that you don't

Image localization

2009-04-02 Thread Linda van der Pal
Hi, I've got an image called bookshelf.png with some text in it. I've localized my application and so I created a second image with the same text in Dutch, called bookshelf_nl.png. I'm adding the image to the page with add(new Image(bookshelf, new ResourceReference(HomePage.class,

Re: Image localization

2009-04-02 Thread Linda van der Pal
Thanks, that does indeed work. :) Linda. nino martinez wael wrote: im just doing this : add(new Image(weigth, WeigthIndex.png)); 2009/4/2 Linda van der Pal lvd...@heritageagenturen.nl: Hi, I've got an image called bookshelf.png with some text in it. I've localized my application and so

PagingNavigator with buttons instead of links

2009-04-02 Thread Linda van der Pal
Not sure if anybody would be interested, but I built a new kind of PagingNavigator with buttons instead of links. (As I wanted to put images on buttons, without having to create the entire buttons and all the look and feel that goes with it.) If people are interested I could clean up the code

Re: How To Download Excel File?

2009-03-31 Thread Linda van der Pal
Not related to Wicket, but this might be a start: http://api.openoffice.org/ Regards, Linda Wadi Jalil Maluf wrote: Hi All, I would like to know how can I put a link into a page so when the user clicks I fetch some data from database , export it to Excel so the user directly downloads an xls

Re: How to secure a Wicket 1.4 application?

2009-03-27 Thread Linda van der Pal
I'm still working on this problem myself. I'm still trying to combine wicket-auth-roles with JAAS and Glassfish. I'll let you know when I succeed. :) Regards, Linda Christian Helmbold wrote: Hello, what would be your prefered way to secure a Wicket 1.4 application? Spring Security and

Re: FormComponentPanel woes

2009-03-26 Thread Linda van der Pal
Hi Did you override onBeforeRender and convertInput? Regards, Linda triswork wrote: Hi I am getting really frustrated here because I can't figure out what I am doing wrong. I am creating a new TextArea form component that is limited to a particular number of characters. The trouble is, that

Re: FormComponentPanel woes

2009-03-26 Thread Linda van der Pal
I found it in the book Wicket in Action. triswork wrote: Hi Linda, No, I haven't :( I didn't realise I had to... Do you know where I can find some documentation explaining this? Thanks T Linda van der Pal wrote: Hi Did you override onBeforeRender and convertInput? Regards, Linda

Re: FormComponentPanel woes

2009-03-26 Thread Linda van der Pal
unfortunately. The javadocs do mention those two methods, but it seems targeted at compound components. Mine is pretty simple. I just want to decorate my textarea with some text and some Javascript... Linda van der Pal wrote: I found it in the book Wicket in Action

Re: FormComponentPanel woes

2009-03-26 Thread Linda van der Pal
Arg, I wanted to make my changes bold. But now I see stars. Not sure if you get those too, but if you do: leave out the stars :) Linda van der Pal wrote: quote: To keep the models of the nested components and the top component synchronized, we need to override two methods: onBeforeRender

Re: Thanks everybody for attending the meetup

2009-03-25 Thread Linda van der Pal
I had a really good evening yesterday. Very good presentations! I'm really sorry I had to leave before the end (in order to be home at a halfway decent hour). Maybe next time we can have a few less presentations so there will be some time left for socializing? (Although I realise that it

wicket-auth-roles documentation

2009-03-24 Thread Linda van der Pal
Quick question, where can I find the documentation for wicket-auth-roles? So far all I've been able to find is where I could download it. Regards, Linda - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: wicket-auth-roles documentation

2009-03-24 Thread Linda van der Pal
Thanks! Martijn Dashorst wrote: There are examples in the Wicket-examples project. And Wicket in Action has a short chapter on wicket security, together with a section on wicket-auth-roles. Martijn On Tue, Mar 24, 2009 at 9:53 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Quick

Re: Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread Linda van der Pal
You'll just have to wait for them to surprise you! ;) Daan van Etten wrote: What's the surprise?! I'm very curious now, can't wait! See you all tonight... Regards, Daan van Etten Op 24 mrt 2009, om 10:22 heeft Martijn Dashorst het volgende geschreven: The Apache Wicket Meetup in Amsterdam

HTML tags case sensitive in Wicket?

2009-03-24 Thread Linda van der Pal
Is it true that HTML tags have become case sensitive in Wicket? I just tried to link to a page that I knew existed TestPage.html with a wicket link. It gave me a resource not found message when I had the following link: wicket:link A HREF=TestPage.htmlTest/A /wicket:link If this is true, is

wicket-security SVN?

2009-03-20 Thread Linda van der Pal
Does anybody know why I can't connect to the wicket-security SVN repository? When I try to connect to it I get the message: Error validating location: org.tigris.subversion.javahl.ClientException: Bad URL passed to RA layer svn: URL

Re: wicket-security SVN?

2009-03-20 Thread Linda van der Pal
/wicket-security is the location for wicket-security afaik. Martijn On Fri, Mar 20, 2009 at 4:07 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Does anybody know why I can't connect to the wicket-security SVN repository? When I try to connect to it I get the message: Error validating

Re: [NEWBIE] How to do if... else... switch... in wicket html ?

2009-03-17 Thread Linda van der Pal
You don't do it in the HTML, but in the java code. So you create a component that takes care of the if-else for you. Linda Ista Pouss wrote: Hi, What is the best technique to do some if else and so on with wicket ? I need a html with something like that (stupid and naïve approch) :

Re: [NEWBIE] How to do if... else... switch... in wicket html ?

2009-03-17 Thread Linda van der Pal
It sounds like you want something like this: File.html: div wicket:id=labeldadada/div File.java: boolean again = false; // put your logic here if (again) { add(new Label(label, Very well!); } else { add(new Label(label, Very good!); } Ista Pouss wrote: Thanks all. Yes, I see there

Re: [NEWBIE] How to do if... else... switch... in wicket html ?

2009-03-17 Thread Linda van der Pal
Then you do indeed have to work with the visibility. Ista Pouss wrote: 2009/3/17 Linda van der Pal lvd...@heritageagenturen.nl: It sounds like you want something like this: File.html: div wicket:id=labeldadada/div File.java: boolean again = false; // put your logic here if (again

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Linda van der Pal
When you hide the top bar, do you also set setOutputMarkupPlaceholderTag to true? (If not, the Ajax-code can't find the component anymore.) Linda Anton Veretennikov wrote: Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Linda van der Pal
Hmm, is the topbar a separate component? If so you'll simply have to add it to the target as well. Anton Veretennikov wrote: Thank you, Linda. I don't hide it. It hides itself. I suppose it must show itself again if rowsCount rowsPerPage. -- Tony. On Mon, Mar 16, 2009 at 3:51 PM, Linda van

Re: building a wicket app with maven 1

2009-03-13 Thread Linda van der Pal
Maven2 handles transitive dependencies, meaning that if a project you are dependent on is dependent on other projects, Maven will add them to the classpath. So that's why you didn't have to add that jar manually, Maven did it for you. I don't think Maven1 had this functionality. Linda

Generics question

2009-03-13 Thread Linda van der Pal
This is not really Wicket related, but I don't quite know where else to ask this. The question is: why won't this compile? // I define a model IModelListSubgenre subgenreModel = new AbstractReadOnlyModelListSubgenre() { ... } // Here I try to use the model FieldSwitchPanel subgenrefield =

  1   2   >