Re: Wicket Form problem

2010-07-07 Thread armandoxxx
ourajti den !!! .. 10x ! LP Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Form-problem-tp2280712p2280734.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Wicket Form problem

2010-07-07 Thread armandoxxx
Hi .. noob here with a problem ... I have a web page with Login link on it ... add(new LinkString(login-page-link) { public void onClick() { setResponsePage(Login.class); } }); and this link should open Login page

Re: SV: Wicket Form problem

2010-07-07 Thread armandoxxx
Hey .. we fixed this .. I had a typo .. instead of wickeT:id I wrote wickeD:id in a HTML file for form :D but to answer your question, I'm using latest maven dependency (1.4.9) Kind regards Armando -- View this message in context:

Re: UI Layout

2010-07-14 Thread armandoxxx
Hi guys ... I have the same little issue and don't know how to resolve this ... I work on 2 really big projects One is a newspaper web site and other is more of a b2b application. So for newspaper web site, showing all kinds of news and stuff I'm trying with 1 page approach. Reasons: -

Re: UI Layout

2010-07-14 Thread armandoxxx
Hey ... 10x for fast reply .. I am considering inheritance cause many stuff will be reusable but I have a little tiny problem with my components and trying to figure it out ... let me try to show an example I have my custom component that shows news, labels etc. These news can be

Re: UI Layout

2010-07-14 Thread armandoxxx
hi .. can you explain what you mean, cause I'm not sure what you mean ... King regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/UI-Layout-tp1891867p2288618.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: UI Layout

2010-07-14 Thread armandoxxx
Hey .. 10x for your reply .. I tried what you suggested but it's not working ...and the way wicket works of course not.. you need wicket:id in a markup and I don't want to write it ... cause I'll probably die before i cover all cases needed by customer... but hey .. 10x again for tryin

Re: UI Layout

2010-07-14 Thread armandoxxx
Hey all I finally figured out how to do it ... yes it helped to use ListView but at first I did not notice .setReuseItems(boolean) function ... after reading this article http://www.javaworld.com/javaworld/jw-07-2008/jw-07-wicket2.html?page=1 I figured out how to draw whatever I want into

Wicket stuff site

2010-07-29 Thread armandoxxx
Hey ppl ... Does anyone know the right link to wicket stuff site .. cause link I find on google or other sites are not working ... http://wicketstuff.org/confluence/display/STUFFWIKI Kind regards Armando -- View this message in context:

CSS not depending on locale but some other logic

2010-08-03 Thread armandoxxx
Hey wicket ppl I got a question about styling my pages. In a web app project I'm working on, we have many different users coming from various companies. Each company has different CSS styles, in practice that means that each company uses it's own skin for same web page. So what I would like

Re: CSS not depending on locale but some other logic

2010-08-03 Thread armandoxxx
Hey Thank you for your reply .. that is what I was looking for ! Kind regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-not-depending-on-locale-but-some-other-logic-tp2311409p2311753.html Sent from the Wicket - User mailing list archive at

RE: Form model update with ajax using AutoCompleteTextField

2010-08-04 Thread armandoxxx
Hey I use this auto-complete field as a searcher to fill my list view I used the same class but I have a little problem with it ... I don't understand where to call method findChoice() so I added behavior to this search field like this: this.autocompleteSearchField.add(

Custom form component returning Invalid Type error ...

2010-08-09 Thread armandoxxx
Hello ... I have a little problem with my custom form component. My component has a simple AbstractAutocompleteTextField (taken from wiki) and a list. Main point is that you can search some beans (in my example Authors) with autocomplete field and after bean is selected from autocomplete

Re: autocomplete works in development but It doesn't in production

2010-08-09 Thread armandoxxx
you could turn on logging for requests to see whats going on for starters ... enable request logger: Application.get().getRequestLoggerSettings().setRequestLoggerEnabled(true); set num requests Application.get().getRequestLoggerSettings().setRequestsWindowSize(10); log4j settings

UPDATE: Custom form component returning Invalid Type error ...

