Caching Imagages, CSS, JS in Wicket 1.5.3
we are new to wicket, and currently trying to optimize and performance tune our wicket application. using 1.5.3. we tried to get the caching configuration up and running. red this: https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-inIResourceSettingsmethodsetAddLastModifiedTimeToResourceReferenceUrl%2528%2529hasbeenreplacedbyIResourceCachingStrategy migration to 1.5. already, and we have set: /getResourceSettings().setCachingStrategy(strat); /during application init. we have CSS and JS in the Base-Frame.html header as link and script. and we have a lot of images we currently implement something like this: Image img = new Image(logoutImg) { protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put(src, baseUrl + /images/logout.png); } }; now we always geht *Pragma No-cache Cache-Control no-cache * for all resources and pages. now we have experimneted with using an extra servlet filter, which overwrites those headers ... could anyone provide a running working example, or some tips for getting this up and running ? thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4121068.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
tabs are displayed in a list when using tabbed panel
Hi, I am trying to use AjaxTabbedPanel. I added 2 tabs to it. In browser they are displayed 1 under another, not side by side. And no styling. I have seen sourcecode. It seems css classes were added but I did not find any css file in the source code. Here is the code, I used for AjaxTabbedPanel, *My html code*: span wicket:id=tabs class=tabpanel[tabbed panel will be here]/span *My java code*: AjaxTabbedPanel tabbedPanel = new AjaxTabbedPanel(tabs, tabs); Do I need to add css file on my own? Please confirm me. regards, Mohan.
Re: Jquery Confirmation Dialog - or WiQuery Dialog?
Lucas, With commit [1] I have added AjaxButtons to wiQuery dialog. You can use them as follow: HTML AjaxDialogTestPage.html html xmlns:wicket body div wicket:id=dialog dddl! /div /body /html Java: public class AjaxDialogTestPage extends WebPage { /** * */ private static final long serialVersionUID = 1L; private Dialog dialog; private AjaxDialogButton ok; private AjaxDialogButton cancel; /** * */ public AjaxDialogTestPage() { ok = new AjaxDialogButton(Ok) { private static final long serialVersionUID = 1L; @Override protected void onButtonClicked(AjaxRequestTarget target) { //do your cancel logic here } }; cancel = new AjaxDialogButton(Cancel) { private static final long serialVersionUID = 1L; @Override protected void onButtonClicked(AjaxRequestTarget target) { //do your cancel logic here } }; dialog = new Dialog(dialog); dialog.setTitle(Test); add(dialog); dialog.setAutoOpen(true); dialog.setButtons(ok, cancel); } } Hope this helps:-) Regards, Ernesto References 1-http://code.google.com/p/wiquery/source/detail?r=1950 On Tue, Nov 29, 2011 at 2:52 PM, lucast lucastol...@hotmail.com wrote: Dear Forum, I want to implement a modal window for confirming the deletion of objects. I want to use Jquery confirmation dialog, just like on http://jqueryui.com/demos/dialog/modal-confirmation.html this example . Is there a way to add this Jquery script to my code and to know if the delete button has been clicked? When I use jQuery widgets, I render them on load from renderHead function but I never had to use dialogs. I thought of using wiQuery's functionality by creating a Dialog object and adding DialogButton objects to it. But I don't know how to how about adding the necessary code to record that the delete button has been clicked. I know I need to add the following code to the Dialog object: DialogButton deleteButton = new DialogButton(delete, jsScope); but I don't know what I should put on jsScope. I don't want to depend on wiQuery, if learning how to read a value from javascript/jquery code gives me more freedom. Thanks in advance, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-Confirmation-Dialog-or-WiQuery-Dialog-tp4119238p4119238.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: tabs are displayed in a list when using tabbed panel
Yes, you need to provide your own styling (CSS file). Cheers, -Tom mohan mohan wrote: Hi, I am trying to use AjaxTabbedPanel. I added 2 tabs to it. In browser they are displayed 1 under another, not side by side. And no styling. I have seen sourcecode. It seems css classes were added but I did not find any css file in the source code. Here is the code, I used for AjaxTabbedPanel, *My html code*: span wicket:id=tabs class=tabpanel[tabbed panel will be here]/span *My java code*: AjaxTabbedPanel tabbedPanel = new AjaxTabbedPanel(tabs, tabs); Do I need to add css file on my own? Please confirm me. regards, Mohan. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxPayload equivalent in Wicket 1.4
Right Martin, so your code allows me to select the children to refresh via Ajax. My question was how can trigger the logic processing in the ParentClass automatically. As you noted in the code, the child panels will have to remember to call the parent.update(t) line. I'm fine with that solution, but I was wondering if there was another way. For example would that page's onBeforeRender get called automatically if a link's onClick is called? The more I think about it it feels like I'll use: parent.update(ajaxReqTarg, PayloadType.MONITOR). Then each child panel will implement an interface like: 'getPayloadSubscriptions()' and if any report that they care about 'MONITOR'ing payload they would get added to the AjaxRequestTarget since each render needs to report what type of payload update we are looking for.. -Clint On Wed, Nov 30, 2011 at 1:36 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Clint, I'd recommend to look in AjaxRequestTarget itself. It has addChildren(parentInstance, Child.class) method with update all children with type Child of this parent. Check also AjaxRequestTarget.IListener. Or add ParentClass#update(AjaxRequestTarget) so you can do: AnotherClass#onEvent(ART t) {...; parent.update(t);...} On Wed, Nov 30, 2011 at 7:51 AM, Clint Checketts checke...@gmail.com wrote: I want to create a parent panel that will have several child panels. I'm making it so the parent panel will automatically add child components to the AjaxRequestTarget via its logic and detecting which ones it detects need to update. I can see how to make it work great if the AjaxLink calls the parent panel in it's onClick, but is there any method or hook I can put in the parent panel itself that would be able to detect that a request is happening and decide to add the child components automatically? I know 1.5 has this, I'm just trying to make it work in 1.4.x for now since the planned upgrade to 1.5 is a ways away for this project. Is there a solution without overriding anything in the application class? If it isn't possible, what is the minimum application class changes required? (WebRequestCycleProcessor?) Thanks, -Clint Checketts -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Caching Imagages, CSS, JS in Wicket 1.5.3
and we have set: /getResourceSettings().setCachingStrategy(strat); /during application init. You don't have to. There's a default strategy during development and deployment that should work in most cases. Basically you have wicket-examples which are part of the wicket distribution and provide sample of working caching. here's a little more general information on caching in 1.5: https://cwiki.apache.org/WICKET/caching-in-wicket-15.html Cheers Peter
Re: AjaxPayload equivalent in Wicket 1.4
Hi, On Wed, Nov 30, 2011 at 1:23 PM, Clint Checketts checke...@gmail.com wrote: Right Martin, so your code allows me to select the children to refresh via Ajax. My question was how can trigger the logic processing in the ParentClass automatically. As you noted in the code, the child panels will have to remember to call the parent.update(t) line. I'm fine with that solution, but I was wondering if there was another way. No need to remember to do it. Just register a ART.IListener that will do this for you when your conditions pass. For example would that page's onBeforeRender get called automatically if a link's onClick is called? No. onBeforeRender() is called only for the components which are added to ART. The more I think about it it feels like I'll use: parent.update(ajaxReqTarg, PayloadType.MONITOR). Then each child panel will implement an interface like: 'getPayloadSubscriptions()' and if any report that they care about 'MONITOR'ing payload they would get added to the AjaxRequestTarget since each render needs to report what type of payload update we are looking for.. -Clint On Wed, Nov 30, 2011 at 1:36 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Clint, I'd recommend to look in AjaxRequestTarget itself. It has addChildren(parentInstance, Child.class) method with update all children with type Child of this parent. Check also AjaxRequestTarget.IListener. Or add ParentClass#update(AjaxRequestTarget) so you can do: AnotherClass#onEvent(ART t) {...; parent.update(t);...} On Wed, Nov 30, 2011 at 7:51 AM, Clint Checketts checke...@gmail.com wrote: I want to create a parent panel that will have several child panels. I'm making it so the parent panel will automatically add child components to the AjaxRequestTarget via its logic and detecting which ones it detects need to update. I can see how to make it work great if the AjaxLink calls the parent panel in it's onClick, but is there any method or hook I can put in the parent panel itself that would be able to detect that a request is happening and decide to add the child components automatically? I know 1.5 has this, I'm just trying to make it work in 1.4.x for now since the planned upgrade to 1.5 is a ways away for this project. Is there a solution without overriding anything in the application class? If it isn't possible, what is the minimum application class changes required? (WebRequestCycleProcessor?) Thanks, -Clint Checketts -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Caching Imagages, CSS, JS in Wicket 1.5.3
yes we also tested with the default strategy, it does not change anything. and yes we reviews the link about caching already. no we have not found any working example for wicket 1.5. and caching, but reviewed most of the samples and git sources i think. which example would be the working one ? thanks. chris -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4122947.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WebResource in Wicket 1.5
Thanks Vineet, I managed to change WebResource to ByteArrayResource. But I am stuck with a problem in the url for json constructed. CharSequence dataPath = RequestCycle.get().urlFor(OpenFlashChart.this, IResourceListener.INTERFACE); String url = RequestUtils.toAbsolutePath(dataPath.toString()); When i deploy to my server and access it using the ip address, the json data url was still referring to http://127.0.0.1:8080/erp/app/home/wicket:interface. so the js to embed did not work swfobject.embedSWF('resources/com.company.charts.ForceChartResource/ofc/resr/open-flash-chart.swf','chart8', '100%', '200', '9.0.0', 'expressInstall.swf', {'data-file':'http://127.0.0.1:8080/erp/app/home/wicket:interface/:3:dashboard:layout:lcontent-list:3:lcss-cntr:lcontent:dsb-content:chart::IResourceListener::'}, {} ); RequestUtils.toAbsolutePath is not working as expected ? Any clue ? DEBUG MESSAGES FROM LOG --- data path home/wicket:interface/:3:dashboard:layout:lcontent-list:3:lcss-cntr:lcontent:dsb-content:chart::IResourceListener:: req.getRequestURI /erp/app/home req.getRequestURL http://127.0.0.1:8080/erp/app/home req.getContextPath /erp req.getPathInfo /home req.getPathTranslated /home/ec2-user/server/apache-tomcat-7.0.8/webapps/erp/home req.getServletPath /app req.getRemoteHost 127.0.0.1 req.getRemotePort 33230 req.getLocalName() localhost -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4122979.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WebResource in Wicket 1.5
On Wed, Nov 30, 2011 at 2:31 PM, nazeem md.naz...@gmail.com wrote: Thanks Vineet, I managed to change WebResource to ByteArrayResource. But I am stuck with a problem in the url for json constructed. CharSequence dataPath = RequestCycle.get().urlFor(OpenFlashChart.this, IResourceListener.INTERFACE); String url = RequestUtils.toAbsolutePath(dataPath.toString()); When i deploy to my server and access it using the ip address, the json data url was still referring to http://127.0.0.1:8080/erp/app/home/wicket:interface. wicket:interface is only in Wicket 1.4 Wicket 1.5 wont construct url with this parameter. so the js to embed did not work swfobject.embedSWF('resources/com.company.charts.ForceChartResource/ofc/resr/open-flash-chart.swf','chart8', '100%', '200', '9.0.0', 'expressInstall.swf', {'data-file':'http://127.0.0.1:8080/erp/app/home/wicket:interface/:3:dashboard:layout:lcontent-list:3:lcss-cntr:lcontent:dsb-content:chart::IResourceListener::'}, {} ); RequestUtils.toAbsolutePath is not working as expected ? Any clue ? DEBUG MESSAGES FROM LOG --- data path home/wicket:interface/:3:dashboard:layout:lcontent-list:3:lcss-cntr:lcontent:dsb-content:chart::IResourceListener:: req.getRequestURI /erp/app/home req.getRequestURL http://127.0.0.1:8080/erp/app/home req.getContextPath /erp req.getPathInfo /home req.getPathTranslated /home/ec2-user/server/apache-tomcat-7.0.8/webapps/erp/home req.getServletPath /app req.getRemoteHost 127.0.0.1 req.getRemotePort 33230 req.getLocalName() localhost -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4122979.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WebResource in Wicket 1.5
Yes, I am not yet thru with my wicket 1.5 migration. so was changing my 1.4 version and testing the same. I think its some thing to do with apache proxy. If i directly access the ipaddress:8080/erp it works but when i access thru the apache ipaddress/erp i face this problem. my apache config - ProxyPass /erp http://127.0.0.1:8080/erp ProxyPassReverse /erp http://127.0.0.1:8080/erp -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4123031.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Caching Imagages, CSS, JS in Wicket 1.5.3
the effects of the caching strategy can been for example on package resources (e.g. javascript, css, images) … e.g. start wicket-examples and load the pub - Localization page (the page with the different beers :-) From looking at the html source you see url's like this: img src=wicket/resource/org.apache.wicket.devutils.debugbar.DebugBar/remove-ver-07299CE805B43468A421A01884640D86.png alt=Remove/ part of the url is the fingerprint which is provided by the deployment caching strategy (= MessageDigestResourceVersion) since the sample runs with config = deployment. the code that sets the strategies can been seen in the method org.apache.wicket.settings.def.ResourceSettings#getCachingStrategy() you also see in the sample that the beer image, which is an org.apache.wicket.markup.html.image.Image works with different locales. Just switch the country and see that the fingerprints changes for the same resource url with different locale qualifiers in the query string. If you want to implement own resource types that should use the caching strategy they should implement org.apache.wicket.request.resource.caching.IStaticCacheableResource (read the javadoc) also you should construct urls using wicket's urlFor(…) so the caching strategy gets applied to the url. if you just want to use wicket's default resource types (package resources, etc.) you don't have to do anything since caching should work transparently. Cheers Peter Am 30.11.2011 um 14:21 schrieb chris.schaefer: yes we also tested with the default strategy, it does not change anything. and yes we reviews the link about caching already. no we have not found any working example for wicket 1.5. and caching, but reviewed most of the samples and git sources i think. which example would be the working one ? thanks. chris -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4122947.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Handling ReplaceHandlerException on continueToOriginalDestination in wicket 1.5
To follow up, and to put this issue at rest, here's the explanation (thanks to the wicket authentication examples): The ReplaceHandlerException will get thrown if there is an active request handler on the stack to stop its execution and start executing the new request handler (usually RedirectRequestHandler) if the original request was for some bookmarkable page. The exception eventually will get intercepted in the request handler code and the new request handler will get executed, and the requested page will eventually be rendered. Since before WICKET-4269 addressed the return values of continueToOriginalDestination(), that method return values were used to determine whether a redirect to the default (usually home page) or a redirect to the requested page is to take place. I was catching an Exception in the login page which also intercepted the ReplaceHandlerException which prevented the replacement request handler from being successfully executed down the road. I didn't realize this until I attached a debugger to the authentication examples. Developers can correct me if I'm off in my explanation here. -Martin- -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handling-ReplaceHandlerException-on-continueToOriginalDestination-in-wicket-1-5-tp4101981p4123670.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Caching Imagages, CSS, JS in Wicket 1.5.3
thanks for this answer. in the pub example this seems to work, and we also see the Cache-control headers. but we do not need and have language specific resouces (so far). a. can you tell me how we should change the image construction for our initialization code which currently looks like this: Image img = new Image(logoutImg) { protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put(src, baseUrl+images/logout.png); } }; should this then be like this ?: ResourceReference resRefFrogster = new SharedResourceReference(./images/my_image.jpg); Image test = new Image(testid, resRefFrogster); add(img); which resourceReference is to take for non NLS: images, css and js ? b. can you tell me how we should change our scirpt include which is currently done in the html file directly in the header like this: link type=text/css href=./js/jquery-ui/css/jquery-ui.custom.css rel=Stylesheet / thanks ! lg chris -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4123742.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
IE browsers hang on ajax requests
I posted a bug for this, but it may not be a wicket bug. And the hang is not experienced on the server side on the container. It is client related. Has anyone experienced this? I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs. The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data. I see the issue on IE8 and IE9 with and without compatibility mode. But I DON'T see the error on other browsers. It happens about 10% of all the requests out of 100,000 requests. What would cause this issue? IE bug? IE bug with ajax requests? It seems to happen mostly from the client side. Is it possible that Internet Explorer has some kind of bug where it won't send that data? I read somewhere that IE can only have one connection to the server, maybe two are being opened. Here is a snippet from the framework code: Wicket Java Code: dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( onclick ) { @Override protected void onUpdate( final AjaxRequestTarget target ) { target.addComponent( someForm ); } // End of the method // } ); wicket-ajax.js: ... Javascript call on the client-side: 1. t.open(POST, url, this.async); 2. t.onreadystatechange = this.stateChangeCallback.bind(this); 3. t.setRequestHeader(Content-Type, application/x-www-form-urlencoded); 4. // set a special flag to allow server distinguish between ajax and non-ajax requests 5. t.setRequestHeader(Wicket-Ajax, true); 6. t.setRequestHeader(Accept, text/xml); 7. t.send(body); ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:POST ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Accept: text/xml ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Accept-Language: en-us ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:wicket-ajax: true ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Referer: https://data.com/l/launch/ ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL: wicket-focusedelementid: id1924 ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Content-Type: application/x-www-form-urlencoded ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Accept-Encoding: gzip, deflate ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8) ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Content-Length: 36 ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Cache-Control: no-cache ÝMon Nov 28 12:36:24 2011¨ 000ee03c 999a - DETAIL:Cookie: ... The request information is SENT but no BODY data. ... Arch Configuration: Server: IBM Websphere 6 with IHS plugin. Wicket 1.4.13. Java6.The client side is mostly Internet Explorer 8, 9. Compatibility and Non Compat modes.
Re: Caching Imagages, CSS, JS in Wicket 1.5.3
another thing i did not mention is, that in this applicaiton the images and js and css files are stored in the webapp/images folder and not in the classpath packages ! is it intended / required to store all images within java packages ? chris -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4123974.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
jQuery Validation Wicket
There is a javascript jQuery client validation framework (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) that I tried to integrate with my wicket pages. Ran it in a local simple htm, and it worked fine. I put i into my wicket page and form and it does not. No indication of javascript errors or any reason for failure. Has anyone used this lib with Wicket? Does it not work with Wicket? The objective is to simply use a client side validation to give quick feedback on errors, while still enforcing them on the server. I know Wicket has it's ajax validation behavior, but i don't want to issue an ajax request for every component. This library seems like it should intgrate fairly seemlessly relying on simple css classes to define rules. And yet, it does not. Anyone know why? Brian Mulholland - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Jquery Confirmation Dialog - or WiQuery Dialog?
Thank you, Ernesto. I have checked out wiQuery trunk. I am still to upgrade from wicket 1.4.19 to 1.5. As soon as I have, I'll let you know how the dialog button functionality goes. Thank you very much for adding this functionality. I am sure other developers will find it of much use. Kind regards, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-Confirmation-Dialog-or-WiQuery-Dialog-tp4119238p4124155.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Jquery Confirmation Dialog - or WiQuery Dialog?
The solution provided should also work for 1.4.x. Porting it to 1.4.x should be very easy: let me know if that would be useful to you. Regards, Ernesto On Wed, Nov 30, 2011 at 7:25 PM, lucast lucastol...@hotmail.com wrote: Thank you, Ernesto. I have checked out wiQuery trunk. I am still to upgrade from wicket 1.4.19 to 1.5. As soon as I have, I'll let you know how the dialog button functionality goes. Thank you very much for adding this functionality. I am sure other developers will find it of much use. Kind regards, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-Confirmation-Dialog-or-WiQuery-Dialog-tp4119238p4124155.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Jquery Confirmation Dialog - or WiQuery Dialog?
Hi Ernesto, Yes, I believe that porting it to 1.4.2 would be ideal. It means that I can finish this functionality and upgrade wicket at a later date. That, of course, would be most generous of you. I was going to do that myself by doing a diff between the two files but I noticed the new structure between wiquery 1.4.x and 1.5.x. Also, (although, this would be more suitable for a different post), I'm calling mvn -e package on wiquery-read-only and I'm getting some errors (attached, just in case, http://apache-wicket.1842946.n4.nabble.com/file/n4124319/mvnPackageBuild.log mvnPackageBuild.log ). It starts with ...wiquery-core/src/main/java/org/odlabs/wiquery/core/WiQuerySettings.java:[31,28] package org.apache.wicket.css does not exist. After that I get a long trace. I don't know why maven is complaining. But in short, having that functionality in 1.4.2 would be grand. Thank you very much, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-Confirmation-Dialog-or-WiQuery-Dialog-tp4119238p4124319.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Caching Imagages, CSS, JS in Wicket 1.5.3
Try with: new Image(someId, new ContextRelativeResource(images/logout.png)) On Wed, Nov 30, 2011 at 6:40 PM, chris.schaefer cgs.schae...@gmail.com wrote: another thing i did not mention is, that in this applicaiton the images and js and css files are stored in the webapp/images folder and not in the classpath packages ! is it intended / required to store all images within java packages ? chris -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4123974.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org