Re: Wicket and URLs

2008-10-28 Thread Erik van Oosten
Hello S D, This might interest you: http://day-to-day-stuff.blogspot.com/2008/10/wicket-extreme-consistent-urls.html Note there are still some limitations. Your milage may vary. Regards, Erik. S D wrote: Hi, I was browsing through examples, it looks very impressive but there's a thing th

Re: JFreeChart component

2008-10-28 Thread Nino Saturnino Martinez Vazquez Wael
Ahh yeah, me and my memory.. I thought that this were related, but it's not as it's jasperreports: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports But thanks for posting. jwray wrote: I looked around wicket stuff and didn't see anything related

Re: [Wicketstuff jQuery] not compiling?

2008-10-28 Thread Nino Saturnino Martinez Vazquez Wael
Hi Martin Theres still some trouble with sourceforge svn. But it should be somewhat okay, you just cant count on what youve just comitted will be compiled within the normal 60s timeframe, but this has been the case all the time.. Martin Grigorov wrote: I've updated and build locally all pro

Re: problem with PropertyModel and setDefaultFormProcessing(false) for button

2008-10-28 Thread itayh
The first line is actually name = item.getName(); there was a copy typo when I paste here the code. Any Idea? Pablo Abad wrote: > > Seems a typo either in the code you pasted or in your actual code, but > shouldn't the first line be something like name = item.getName(); ? > (gameItem --> item) >

Re: LoadableDetachableModel for drop-down menu selection

2008-10-28 Thread Igor Vaynberg
ah, i thought that article had the version that supported setobject() as well. anyways it is trivial to implement setobject(identifiable entity) { clazz=entity.getclass(); id=entity.getid(); this.entity=entity; } and now you have an entity model that ddc can call setobject on. -igor On Tue,

Re: LoadableDetachableModel for drop-down menu selection

2008-10-28 Thread Gianni
Thanks Igor, I've already got my entity model LoadableRefDataModel which is similar to your example and I can see how to make use of this when I've actually got the entity object or id. My problem is I'm not clear on how I go about creating the entity model when a value is selected from my

Re: Wicket and URLs

2008-10-28 Thread Igor Vaynberg
you would map one page to handle this with IndexedUrlCodingStrategy on www.oursite.tld/products/ this page will have a constructor that takes a PageParameters object. from there you can do string cat=parameters.get("0"); string id=parameters.get("1"); string desc=paramters.get("2"); on the othe

Re: Wicket and URLs

2008-10-28 Thread S D
--- On Wed, 10/29/08, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > You have not given us one example of something that you need > to do that > cannot have nice URLs with Wicket. You can mount an entire > package of > classes to a single path and they will all have nice > bookmarkable URLs. Here

Re: Wicket and URLs

2008-10-28 Thread Jeremy Thomerson
You have not given us one example of something that you need to do that cannot have nice URLs with Wicket. You can mount an entire package of classes to a single path and they will all have nice bookmarkable URLs. There are a variety of different coding strategies that will give you URLs that look

Re: Wicket and URLs

2008-10-28 Thread S D
--- On Wed, 10/29/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > all of these are for entry urls. urls that link to page > instances or after a form submit will still be > ?wicket:interface=:4:foo.bar:ILinkListener > > if you are that concerned with urls wicket might not be for > you. you give up

Re: JFreeChart component

2008-10-28 Thread jwray
I looked around wicket stuff and didn't see anything related to JFreeChart. If you think it is suitable for inclusion in wicket-stuff, or elsewhere, then by all means upload it. It's only four classes so I don't think it is worth creating a new project for, and I don't know where it would fit ri

Re: problem with PropertyModel and setDefaultFormProcessing(false) for button

2008-10-28 Thread Pablo Abad
Seems a typo either in the code you pasted or in your actual code, but shouldn't the first line be something like name = item.getName(); ? (gameItem --> item) >> On Tue, Oct 28, 2008 at 11:41 AM, itayh <[EMAIL PROTECTED]> wrote: >> >>> protected void onEditItem(Item item) { >>>name = gamei

Re: Feedback Panel on Modal Window With Field Validation does not work

2008-10-28 Thread 张伟
try page not panel 2008/10/29 sureshram <[EMAIL PROTECTED]> > > Hello, > > I am trying to add auto validation in the modal window but I don't see any > error messages. I added a feedback panel on a modal window which has a > required text field. When I try to submit, the modal window does not d

Re: Wicket and URLs

