wicket and livequery (jquery plugin)

2009-09-17 Thread Decebal Suiu
Hello, I'm trying to add a hover effect for the actions column (icon with popup menu panel on mouseover) in an ajax table. The problem is that jQuery does not sense the new dom elements while I'm retrieving them with Wicket Ajax - by clicking (header sort link), so I'm using jquery Live query

Re: Reporting Framework Wicket

2009-10-15 Thread Decebal Suiu
Hello, We use Wicket with NextReports (http://www.next-reports.com/) and Jasper. Basically, in Wicket you will have logic for the form that will fill report parameters. For Jasper we also have a logic for edit parameters (we added more functionality to parameter definition that we could not

two questions about wizard

2009-11-19 Thread Decebal Suiu
Hello, I have two question about the Wizard from wicket: 1) I have a wizard with two steps A and B both contains a specific panel with validators. As I see, the validation is done on 'Next' button. Clicking 'Next' in the first step will take me to the second one only if everything is ok. But on

wizard questions

2009-11-19 Thread Decebal Suiu
Hello, I have two question about the Wizard from wicket: 1) I have a wizard with two steps A and B both contains a specific panel with validators. As I see, the validation is done on 'Next' button. Clicking 'Next' in the first step will take me to the second one only if everything is ok. But on

add link in TabbedPanel header

2010-03-12 Thread Decebal Suiu
Hello, I need a link (Add new tab) to be placed in the TabbedPanel header (probably in the div with class tab-row), to the end of tabs. How can I do this? Thanks, Decebal - To unsubscribe, e-mail:

TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-04 Thread Decebal Suiu
Hello I use AjaxSelfUpdatingTimerBehavior on one tab and when switching to another tab I want to stop it. The AjaxSelfUpdatingTimerBehavior will be active only if this tab is selected (start timer behavior when select the tab and stop it when select other tab). Any help is welcome. Thanks,

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Decebal Suiu
When I switch to other tab I received a PageExpiredException: org.apache.wicket.protocol.http.PageExpiredException: No behavior listener found with behaviorId 0; Component: [MarkupContainer [Component id = panel]] Any idea how can I remove/stop the AjaxSelfUpdatingTimerBehavior? I created a

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Decebal Suiu
Thanks, I will try. The problem with your approach is that in our application each tab is a section that can be added using spring framework (modular architecture). For example the dashboards tab has many widget panels, each widget panel is auto refreshable (different time for different widget).

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-08 Thread Decebal Suiu
I tried your advice and I keep the timer behavior outside the tab, in MyTabbedPanel. In the refreshable panel I register a listener with MyApplication.get().addRefreshableComponent(Duration,Component). When I select the tab with the refreshable panel all works fine but when I switch the tab I

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-08 Thread Decebal Suiu
Hello Ernesto I understood now. I single AbstractAjaxTimerBehavior on timerContext component and onTimer I will iterate through all visible components from TabbedPanel that implements ITimerListener. One problem is that DashboardsTab (for example) contains many auto refreshable widget panels

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-10 Thread Decebal Suiu
Hello Ernesto, I resolved the problem. The AjaxSelfUpdatingTimerBehavior was added by me on the panel returned by the ITab.getPanel() method. I put the behavior on a child of the tab panel and it works. Do you have an explanation why I retrieve PageExpiredException: No behavior listener found

handling error in DataProvider

2010-06-22 Thread Decebal Suiu
Hi I have a panel (dashboard) with few data tables (widgets). When an error appears in a data table model (data provider) I want to inform the user about error, replacing the table component with a error panel. It's possible to achieve this functionality in wicket or you can suggest me another

Re: handling error in DataProvider

2010-06-22 Thread Decebal Suiu
Hi igor, You say that in IDataProvider.iterator(..) if an error occurs I throw a RestartResponseException (probably with exception message as PageParameter). But my panel has many data tables. How can I use your approach if errors occur simultaneous in many data tables? Thanks, Decebal --

Re: handling error in DataProvider

2010-06-23 Thread Decebal Suiu
The problem with RestartResponsePage approach is that when multiple data tables (for example last 2 tables from 10) are in error I have a performance problem. Is it true my observation? Thanks, Decebal -- View this message in context:

Re: handling error in DataProvider

