Re: Anchors in Wicket?

2008-06-11 Thread Thijs
The component is any wicket component in the same page or next page if you know that component. What you are doing, an anchor in a different page, I've solved by writing my own subclass of link where I append the '#rsvp' myself. Michael Mehrle schreef: I don't get it - what is the

beginner question about models when having more than one component of the same type on the same page

2008-06-11 Thread Peter Eriksson
Hello, I have just begun to use wicket and so far I am very impressed with the framework. I have a question about best practice to solve a problem. I have a component (wicket panel) that contain contact information (like name, address, email, phone, etc) and on a specific web page I want to have

Re: beginner question about models when having more than one component of the same type on the same page

2008-06-11 Thread Martin Makundi
Can you paste the code for better insight into your problem? 2008/6/11 Peter Eriksson [EMAIL PROTECTED]: Hello, I have just begun to use wicket and so far I am very impressed with the framework. I have a question about best practice to solve a problem. I have a component (wicket panel) that

Re: beginner question about models when having more than one component of the same type on the same page

2008-06-11 Thread Maurice Marrink
http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-LocalizationandSkinningofApplications Maurice On Wed, Jun 11, 2008 at 8:49 AM, Martin Makundi [EMAIL PROTECTED] wrote: Can you paste the code for better insight into your problem? 2008/6/11 Peter Eriksson [EMAIL PROTECTED]: Hello,

Re: scriptaculous toaster

2008-06-11 Thread Nino Saturnino Martinez Vazquez Wael
Ryan Sonnek wrote: if we reach a point where there are several contributed scriptaculous components, i think it would make sense to create a wicketstuff-scriptaculous-sandbox project that can house them all. +1, if we get to that... the sync and queue methods should be moved off of the

Re: How to update parent component from a panel?

2008-06-11 Thread freak182
Hello Timo, I already rip out your patch and run the testcase it worked but how can i implement/intgerate to my project...do you have a working example project for that? Thanks a lot..Cheers :) Timo Rantalaiho wrote: On Tue, 10 Jun 2008, freak182 wrote: Thats a great patch...it is already

Re: beginner question about models when having more than one component of the same type on the same page