2008-10-28 Thread Pablo Abad
Yet another option is to alter the way the URL is coded, though an IRequestCodingStrategy implementation. Here are some real examples of how coded urls look: http://localhost:8080/sga/app/?x=KSuTW5bYBW8iAGSiUeZAF1yzeKycRi5Ob74j2paSOEq3wdTRhBvya*bkbZWOzsXCnbeqR9KlO5rbiYq3d1qPOhlyjMglN8f089MFpg**7hMq

Re: Wicket and URLs

2008-10-28 Thread Igor Vaynberg
all of these are for entry urls. urls that link to page instances or after a form submit will still be ?wicket:interface=:4:foo.bar:ILinkListener if you are that concerned with urls wicket might not be for you. you give up control over urls for the convinience of not having to deal with them. -ig

Re: Wicket and URLs

2008-10-28 Thread Jeremy Thomerson
You can also mount all pages in a package with one single call. You will find this in old emails on the list, blogs, etc.. Google search for "wicket mount package": http://www.google.com/search?hl=en&rls=com.microsoft%3A*&q=wicket+bookmarkable+urls The third result: http://www.javalobby.org/jav

Re: Wicket and URLs

2008-10-28 Thread S D
--- On Wed, 10/29/08, Scott Swank <[EMAIL PROTECTED]> wrote: > Those will be available to you in the > YourPage(PageParameters > parameters) constructor. > So, if I understand you correctly, I'd have to call mountBookmarkablePage() for all wicket URLs used in the application. Sounds somewhat te

Re: Wicket and URLs

2008-10-28 Thread Scott Swank
Those will be available to you in the YourPage(PageParameters parameters) constructor. On Tue, Oct 28, 2008 at 5:08 PM, S D <[EMAIL PROTECTED]> wrote: > > But what if the URL is "dynamic" like, for example, is this google URL that > points to the second page of results: > > http://www.google.com/

Re: Wicket and URLs

2008-10-28 Thread S D
But what if the URL is "dynamic" like, for example, is this google URL that points to the second page of results: http://www.google.com/search?hl=en&q=wicket&start=10&sa=N Thanks --- On Tue, 10/28/08, Scott Swank <[EMAIL PROTECTED]> wrote: > One option is to define urls in your application: >

Re: Wicket and URLs

2008-10-28 Thread Scott Swank
One option is to define urls in your application: mountBookmarkablePage("/Tour", TourBrowsePage.class); On Tue, Oct 28, 2008 at 4:03 PM, S D <[EMAIL PROTECTED]> wrote: > > Hi, > > I was browsing through examples, it looks very impressive but there's a thing > that bothers me somewhat. The Bas

Re: spring wicket application template or example

2008-10-28 Thread shetc
See Wicket In Action, Chapter 13. -- View this message in context: http://www.nabble.com/spring--wicket--application--template-or-example-tp20211466p20218516.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: [Wicketstuff jQuery] not compiling?

2008-10-28 Thread Martin Grigorov
Ok, I just updated wicketstuff-patent and all projects that extend it ( wicketstuff-annotation/pom.xml wicketstuff-jquery/pom.xml wicketstuff-jquery-examples/pom.xml wicketstuff-misc/pom.xml wicketstuff-objectautocomplete/pom.xml ) to ver. 1.4-SNAPSHOT The only project in trunk that still depends

Wicket and URLs

2008-10-28 Thread S D
Hi, I was browsing through examples, it looks very impressive but there's a thing that bothers me somewhat. The Basic Label example uses the following URL: http://wicketstuff.org/wicket13/compref/;jsessionid=F8C6R0F2601C96D1Y3CAD8B69E8779D4?wicket:bookmarkablePage=:org.apache.wicket.examples.co

Re: [Wicketstuff jQuery] not compiling?

2008-10-28 Thread Martin Grigorov
I've updated and build locally all projects that "extends" wicketstuff-parent when I changed the dependency and everything was fine. But ... the 1.3.x projects (https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x) still depends on wicketstuff-parent:2-nojavadoc... O

Re: GMap2 - GInfoWindow

2008-10-28 Thread Martin Funk
Jeremy Thomerson wrote: I'm not sure who maintains GMap2 (Martin F?) I guess one could say that :-) - but I just created a class that allows me to show an info window when a GMarker is clicked. This could actually be abstracted to allow other calls on a GMarker fairly easily. Two questions: 1

Re: wicket and 508 compilance

2008-10-28 Thread Pointbreak
I don't understand why you keep insisting that a title attribute should always be included in an anchor. In most cases the text within the anchor tag is enough information for what the purpose of the link is, certainly if you think a minute about that text. In such cases a title attribute will just

Re: Forcing property models to update

2008-10-28 Thread walnutmon
I did as you said, and have the unit tests, and read the wiki on chaining models... something still isn't clicking though. BTW, I have Wicket in action and it is fantastic, perhaps there is still something elduing me though... I still can't wrap my head around why that property model doesn't upd

Feedback Panel on Modal Window With Field Validation does not work

2008-10-28 Thread sureshram
Hello, I am trying to add auto validation in the modal window but I don't see any error messages. I added a feedback panel on a modal window which has a required text field. When I try to submit, the modal window does not do any thing and I think what happens here is wicket does validation (wh

[Job Posting] Wicket Web Developer in Northern California

2008-10-28 Thread Michael
Hello, My company is looking for a web developer that has both Wicket and portal(Jetspeed, Liferay) experience. Our company has recently adopted Wicket as our standard Java Web Framework. You can find the job posting on Dice: http://seeker.dice.com/jobsearch/servlet/JobSearch?op=302&doc

Re: Meetings in the Netherlands (or neighbouring countries)

2008-10-28 Thread Johan Compagner
me to On Tue, Oct 28, 2008 at 9:33 PM, Rob Sonke <[EMAIL PROTECTED]> wrote: > Not really a meeting but at november the 12th there's the NLJug's JFall > again with at least one wicket session. I'll be there anyway. > > Rob > > > > Harro Lissenberg wrote: > >> A colleague and I are getting more and

Re: Meetings in the Netherlands (or neighbouring countries)

2008-10-28 Thread Rob Sonke
Not really a meeting but at november the 12th there's the NLJug's JFall again with at least one wicket session. I'll be there anyway. Rob Harro Lissenberg wrote: A colleague and I are getting more and more interested in Wicket and where wondering if any meetings/presentations/lectures in or a

Meetings in the Netherlands (or neighbouring countries)

2008-10-28 Thread Harro Lissenberg
A colleague and I are getting more and more interested in Wicket and where wondering if any meetings/presentations/lectures in or around the Netherlands are being planned. The community meetups page is rather out-of-date: http://cwiki.apache.org/WICKET/community-meetups.html So, anybody out there

Re: wicket and 508 compilance

2008-10-28 Thread Johan Compagner
i also dont want to have another constructor with that title parameter But if there are a certain amount of components that could use something for accessibility then i am more for just a method setTitle(IModel model) or something like that johan On Tue, Oct 28, 2008 at 5:15 PM, Steve Swinsbu

Re: LoadableDetachableModel for drop-down menu selection

2008-10-28 Thread Igor Vaynberg
this should give you an idea http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ -igor On Tue, Oct 28, 2008 at 12:27 PM, Gianni Doe <[EMAIL PROTECTED]> wrote: > I'm starting out with Wicket and following the Wicket In Action examples > through and I'm a bit stuck on how to make use o

Re: spring wicket application template or example

2008-10-28 Thread Nino Saturnino Martinez Vazquez Wael
Lots Wicket Iolite, WicketTopia these are maven archetypes, and wicketTopia much more... miro wrote: I am starting a new project with spring and wicket, are there any wicket spring examples which i can use to to get started -- -Wicket for love Nino Martinez Wael Java Specialist @ J

Re: [Wicketstuff jQuery] not compiling?

2008-10-28 Thread Nino Saturnino Martinez Vazquez Wael
As I mentioned I saw it in the parent pom.. Here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery/pom.xml Unless! I have an old outdated version of the pom.. That could be.. Nope, seems to be an old version on our maven repo: http://wicketstuff.org/mave

Re: DataTable cell link

2008-10-28 Thread Jeremy Thomerson
If that's your problem, I'd suggest using CSS, something like: TD A { display: block; } This is much better because the anchor will fill the box (fixing your problem), and you are more compatible (if JS is off, etc). -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 28, 2008 at 2

AbstractDefaultAjaxBehavior in a panel not working when loaded from an ajax context

2008-10-28 Thread adrienleroy
Hello, I am trying to implements this JavaScript timedatepicker http://labs.perifer.se/timedatepicker/ as an AbstractDefaultAjaxBehavior here my class public class TimePickBehavior extends AbstractDefaultAjaxBehavior { private static final CompressedResourceReference TIMEPICKER_JS = new Com

Re: DataTable cell link