2010-06-29 Thread Decebal Suiu
Thanks again, I will try to profile my code. Another question is where I can clean my flags with errors (I keep in session a Map with widget's id as key and Exception as value)? I understand that onAfterRender method is not a good candidate because it's called on abort exception also. -- View

Re: KonaKart shopping cart integration

2010-08-05 Thread Decebal Suiu
Another good options is http://www.broadleafcommerce.org. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Proposal-HierarchicConverterLocator-an-IConverterLocator-that-adheres-to-the-class-hierarchy-tp2311126p2315426.html Sent from the Wicket - User mailing list

need some advice

2011-06-23 Thread Decebal Suiu
Hello I have some trouble with my next wicket application. I want to create a new ecommerce application. I have the store and the admin parts. Initial, the store and admin parts are two distinct (maven) modules and two distinct application (war files) but I realize that it's hard to develop new

DataViw double clickable rows and ModalWindow

2011-08-03 Thread Decebal Suiu
Hello I have a panel with a DataTable and, in newRowItem() I added an AjaxEventBehavior(ondblclick). Everything works fine if I add the panel in a WebPage but doesn't work in a ModalWindow. It's a bug or I do something wrong? Any advice it's welcome. Thanks, Decebal -- View this message in

Re: Stateless Wicket and Ajax

2011-09-01 Thread Decebal Suiu
Hi I have the same problem unable to find component with path... (a DropDownChoice with StatelessAjaxFormComponentUpdatingBehavior(onchange) on each item in a repeater ). It's now a solution without to modify wicket sources (probably with the wicket 1.5 version)? Thanks, decebal -- View this

maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
Hello Do you know a public maven repository for JQWicket? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963213.html Sent from the Users forum mailing list archive at Nabble.com.

Re: maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
Ignore. I found it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963258.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
See http://code.google.com/p/jqwicket/#Quickstart_for_maven_users repository idgooglecode/id urlhttp://jqwicket.googlecode.com/svn/m2-repo/releases//url /repository dependency groupIdcom.google.code.jqwicket/groupId artifactIdjqwicket/artifactId version0.7/version

jqwicket question

2011-11-04 Thread Decebal Suiu
Hello I want to migrate from wiquery to jqwicket but I have a problem. In wiquery I used add(new HeaderContributor(new CoreJavaScriptHeaderContributor())) in BasePage to force adding jquery.js first before others js (my_application.js or jquery plugins). How can I do this with jqwicket? Thanks,

PropertyModel with x.y as property name (from a properties file)

2012-01-10 Thread Decebal Suiu
Hello I have a form with new CompoundPropertyModelValueMap(properties) as model where properties are loaded from a properties file (legacy). My problem is that in properties file I have keys like x.y and I cannot use form.add(new TextFieldString(body.background-color)); How do I solve this

Cannot find AnnotApplicationContextMock in wicket 1.5

2012-03-16 Thread Decebal Suiu
Hi I migrate my application from wicket 1.4 to wicket 1.5.4 but I cannot find AnnotApplicationContextMock class. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Cannot-find-AnnotApplicationContextMock-in-wicket-1-5-tp4478148p4478148.html Sent from

Re: WebResource in Wicket 1.5

2012-03-23 Thread Decebal Suiu
Hi I have the same problem. I changed WebResource to ByteArrayResource but I don't know how I can migrate the following lines: public void onResourceRequested() { createJsonResource(); // TODO wicket 1.5 // jsonResource.onResourceRequested(); } No method

Re: WebResource in Wicket 1.5

2012-03-23 Thread Decebal Suiu
Thanks Martin for the your prompt response. In constructor of OpenFlashChart I have these lines: jsonResource = new ByteArrayResource(text/plain, getJsonData().getBytes()); CharSequence dataPath = urlFor(new ResourceRequestHandler(jsonResource, null)); System.out.println(*** + dataPath);

A/B testing with wicket

2012-04-19 Thread Decebal Suiu
Hello Any advice how can I implement the A/B testing (http://en.wikipedia.org/wiki/A/B_testing) in wicket. Anybody already implemented this concept in an ecommerce or page landing site? Thanks, Decebal -- View this message in context:

Re: A/B testing with wicket

2012-04-20 Thread Decebal Suiu
Maybe Google Website Optimizer/ Google Analytics and not Google AddWords. My idea is to use Component.getVariation() as start point. Best reagrds, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-B-testing-with-wicket-tp4571946p4573185.html Sent from the

Clear markup cache

2012-04-20 Thread Decebal Suiu
Hi I use a CustomResourceLocator (extends ResourceStreamLocator) to load markup files. The workflow is to search in a custom folder and if the file doesn't exists call super.locate If I add/remove some markup files in/from custom folder I see that wicket keeps in cache some old files and I want

Re: Clear markup cache

2012-04-20 Thread Decebal Suiu
I resolved with: // clear markup cache getApplication().getMarkupSettings().getMarkupFactory().getMarkupCache().clear(); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4575132.html Sent from the Users forum

Re: Clear markup cache

2012-04-21 Thread Decebal Suiu
Another question: I know what markup files are changed do you think that it's a good idea to use MarkupCache.removeMarkup(String key) to improve the performance? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4576743.html Sent from the

Re: Wicket 1.5 ListMultipleChoice add Serializable values

2012-04-25 Thread Decebal Suiu
Maybe you must override TextField.getConverter() because the text field component cannot knows to convert text to object/serializable. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-ListMultipleChoice-add-Serializable-values-tp4585991p4586299.html Sent

pivot table in wicket

2012-05-02 Thread Decebal Suiu
Hi Has anybody implemented a (simple) pivot table in wicket? How can I store the pivot data (maybe a java library)? I want to create a simple pivot table in wicket with data retrieved from a database query. Any advice is welcome. Thanks, Decebal -- View this message in context:

Re: pivot table in wicket

2012-05-16 Thread Decebal Suiu
Robert Kimotho wrote Why don't you try using jpivot, the front end is done using html and they have css that you can override to suit your needs. This also makes it easy to embed in your wicket pages. Not unless you want to write one from scratch, which I think will be very time consuming.

Re: Twitter Bootstrap Navigation and JQuery Impromptu demo / tutorial

2012-06-29 Thread Decebal Suiu
Thanks. I like Twitter Bootstrap -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Twitter-Bootstrap-Navigation-and-JQuery-Impromptu-demo-tutorial-tp4650273p4650279.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Generate html page from java POJO in Wickets

2012-07-04 Thread Decebal Suiu
https://sites.google.com/site/wicketrad/ http://wicketwebbeans.sourceforge.net/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650361.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Generate html page from java POJO in Wickets

2012-07-05 Thread Decebal Suiu
See also http://code.google.com/p/wicket-jsr303-validators/. It's not uptodate but you can see how it works. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650389.html Sent from the Users forum mailing list

Thanks

2012-07-12 Thread Decebal Suiu
Thanks for the articles about wicket 6 on http://wicketinaction.com/ Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Thanks-tp4650450.html Sent from the Users forum mailing list archive at Nabble.com.

wicket (1.5) push with cometd or atmosphere?

2012-07-12 Thread Decebal Suiu
Hi I want to use a push technology (now I use comet-timer from wicketstuff) for some notifications in my wicket (1.5) application and I have to chose between cometd (wicketstuff) or atmosphere. I like wicket-atmosphere and wicket-native-socket from wicket-experimental but these require wicket 6.

Re: wicket 1.5 confirmation ajaxbutton

2012-07-12 Thread Decebal Suiu
add(new AjaxLinkFile(delete) { @Override public void onClick(AjaxRequestTarget target) { } @Override protected IAjaxCallDecorator

Re: Generate html page from java POJO in Wickets

2012-07-12 Thread Decebal Suiu
https://sites.google.com/site/wicketrad/getting-the-source-code -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650463.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Generate html page from java POJO in Wickets

2012-07-12 Thread Decebal Suiu
https://sites.google.com/site/wicketrad/downloads -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650464.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Confirmation on AjaxLink

2012-07-12 Thread Decebal Suiu
See http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-confirmation-ajaxbutton-tp4650460p4650462.html, works on wicket 1.5 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Confirmation-on-AjaxLink-tp4650466p4650467.html Sent from the Users forum mailing list archive

Re: Custom XHTML tag

2012-07-13 Thread Decebal Suiu
Hi First, is it a good question. My solution use jqwicket tooltip and I touch both java and html files but it's ok for me. InlineHelp.java public class InlineHelp extends Panel { private static final long serialVersionUID = 1L; public InlineHelp(String id, IModelString messageModel) {

Re: Missingresourceexception only in Firefox but not in Chrome or Safari

2012-07-13 Thread Decebal Suiu
In your Session override getLocale() ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Missingresourceexception-only-in-Firefox-but-not-in-Chrome-or-Safari-tp4650503p4650508.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Generate html page from java POJO in Wickets

2012-07-13 Thread Decebal Suiu
See at http://incubator.apache.org/isis/viewer/wicket/docbkx/html/guide/ch01s02.html a comparison between apache isis wicket viewer and other wicket rad frameworks. -- View this message in context:

wicket-dnd strange situation

2012-08-01 Thread Decebal Suiu
Hi I use wicket-dnd (0.5.0) with wicket 1.5.5. Initial I developed a small application with these libraries but now I want to integrate the code in a big application (copy/paste with some rename on packages). In the big application I retrieves Uncaught TypeError: Object #HTMLDocument has no

Re: wicket-dnd strange situation

2012-08-01 Thread Decebal Suiu
Wicket.Event.add(window, domready, function(event) { new wicketdnd.DropTarget(...) }); // works $(document).ready(function(event){new wicketdnd.DropTarget(...)}); // error (probably jquery not found or a conflict between jquery and prototype) -- View this message in context:

Re: wicket-dnd strange situation

2012-08-02 Thread Decebal Suiu
Nice. I see a beautiful future :) wicket-dnd integrated with wicket tree and of course wicket-dnd part of wicket core. Now, I'm waiting a clarification from a member of wiquery. Thanks again, Decebal -- View this message in context:

Re: wicket-dnd strange situation

2012-08-02 Thread Decebal Suiu
Hi Julien Thanks for the fast response. Sven says that for wicket 6, wicket-dnd will be port to jquery but now I see that I have only one option: to give up one library (wiquery or wicket-dnd). Both libraries are very good and I want to keep both. Is it a chance to activate jquery no conflict

Re: wicket-dnd strange situation

2012-08-02 Thread Decebal Suiu
Another technical question is who (I suppose wiquery) and why change Wicket.Event.add(window, domready, function(event) { new wicketdnd.DropTarget(...) }); in $(document).ready(function(event){new wicketdnd.DropTarget(...)}); Best regards, Decebal -- View this message in context:

pivot table for wicket

2012-08-07 Thread Decebal Suiu
Hi I implemented a simple pivot table for wicket that can be found at https://github.com/decebals/wicket-pivot Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pivot-table-for-wicket-tp4651031.html Sent from the Users forum mailing list

RE: wicket-dnd strange situation

2012-08-14 Thread Decebal Suiu
Hi Hielke First, I want to say thanks for wiquery. I integrated wiquery in a big project with success and we are happy with them. I know that the 2 code snippets do exactly the same. The first uses the wicket mechanism and the second uses the jquery mechanism. I read at

Re: Jqwicket

2012-09-01 Thread Decebal Suiu
Hi On the jqwicket forum on Jul 14 I posted a simple question about jqwicket and wicket 6.0. No response. The last commit on svn was on 30 Dec 2011. Good luck :) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jqwicket-tp4651665p4651690.html

Re: Jqwicket

2012-09-03 Thread Decebal Suiu
Hi In my opinion the main advantage of the jqwicket over wiquery/wicket-jquery-ui is the impressive list of jquery plugins (ui components). See http://code.google.com/p/jqwicket/w/list for more details. Of course, it's not difficult to accommodate these jquery components with

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Decebal Suiu
Good job -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-Apache-Software-Foundation-Announces-Apache-Wicket-6-0-0-tp4651780p4651798.html Sent from the Users forum mailing list archive at Nabble.com.

Re: WiQuery 6.0.0 has been released!

2012-09-07 Thread Decebal Suiu
Congratulations -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-6-0-0-has-been-released-tp4651802p4651832.html Sent from the Users forum mailing list archive at Nabble.com. - To

problem with IResourceListener

2012-09-18 Thread Decebal Suiu
Hi I want to make a open flash chart visible for an external web application using a iframe. For this, I create a ChartWebPage and mount this page to /chart. In a few words, my problem is that the json data (string) returned by OpenFlashChart (implements IResourceListener) are identical for both

Re: problem with IResourceListener

2012-09-18 Thread Decebal Suiu
Additional information: if I put multiple OpenFlashChats in a (Dashboard)Panel everything is ok. The problem appears if I use iframes. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-IResourceListener-tp4652109p4652117.html Sent from

Re: problem with IResourceListener

2012-09-19 Thread Decebal Suiu
I analyzed these lines (two iframes = two sessions): requestUrl = widget?0-IResourceListener-widget-renderer-chartid=32836b83-27c5-43f7-a166-8ba38407d7dd objectHashCode = 12027390 requestUrl = widget?0-IResourceListener-widget-renderer-chartid=fb7e5efe-77c9-4494-9f99-9a577fef1687

Re: problem with IResourceListener

2012-09-19 Thread Decebal Suiu
Thanks Martin I understand this. But why urlFor(IResourceListener.INTERFACE, null); returns 0-IResourceListener-widget-renderer-chart in both situations (two iframes in the same html file). The page version remains the same for both calls. It's ok this behavior? The problem appears only when I

Re: How to create a dashboard with draggable widgets?

2012-09-21 Thread Decebal Suiu
Hi I will release today or Monday a wicket-dashboard project on github. This project it's an open source project (Apache license) based on the dashboard implementations from nextserver (for a live demo see http://http://demo.next-reports.com/ user:demo, password:demo). I used jquery sortable

[Announce] wicket-dashboard

2012-09-25 Thread Decebal Suiu
Hi I implemented a simple dashboard for wicket that can be found at https://github.com/decebals/wicket-dashbaord You can drag and drop widgets, perform some actions on each widget, add or remove new widgets, change widget settings, collapse widgets. I have a tiny demo application. In this demo

Re: Wicket plugin architecture

2012-09-25 Thread Decebal Suiu
Good question and good answers :) I am searching for an answer too. In our product (NextReports server) we use spring framework for this purpose. You can add contributors as section, menu action, popup action, ... and at runtime a component (for example a menu panel) takes all contributors and

Re: Wicket plugin architecture

2012-09-25 Thread Decebal Suiu
Hi Jenkins/Hudson has this ability (do it with class loaders management). See more at http://kohsuke.org/2011/12/06/installing-plugins-to-jenkins-without-restart/. Jenkins is so popular because it uses a relative simple (vs osgi) with a good versatility plugin system. Probably it's possible to

Re: [Announce] wicket-dashboard

2012-10-01 Thread Decebal Suiu
Hi Thanks Paul for the nice words. wicket-dashboard code is used in production in NextReports server (see http://apache-wicket.1842946.n4.nabble.com/How-to-create-a-dashboard-with-draggable-widgets-tp4652210p4652218.html) but with some additional features (multiple dashboards, detached widgets,

Re: [Announce] wicket-dashboard

2012-10-02 Thread Decebal Suiu
Hi Paul Thanks for the feedback. I will split the project in modules asap. In my mind are some problems related to modularity that cannot be resolved so easy: how can I inject some components (DashboardPersister, WidgetFactory, WidgetRegistry) in wicket-dashboard? Now these components are

Re: [Announce] wicket-dashboard

2012-10-02 Thread Decebal Suiu
Hi James I will improve the wiki with a new page Creating a custom widget. To create a custom widget is very simple. You must declare three components: - a TableWidgetDescriptor (implements WidgetDescriptor) that supplies information (meta data) about widget (display name, provider, description,

Re: [Announce] wicket-dashboard

2012-10-05 Thread Decebal Suiu
Hi I divided the project in modules and sub-modules: - core - demo - widgets (repository for widgets: ofchart - open flash chart and loremipsum - for test only) Also I found a DI solution relative smooth. My solution is based on these entities: DashboardContext, DashboardContextAware,

Re: Integrate Reporting tools with Wicket

2012-10-18 Thread Decebal Suiu
Hi I prefer NextReports http://next-reports.com because is developed by me and a friend of mine :) The designer and engine are free. The server is a wicket application, very affordable, with support for scheduling, reports delivery via email, ftp, ssh..., real time dashboard, security and much

RE: Wicket plugin architecture

2012-10-18 Thread Decebal Suiu
Hi Michal I will commit the initial version of my wicket-plugin https://github.com/decebals/wicket-plugin project in a few days (now i'm a little busy). This project is based on another project developed by me PF4J https://github.com/decebals/pf4j and is intended to add a little improvement

something similar with setOutputMarkupContainerClassName

2012-10-22 Thread Decebal Suiu
Hi I want to implement something like setOutputMarkupContainerClassName but more dynamic (not a simple flag in IDebugSettings and not a hard-coded html comment). My situation is that I want to offer an application as a service. In my application, in design mode (an url parameter in request), I

Re: something similar with setOutputMarkupContainerClassName

2012-10-22 Thread Decebal Suiu
Thanks Martin for response. I implemented an DesignModeListener that implements IComponentInstantiationListener. The main problem is that my comment is placed before the container markup tag. Example: div id=container div id=header ... /div

Re: something similar with setOutputMarkupContainerClassName

2012-10-23 Thread Decebal Suiu
public class DesignModeListener implements IComponentInstantiationListener { private boolean designMode = true; @Override public void onInstantiation(Component component) { if (component instanceof WebMarkupContainer) {

Re: something similar with setOutputMarkupContainerClassName

2012-10-23 Thread Decebal Suiu
AbstractTransformerBehavior can be a solution but I must parse the output to retrieve the component tag body. For a particular situation (Jesse Long situation) to parse the output it's not a big deal but in my situation (something general for all my markup containers) I don't see a solution. Maybe

Re: something similar with setOutputMarkupContainerClassName

2012-10-23 Thread Decebal Suiu
And this is my implementation: private class DesignModeBehavior extends AbstractTransformerBehavior { private static final long serialVersionUID = 1L; @Override public CharSequence transform(Component component, CharSequence output)

Re: Mount Page

2012-10-24 Thread Decebal Suiu
In your panel: WebApplication application = getApplication(); application.mountPage(...); // for mount and application.unmount(...); // for unmount -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mount-Page-tp4653318p4653322.html Sent from the Users forum

Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-26 Thread Decebal Suiu
HiSee how I resolved the problem in wicket-dashboard https://github.com/decebals/wicket-dashboard . At the end drag and drop operation I sent (using javascript) a json that keeps the positions for all widgets to wicket. For more details see StopSortableAjaxBehavior

Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-29 Thread Decebal Suiu
Hi First, onStopWidgetMove() function from dashboard.js is called on sortableBehavior.setStopEvent(). That js function creates a json with the new widgets positions. Second, the StopSortableAjaxBehavior (see respond method) is called with parameter data (json created above). For more info see:

Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-29 Thread Decebal Suiu
First, I think that line 55 is not necessary because jquery makes the modification on the client side. The important part is to save changes to xml (on the server side). Maybe a programmatic detach on your model resolves your problem. In the update method you make some modifications on response,

Re: how to add rel=nofollow to all links

2012-10-30 Thread Decebal Suiu
Hi In your Application.init() add this line: getComponentInstantiationListeners().add(new LinkListener()); public class LinkListener implements IComponentInstantiationListener { @Override public void onInstantiation(Component component) { if (component

Re: Charts in Wicket

2012-11-02 Thread Decebal Suiu
jqplot https://github.com/inaiat/jqplot4java . See some jqplot charts in action with wicket-dashboard https://github.com/decebals/wicket-dashboard . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Charts-in-Wicket-tp4653548p4653555.html Sent from the Users forum

need advice for wicket-plugin's implementation

2012-11-09 Thread Decebal Suiu
Hi I'm working to first version of wicket-plugin. I encounter some problems. In few words I implemented a PluginManagerInitializer that create a PluginManager, load and start the plugins from a directory and store the plugin manager to application using wicket meta data. Each plugin is loaded

Re: need advice for wicket-plugin's implementation

2012-11-09 Thread Decebal Suiu
Hi I will abort the solution with ResourceReference. I will try to use a IRequestMapper (PluginResourceMapper) for each started plugin (if request url is ./plugin/plugin-name/...). The mapRequest() method will return a ResourceRequestHandler (PluginResourceRequestHandler) that returns a

[Announce] wicket-plugin

2012-11-14 Thread Decebal Suiu
Hi I implemented a plugin framework for wicket that can be found at https://github.com/decebals/wicket-plugin I have a tiny demo application. The demo application is in demo folder. In demo/api folder I declared an extension point (Section) that is a tab in a wicket TabbedPanel. Each section

Re: [Announce] wicket-plugin

2012-11-14 Thread Decebal Suiu
Thanks Martin I'm working to implement this functionality. If you see some problems with my wicket-plugin implementation please tell me. Any suggestions and advice is welcome. Have a nice day, Decebal -- View this message in context:

Re: [ANN] wicket-dnd now ready for Wicket 6

2012-12-14 Thread Decebal Suiu
Thanks. I appreciate your contribution to wicket (ui components in special). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-now-ready-for-Wicket-6-tp4654761p4654820.html Sent from the Users forum mailing list archive at

Re: [Announce] wicket-dashboard

2012-12-18 Thread Decebal Suiu
Hi I removed wiquery as dependency. To control all resources (js, css - see res folder) used by wicket-dashboard I created DashboardSettings class. All resources are added to DashboardPanel using DashboardResourcesBehavior(that uses DashboardSettings). I will try to migrate to wicket 6 if it's

RE: [Announce] wicket-dashboard

2012-12-19 Thread Decebal Suiu
Thanks Paul for your interest. I'm curios to see how your dashboard looks (and maybe some code that shows us how to integrate highcharts as widget in wicket-dashboard; maybe we can create a wicket-dashboard-highcharts project). Best regards, Decebal -- View this message in context:

motion jpeg and wicket

2013-01-11 Thread Decebal Suiu
Hi Is it possible to implement a motion jpeg in wicket [1]. I want to implement a webcam viewer in wicket. I have a library that give me BufferedImage(s) from a webcam. Now I can display an BufferedImage in wicket but I want to move to the next level. I see two option: --- Implement M-JPEG over

Re: motion jpeg and wicket

2013-01-11 Thread Decebal Suiu
Hi @Marc Implementation using AjaxSelfUpdatingTimerBehavior is better that nothing, it's quick and dirty but it's not scalable. Think at some webcams on the same page with a FPS (frame per second) around 5. @Ernesto Cabzola has a streamer based on multipart/x-mixed-replace mime type but it uses

Re: motion jpeg and wicket

2013-01-14 Thread Decebal Suiu
Hi Marc Thanks for response. A custom Mapper with a RequestHandler that do my job was one of ideas but onRespond I must implement a while loop and I know if it's ok. For example: public void respond(IRequestCycle requestCycle) { // se content type to

Re: [Announce] Introducing Wicked Charts

2013-01-21 Thread Decebal Suiu
See another implementation wicket-jqplot in wicketstuff (https://github.com/wicketstuff/core/wiki/JqPlot-Plugin-Integration) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-Introducing-Wicked-Charts-tp4655519p4655581.html Sent from

Re: Dynamic Components

2013-02-12 Thread Decebal Suiu
Hi Can I see the code. The pastebin show me a Unknown Paste ID! message on link [1]. [1] http://pastebin.com/p4cSNsUw Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamic-Components-tp4654308p4656289.html Sent from the Users forum mailing

Re: Wicket plugin architecture

2013-07-17 Thread Decebal Suiu
Hi If anybody is interested, Wicket Plugin https://github.com/decebals/wicket-plugin is now available on github. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-plugin-architecture-tp4652305p4660307.html Sent from the Users forum

[Announce] wicket-jade

2013-08-06 Thread Decebal Suiu
Hi I implemented a tiny wicket-jade [1] integration solution. It's the first version and it's a quick and dirty implementation (Proof of concept). Jade [2] is a cool, high-performance (and probably the most used template engine for Node.js) template engine. I like the HAML-like syntax of

Re: [Announce] wicket-jade

2013-08-06 Thread Decebal Suiu
Hi Martin I will try to implement your idea. I know about wicket-freemarker, wicket-velocity. I didn't know about wicket-mustache. By the way I think that your wicket-ractive project is interested (I like it because it's ajax aware without a custom AjaxRequestTarget). I think that jade/haml

Re: [Announce] wicket-jade

2013-08-06 Thread Decebal Suiu
Hi Martin I created a branch https://github.com/decebals/wicket-jade/tree/children-components for your idea. I increased the complexity of demo application a little bit. Now, the HomePage contains a BooksPanel that contains an AuthorPanel. Both panels extend JadePanel. BooksPanel.jade contains a

Re: [Announce] wicket-jade

2013-08-07 Thread Decebal Suiu
Hi Heiner I tested with maven 2 and it works fine: $ mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 22:16:01+0300) Java version: 1.6.0_17 Java home: /opt/java/jdk1.6.0_17/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux version: 2.6.32-50-generic arch: i386 Family: unix

  1   2   >