Re: Is there a way to get stateless DDC with onchange notification?

2008-10-17 Thread Ritesh Trivedi
no that not the rule its just the other way around, a page is stateless if it doesnt have statefull components in it and the DDC generates a statefull link to itself so its self and because of that it is statefull I totally understand that. The problem is exactly that and hence my post here. As I

Re: Pages or components... how do u decide?

2008-10-17 Thread Alex Objelean
I also like the approach of pushing every functionality in separate components (Panels), it gives me the flexibility of composing pages with any combination of this components. For instance, if I have Login functionality, I create the LoginPanel and LoginPage. This approach allows me to add other

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-17 Thread itayh
In this case the url will contain the parameters. But since I mount it without the parameters what I get is empty page. I am not sure why I am getting the empty page when I concat the parameters to the iframe url. I am not even getting to MyFrame constructor. Any Idea? Erik van Oosten wrote:

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-17 Thread Erik van Oosten
Please check your setup then. I understand you are using sitemesh. Maybe this interferes. Erik. itayh wrote: In this case the url will contain the parameters. But since I mount it without the parameters what I get is empty page. I am not sure why I am getting the empty page when I concat

Wizard with CompoundPropertyModel

2008-10-17 Thread jensiator
Hi everyone Time for a new question. This time its about the wizard component. I have already done a couple of wizards and they work well. I have looked at the example in wicket and of course I have changed it a little bit. I dont want the steps do be static private classes so in my solution I

Re: Pages or components... how do u decide?

2008-10-17 Thread Erik van Oosten
Of topic but important nevertheless: About the only object you ever want to put in the session IMHO is the logged in user and its credentials. Even if you have a very small site with only one important model you should not put it in the session. There are 2 problems with this approach: -

Nice wicket components

2008-10-17 Thread Murat Yücel
Hi All I am in search for nice wicket components like the wicket-stuff project called inmethod-grid. The project has a lot of features and then it looks more pretty than the standard wicket design. Does anyone no about other projects? I know that you cannot compare GWT and Wicket, but it is sad

Re: DHTML DnD best practice?

2008-10-17 Thread Neil McT
Ok, so I had a look at the Palette component. Its very nice, but I don't think it really helps me as it uses a select box (i.e. a pre-existing wicket component) as a 'bin' for the droppables. This really abstracts out the main part of my problem - how to bind and manipulate a bunch of divs with a

no title in ExternalLink

2008-10-17 Thread Steve Swinsburg
Hi all, I've just noticed a deficiency in the ExternalLink component that doesn't allow a 'title' field to be set in its constructor. This is a basic HTML attribute that all links should have (for accessibility and expected behaviour). Currently this is only achieved by using

Re: have anyone tried empire-DB?

2008-10-17 Thread marco.behler
I gave empireDB a quick look a while ago and it looks interesting. Besides JPersist I also stumbled upon JaQu (http://www.h2database.com/html/jaqu.html), which is still in its infancy. I'm sure there's more LINQ-like clones out there. As far as I'm concerned, I'd really like to have a thorough

RE: Form model update with ajax using AutoCompleteTextField

2008-10-17 Thread kerim bey
or you can use this one- http://cwiki.apache.org/confluence/display/WICKET/Autocomplete+using+a+W icket+model First of all thanks for the answers! Have tried this one and it works fine! Just one problem: when there is a ModelObject set on first render the component I get an input like id:1

RequestCycle.urlFor modifies a page's parameters?

2008-10-17 Thread aditsu
Hi, I'm using wicket 1.4-m3 I was debugging a problem and I found that RequestCycle.urlFor(Component, RequestListenerInterface, ValueMap) can sometimes modify the parameters of an existing page. Here's the relevant code: if (listener != IRedirectListener.INTERFACE component.isStateless()

Stateless AJAX links

2008-10-17 Thread aditsu
Hi, I managed to hack wicket (1.4-m3) to do a kind of stateless ajax link. I extended AbstractLink and implemented ILinkListener, and added a custom stateless AjaxEventBehavior that creates a callback url using the ILinkListener interface (in order to get a

IP address range locking

2008-10-17 Thread John
hi, i am implementing IP address range locking for my application as i have a number of offices that need to access the application and everyone else needs to be kept out. i am using WicketAuthRoles and have placed the code into my login page... before attempting authentication i match the

Re: Wizard with CompoundPropertyModel

2008-10-17 Thread Matthias Keller
Hi jensiator wrote: Put in one case I Noticed that all the WizardSteps uses the same backingbean, so I started to think about using a compoundpropertymodel that I set to the Wizard in its constuctor. Something like this: public MywizardConstuctor(String id){ super(id);

Re: DHTML DnD best practice?

2008-10-17 Thread Ernesto Reinaldo Barreiro
Sorry, maybe I do not fully understand what you want to do but why won't you update the state of the server once a div is dropped. I have my own components that use drag and drop (e.g. tables with draggable/dropable columns) and what I do at the JavaScript side is something like: XXX.onDrop() {

Re: question on PageableLiveView

2008-10-17 Thread overseastars
Thanks for replying. I think that is the display trick because that is a html link tag the wicket id of which is room_type. I dont know how but it work when I redo it. -- View this message in context: http://www.nabble.com/question-on-PageableLiveView-tp20011877p20031865.html Sent from the

Re: DHTML DnD best practice?

2008-10-17 Thread aditsu
Look at wicketstuff-jquery, especially DnDSortableBehavior. It's not perfect, but at least it can give you some ideas. -- View this message in context: http://www.nabble.com/DHTML-DnD-best-practice--tp20010633p20031872.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: IP address range locking

2008-10-17 Thread Martijn Dashorst
you should do this on httpd server level or even firewall level. In our app we restrict access to specific private pages to just our corporate IP using mod_jk with locationMatch ... rules. Martijn On Fri, Oct 17, 2008 at 1:25 PM, John [EMAIL PROTECTED] wrote: hi, i am implementing IP address

Re: state of new ajax impl in 1.5

2008-10-17 Thread Martijn Dashorst
once 1.4 has been made final and has received it first or second maintenance release. Then trunk will move to wicket 1.5, and 1.4 will become our maintenance project. Martijn On Fri, Oct 17, 2008 at 12:59 PM, Martin Voigt [EMAIL PROTECTED] wrote: Hi, I'm currently building an ajax-heavy

Re: state of new ajax impl in 1.5

2008-10-17 Thread Martijn Dashorst
Or maybe if the implementation is really rock solid, we *might* introduce it into 1.4, but I wouldn't bet on it. Martijn On Fri, Oct 17, 2008 at 1:58 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: once 1.4 has been made final and has received it first or second maintenance release. Then trunk

state of new ajax impl in 1.5

2008-10-17 Thread Martin Voigt
Hi, I'm currently building an ajax-heavy application and I'm using the new implementation Matej is currently working on: http://cwiki.apache.org/WICKET/wicket-15-ajax.html I've noticed the *.ajaxng package is now *.ajax again in the experimental repository

AjaxFormComponentUpdatingBehavior problem

2008-10-17 Thread overseastars
Hi all I'm having problems with using AjaxFormComponentUpdatingBehavior. I'd like to make to ListChoices which contain a list of countries and cities. For example, if I select one item in the first ListChoice and the second ListChoice should display the related cities. Since I dont know how to

Re: state of new ajax impl in 1.5

2008-10-17 Thread Matej Knopp
Whe ajaxng has package has been moved to _wicket package together with some new requestcycle stuff (that is not integrated in wicket and probably wont' be for quite some time). I don't think ajaxng will make it to 1.4. It's not only about that ajax implementation (that should be pretty stable),

Re: tomcat doesnt work with wicket

2008-10-17 Thread Erik van Oosten
Some more details please. overseastars wrote: Hi all I have this strange problem now. If i use jetty, everything is find. But if I wanna run wicket application on tomcat in eclipse, it doesnt work. Any ideas to solve this? Do I need to do sth with tomcat??? I'm a newbie. So is the

Re: tomcat doesnt work with wicket

2008-10-17 Thread Piller Sébastien
tomcat does work fine with wicket, your problem is elsewhere. look at the logs, at the console, reinstall, test with a simple hello world project, ... but not tomcat neither wicket are responsible overseastars a écrit : Hi all I have this strange problem now. If i use jetty, everything is

Re: tomcat doesnt work with wicket

2008-10-17 Thread Erik van Oosten
Actually, there are some weird things with Tomcat. For example https://issues.apache.org/jira/browse/WICKET-847. Piller Sébastien wrote: tomcat does work fine with wicket, your problem is elsewhere. look at the logs, at the console, reinstall, test with a simple hello world project, ...

Re: Wizard with CompoundPropertyModel

2008-10-17 Thread jensiator
Hi Mattias I have a solution where I sending the a ordenary Model into the WizardStep constuctors and it work well. I thought that the CompoundPropertyModel should nest itself down the children so you didn't have to send it down the chain. I think that in your case, you could change the

SV: BRIX (Wicket and Jackrabbit)

2008-10-17 Thread Nayak Vishal
Thanks Igor. Thats a very good idea and a very clear picture. Now i know which way to go :) Regards Vishal -Opprinnelig melding- Fra: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sendt: 16. oktober 2008 17:52 Til: users@wicket.apache.org Emne: Re: BRIX (Wicket and Jackrabbit) currently

Re: tomcat doesnt work with wicket

2008-10-17 Thread overseastars
I dont know exactly the problem. But I went to the logs folder under tomcat home folder and find nothing there. no files.actually. also according to the console on eclipse, I think it doesnt start the wicket development model at all. overseastars wrote: Hi all I have this strange

Re: tomcat doesnt work with wicket

2008-10-17 Thread Swanthe Lindgren
Did you add the wicket application to you tomcat server instance in eclipse? Are you aware that eclipse by default does not deploy to your tomcat install folder but to a folder in your workspace (D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core) //Swanthe overseastars wrote: I

Re: state of new ajax impl in 1.5

2008-10-17 Thread Martin Voigt
Thanks for the responses. I don't mind api changes at the current state of our project, I just wanted to avoid doing a larger refactoring just before our release is due. Since we're already using the wicket trunk for other apps I will stay with ajaxng for the time beeing, as it's move to trunk is

Re: DHTML DnD best practice?

2008-10-17 Thread Neil McT
Thanks for the reply. This is just the starter-for-ten I was looking for. I also found one of the London Wicket groups presentations ( http://londonwicket.org/content/LondonWicket-ListEditor.pdf http://londonwicket.org/content/LondonWicket-ListEditor.pdf ) to be of great use. It actually became

Re: tomcat doesnt work with wicket

2008-10-17 Thread Nav Che
You need to initialize the logger, see if u r tomcat conf directory as any log4j property fileI am running wicket on tomcat with eclipse and i dont see any issues. //Nav On Fri, Oct 17, 2008 at 8:32 AM, overseastars [EMAIL PROTECTED] wrote: I dont know exactly the problem. But I went to

SV: BRIX (Wicket and Jackrabbit)

2008-10-17 Thread Nayak Vishal
Could you please give me some clue or some way what changes i need to do for alfresco. Is it a lot of code changes which are required ? Or is it a small piece of code which needs changes. Regards Vishal Nayak -Opprinnelig melding- Fra: Igor Vaynberg [mailto:[EMAIL PROTECTED]

Re: IP address range locking

2008-10-17 Thread John
hi, yes that makes a lot of sense. unfortunately i have to implement it in the application in this instance. i need to alter the ranges at runtime with as little complexity as possible... anything that acts outside the application makes everything more complicated than i can handle right now...

Re: BRIX (Wicket and Jackrabbit)

2008-10-17 Thread Igor Vaynberg
like i said, this discussion is better taken to the brix discussion group. there is no need to pollute this list with noise. -igor On Fri, Oct 17, 2008 at 7:41 AM, Nayak Vishal [EMAIL PROTECTED] wrote: Could you please give me some clue or some way what changes i need to do for alfresco.

Re: Wicket versus Spring MVC

2008-10-17 Thread Igor Vaynberg
didnt put it anywhere, didnt think it was anything special. i said the same thing plenty of times in the past. -igor On Fri, Oct 17, 2008 at 10:41 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Good mail Igor. Did you place it on the wiki, or a blog somewhere? It's very

Re: Re: Wicket versus Spring MVC

2008-10-17 Thread bruno . borges
Igor, I agree with Nino. What about posting something like that on wicketinaction.com? :-) Cheers, Bruno On Oct 17, 2008 2:41pm, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Good mail Igor. Did you place it on the wiki, or a blog somewhere? It's very sound arguments.

Re: Wizard with CompoundPropertyModel

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
Short mail: public EventDetailsStep() { setTitleModel(new ResourceModel(eventdetails.title)); setSummaryModel(new StringResourceModel(eventdetails.summary, this, new ModelEvent(event))); add(new

Re: DHTML DnD best practice?

2008-10-17 Thread Ernesto Reinaldo Barreiro
Nice presentation: I didn't know about it. Cheers, Ernesto Neil McT wrote: Thanks for the reply. This is just the starter-for-ten I was looking for. I also found one of the London Wicket groups presentations ( http://londonwicket.org/content/LondonWicket-ListEditor.pdf

Re: have anyone tried empire-DB?

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
Hehe, yeah more simple.. But I find that with hibernate it's more than just sessions. If you are using the query api, you'll soon find yourself in trouble if doing advanced queries and pagination.. marco.behler wrote: I gave empireDB a quick look a while ago and it looks interesting.

Re: have anyone tried empire-DB?

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
This is interesting: (JaQu) Provide API level compatibility with JPA (so that JaQu can be used as an extension of JPA). But I think something similar are on its way for JPA 2.0..? marco.behler wrote: I gave empireDB a quick look a while ago and it looks interesting. Besides JPersist I also

Re: Wicket versus Spring MVC

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
And if you like to repeat yourself fine.. Otherwise put it somewhere people can find it like on the wiki:) I do think theres a page for it.. Apparently I didnt pick it up the other times.. Oh and have a nice weekend:) Igor Vaynberg wrote: didnt put it anywhere, didnt think it was anything

Re: Problem serving images from resource folder named 'resources'

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
Ak, did you use a key called : img/indicator.gif, looks like wicket are trying to lookup img as class.. Is it a packaged resource or? What I did for my icons where to generate a package for them so I had a javapackage called icons you could probablly do the same with your img.. And I used the

GMAP2 strangeness

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
Hi im expirirencing some stangestuff: Caused by: java.lang.NullPointerException at wicket.contrib.gmap.api.GOverlay.getJSadd(GOverlay.java:62) at wicket.contrib.gmap.GMap2.getJSinit(GMap2.java:463) at wicket.contrib.gmap.GMap2.access$000(GMap2.java:59) at

GMAP2 non ajax?

2008-10-17 Thread Nino Saturnino Martinez Vazquez Wael
Are there a way to avoid the GMAP2 contrib to add ajax listeners, thus making it non ajax? I have some pages that only should display a map, nonclickable non moveable etc. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: GMAP2 non ajax?

2008-10-17 Thread bruno . borges
I'm not sure if GMap2 has that option, but if not, you could just put plain GMap code and provide the location with some hidden Label or a small component to do that. On Oct 17, 2008 5:22pm, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Are there a way to avoid the GMAP2

retricted AutoCompleteTextField

2008-10-17 Thread m_salman
Hi, I am really happy with what wicket has allowed me to do with Ajax and all that. I have just implemented an AutoCompleteTextfield. It is very nice but I would like to improve it so that the user is restricted to items in the list. So, the list is shown when the user types the first one or

Re: retricted AutoCompleteTextField

2008-10-17 Thread Igor Vaynberg
maybe this can help, havent tried it myself https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-objectautocomplete/ -igor On Fri, Oct 17, 2008 at 8:38 PM, m_salman [EMAIL PROTECTED] wrote: Hi, I am really happy with what wicket has allowed me to do with Ajax and