How to use mount and QueryStringUrlCodingStrategy in wicket 6.x or 7.x - wicket

I have code as shown below,
mount(new QueryStringUrlCodingStrategy(pwdRstHomeURl.substring(pwdRstHomeURl.lastIndexOf('/')), UserHome.class));
How can I modify this code into 6.x or 7.x?

You can simply use mountPage wicket 1.5 onwards.
mountPage(pwdRstHomeURl.substring(pwdRstHomeURl.lastIndexOf('/'), UserHome.class);
For more information take a look at this page

Related

INodeServices is obsolete: Use Microsoft.AspNetCore.SpaServices.Extensions

We've recently upgraded from ASP.NET Core 1.0 to 3.1.
And in our code we're using the interface INodeServices and call its InvokeAsync method to activate some JavaScript library. After the upgrade to Core 3.1 the compiler complains that INodeServices is obsolete and should be replaced with 'Microsoft.AspNetCore.SpaServices.Extensions', but I couldn't find any type within this library that I could use instead of INodeServices, and I also coudn't find any documentation about it. What is the replacement for INodeServices.InvokeAsync in ASP.NET Core 3.1?
Thanks,
ashilon
Consider using this library instead https://github.com/JeringTech/Javascript.NodeJS
For more detailed informations and to see what other people did, i suggest you give a look at this thread https://github.com/dotnet/AspNetCore/issues/12890

migration from TYPO3 6 to 7 view helper error

I have migrated a TYPO3 6.2.31 page to TYPO3 7.6.23
Most stuff works fine.
At the moment I have the Problem with a view helper.
I got this error:
Could not analyse class: "FluidTYPO3\Vhs\ViewHelpers\SwitchViewHelper" maybe not loaded or no autoloader? Class FluidTYPO3\Vhs\ViewHelpers\SwitchViewHelper does not exist
How can I fix this error?
Thanks!
The PHP class SwitchViewHelper has been removed between VHS version 2.4.0 & 3.0.0. Cause 3.0.0 was TYPO3 7 compatible, which includes its own SwitchViewHelper.
Depend, how you call such SwitchViewHelper in your FLUID templates - I guess something like
vhs:switch
You should change it to
f:switch
and also adapt to f:case, f:defaultCase ..
See https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Switch.html

how to upgrade jwplayer 5 to 6.x

My question here is simple : how to upgrade my JWPlayer 5 Pro to the current version which is 6.10. I have my own server where the version 5.6 is located but i cant find out whats the upgrade process. I have read the official documentation but for me it does not look that easy
Thanks folks!
There's no simple "process" for doing the upgrade, and no automation is available. In effect, you need to rewrite your pages to use the embedding methods of JW6, which are radically different from JW5.
A synopsis of the changes: http://support.jwplayer.com/customer/portal/articles/1404037-migrating-from-jw5-to-jw6
The basic embedding method of JW6: http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed
The embedding options reference: http://support.jwplayer.com/customer/portal/articles/1413113-configuration-options-reference
My own collection of simple examples: http://misterneutron.com/

ComponentQuery in ext 3.4

Hi I am currently using ExtJS 4.2 and Siesta testing framework. In my test case I look up/traverse a component tree using Ext.ComponentQuery.query. I had to go back to ExtJS 3.4 and was wondering if there is an equivalent to Ext.ComponentQuery.query(other than DomQuery) that lets you search/traverse components.
i think, "Ext.Element.query" would be helpful.
it uses css selector internally...
I recently encountered the same issue as you, the solution I found was using Ext.Element.Select('selector')[0]

ExtJS 4 code assist

how can I write ExtJS code in Eclipse with autocompletion and other features?
I tried with SpketIDE, but there isn't a ext.jsb2 file in the ExtJS 4 package.
Has anyone done this?
Thanks
Refer to this Spket forum post.
The Latest skpet jar is: http://www.agpad.com/downloads/com.spket.js_1.6.18.jar
JSB2 file for 4.0.0 is http://www.agpad.com/downloads/ext-4.0.0.jsb2
Now, there is an eclipse plugin for ExtJs developed by Sencha Team.
http://www.sencha.com/products/complete-team
here is a video about it:
http://vimeo.com/49176749
I didn't use but it looks fine...
Look at the docs on the Spke docs: http://www.spket.com/extjs.html
"Click the Add File button, choose sdk.jsb3 which can be found in build folder."