2008-06-11 Thread Peter Eriksson
HTML for the panel ((ContactPanel.html): html xmlns:wicket wicket:panel table tr tdspan wicket:id=nameLabel/span/td tdspan wicket:id=name/span/td /tr tr tdspan wicket:id=userNameLabel/span/td tdspan

Re: How to send response without HTML code

2008-06-11 Thread Johan Compagner
See the request targets that set a http status code (cant remember the exact name) On 6/11/08, Milan Křápek [EMAIL PROTECTED] wrote: Hello, I have newbie question. I am working on application that must be able to process two type of request. The users requests (send them some html pages in

How to send response without HTML code

2008-06-11 Thread Milan Křápek
Hello, I have newbie question. I am working on application that must be able to process two type of request. The users requests (send them some html pages in response) and server requests that expect only HTTP/1.0 200 OK or something similar with different return code. In my application I

Re: ComponentPropertyModel

2008-06-11 Thread Matthijs Wensveen
Hi, CompoundPropertyModel does somewhat of the inverse of what I'm trying to accomplish. CompoundPropertyModel binds some model to an expression that is the id of a component, while ComponentPropertyModel binds the model of the component that it is used in to some expression. In the first

enclosure around listview

2008-06-11 Thread Matthijs Wensveen
Hi, Is there a way to hide a listview with an enclosure when there are no items to display? One way to get it working is to toggle the visibility of the listview based on wheter or not the list is empty or not. I was expecting this would work out-of-the-box though... Thanks, Matthijs --

Re: forcing cookies to expire

2008-06-11 Thread Johan Compagner
Because we cant really just call set path... That is something that you have to do. Why do you want it on root? On 6/10/08, jchappelle [EMAIL PROTECTED] wrote: Thanks for the quick reply. I finally fixed the problem. What I found was that when I was creating my cookie I was calling setPath(/)

Re: enclosure around listview

2008-06-11 Thread Gwyn Evans
On Wed, Jun 11, 2008 at 10:34 AM, Matthijs Wensveen [EMAIL PROTECTED] wrote: Is there a way to hide a listview with an enclosure when there are no items to display? One way to get it working is to toggle the visibility of the listview based on wheter or not the list is empty or not. I think

Wasp/Swarm: change LoginContext in Session

2008-06-11 Thread Andrea Jahn
Hi, in our application the user's rights depend on the location (Munich, Berlin,...). There's a drop down choice, where the user can change the location, on which he wants to work. So, when he changes the location, also the principals (permissions) have to be changed. How can I remove the old

wicket url links

2008-06-11 Thread i ii
wicket 1.2 has component#forUrl(). what to use in 1.3? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to send response without HTML code

2008-06-11 Thread Milan Křápek
Thanks for response but this is not th exact thing I want. I need to know the name of wicket component, where can I get access to request from user and fill the response for him. All I need is some parent class of WebPage. But this object must return just http code without any HTML. (I was not

Re: How to send response without HTML code

2008-06-11 Thread Erik van Oosten
Hi Milan, I think you should throw the exception AbortWithHttpStatusException. If you change your mind and want to set the HTTP status code, but provide content as well, then call something like ((WebResponse)getResponse).getHttpServletResponse().setStatus(HttpServletResponse.SC_...) in the

stateless vs. stateful what exactly did I do ?

2008-06-11 Thread Eyal Golan
Hi, I have built a page that is stateless (bookmarkable) that accepts PageParameters. Now, this page inherits from a page that accepts PageParameters AND another parameter. public final class UserBrowserPage extends EntityBrowserPage { public UserBrowserPage(PageParameters pageParameters) {

change the mountpath of wicket request

2008-06-11 Thread ywtsang
currently all wicket request at mounted at root, e.g. /?wicket:interface can we change it to mount at different place like /customer/?wicket:interface -- View this message in context: http://www.nabble.com/change-the-%22mountpath%22-of-wicket-request-tp17775860p17775860.html Sent

Re: Wasp/Swarm: change LoginContext in Session

2008-06-11 Thread Maurice Marrink
Didn't we use custom actions for those locations? A user could have global or location permissions, right? In that case the permissions would be the same for each location. The only difference would be in the fact that the user has or does not have a location. which is checked by your

Re: beginner question about models when having more than one component of the same type on the same page

2008-06-11 Thread Peter Eriksson
I will answer my own post, just in case somebody else is looking for a solution to the same problem. I have found two ways to get the resource loading to do exactly what I want (There are probably a lot more out there): Solution 1 (The easiest one in my opinion): Do the following changes to

Re: How to send response without HTML code

2008-06-11 Thread Peter Ertl
I think this is what AbortWithWebErrorCodeException is for Am 11.06.2008 um 13:24 schrieb Erik van Oosten: Hi Milan, I think you should throw the exception AbortWithHttpStatusException. If you change your mind and want to set the HTTP status code, but provide content as well, then call

PageExpiredException when clicking an AjaxLink

2008-06-11 Thread Nili Adoram
Hi all, I need a clue about a strange problem we're coming across in wicket 1.3.0-rc1. (I know wicket has made a huge progress since then but our tight schedule dos not allow any upgrade at the moment). I have an AjaxLink which replaces the default onclick behavior of AjaxLink with our own

Re: PageExpiredException when clicking an AjaxLink

2008-06-11 Thread richardwilko
Ok this may be a longshot but see if this makes sense. I had a similar problem, it was caused because i had some image links where the src attribute was actually pointing at the home page of my application. So instead of loading an image it would actually make a get request to the home page,

setRenderBodyOnly(true) - something more powerful?

2008-06-11 Thread Martin Makundi
Hi! I have had to tweak some markup. I have complex tables so my markup is as follows: table thead.../ tbody wicket:id=radioGroup1/ tbody wicket:id=radioGroup2/ div wicket:id=rowListView tr wicket:id=rowspanListView /// close tags ofcourse I would very much like to hide the excess div and

Re: setRenderBodyOnly(true) - something more powerful?

2008-06-11 Thread Alex Jacoby
Have you tried the wicket:container tag? On Jun 11, 2008, at 9:29 AM, Martin Makundi wrote: Hi! I have had to tweak some markup. I have complex tables so my markup is as follows: table thead.../ tbody wicket:id=radioGroup1/ tbody wicket:id=radioGroup2/ div wicket:id=rowListView tr

Re: stateless vs. stateful what exactly did I do ?

2008-06-11 Thread Ayodeji Aladejebi
http://www.javaworld.com/javaworld/jw-06-2008/jw-06-wicket1.html?page=1 On 6/11/08, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I have built a page that is stateless (bookmarkable) that accepts PageParameters. Now, this page inherits from a page that accepts PageParameters AND another

Re: 1.3.4 release

2008-06-11 Thread Frank Bille
Hi, The 1.3.4 release has been delayed a couple of times for various reasons. Right now the state is that I need to find the time to look into an issue that could mean regression from 1.3.3[0]. I just haven't got the time for it yet. Frank [0]: https://issues.apache.org/jira/browse/WICKET-1646

Re: Z-depth problem with AutoCompleteTextField in IE

2008-06-11 Thread Ismael Juma
Michael Mehrle michael.mehrle at ask.com writes: In Internet Explorer I am experiencing a strange z-depth problem. Meaning that the drop down menu appears *behind* neighboring form fields - please take a look at this screenshot: Perhaps the same as

Re: Wasp/Swarm: change LoginContext in Session

2008-06-11 Thread Andrea Jahn
Yes, I have different permissions for the locations. The user can have different roles for each location and each role has different permissions. Now I made a dummy LoginContext class and for changing the LoginContext I first add the dummy LoginContext, then delete the old LoginContext, then add

Re: setRenderBodyOnly(true) - something more powerful?

2008-06-11 Thread Martin Makundi
Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html I think this page should be strongly cross-referenced from markup inheritance tutorial ;) There's a lot of useful stuff! ** Martin 2008/6/11 Alex Jacoby [EMAIL PROTECTED]: Have you tried the wicket:container tag? On Jun

Re: setRenderBodyOnly(true) - something more powerful?

2008-06-11 Thread Igor Vaynberg
it is a wiki -igor On Wed, Jun 11, 2008 at 7:00 AM, Martin Makundi [EMAIL PROTECTED] wrote: Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html I think this page should be strongly cross-referenced from markup inheritance tutorial ;) There's a lot of useful stuff!

RE: Anchors in Wicket?

2008-06-11 Thread Michael Mehrle
Mind sharing that? ;-) -Original Message- From: Thijs [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 11:23 PM To: users@wicket.apache.org Subject: Re: Anchors in Wicket? The component is any wicket component in the same page or next page if you know that component. What you

Re: forcing cookies to expire

2008-06-11 Thread jchappelle
I don't have to have it set on root. In fact now my code doesn't call setPath at all and it works fine. This is actually my first time ever using cookies. I've developed traditional applications in the past. I really only need the cookie to be visible to my login page but it doesn't really hurt

Re: enclosure around listview

2008-06-11 Thread Matthijs Wensveen
Gwyn Evans wrote: On Wed, Jun 11, 2008 at 10:34 AM, Matthijs Wensveen [EMAIL PROTECTED] wrote: Is there a way to hide a listview with an enclosure when there are no items to display? One way to get it working is to toggle the visibility of the listview based on wheter or not the list is

RE: wicket url links

2008-06-11 Thread i ii
no answer? From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: wicket url links Date: Wed, 11 Jun 2008 10:59:22 + wicket 1.2 has component#forUrl(). what to use in 1.3? - To unsubscribe, e-mail: [EMAIL

Re: wicket url links

2008-06-11 Thread Gwyn Evans
Hmm... some (all) of us have jobs to do as well as this... Anyway, is component#urlFor() what you're looking for? What 1.2 version were you using, as 1.2.6 has the above but no component#forUrl()? /Gwyn On Wed, Jun 11, 2008 at 4:34 PM, i ii [EMAIL PROTECTED] wrote: no answer? From: [EMAIL

RE: wicket url links

2008-06-11 Thread i ii
sorry for job, thank you for help. i use 1.3, but cannot find component#urlFor(). i only see in 1.2 javadoc Date: Wed, 11 Jun 2008 17:04:11 +0100 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: wicket url links Hmm... some (all) of us have jobs to do as well as this...

Re: setRenderBodyOnly(true) - something more powerful?

2008-06-11 Thread Martin Makundi
Done :) 2008/6/11 Igor Vaynberg [EMAIL PROTECTED]: it is a wiki -igor On Wed, Jun 11, 2008 at 7:00 AM, Martin Makundi [EMAIL PROTECTED] wrote: Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html I think this page should be strongly cross-referenced from markup

Re: wicket url links

2008-06-11 Thread Eelco Hillenius
wicket 1.2 has component#forUrl(). what to use in 1.3? urlFor(Component) (can also be found on RequestCycle). Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: A question about cookie value loading

2008-06-11 Thread nate roe
Hrm. This issue may well be what I've run up against. When exactly are ListView children created (or reused)? On Tue, Jun 10, 2008 at 8:04 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 10 Jun 2008, nate roe wrote: Don't forget that I'm using 1.2... this has maybe changed and that's

Dropdownchoice without default option choose one

2008-06-11 Thread nitinkc
I would like to remove the default choose one option from the DropDownChoice component. Does anyone know how to do this. Thanks. -- View this message in context: http://www.nabble.com/Dropdownchoice-without-default-option-%22choose-one%22-tp17782776p17782776.html Sent from the Wicket - User

RE: wicket url links

2008-06-11 Thread i ii
thank you Date: Wed, 11 Jun 2008 09:49:01 -0700 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: wicket url links wicket 1.2 has component#forUrl(). what to use in 1.3? urlFor(Component) (can also be found on RequestCycle). Eelco

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Michael O'Cleirigh
Hi nitinkc, Calling setNullValid (false) on the drop down choice should get rid of the default choose one text. If the ddc model should always have a value defined then you could set the model object to be for example the first choice. e.g. ddc.setModelObject (ddc.getChoices().get(0));

FileUploadField and AjaxButton

2008-06-11 Thread Alexander Landsnes Keül
Hi, I'm trying to use an AjaxButton along with a FileUploadField, and that produces an unfortunate but predictable result. Whenever I call _fileUploadField.getFileUpload() it returns null. If I try to replace the button with a regular one it works just fine. Am I missing something obvious

Re: Dropdownchoice without default option choose one

2008-06-11 Thread nitinkc
I tried setNullValid(false). But this does not get rid of the choose one option. Note that the choices are a list of Strings. If the choices are a list of other user defined object types and I use a choicerendrer for display values, the choose one option is removed(without setNullValid(false)).

Re: How to update parent component from a panel?

2008-06-11 Thread Timo Rantalaiho
On Wed, 11 Jun 2008, freak182 wrote: I already rip out your patch and run the testcase it worked but how can i implement/intgerate to my project...do you have a working example project for that? Unfortunately not, but just copy the classes to a suitable package in your project and start using

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Martin Makundi
I have noticed that with DropDownChoice, if the currently selected value is Null, you get this choose one item. And sometimes in a dynamic situation you get it still. Try using the analogous ListChoice element, at least it worked for me. ** Martin 2008/6/11 nitinkc [EMAIL PROTECTED]: I tried

Re: A question about cookie value loading

2008-06-11 Thread Timo Rantalaiho
On Wed, 11 Jun 2008, nate roe wrote: When exactly are ListView children created (or reused)? Use the source, Luke! onBeforeRender AFAIK. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/

Re: FileUploadField and AjaxButton

2008-06-11 Thread Timo Rantalaiho
On Wed, 11 Jun 2008, Alexander Landsnes Keül wrote: produces an unfortunate but predictable result. Whenever I call _fileUploadField.getFileUpload() it returns null. If I try to replace the button with a regular one it works just fine. Am I missing something obvious here, or is it an issue? I

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Timo Rantalaiho
On Wed, 11 Jun 2008, Martin Makundi wrote: I have noticed that with DropDownChoice, if the currently selected value is Null, you get this choose one item. And sometimes in a dynamic situation you get it still. Yeah, it's easy to miss setting the currently selected value for when DropDownChoice

ListViews in a form question

2008-06-11 Thread Martin Makundi
Hi! I have nested listviews which draw a complex tabular form having variable colspans and rowspans depending on the state of the form. I have an Add button to add elements into one of the inner listviews. Problem: 1. If I have setReuseItems true, the HTML table is not rendered properly

Re: Example of wicketstuff-minis' Veil

2008-06-11 Thread nitinkc
Igor, Any updates on this?? thanks! nitinkc wrote: Here is the stack trace: Root cause:java.lang.IllegalStateException: This behavior is already bound to component. An instance of this behavior cannot be reused between components. Bound component: [MarkupContainer [Component id = test,

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Martin Makundi
Yeah, it's easy to miss setting the currently selected value for when DropDownChoice is rendered for the first time. Hence it's always a good idea to supply it in the constructor. I have noticed the problem when I have a propertymodel attached to the dropdown, and I have two chained dropdowns

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Michael O'Cleirigh
Hi nitinkc, The Choose One option is actually defined in: public abstract class AbstractSingleSelectChoice extends AbstractChoice { /** * */ private static final long serialVersionUID = 1L; /** String to display when the selected value is null and nullValid is false. */

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Martin Makundi
If you use ListChoice this option is not there. ListChoice does not extend AbstractSingleSelectChoice . ** Martin 2008/6/11 Michael O'Cleirigh [EMAIL PROTECTED]: Hi nitinkc, The Choose One option is actually defined in: public abstract class AbstractSingleSelectChoice extends AbstractChoice

How to get context path

2008-06-11 Thread Patel, Sanjay
Hi, my images in the application are in webapp/image folder. How to get Context Path in wicket so I can prepend this path to display the image. I am looking for something like this. getContextPath() + image/icon.gif; Please suggest how to do that. Thanks, Sanjay.

Re: How to get context path

2008-06-11 Thread Igor Vaynberg
see ContextImage -igor On Wed, Jun 11, 2008 at 12:10 PM, Patel, Sanjay [EMAIL PROTECTED] wrote: Hi, my images in the application are in webapp/image folder. How to get Context Path in wicket so I can prepend this path to display the image. I am looking for something like this.

when to save shopping basket for registered and anonymous users?

2008-06-11 Thread Marcus Mattila
Hi! We are developing a shopping basket in our Wicket application. We would like to persist the basket as late as possible, and for anonymous users only if they sign up to the service. We don't want to save lots of anonymous Baskets to the database. We use Wicket 1.3.3 and Databinder (as a

Re: ListViews in a form question

2008-06-11 Thread Timo Rantalaiho
On Wed, 11 Jun 2008, Martin Makundi wrote: I have nested listviews which draw a complex tabular form having variable colspans and rowspans depending on the state of the form. For some reason, I have often succeeded better with other repeaters than ListView (e.g. RefreshingView, DataView) in

Re: when to save shopping basket for registered and anonymous users?

2008-06-11 Thread Martin Makundi
Hi! Why do you want to save the basket at a specific technical occurrence such as .detach? If you want, you can always persist changes for a registered user and on the other hand never persist them for anonymous users. Whenever the anonymous user becomes registered - the basket is persisted.

Re: Dropdownchoice without default option choose one

2008-06-11 Thread Gwyn Evans
Just to summarise, you need to do two things: set a 'current selection' and call setNullValid(false). /Gwyn On Wed, Jun 11, 2008 at 6:14 PM, nitinkc [EMAIL PROTECTED] wrote: I would like to remove the default choose one option from the DropDownChoice component. Does anyone know how to do

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-11 Thread Frank Silbermann
I downloaded Tomcat 6 this morning, and the QuickStart project runs in it without the logging conflict I had with Tomcat 5.5.9. Perhaps a newer release of Tomcat 5.5 would also work, but I'll just go to Tomcat 6. However, I have a couple of follow-up questions: (*) My old Wicket 1.2

Re: ListViews in a form question

2008-06-11 Thread Martin Makundi
For some reason, I have often succeeded better with other repeaters than ListView (e.g. RefreshingView, DataView) in complex situations. I have postponed studying these, I suspect problems with varying column counts on rows. I think that in a normal submit the same applies -- you have to

Multiple Layouts using Inheritance

2008-06-11 Thread Kram.V
In Wicket is it possible to inherit from multiple layouts? What we are trying to do is introduce different skins for the same application (We could control all of this in CSS and forget about it, but want to try this first) Each skin is a different Layout Page/Class in Wicket, how can we switch

Re: Wasp/Swarm: change LoginContext in Session

2008-06-11 Thread Maurice Marrink
Why the dummy? it should work with 2 contexts just as well. Maurice On Wed, Jun 11, 2008 at 4:11 PM, Andrea Jahn [EMAIL PROTECTED] wrote: Yes, I have different permissions for the locations. The user can have different roles for each location and each role has different permissions. Now I

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-11 Thread Alastair Maw
Argh. Commons logging classloader interactions are legendarily hard to debug. :-( IIRC, this fixes it. In your tomcat directories: bin/commons-logging-api.jar common/lib/log4j.jar common/lib/commons-logging.jar In your web-app directories: Whatever you like. It's also possible to embed

Re: Multiple Layouts using Inheritance

2008-06-11 Thread James Carman
Have you looked at using styles? On Wed, Jun 11, 2008 at 4:21 PM, Kram.V [EMAIL PROTECTED] wrote: In Wicket is it possible to inherit from multiple layouts? What we are trying to do is introduce different skins for the same application (We could control all of this in CSS and forget about

Re: Multiple Layouts using Inheritance

2008-06-11 Thread Kram.V
No, I have not. I am going to start looking. If you have any links/documentation do let me know. Thank you for your help. jwcarman wrote: Have you looked at using styles? On Wed, Jun 11, 2008 at 4:21 PM, Kram.V [EMAIL PROTECTED] wrote: In Wicket is it possible to inherit from multiple

Re: Multiple Layouts using Inheritance

2008-06-11 Thread Al Maw
It doesn't sound like you're trying to inherit anything, not in the object-oriented sense of the term. Instead you just want to use different markup for a page dependent on some criteria. Wicket already does this for localised versions of a page. HomePage.html HomePage_de.html HomePage_fr.html

Re: Anchors in Wicket?

2008-06-11 Thread Thijs
This is a bookmarkable link (the only place I use it with) but you get the idea :) import org.apache.wicket.PageParameters; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import org.apache.wicket.model.IModel; public class

Re: ListViews in a form question

2008-06-11 Thread Al Maw
This sort of stuff is definitely possible - people certainly have it working elsewhere. If you use setReuseItems(true) you need to call removeAll() if you change the backing model object. Timo is probably right that a RepeatingView may be easier to use in this kind of situation. Alastair

Re: Dropdownchoice without default option choose one

2008-06-11 Thread nitinkc
Thanks gwyn! I was not adding the default value to the ddc and that's why it was showing the choose one option. As you said, it's best to do that in the constructor. Gwyn wrote: Just to summarise, you need to do two things: set a 'current selection' and call setNullValid(false). /Gwyn

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-11 Thread Gwyn Evans
On Wed, Jun 11, 2008 at 9:00 PM, Frank Silbermann [EMAIL PROTECTED] wrote: (My Wicket 1.3 QuickStart adds log4j-1.2.14.jar, slf4j-api-1.4.2.jar, and slf4j-log4j12-1.4.2.jar to the application's lib directory; my Wicket 1.2 application does not add these.) If I recall, 1.2 would have been

Re: Multiple Layouts using Inheritance

2008-06-11 Thread Gwyn Evans
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/Session.html#setStyle(java.lang.String) On Wed, Jun 11, 2008 at 9:33 PM, Kram.V [EMAIL PROTECTED] wrote: No, I have not. I am going to start looking. If you have any links/documentation do let me know. Thank you for

Re: Websphere Portal 6 + Wicket Portlet Experience

2008-06-11 Thread Danny van Bruggen
Hello all, We want to get Websphere Portal working with Wicket for the portlets, has anybody managed to do this by now? The quoted thread in which the problem is discussed suddenly fell silent :( Danny On 1/9/08, fapereira [EMAIL PROTECTED] wrote: First of all thanks forthe quicky reply.

Re: Multiple Layouts using Inheritance

2008-06-11 Thread Al Maw
Note that you can also override the style in your Component class (e.g. your WebPage subclass). The default implementation for getStyle() calls getVariation(), etc. Best to look at the source to see exactly how it works. Regards, Alastair 2008/6/11 Gwyn Evans [EMAIL PROTECTED]:

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-11 Thread Frank Silbermann
It's the identical .war file which shows the images when run in Tomcat 6 but not when run in Jetty configured as per the QuickStart application. The actual HTML in the rendered pages is exactly what I showed you -- Wicket generated it using AttributeModifier, and I copied the generated HTML by

How to add a TextField in a Dynamically created DefaultDataTable

2008-06-11 Thread galbelli
I am creating a DefaultDataTable dynamically as I only know the number of columns at runtime. All is working nicely but I now need to have one of the columns contain a TextField and not a Label. I am receiving the following error: WicketMessage: Component cell must be applied to a tag of type

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-11 Thread Frank Silbermann
Searching for some clue as to why my modification of the QuickStart application is serving images when run in Tomcat but not when running in embedded Jetty via Eclipse, I found: http://osdir.com/ml/java.jetty.support/2003-03/msg00045.html -- titled Re: Re: jetty can't find images: msg#00045 It

RE: Anchors in Wicket?

2008-06-11 Thread Michael Mehrle
Hey, thanks a lot Thijs! I'll give this a shot. -Original Message- From: Thijs [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 1:38 PM To: users@wicket.apache.org Subject: Re: Anchors in Wicket? This is a bookmarkable link (the only place I use it with) but you get the idea

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-11 Thread Philip A. Chapman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I vote the same way. with almost the exact same sentiments. Wouter de Vaal wrote: 1) Generifying* Wicket [x] Can best be done like currently in the 1.4 branch, where models and components are both generified. I care most about the improved

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-11 Thread Igor Vaynberg
wrap the textfield in a fragment or a panel -igor On Wed, Jun 11, 2008 at 3:39 PM, galbelli [EMAIL PROTECTED] wrote: I am creating a DefaultDataTable dynamically as I only know the number of columns at runtime. All is working nicely but I now need to have one of the columns contain a

Re: How to update parent component from a panel?

2008-06-11 Thread freak182
Hello Timo, Thanks a lot...i have attach the files for sample webapp for events.you can play around with if you have time and forgive me if my codes were ugly :) i just want to test your patch...any feedback after... Thanks a lot...Cheers http://www.nabble.com/file/p17791744/events_core.zip

Re: enclosure around listview

2008-06-11 Thread Jeremy Thomerson
Paste code of what you're looking to do. Your description seems like the right way to do it. If you want that out of the box, just roll your own NotVisibleIfEmptyListView that overrides isVisible. Like: public abstract class NotVisibleIfEmptyListViewT extends ListViewT { private static

Re: Example of wicketstuff-minis' Veil

2008-06-11 Thread Igor Vaynberg
sorry, havent had time to check out the source from svn yet -igor On Wed, Jun 11, 2008 at 11:53 AM, nitinkc [EMAIL PROTECTED] wrote: Igor, Any updates on this?? thanks! nitinkc wrote: Here is the stack trace: Root cause:java.lang.IllegalStateException: This behavior is already

Re: forcing cookies to expire

2008-06-11 Thread Jeremy Thomerson
I know this doesn't relate to your question, and I don't know what your app is at all, but does this cookie automatically log someone in to your app if they come back later? If so, you probably don't want to use the username for that. Then I can just pick someone else's username, fake my cookie,

Making Component easier to Generify

2008-06-11 Thread cowwoc
Have you considered moving from subclassing to composition in Wicket using CallableT? Currently it is quite common for developers to subclass a component in order to override isVisible() and other properties. I am proposing that instead the component classes become final and properties may only

Re: ListViews in a form question

2008-06-11 Thread Martin Makundi
Hi! What is the main difference between repeatingView and listView from this point of view? I can see ListView has many features I do not use such a s moving the rows up and down... ** Martin 2008/6/11 Al Maw [EMAIL PROTECTED]: This sort of stuff is definitely possible - people certainly have

Re: beginner question about models when having more than one component of the same type on the same page

2008-06-11 Thread Peter Eriksson
Thanks Timo for your very helpful suggestion! Best Regards, /Peter 2008/6/11 Timo Rantalaiho [EMAIL PROTECTED]: On Wed, 11 Jun 2008, Peter Eriksson wrote: I will answer my own post, just in case somebody else is looking for a solution to the same problem. I have found two ways to get the