2010-08-09 Thread armandoxxx
Hi .. After playing some more with my component and submit ... I finally got call to getInput() method. Now the problem is that my ModelObject is ArrayList and if I call .toString() method I get the string from the error out ! So can someone explain me what to return in getInput() method so

[SOLVED] Custom form component returning Invalid Type error ...

2010-08-09 Thread armandoxxx
I finally figured it out ! If someone needs to submit a list of items in a form this is how I did it. First I created a ListView (check list markup in my previous posts). I keep ListView list items in private List object, so accessing them is easy when form is submitted. I implemented

Re: AutoCompleteTextField

2010-08-19 Thread armandoxxx
You need to be able to select multiple items from autocomplete dropdown list with just DOWN key ??? why do you need this kind of behavior ? King regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-tp2331099p2331117.html Sent

Re: AutoCompleteTextField

2010-08-19 Thread armandoxxx
I get it now ! try checking this ! http://wicket.apache.org/apidocs/1.4/org/apache/wicket/extensions/ajax/markup/html/autocomplete/AutoCompleteSettings.html Kind regards Armando -- View this message in context:

API Docs for 1.4.10 and 1.4.11

2010-09-14 Thread armandoxxx
Hi guys .. Am I missing something of API Docs are not updated ? Kind regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/API-Docs-for-1-4-10-and-1-4-11-tp2538753p2538753.html Sent from the Users forum mailing list archive at Nabble.com.

Re: API Docs for 1.4.10 and 1.4.11

2010-09-15 Thread armandoxxx
Well I do have sources attached it's just that I'm used to checking online API Docs. Ok then .. changing what I'm used to ... :D Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/API-Docs-for-1-4-10-and-1-4-11-tp2538753p2540171.html Sent from the

Form with dynamic fields model not updating

2010-10-04 Thread armandoxxx
Hi ppl Got a little problem with my form with dynamic fields. My form fields are panels added to ListView. Each panel representing a field has sub components (for label, text field etc). The problem I'm having is how to access these list view items, so I can set them default model I would like

Re: Form with dynamic fields model not updating

2010-10-04 Thread armandoxxx
Hey mate Thank you for your super fast reply;) Here's my code: this.formFieldList.visitChildren(new IVisitorComponent() { @Override public Object component(final Component theComponent) {

Re: Form with dynamic fields model not updating

2010-10-05 Thread armandoxxx
Here's the working code in my form class: @Override protected void onModelChanged() { super.onModelChanged(); if (this.formFieldList == null) return; this.formFieldList.visitChildren(new

Form model changes when onSubmit method is called for the first time.

2010-10-05 Thread armandoxxx
Hey ppl Got a little problem with a form onSubmit(). A form (for translations, IModelTranslation ) has a DropDownChoice (to select a language and holds list of Language objects) and a ListView with panels that are wrapper for other fields (TextField, TextAreaField. etc). example: Form

Remove ListView item in ModalWindow

2010-10-18 Thread armandoxxx
Hey ppl Need a little help with my problem. I have a list view in a form in a modal window. (MODAL WINDOW FORM LIST VIEW (with some components representing fields) Each field in list view has a AjaxButton beside and this button removes the whole component (list item) from the list. Code

Re: Remove ListView item in ModalWindow

2010-10-18 Thread armandoxxx
Hey ... 10x for your fast reply ... 1. onSubmit method is empty 2. I tried to do remove on my list but it allways returns false ... with no error .. and I cant figure it out why ... Regards Armando -- View this message in context:

Re: Remove ListView item in ModalWindow

2010-10-19 Thread armandoxxx
Hey mate .. sorry for late reply ... I decided to make a ModalWindow and use a page instead of a setContent() ... I think that might help .. I read on some forum that setContent() on modal window caused people some problems and they advised to use page instead .. so, i'll just create a page

Re: Remove ListView item in ModalWindow

2010-10-19 Thread armandoxxx
Well that did it .. I made a separate page and added that page into a ModalWindow. I also removed item from a list not from ListView Component .. and now it's working properly ! Regards Armando -- View this message in context:

Nested forms onSubmit() question ...

2010-11-04 Thread armandoxxx
Hey wicket ppl ... Is there any beforeSubmit() event like method available on Form. I need it cause I have nested forms and only one form is allowed to store data in the database, so if I had a method beforeSubmit() all my nested forms could send data to the root form and root form would

Re: Nested forms onSubmit() question ...

2010-11-04 Thread armandoxxx
Hey well ... that's also the way to do it .. thanks for idea ... regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-forms-onSubmit-question-tp3026993p3027217.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Nested forms onSubmit() question ...

2010-11-05 Thread armandoxxx
Just a feature request: - beforeSubmit() method on Form would be usefull - make it configurable order of onSubmit() method calls (SUBMIT_NESTED_FIRST, SUBMIT_NESTED_LAST) Regards Armando -- View this message in context:

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Just to let everyone know, this is just a simple imeplementation, there are no events triggered on draggable and therefore no methods called, so if anyone needs it just implement it .. So all the NPE checks and that kinda stuff is still needed ! All I needed for my case was to get the dropped

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
/** * Notification method that a drop happened on this component. * @param theComponent reference to dropped component. */ protected void onDrop(final AjaxRequestTarget theTarget, final Component theComponent) { System.out.println(Dropped: +

Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Hey Just needed this so I wrote a simple implementation of Drag and Drop for JQuery javascript lib. So if anyone needs it .. be my guest to comment (and/or diSS) on it Put on your page, app or anywhere else cause you need this !!! wicket:head wicket:linklink rel=stylesheet type=text/css

Re: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Hey guys .. 10x for sharing .. Was looking for it .. but didn't find anything so I implemented it on my own;) Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-JQuery-drag-and-drop-behaviors-tp3033676p3034347.html Sent from the Users

RE: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Hey ... No I haven't. Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-JQuery-drag-and-drop-behaviors-tp3033676p3035602.html Sent from the Users forum mailing list archive at Nabble.com.

RE: Wicket JQuery drag and drop behaviors

2010-11-09 Thread armandoxxx
Just a thought for all you posters that provided wicket + jquery project links. These links should also be available on wicket pages .. I googled for wicket + jquery implementations before I started to implement my own tiny little DnD behaviors, but found only wicket + other JS libs pages, so

Re: Wicket JQuery drag and drop behaviors

2010-11-10 Thread armandoxxx
And I don't .. and that was my main problem :( .. but I got links now ;) I tried to find wicket jquery project on wicket stuff and no luck with that either .. so that's how it all happened :D why don't you guys that work on wicket + jquery projects get together and make one project ? That

Re: Nesting Links

2011-01-28 Thread armandoxxx
Hey man I've used your method but it's not working .. got any other ideas ??? Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nesting-Links-tp1885368p3244193.html Sent from the Users forum mailing list archive at Nabble.com.

Custom implementation of IStringResourceLoader not working

2011-01-28 Thread armandoxxx
Hi guys ... I need some help with custom IStringResourceLoader public class DictionaryResourceLoader implements IStringResourceLoader { private static final Logger LOG =

Re: Custom implementation of IStringResourceLoader not working

2011-01-31 Thread armandoxxx
will try .. 10x ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-implementation-of-IStringResourceLoader-not-working-tp3244747p3248311.html Sent from the Users forum mailing list archive at Nabble.com.

[SOLVED] Custom implementation of IStringResourceLoader not working

2011-01-31 Thread armandoxxx
it works .. thank you ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-implementation-of-IStringResourceLoader-not-working-tp3244747p3248335.html Sent from the Users forum mailing list archive at Nabble.com.

[SOLVED] Nesting Links

2011-01-31 Thread armandoxxx
Here we go ... //... from code ... AjaxFallbackLink link1 = new AjaxFallbackLinkT(article-link-1, new ModelT((T)this.getDefaultModelObject())) { private static final long serialVersionUID = 8011531891135888415L;

Form Component models not updating .. why ?

2011-07-04 Thread armandoxxx
Hi guys need a little help with my form and form component models ... public class GroupFormT extends UserGroup extends FormT { private static final Logger LOG = LoggerFactory.getLogger(GroupForm.class); private static final long serialVersionUID =

Re: Form Component models not updating .. why ?

2011-07-04 Thread armandoxxx
Dude .. thank you .. I owe you shit loads of beer ;) hehe Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Component-model-not-updating-why-tp3643631p3643760.html Sent from the Users forum mailing list archive at Nabble.com.

AjaxFormComponentUpdatingBehavior causes javascript error

2011-07-04 Thread armandoxxx
Hi guys got a little problem with AjaxFormComponentUpdatingBehavior. I put a form in a panel and add text area to it. this.messageForm = new FormT(messageForm, (IModelT)this.getDefaultModel()); this.messageForm.setOutputMarkupId(true); this.message = new

Re: AjaxFormComponentUpdatingBehavior causes javascript error

2011-07-04 Thread armandoxxx
got it ... was missing super.onComponentTag(theTag); in text area regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-causes-javascript-error-tp3644889p3644928.html Sent from the Users forum mailing list archive at

Autocomplete - get model object

2011-07-06 Thread armandoxxx
Hey guys ... Is there any autocomplete component available that would actually store Beans in models and not ID and or String ... I know id is to identify the object, and Text is for displaying it .. but I've got a situation where backend service returns objects without IDs and I can't ask the

Re: Autocomplete - get model object

2011-07-06 Thread armandoxxx
not working .. here's the situation .. I have an Object with address data(street, house number, city, etc) .. so I use Autocomplete to search for streets meanin .. user writes in street name and dropdown shows .. street name and city in wich street is in (meaning same streets can exists in

Re: Autocomplete - get model object

2011-07-06 Thread armandoxxx
that's what I did ... used choice provider to store all data it has loaded .. and then I iterate that data when I need it .. and find my object .. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Autocomplete-get-model-object-tp3649960p3650147.html Sent from the

AjaxIndicator help needed

2011-07-07 Thread armandoxxx
Hey guys ... sorry for double post .. but I really really need help .. http://apache-wicket.1842946.n4.nabble.com/ObjectAutoCompleteField-and-ajax-indicator-td3650331.html link to original topic regards Armando -- View this message in context:

ObjectAutoCompleteField set model/text

2011-07-08 Thread armandoxxx
Hi guys .. I have a form with some ObjectAutoCompleteField, so when I select value in 1 I would like to set some text into another ... how can I do that ? Regards Armando -- View this message in context:

NullPointerException and don't know why ...

2011-07-28 Thread armandoxxx
Hi guys got a problem with NPE I'm having using Kaptcha for drawing captcha .. public class CaptchaImage extends NonCachingImage { private static final long serialVersionUID = 1667766853896645923L; private transient DefaultKaptcha captchaProducer= new

Re: NullPointerException and don't know why ...

2011-07-28 Thread armandoxxx
thank you ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NullPointerException-and-don-t-know-why-tp3701404p3701481.html Sent from the Users forum mailing list archive at Nabble.com. - To

Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread armandoxxx
Hey guys ... With wicket 1.5 we got events. So far so good but I got a case where i'm missing after on initialize method call. I have lot's of panels on my page, and I create them in onInitialize() code. But I need to send a 1 time event after all components are initialized. - problem #1: If

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread armandoxxx
@pedro I know. That's why I didn't put the event call in onInitialize() method ;) @martin: I if use on before render .. my event would be triggered everytime my component renders .. so if I want 1 time event after the component is initialized I have to use somekind of a flag for this event to be

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-11 Thread armandoxxx
Igor: thank you for your reply and your solution. Could you please discuss this case with other developers and let me know what they think? In my opinion framework should make my job easier not force me to do workarounds to get what I need. Just a thought. Martin: thank you :D Kind regards

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-11 Thread armandoxxx
@IGor: I figured it out .. no need for new features. @Bruno: if you cann onAfterInitialize() in onInitialize() you can't be sure all components on the page we're initialized() Regards Armando -- View this message in context:

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-14 Thread armandoxxx
my fix was if someone needs it .. Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-Question-or-feature-request-afterOnInitialize-tp3732520p3743198.html Sent from the Users forum mailing list archive at Nabble.com.

Loading items in repeater the facebook/twiiter way

2011-08-31 Thread armandoxxx
Hey guys I need an idea of how to load items in repeater the tiwwter/facebook way. This means that when user scrools down to 80% of the panel, new items are loaded to repeater and so on .. Did any of you guys tried this and how did you do it. Any ideas would be appreciated Regards Armando

Re: Loading items in repeater the facebook/twiiter way

2011-09-01 Thread armandoxxx
thank you ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Loading-items-in-repeater-the-facebook-twiiter-way-tp3780809p3782935.html Sent from the Users forum mailing list archive at Nabble.com.

Wicket ResourceStreamLocator performance issue

2011-09-07 Thread armandoxxx
Hi We found serious performance issue costing aprox. 1 sec per request in ResourceStreamLocator. these are the resources searched by locate() method We wrote custom ResourceStreamLocator to temporarly resolve this issue. Attaching http://www.dropchop.org/log/log.txt log file to see the

Re: Wicket ResourceStreamLocator performance issue

2011-09-07 Thread armandoxxx
Sorry man .. forgot to mention version we're using is 1.5 RC7 Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-ResourceStreamLocator-performance-issue-tp3796815p3797143.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket ResourceStreamLocator performance issue

2011-09-07 Thread armandoxxx
Please give me time till weekend cause I'm really busy. I'll write it then ! Kind regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-ResourceStreamLocator-performance-issue-tp3796815p3797889.html Sent from the Users forum mailing list archive

Re: Wicket ResourceStreamLocator performance issue

2011-09-07 Thread armandoxxx
Another question. Is it normal that onAfterRender() methods gets called several times for each component ? Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-ResourceStreamLocator-performance-issue-tp3796815p3797892.html Sent from the Users

Re: Wicket ResourceStreamLocator performance issue

2011-09-08 Thread armandoxxx
thank you for your reply is it fixed in final release (since I saw a final release was made yesterday) or just in trunk ? regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-ResourceStreamLocator-performance-issue-tp3796815p3797981.html Sent from

Re: Wicket ResourceStreamLocator performance issue

2011-09-08 Thread armandoxxx
https://issues.apache.org/jira/browse/WICKET-4034 Jira issue hope this helps. I did not provide any patch because I think our workaround is not the way it should be done. Regards Armando -- View this message in context:

Re: Wicket ResourceStreamLocator performance issue

2011-09-08 Thread armandoxxx
It was not used in my setup at all. The problem occurred when we wrote our own ResourceLocator and we extended ResourceStreamLocator. (as wrote in Jira quickstart) I'm trying to use CachingResourceLocator now. Kind regards Armando -- View this message in context:

Re: Wicket ResourceStreamLocator performance issue

2011-09-08 Thread armandoxxx
using CachingResourceStreamLocator did the trick. thank you for help regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-ResourceStreamLocator-performance-issue-tp3796815p3798549.html Sent from the Users forum mailing list archive at Nabble.com.

Wicket 1.5: AjaxRequestTarget.appendJavaScript() - multiple javascript evaluations

2011-09-14 Thread armandoxxx
Hi guys I have a question about how to avoid multiple evaluations of same javascripts in AjaxRequestTarget.appendJavaScript(). I have a lots of components that append javascript to AjaxRequestTarget. Some of these javascript strings are same and some are different. So what I'm trying to figure

W 1.5: templates added to head on ajax reload ...

2011-10-10 Thread armandoxxx
Hey guys. I've got a little question regarding templates. I'm creating a javascript chart and a chart needs a container to be drawn in. To tell my javascript chart library what container to draw a chart in I use a template. my template: my markup file: div wicket:id=chart/div

Re: W 1.5: templates added to head on ajax reload ...

2011-10-11 Thread armandoxxx
thank you guys for your replies ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/W-1-5-templates-added-to-head-on-ajax-reload-tp3890648p3893138.html Sent from the Users forum mailing list archive at Nabble.com.

Re: jqWicket or wiQuery

2011-10-12 Thread armandoxxx
Hey .. I've had a hope someone else allready did it .. so that's why I asked. Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqWicket-or-wiQuery-tp3895432p3897026.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Is there a way to be notified when a tab in a TabbedPanel is selected?

2011-11-03 Thread armandoxxx
Just a question ... what happens with other instances ? are they forgotten (null-ed) ? My problem is that I'm trying to put a PDFObject (displays PDF file in a div in a browser ) panel and JWPlayer (flash video player) into tab panel. So I have to know if older versions of these panels are

Wicket 1.5 with Shiro for security ...

2011-12-15 Thread armandoxxx
Got a little question. I'm wrapping Apache Shiro as security framework for my application. And I use wicket-auth-roles for wrapping shiro login, logout, get roles and stuff methods. I've got a question for isSignedIn() method which is final. I can't override it to ask shiro if user is logged

Force fallback on links possible ?

2012-01-10 Thread armandoxxx
Hey Can I force AjaxFallbackLinks not to use ajax when i want it so ? The cause for my question is IE8 .. it takes shit loads of time to replace DOM nodes on ajax and application has a lof of panels to replace .. Kind regards Armando -- View this message in context:

Re: Force fallback on links possible ?

2012-01-10 Thread armandoxxx
thank you for your reply ... regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-fallback-on-links-possible-tp4281533p4281629.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Force fallback on links possible ?

2012-01-10 Thread armandoxxx
Thank you for your reply ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Force-fallback-on-links-possible-tp4281533p4281633.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Force fallback on links possible ?

2012-01-10 Thread armandoxxx
I tried your suggestion and it's not working ... can you check please ? my link and rendered link output onClick attribute was not replaced decorated what am I doing wrong ? the sample i looked on how to do it ... (taken from wiki) regards Armando -- View this message in context:

Re: Force fallback on links possible ?

2012-01-10 Thread armandoxxx
Repost without raw tags ... I tried your suggestion and it's not working ... can you check please ? my link AjaxFallbackLinkDateOption link= new AjaxFallbackLinkDateOption(link, new ModelDateOption(dateOption)) { @Override public void onClick(final

Re: Force fallback on links possible ?

2012-01-10 Thread armandoxxx
fixed it ... had wrong method signature ... should have been: public CharSequence decorateScript(final Component theComponent, final CharSequence theScript) regards Armando -- View this message in context:

Wicket 6.x write to jQuery on document ready ...

2012-10-08 Thread armandoxxx
Hey guys .. I'm upgrading our application to wicket 6.x and would like to know if there is a way for my components to add JS to jQueries $(document).ready function on initialize ... (was thinking if page has any feature like that) Kind regards Armando -- View this message in context:

Wicket 6 AjaxCheckBox#onUpdate method not called

2012-10-12 Thread armandoxxx
Hey guys Got a problem with my checkbox in wicket 6.1 This code worked in 1.5 so my question is .. what am I doing wrong .. when I click on it, onUpdate method is not called ... any suggestions would be nice ... overriding method wantOnSelectionChangedNotifications() doesn't help either

Re: Wicket 6 AjaxCheckBox#onUpdate method not called

2012-10-12 Thread armandoxxx
Found the issue .. has nothing to do with wicket not working ! Sorry ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-AjaxCheckBox-onUpdate-method-not-called-tp4652910p4652914.html Sent from the Users forum mailing list archive at

Re: Wicket 6 AjaxCheckBox#onUpdate method not called

2012-10-12 Thread armandoxxx
If someone ever needs it I'm using Sscrew Default Buttons http://www.screwdefaultbuttons.com/ plugin for jQuery which hides default input (checkbox) field and shows pictures over it. The problem was with click event never triggered on input field but only on element over the checkbox field.

Re: Does page know it was loaded with back button ?

2013-03-11 Thread armandoxxx
Hey .. my use case is actually very simple ... I have a page with charts .. and by pressing on chart point you get redirected to another page with search results .. but there's a catch ... pages share search parameters .. which means by selecting search parameters on one page, another page

AbstractAjaxBehavior back button problem

2013-03-16 Thread armandoxxx
Hey I have a tiny little problem with ajax behaviors and back button. I have a component (jQuery date picker that makes an ajax call to wicket with selected date as parameter) which has an ajax behavior and renders it's callbackUrl to head ! taken from components code: If I select dates with

Re: AbstractAjaxBehavior back button problem [SOLVED]

2013-03-16 Thread armandoxxx
Ok .. here is the solution ! When rendering Ajax callbackUrls you have to be careful that everytime component is rendered you call behavior.getCallbackUrl() and set the new value to javascript output ! Since I render urls in head tag ... with renderHead() method this is my working example

Re: CSS bundles order does not seem stable when using an application

2013-03-18 Thread armandoxxx
read this about resources: resources management http://wicketinaction.com/2012/07/wicket-6-resource-management/ us PriorityHeaderItem() Regards Armando -- View this message in context:

Re: Wicket Application Design Question

2013-03-21 Thread armandoxxx
From my experience use small component based .js and css files. But just be careful and read the docs and references three times of how wicket renders them to head !!! One tiny little advice about wicket:head tag .. just dost use it .. put everything to renderHead() method in component class ;)

Annoying wicket API Docs ... includes exmaples api docs

2013-06-18 Thread armandoxxx
Hey there ... Does anybody have a link of only wicket framework API docs ? The one that does not include examples docs? It's kind of annoying searching through API, you find a class which looks like something you might use and you find out it's from examples and with none descriptions

Re: Annoying wicket API Docs ... includes exmaples api docs

2013-06-19 Thread armandoxxx
Hey Thank you for your reply ... True the code is the best documentation when you need to know how it works but when you only need to know what method does what and what class or interface is used for what, then I use API docs. And sometimes I read APIs just to refresh memory and it's kinda

RE: Annoying wicket API Docs ... includes exmaples api docs

2013-06-19 Thread armandoxxx
Thats how I usualy do it ... I just thought there's clean online version ;) Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Annoying-wicket-API-Docs-includes-exmaples-api-docs-tp4659611p4659618.html Sent from the Users forum mailing list archive at

Re: Annoying wicket API Docs ... includes exmaples api docs

2013-06-23 Thread armandoxxx
thank you -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Annoying-wicket-API-Docs-includes-exmaples-api-docs-tp4659611p4659704.html Sent from the Users forum mailing list archive at Nabble.com. -

Wicket consumig ajax request of other plugin

2013-08-02 Thread armandoxxx
Hey ... Is there a way to let wicket know that some requests must be ignored ? (using wicket 6.9) I use highcharts charts and export chart method creates post request to server which should be handled by export servlet .. instead wicket processes the request and ofc throws error ... Any help

Re: Wicket consumig ajax request of other plugin

2013-08-02 Thread armandoxxx
and !? sorry cant understand what you're saying ... my wicket app filter is on / and my urls I want to ignore are on /service .. is there a way to do it or ?? regards Armando -- View this message in context:

Re: Wicket consumig ajax request of other plugin

2013-08-02 Thread armandoxxx
Fixed it -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-consumig-ajax-request-of-other-plugin-tp4660649p4660652.html Sent from the Users forum mailing list archive at Nabble.com. - To

How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
Hey guys I'm working on some dynamic page loading and would like to know how it's supposed to be done in wicket (6.x) ... without mappings in my application class. The example: some urls (for example /news, /article, /people) are bind by users (in admin console) to a some page ... /news

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
Thank you ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-page-from-url-part-without-hardcoded-mapping-in-application-class-tp4663992p4663995.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
Hey ... sorry but I don't understand the problem is that chain property in custom mapper is set upon initialization in application class and it sets page .. getRootRequestMapperAsCompound().add(new LocaleFirstMapper(new MountedMapper(/localized, LocalizedPage.class))); I'm trying to figure

  1   2   >