Re: how to create DISQUS like web widgets that can be deployed to third party web pages

2012-04-24 Thread Martin Grigorov
Hi, I think you can do that by mouning a custom IRequestMapper which #mapRequest() returns org.apache.wicket.core.request.handler.ComponentRenderingRequestHandler On Tue, Apr 24, 2012 at 3:42 AM, bad boy badmas...@yahoo.com wrote: Hi  all I am looking at a scenario where some of my partner

Re: about the modalwindow in the wicket

2012-04-24 Thread Martin Grigorov
Hi, On Mon, Apr 23, 2012 at 6:59 PM, lxw_first lxw_fi...@hotmail.com wrote: I have a question in trying to change the label content in the ModalWindow. There is a label in the ModalWindow. The ModalWindow extends the Panel. How to change the content of the modalwindow when the content ofthe

Wicket 1.5 - new browser window support detection

2012-04-24 Thread David Rain
Hi, I have a question about multi window (mutli tab) support in Wicket 1.5+. Many things changed .. like concept of IDs and versions... these are now only simple IDs, etc. My quetion is how do I enable multi window support in 1.5? There is no IPgaeSettings#setAutomaticMultiWindowSupport. The

Re: Wicket 1.5.6 release data please

2012-04-24 Thread Martijn Dashorst
02-02-2020 Unless the Mayas get us first (my prediction would be 12-12-12). Martijn On Tue, Apr 24, 2012 at 12:44 AM, sudeivas sureshkumar@gmail.com wrote: Hello,      Please let me know the approximate date for Wicket 1.5.6 release. -Suresh -- View this message in context:

Re: focus locked in place

2012-04-24 Thread Tom Eugelink
This is very sad; I had a label tag (that was copied with the initial HTML) wrapping the whole table. On 2012-04-19 14:11, Tom Eugelink wrote: Ok, I've opened wicket's ajax debugger and there is NO ajax call. I hope this helps you find out what causes the jumps in the focused elements.

Re: Wicket 1.5 - new browser window support detection

2012-04-24 Thread Andrea Del Bene
AFAIK multi tabs/windows support is enabled by default, you don't need to do anything to enable it. Hi, I have a question about multi window (mutli tab) support in Wicket 1.5+. Many things changed .. like concept of IDs and versions... these are now only simple IDs, etc. My quetion is how do I

Re: Wicket 1.5 - new browser window support detection

2012-04-24 Thread David Rain
OK, I also think so. But I really need to detect the fact, that new window was opened. The Listener was perfect... I wonder why it has been removed? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-new-browser-window-support-detection-tp4582538p4582816.html

Why everything is stored in Session?

2012-04-24 Thread Philipp Oppermann
Hi, I'm PHP-Programmer and now switching to java (and wicket ;) ). But one thing confuses me: Why everything is stored in Session? In PHP the session is empty except you put something in. And there's no Back-button-problem in PHP, when you go back then the site with the previous URL will be

Re: Why everything is stored in Session?

2012-04-24 Thread Josh Kamau
Because Wicket is a Stateful java web framework. Not all java web framework are stateful. Some are stateless e.g playframework.org. However, some of us prefer a stateful framework. It makes work easy for the developer. Welcome to java... A world of options . Josh. On Tue, Apr 24, 2012 at 3:34

Re: Why everything is stored in Session?

2012-04-24 Thread Martin Grigorov
Hi, Only the last used instance of the page is stored in the session. And only if this page is stateful. Wicket does this because if the page is stateful and you have a Link in that page for example then clicking on this Link will execute its #onClick() method. To be able to execute it Wicket

RadioChoice vs. RadioGroup

2012-04-24 Thread Richard W. Adams
Can someone explain the important differences (besides the API) between RadioChoice RadioGroup? What scenarios/factors would make one use one instead of the other? What are the tradeoffs? Etc. From my quick (perhaps naive) reading, they seem like equally plausible ways of doing the same

Re: RadioChoice vs. RadioGroup

2012-04-24 Thread Martin Grigorov
Hi, The difference is like DropDownChoice vs. Select components. The *Choice components generate their body by concatenating strings. Pros: lighter component Cons: not much control over the generated markup Select/RadioGroup need children components like SelectOption/Radio which themselves

JavaScript error wcall is not defined

2012-04-24 Thread Dirk Forchel
Similiar to this wiQuery example http://wiquery-plugins-demo.appspot.com/demo/;jsessionid=-bDymblOPJUPu9QqdWv7ug?wicket:bookmarkablePage=:com.wiquery.plugins.demo.TestLinkEffectsPage

wicket yui 1.5.5