2008-10-28 Thread Jeremy Thomerson
Depending on what you are linking TO, it can be very simple. You can call urlFor(YourBookmarkablePage.class, pageParamsOrNullIfNone). So, you could do: cellItem.add(new SimpleAttributeModifier("onclick", "location.href = '" + urlFor(YourBookmarkablePage.class, pageParamsOrNullIfNone) + "'")); O

Re: DataTable cell link

2008-10-28 Thread dlipski
Exaclty, problem is with 'consuming' td element by Item object. The problem is that if you have wide column but short text in it some users have problem with hitting the text (which is a link) .The idea is to make whole td element 'clickable'(or linkable). The solution would be if table could ha

LoadableDetachableModel for drop-down menu selection

2008-10-28 Thread Gianni Doe
I'm starting out with Wicket and following the Wicket In Action examples through and I'm a bit stuck on how to make use of a LoadableDetachableModel in a drop-down menu situation. I've got a drop-down menu of countries which is populated from a LoadableDetachableModel, this works perfectly

Re: DataTable cell link

2008-10-28 Thread James Carman
On Tue, Oct 28, 2008 at 3:05 PM, dlipski <[EMAIL PROTECTED]> wrote: > > All this solutions are correct but the problem is not in attaching some > custom Javascript to element (which can be done in multiple ways) but > in making td element work as a link. > Right, the element is already consumed

Notified when component.remove() called

2008-10-28 Thread metalotus
Hi, I want to know when some components are removed. I need to do a bit of clean-up, such as remove their reference from a List. Is there such thing as a "removal" listener, or a hierarchy change listener I can use? Thakns, James -- View this message in context: http://www.nabble.com/Notified

Re: few (not only) AutoCompleteTextField questions

2008-10-28 Thread dlipski
Textfields do recive onchange event, even AutocompleteTextField has modified version off onchange event handler. Whats more new AjaxFormComponentUpdatingBehavior("onchange"){..}; works well in this scenario but OnChangeAjaxBehavior not. I looked at OnChangeAjaxBehavior implemenation and this is a

Re: Serialization problem - detaching an oblect from session

2008-10-28 Thread Igor Vaynberg
you can keep those in your application object, or servlet-context if you think in j2ee terms. so application.map and when the session is destroyed you remove it from the map. -igor On Tue, Oct 28, 2008 at 11:32 AM, eyalbenamram <[EMAIL PROTECTED]> wrote: > > the object negotiates between the use

Re: DataTable cell link

2008-10-28 Thread dlipski
All this solutions are correct but the problem is not in attaching some custom Javascript to element (which can be done in multiple ways) but in making td element work as a link. What exactly should I do to achive this ? What components should I add at server side at what JavaScript should I ren

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
huh? it did not create the fileyour javascript will be inlined! you are using the onloadjavascript which needs support for the onload event, which is why the wicket-event.js is included before your javascript. all this is apparent just by looking at the output code, you can see your code bein

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
OK. What if I want all the JS to be inline (no .js file to be made)? I saw that wicket created a .js file... igor.vaynberg wrote: > > response.renderOnLoadJavascript() takes just the javascript - like the > javadoc says. no need for you to output the script tags. > > -igor > > On Tue, Oct 28,

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
response.renderOnLoadJavascript() takes just the javascript - like the javadoc says. no need for you to output the script tags. -igor On Tue, Oct 28, 2008 at 11:33 AM, eyalbenamram <[EMAIL PROTECTED]> wrote: > >public void renderHead(IHeaderResponse response) { > > >String

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
public void renderHead(IHeaderResponse response) { StringBuffer config = new StringBuffer(); config.append("\n"); config.append("function removeBlur(checked) {\n"); config.append("if(checked) {\n"); config.a

Re: Serialization problem - detaching an oblect from session

2008-10-28 Thread eyalbenamram
the object negotiates between the user and a server that provides a messaging service. there is a new object for each user - thus it must sit in the session. The object contains non serializable objects such as sockets and httpRequests... igor.vaynberg wrote: > > what is its scope? what is the

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
what is your code look like? -igor On Tue, Oct 28, 2008 at 11:28 AM, eyalbenamram <[EMAIL PROTECTED]> wrote: > > Hi again, > > I used IHeaderContributer, and the javascript code is now garbled and not > working. > Here is what I got: > > src="resources/org.apache.wicket.markup.html.WicketEventRe

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
Hi again, I used IHeaderContributer, and the javascript code is now garbled and not working. Here is what I got: