Re: Wicket 6: Using AutoCompleteBehavior with other behaviors

2013-01-23 Thread james yong
Hi all, I have logged the required fixes for WICKET-4990 in jira. Regards, James james yong wrote Hi Sven, WICKET-4990 is for problem 1. So I raised a jira issue for problem 2, together with its solution. WICKET-4998. Regards, James Sven Meier wrote Hi James, please attach

Re: find html tag

2013-01-23 Thread james yong
Hi Michael, What you need may not be related to wicket directly. I suggest you can attach a javascript 'click' handler that will get the parent and modify the attributes. If you are using jQuery, you can use the parent function i.e. http://api.jquery.com/parent/ http://api.jquery.com/parent/

updateAjaxAttributes has no effect on AutoCompleteBehavior

2013-01-21 Thread james yong
Hi all, Just to confirm if overriding updateAjaxAttributes has any effect on AutoCompleteBehavior? I was tryng to do the following but see no popup nor code reflected in the html source. @Override protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {

Re: updateAjaxAttributes has no effect on AutoCompleteBehavior

2013-01-21 Thread james yong
, James Martin Grigorov-4 wrote Hi, I don't see why it should not work. Actually AutoCompleteBehavior itself wont work without this method. It overrides it to do: attributes.setWicketAjaxResponse(false); attributes.setDataType(html); On Mon, Jan 21, 2013 at 10:09 AM, james yong lt

Re: Wicket 6: Using AutoCompleteBehavior with other behaviors

2013-01-21 Thread james yong
; jqEvent.stopImmediatePropagation(); --changed from jqEvent.stopPropagation(); Regards, James james yong wrote Hi, Now migrating a working project from wicket version 1.4 to 6.4. I have a text field that uses the following behaviors

Re: Wicket 6: Using AutoCompleteBehavior with other behaviors

2013-01-21 Thread james yong
Hi Sven, WICKET-4990 is for problem 1. So I raised a jira issue for problem 2, together with its solution. WICKET-4998. Regards, James Sven Meier wrote Hi James, please attach that info to WICKET-4990. Thanks Sven On 01/22/2013 07:07 AM, james yong wrote: Hi, To rectify problem 2

Re: Wicket 6: Using AutoCompleteBehavior with other behaviors

2013-01-18 Thread james yong
Sven Meier wrote Your first problem is a regression, see WICKET-1280. Please open a jira issue. Sven On 01/18/2013 04:45 AM, james yong wrote: Hi, Now migrating a working project from wicket version 1.4 to 6.4. I have a text field that uses the following behaviors

Wicket 6: Using AutoCompleteBehavior with other behaviors

2013-01-17 Thread james yong
Hi, Now migrating a working project from wicket version 1.4 to 6.4. I have a text field that uses the following behaviors: A. AjaxFormComponentUpdatingBehavior(onchange); B. AutoCompleteBehavior; and C. AjaxFormComponentUpdatingBehavior(onkeypress). Say I enter an letter 'U' into the text

Re: Java in CMS arena,..wicket to lead the way?!

2010-09-16 Thread james yong
How about Hippo CMS? -james Arjun Dhar wrote: Summary:: This conversation is about Java in the CMS space, comparison to PHP and is there a future to reduce turn around time with Java. Are we as a community too elitist to be stuck on masturbating on frameworks rather than solutions that

Re: Form/Enter Key Problem

2010-09-15 Thread james yong
Sorry for replying to an old post. The problem can be solved by moving the submit field out of the form in the html template --james Ballist1c wrote: Hey guys, I have created the following form (code below). The form works fine, when i enter a value into the txt field and mouse

Scripting language

2010-09-01 Thread james yong
Hi all, Can anyone recommends a scripting language that can be used with Wicket for productivity? Regards, James -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scripting-language-tp2402957p2402957.html Sent from the Wicket - User mailing list archive at

dialog

2010-08-17 Thread james yong
Hi, Is there any suggestion on creating a dialog? I have look at the following: 1. wiquery has little documentation on creating dialog, and no source codes for the example war file. 2. visural-wicket isn't working for me at 1st try. Maybe due to some javascript conflict with my existing

link in absolute path

2010-08-09 Thread james yong
Hi, is it possible to have the path to the javascript and css files, rendered as absolute Regards, James -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/link-in-absolute-path-tp2318739p2318739.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: link in absolute path

2010-08-09 Thread james yong
Hi Igor, Thanks for quick reply. I will probably look at 1.5 Regards, James Igor Vaynberg-2 wrote: no. everything in wicket is rendered in relative urls because absolute urls cause trouble behind proxies. in 1.4 that code is all over the place so its not easy to swap out. in 1.5 the

Wicket CMS

2008-06-24 Thread james yong
Hi, Is there anyone who would like to pool efforts for a wicket-based cms? Currently, I have a prototype verson at http://code.google.com/p/welo/, but I would like to put efforts into a better one (not necessary mine). Regards, James -- View this message in context:

Re: Wicket CMS

2008-06-24 Thread james yong
I'll put up the doc and demo by this week or so. Thanks. :-) -- View this message in context: http://www.nabble.com/Wicket-CMS-tp18092129p18102616.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: MarkupResourceStream and classloading

2008-06-21 Thread james yong
My take is to implement your own version of IClassResolver. Wicket shouldn't have dependency on osgi. -- View this message in context: http://www.nabble.com/MarkupResourceStream-and-classloading-tp18029801p18045590.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: MarkupResourceStream and classloading

2008-06-21 Thread james yong
Alternatively, may take a look at OsgiClassResolver.java in the welo project which is hosted at google code. OsgiClassResolver.java is an implementation (improvement needed) of IClassResolver to resolve classes that are stored in osgi bundles. igor.vaynberg wrote: nick, have you tried

Using ResourceReference in osgi bundle

2008-05-16 Thread james yong
Hi, I have a javascript file inside a osgi bundle. ResourceReference is used to refer to that file. When running the application, the following exception occurs when the resourceReference's renderhead method is run. java.lang.NullPointerException at

Re: Wicket Article on DevX

2007-10-15 Thread james yong
Tomcat doesn't requires you to deploy with a war file. Check out setting the context in conf/server.xml james yong Gwyn wrote: Even better, when developing you dont need to package your app into a war and deploy it - which are big time wasting steps when you have to do them every ten

Re: Number of available parameters in IndexedParamUrlCodingStrategy

2007-09-17 Thread james yong
Hi Kelvin, It works now! Probably tested with the wrong url the last time i tried. Thanks! Regards, James -- View this message in context: http://www.nabble.com/Number-of-available-parameters-in-IndexedParamUrlCodingStrategy-tf4436939.html#a12738141 Sent from the Wicket - User mailing list

Number of available parameters in IndexedParamUrlCodingStrategy

2007-09-13 Thread james yong
Hi, I am using IndexedParamUrlCodingStrategy. Is there is a good way to check the number of available parameters? Currently i have to use getString(0), getString(1) etc. to check for null before I arrived at the size of the available parameters. Regards, james yong -- View this message

Re: Ideas for a Wicket Based Cms

2007-08-16 Thread james yong
Martijn Dashorst wrote: Take a look at the kronos CMS first (wicketstuff), and possibly Tally-Ho (java.net). Martijn Hi, I tried to run Kronos Cms and run into the exception below. May I know where should I put the nodetype.cnd file? I am running on Tomcat. Regards, James

Ideas for a Wicket Based Cms

2007-08-14 Thread james yong
Hi all, I have plans to work on a new open sourced CMS that would also be useful to others. It will be based on wicket. Some ideas for the 1st phase: 1) It will use Jackrabbit to store CMS-related data 2) To create a page, the administrator starts by selecting a layout, and then select the