2012-04-24 Thread fachhoch
I am upgrading my project to 1.5 , I use wicketstuff yui, is there 1.5 release for yui ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-yui-1-5-5-tp4584353p4584353.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket dropdownchoice onselectionchanged must override or implement a supertype method

2012-04-24 Thread Per Newgro
it is because of the @override annotation on a non-existent method. Check the signature of the onSelectionChanged Cheers Per Am 24.04.2012 20:04, schrieb kshitiz: Hi, I am trying to implement wicket drop down choice with on selection changed feature. But as I write : final

Re: Wicket dropdownchoice onselectionchanged must override or implement a supertype method

2012-04-24 Thread Sebastien
Right, should probably be something like: protected void onSelectionChanged(SelectOption newSelection) {}; Also, note that SelectOption is generic... Regards, Sebastien. On Tue, Apr 24, 2012 at 8:18 PM, Per Newgro per.new...@gmx.ch wrote: it is because of the @override annotation on a

Gets an userobject content from a TreeTable when I click on a node?

2012-04-24 Thread Pablo Díaz
Hi, I'm trying to get the content of a cell when I click on it?. I've the next code to create de treetable: |public class DocTreeTable extends TreeTable { private static final long serialVersionUID = 8799304134058383380L; public DocTreeTable(String id, TreeModel model) {

Login page stateless??

2012-04-24 Thread Alfonso Quiroga
Hi, in my job we have an application, and the LoginPage is like any other page. The testing team reported that when you see the login page, a new Session is being created by wicket (they see it in jProfiler). I've used a StatelessForm, but the session is still being created. The problem is that

Re: Gets an userobject content from a TreeTable when I click on a node?

2012-04-24 Thread Sven Meier
Hi, protected void onEvent(final AjaxRequestTarget target) { final TreeNode node = (TreeNode) item.getDefaultModelObject(); rowClickSelect(node, item.getDefaultModelObject()); } the item's model object is the TreeNode. You probably want to get hold on the node's user object:

Re: Login page stateless??

2012-04-24 Thread Bas Gooren
It simply means there is another component on your login page which makes the page stateful. To find out which one, override onBeforeRender() in the login page (log is a slf4j Logger): @Override protected void onBeforeRender() { super.onBeforeRender(); log.debug(

Re: Login page stateless??

2012-04-24 Thread Dan Alvizu
The problem is that the application will be in internet, and is VERY easy to attack if we create a session in the login page Are you worried about a session fixation attack? I just call Session#replaceSession(): http://wicket.apache.org/apidocs/1.5/org/apache/wicket/Session.html#replaceSession()

AbstractAjaxBehavior and second request

2012-04-24 Thread Brian Mulholland
I have a javascript widget on my page that will issue multiple requests. I am using an AbstractAjaxBehavior and priming the javascript component with the uri from getCallbackUri(). First request works flawlessly. But the next request using the same uri (excepting the extra parameters that the

Access submit form values during validation

2012-04-24 Thread Russell Pitre
I have some logic that is called during validation and part of this logic is to determine the type of form submission based on a selected radio choice button. For instance, the user can choose Still Updating or Final. When Final is selected the data moves on to the next step in a workflow and the

Re: Access submit form values during validation

2012-04-24 Thread Sven Meier
is the backing model on a form component updated after form validation passes completely and successfully? Yes, it's all or nothing: either validation fails and nothing is pushed into the model(s), or validation succeeds and all models are updated. is myFormComponent.getConvertedInput() a

Re: Gets an userobject content from a TreeTable when I click on a node?

2012-04-24 Thread Pablo Diaz
Hi, thank you for your answer. I have 1.5.3 Wicket versión and I haven't the function getUserObject() to use in TreeNode Object. 2012/4/24 Sven Meier s...@meiers.net Hi, protected void onEvent(final AjaxRequestTarget target) { final TreeNode node = (TreeNode)

Re: Gets an userobject content from a TreeTable when I click on a node?

2012-04-24 Thread Sven Meier
Sorry, I've seen you're using DefaultMutableTreeNode when you're converting your structure to the tree. So you have to cast to the TreeNode implementation: rowClickSelect(node, ((DefaultMutableTreeNode)node).getUserObject()); Sven On 04/25/2012 12:30 AM, Pablo Diaz wrote: Hi, thank you

Re: Gets an userobject content from a TreeTable when I click on a node?

2012-04-24 Thread Pablo Diaz
Yes, I've tried this solution at this moment and its ok. Thank you so much!!! 2012/4/25 Sven Meier s...@meiers.net Sorry, I've seen you're using DefaultMutableTreeNode when you're converting your structure to the tree. So you have to cast to the TreeNode implementation: