Re: Performance tuning Wicket[1.5]...

2012-08-31 Thread Alex Shubert
Maybe bottleneck is somewhere else? SQL request maybe? Some eager loading... On 29 August 2012 10:31, nino martinez wael nino.martinez.w...@gmail.com wrote: A little feedback. First I tried visualVM (did not provide enough detail for this extreme optimization), then jprofiler (had trouble

Re: page version and forms

2012-08-28 Thread Alex Shubert
or the new components in Wicket 6? Please be more specific what information you're looking for. I'll gladly provide more info in javadoc or in the wiki. Sven Alex Shubert alex.shub...@gmail.com schrieb: Sven while you are here: why no documentation for Tree? Nothing at all? Right now I face

Re: page version and forms

2012-08-22 Thread Alex Shubert
! On AppEngine I still have Wicket 1.4.x running. Sven On 08/21/2012 02:59 PM, Martin Grigorov wrote: The Google Code repo contains 1.5 but the deployed app is using pre-1.5 version. I can bet on this. On Tue, Aug 21, 2012 at 3:37 PM, Alex Shubert alex.shub...@gmail.com wrote: Martin

Re: page version and forms

2012-08-21 Thread Alex Shubert
instead. On Tue, Aug 21, 2012 at 1:06 PM, Alex Shubert alex.shub...@gmail.com wrote: Hello Recently I found wicket tree control http://wicket-tree.appspot.com/nested and one there is a thing I can't understand: while the page contains Form it looks like not versioned. I mean

Re: page version and forms

2012-08-21 Thread Alex Shubert
/?wicket:interface=:0:1::: On Tue, Aug 21, 2012 at 1:35 PM, Alex Shubert alex.shub...@gmail.com wrote: They are using FormVoid form = new FormVoid(form); and still no version in url on round-trips. Also, FilterForm from Wicket API doesn't extends StatelessForm while your answer states that must be the case

Re: page version and forms

2012-08-21 Thread Alex Shubert
=:0:1:::' in the url means that this is Wicket pre-1.5 ;-) I guess Sven will join this conversation later today and explain in more details. On Tue, Aug 21, 2012 at 2:16 PM, Alex Shubert alex.shub...@gmail.com wrote: Martin with all my respect but their build script uses

Re: page version and forms

2012-08-21 Thread Alex Shubert
information in the URL. Search this list for e.g. NoVersionMount. Such solutions do change how Wicket behaves with the back-button/page-refresh, since a new version of the page will always be returned in that case. On Tue, Aug 21, 2012, at 13:16, Alex Shubert wrote: [...] Anyway: what does your answer

Re: page version and forms

2012-08-21 Thread Alex Shubert
but the deployed app is using pre-1.5 version. I can bet on this. On Tue, Aug 21, 2012 at 3:37 PM, Alex Shubert alex.shub...@gmail.com wrote: Martin, http://wicket-tree.googlecode.com/svn/repo/wicket-tree/wicket-tree-parent/0.5.0/wicket-tree-parent-0.5.0.pom Again, no 1.4 at all. Not in one

Re: OutputStreams and Panels

2011-07-11 Thread Alex Shubert
Julian, may you provide a small hello-world project? I would like to see how all this work. I heard never before about BIRT and have no idea is it any good. thanks On 9 July 2011 03:40, Julian Sinai jsi...@gmail.com wrote: I should add that I used BIRT 3.7 for this. Julian -- Best regards

Re: using a different pagemap

2011-06-28 Thread Alex Shubert
I have a question then. What pagemap actually for? In javadoc there are only #FIXME javadoc. Is there some documentation on this? Also it is mentioned in multi window support but still no clues what impact does it have on modal windows on multiwindows at all.. Someone? Thank you. -- Best regards

Re: Page-ModalWindow[Form]-ModalWindow[Form] problem

2011-06-18 Thread Alex Shubert
ParentPage 1. creates a SomeObject. Not a model or something. 2. Creates a modalpage with a private field assigned to SomeObject 3. Shows ModalWindow with it's content set to another page. So I have to keep in a window's content page a reference to a caller page in order to set result value?

Page-ModalWindow[Form]-ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
Hello I got a strange problem with multiply Modal Windows. Let's imagine we have an Entity A with field of entity B (1 to 1 relation) . Now we create the Edit page, which contains a form and some edit fields. One of that field is the Label with add AjaxButton. Add button creates a new modal

Re: Page-ModalWindow[Form]-ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
Page. I found your discussion with Marieke Vandamme. Looks very similiar to my case. On 17 June 2011 14:02, Andrea Del Bene adelb...@ciseonweb.it wrote: Hi Alex, maybe I'm facing the same problemyour modal windows' content is a Page or a Panel? -- Best regards Alex

Re: Page-ModalWindow[Form]-ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
I trust in you, a colleague On 17 June 2011 15:15, Andrea Del Bene adelb...@ciseonweb.it wrote: I'm going to open an issue on JIRA -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Page-ModalWindow[Form]-ModalWindow[Form] problem

2011-06-17 Thread Alex Shubert
Andrea, I have a strange feeling. Why to speak about page version if there are no such problem transmitting modal result from modal to page. Such example exists even in a example bundle... I feel I miss something here. On 17 June 2011 16:14, Andrea Del Bene adelb...@ciseonweb.it wrote: The

DataTable and toolbar

2011-02-11 Thread Alex Shubert
Hello Recently I found public static final String TOOLBAR_COMPONENT_ID = toolbar; in DataTable sources but can't find such ID in markups. How exactly does it works? Thanks -- Best regards Alex - To unsubscribe, e-mail:

Re: DataTable and toolbar

2011-02-11 Thread Alex Shubert
: DataTable#addTopToolbar DataTable#addBottomToolbar On Fri, Feb 11, 2011 at 11:08 AM, Alex Shubert alex.shub...@gmail.comwrote: Hello Recently I found public static final String TOOLBAR_COMPONENT_ID = toolbar; in DataTable sources but can't find such ID in markups. How exactly does it works

Re: DataTable and toolbar

2011-02-11 Thread Alex Shubert
So, the toolbar id just droppped out? It is used only as a marker? 2011/2/11 Robert Dahlström robert.dahlst...@bwin.org: In the addToolbar() method you have: WebMarkupContainer item = new ToolbarContainer(container.newChildId()); That's where the magic happens :) Regards Robert --

Re: DataTable and toolbar

2011-02-11 Thread Alex Shubert
It looks like WebMarkupContainer does not require ID at all. It somehow unusuall 2011/2/11 Robert Dahlström robert.dahlst...@bwin.org: As far as I can tell yes. But maybe someone with better knowledge can enlighten us? /Robert -- Best regards Alex

Editable DefaultDataTable

2010-12-26 Thread alex shubert
Hello Currently I am working on Editable DefaultDatatable. My first attempt was to override protected ItemT newRowItem with final Item item = super.newRowItem(id, index, tiModel); item.add(new AjaxFormSubmitBehavior(onclick) { naively thought that adding rowItem to ajax

Re: Editable DefaultDataTable

2010-12-26 Thread Alex Shubert
might have better success implementing it in your IColumn implementations since they generate the components for each cell. On Sun, Dec 26, 2010 at 4:55 AM, alex shubert alex.shub...@gmail.com wrote: Hello Currently I am working on Editable DefaultDatatable. My first attempt was to override

Re: Editable DefaultDataTable

2010-12-26 Thread Alex Shubert
to display something in the table.  If you want to have it editable, that's where you need the if (foo) { rowItem.add(new Label(...)); } else { rowItem.add(new TextField(...)) } logic. On Sun, Dec 26, 2010 at 11:58 AM, Alex Shubert alex.shub...@gmail.com wrote: Implementing what? The one reason why

Re: Editable DefaultDataTable

2010-12-26 Thread Alex Shubert
Sure. But it doesnt look like a solution for it's resource consumption. So, again: after any cell click I need to announce the rw and the row must, in turn, somehow command only it's cells to repopulate their content. I know, how to do it without any framework, but wicket way to do it unclear for

Re: Editable DefaultDataTable

2010-12-26 Thread Alex Shubert
Jeremy thanks for your patience. that last thing is what I meaning. But how to make row call repopulate on it's column. I mean, it is not a problem to visit every child of rowItem and filter all of IColumn descendants. But there are no reason to call populateItem on IColumn as I have no idea what

Re: Editable DefaultDataTable

2010-12-26 Thread Alex Shubert
: On Sun, Dec 26, 2010 at 1:20 PM, Alex Shubert alex.shub...@gmail.com wrote: Jeremy thanks for your patience. that last thing is what I meaning. But how to make row call repopulate on it's column. I mean, it is not a problem to visit every child of rowItem and filter all of IColumn descendants

FormComponentPanel + unknown collection type

2010-12-06 Thread alex shubert
Hello! I got a problem with type mysmatch then implementing custom component. First of all, the code^ public class EnumCheckGroupT extends Enum extends FormComponentPanelCollectionT { public EnumCheckGroup(final String id, final IModel? extends CollectionT model, final ClassT enumClass) {

Re: FormComponentPanel + unknown collection type

2010-12-06 Thread alex shubert
Anyone? ( On 6 December 2010 15:59, alex shubert alex.shub...@gmail.com wrote: Hello! I got a problem with type mysmatch then implementing custom component. First of all, the code^ public class EnumCheckGroupT extends Enum extends FormComponentPanelCollectionT {  public

Re: FormComponentPanel + unknown collection type

2010-12-06 Thread alex shubert
Oh, I fouled myself There nothing to do with setType at all and WiA uses explicit call only instead of generics. So, if there are code such as mine, all one have to do is properly assembly object on it's way to model. private CollectionT modelField; @Override protected void

IMarkupResourceStreamProvider for ListView

2010-12-03 Thread alex shubert
Hello I got the following error trying to provide custom render for ListView WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). New class

Re: IMarkupResourceStreamProvider for ListView

2010-12-03 Thread alex shubert
Martin, thanks a lot. On 3 December 2010 17:45, Martin Grigorov mgrigo...@apache.org wrote: you need to call MarkupContainer#renderAssociatedMarkup() see https://gist.github.com/468502 for an example with WebMarkupContainerWithAssociatedMarkup On Fri, Dec 3, 2010 at 3:36 PM, alex shubert

Re: IMarkupResourceStreamProvider for ListView

2010-12-03 Thread alex shubert
#renderAssociatedMarkup() see https://gist.github.com/468502 for an example with WebMarkupContainerWithAssociatedMarkup On Fri, Dec 3, 2010 at 3:36 PM, alex shubert alex.shub...@gmail.com wrote: Hello I got the following error trying to provide custom render for ListView WicketMessage

Re: IMarkupResourceStreamProvider for ListView

2010-12-03 Thread alex shubert
javadoc: it states that a ListView has no markup itself. Override ListItem's onComponentTagBody instead... Martijn On Fri, Dec 3, 2010 at 4:15 PM, alex shubert alex.shub...@gmail.com wrote: Looks like onComponentTagBody is never called for ListView I overrided  it with copy-paste from Panel

Re: AjaxButton + Form

2010-12-02 Thread alex shubert
Sure. Just add a Form and AjaxButton and see. I replaced Button with Link as assembly of object to be ready before button handler called sounds reasonable for me. On 1 December 2010 17:46, Andrea Del Bene adelb...@ciseonweb.it wrote: That sounds strange. AjaxButton implements  

Re: Problem on wicket-auth-role ve Spring-security integration

2010-12-02 Thread alex shubert
Let me guess may be the reason is that document is pretty outdated and provides no help if one looking for a how-to manual? It just looks pretty useless for whos already familiar with JAAS and SpringSecurity 'cos they will not found anything new and almost unhelpful for whom doesn't . :) For

Re: webapp shutdown listeners

2010-12-02 Thread alex shubert
Why dont you add you very own listener to servlet container? -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

AjaxButton + Form

2010-11-30 Thread alex shubert
Hello! May someone explain me, why AjaxButton must call his parent form onSubmittion? It surely did becouse of @Override protected void onEvent(AjaxRequestTarget target) { getForm().getRootForm().onFormSubmitted(); ... Why to submit form if it's Ajax

Re: AjaxButton + Form

2010-11-30 Thread alex shubert
Thanks for your response. Looks like I misunderstand the very purpose of the component. But anyway, this is NOT submission. I mean, if you trace the call to the end, you'll find that no call of overridden Form#onSubmit happens. only Form#onSubmission called. That's why I stay confused. Although

Re: AjaxButton + Form

2010-11-30 Thread alex shubert
It is public final void onFormSubmitted() No, Form#onSubmit is not called at all. After successful execution of internal submission trace proceed to AjaxButton#onSubmit(AjaxRequestTarget target, Form? form) -- Best regards Alex

Re: visural-wicket 0.6.5 released!

2010-11-25 Thread alex shubert
Looks good. Thanks for your work. P.S.: Whoa! And with examples too! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: visural-wicket 0.6.5 released!

2010-11-25 Thread alex shubert
I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just

FilterToolbar

2010-11-23 Thread alex shubert
Hello I wonder why FilterToolbar requires IFilterStateLocator? It already requres FilterForm which has method #getStateLocator and there no another constructor for 4.13. FilterForm can not be instantiated without locator for Exception in nested class. If you forget: public FilterToolbar(final

Re: error in heritance

2010-11-23 Thread alex shubert
replace wicket:extend with wicket:panel -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: error in heritance

2010-11-23 Thread alex shubert
Sorry, did'nt unfold your message. It looks like you forgot to insert wicket:child in parent markup. That tags mark the place where inherited component will be placed. I hope I didnt miss anything now. On 23 November 2010 15:55, alex shubert alex.shub...@gmail.com wrote: replace wicket:extend

Re: error in heritance

2010-11-23 Thread alex shubert
That day is too long for me. What about html files names? May be typo or incorrect place? Or maybe you build script does not move html to the same packet as corresponding java classes is? - To unsubscribe, e-mail:

Re: error in heritance

2010-11-23 Thread alex shubert
Look, you have java classes in path like com\consisint\frontend\pages and corresponding HTML in \FrontEnd\FrontEnd\WebContent\views You have to have HTML files in the same folder where you compilled classes are. Something like $ls com\consisint\frontend\pages ThirdByRolMain.class

Re: error in heritance

2010-11-23 Thread alex shubert
take a look In all the Wicket examples, you have to put all files in the same package directory. This means putting the markup files and the java files next to one another. (c) http://wicket.apache.org/learn/examples/markupinheritance.html -- Best regards Alex

Re: Example of Ajax DataView update

2010-11-22 Thread alex shubert
final DefaultDataTableGroup view; AjaxButton deleteSelected = new AjaxButton(delete-selected) { @Override protected void onSubmit(AjaxRequestTarget target, Form? form) { target.addComponent(view); } On 22 November 2010 11:05, javax jav...@gmail.com wrote: