Re: JSR356 Websocket with Wicket 6.18

2015-01-28 Thread Alexander Landsnes Keül
with ? On Tue, Jan 27, 2015 at 2:11 PM, Alexander Landsnes Keül alexander.landsnes.k...@visma.com wrote: I checked out Wicket 6.18 and fiddled a bit with it, but it seems there are a few minor API breaks. One of the most pervasive ones is Application#setMetaData(...), in 6.18.0 it's a void

Re: JSR356 Websocket with Wicket 6.18

2015-01-28 Thread Alexander Landsnes Keül
://twitter.com/mtgrigorov On Wed, Jan 28, 2015 at 5:02 PM, Alexander Landsnes Keül alexander.landsnes.k...@visma.com wrote: I forked Wicket to my github repo and took a look at it. Compiling wicket-native-websocket-javax with Java 6 and Wicket 6.19.0-SNAPSHOT was no problem at all, my problem popped

JSR356 Websocket with Wicket 6.18

2015-01-27 Thread Alexander Landsnes Keül
Reading the documentation I was under the impression that wicket-native-websocket-javax could be used along with Wicket 6.X, however that seems to not be the case. In the constructor of org.apache.wicket.protocol.ws.api.AbstractWebSocketProcessor line 120 (7.0.0-M4) it accesses

RE: JSR356 Websocket with Wicket 6.18

2015-01-27 Thread Alexander Landsnes Keül
will be released as 7.0.0.Final in few weeks. We need your feedback now! It is mite annoying that most users don't want to even try it because of naming conventions :-/ Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jan 27, 2015 at 11:08 AM, Alexander

Catch-all FencedFeedbackPanel and message-level filter in nested FencedFeedbackPanel

2014-04-22 Thread Alexander Morozov
Hi!We have almost successfully use FencedFeedbackPanel feedback, until we enable ErrorLevelFeedbackMessageFilter in nested FencedFeedbackPanels.Here is page structure:*The issue:* catch-all FencedFeedbackPanel doesn't show success messages, added by submit links in Panel1 or Panel2, hence messages

Re: Catch-all FencedFeedbackPanel and message-level filter in nested FencedFeedbackPanel

2014-04-22 Thread Alexander Morozov
Done, https://issues.apache.org/jira/browse/WICKET-5566 https://issues.apache.org/jira/browse/WICKET-5566 - -- http://www.linkedin.com/in/amorozov -- View this message in context:

Error serializing object class com.pixonic.pixapi.web.PixdeskSession

2013-07-25 Thread Lipatov Alexander
at org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.internalCheck(CheckingObjectOutputStream.java:387) at org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.check(CheckingObjectOutputStream.java:361) -- Thank you, Alexander Lipatov

Re: Unable to Traverse with IVisitor: Some Class Names Have $1 at the end

2012-11-01 Thread Alexander Cherednichenko
hi Eugene. Super class will do that for you -- when you create an anonymous subclass of a button, its parent would be a Button. So just print out parent class name if the component's class name contains $ sign it will do the trick. best wishes, alex On Nov 1, 2012 6:09 PM, eugenebalt

Re: Avoid panel's extra div

2012-10-02 Thread Alexander Morozov
Also take a look at tag https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html . Oscar Besga Arcauz wrote Hi wickersI am using a lot of panels in my wicket webapp, with the usual    add(new MyPanel(myPanel));    But I was thinking if there is a wicket tag that can avoid using the extra

Re: Wicket+Spring Security the Wicket way

2012-10-02 Thread Alexander Morozov
Check out this open-source project http://www.jfrog.com/home/v_artifactory_opensource_source and look at security.xml file. It is good example how to integrate wicket and spring security. - -- http://www.linkedin.com/in/amorozov -- View this message in context:

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-11 Thread Alexander Morozov
Great news! Thanks. I'll wait for 6.1.0 :) - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/announce-Wicket-CDI-for-Wicket-6-0-0-released-tp4651924p4651935.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket and Versioning

2012-07-19 Thread Alexander Adam, Emia Systems
(/home, HomePage.class)); Atleast thats what i do to achieve something like what you want. Josh. On Wed, Jul 18, 2012 at 2:53 PM, Alexander Adam, Emia Systems a...@emiasys.com wrote: Hi! I am pretty much lost with Wicket 1.5.7 and versioning. What happens is this: I've deactivated

Wicket and Versioning

2012-07-18 Thread Alexander Adam, Emia Systems
Hi! I am pretty much lost with Wicket 1.5.7 and versioning. What happens is this: I've deactivated versioning by setting serVersioned(false) in my page's constructor. However, still the page id gets increment each time I call the exact same url in my browser i.e. home/?0, home/?1, home/?2,

Re: Wicket and Versioning

2012-07-18 Thread Alexander Adam, Emia Systems
thats what i do to achieve something like what you want. Josh. On Wed, Jul 18, 2012 at 2:53 PM, Alexander Adam, Emia Systems a...@emiasys.com wrote: Hi! I am pretty much lost with Wicket 1.5.7 and versioning. What happens is this: I've deactivated versioning by setting serVersioned

Re: Wicket and Versioning

2012-07-18 Thread Alexander Adam, Emia Systems
. On Wed, Jul 18, 2012 at 2:53 PM, Alexander Adam, Emia Systems a...@emiasys.com wrote: Hi! I am pretty much lost with Wicket 1.5.7 and versioning. What happens is this: I've deactivated versioning by setting serVersioned(false) in my page's constructor. However, still the page id gets

Re: chekbox - allow only 5 selected

2012-07-03 Thread Alexander Cherednichenko
For additional commands, e-mail: users-h...@wicket.apache.org -- Alexander Cherednichenko [ the only way out is the way up ]

Re: AjaxEditableLabel in Wicket 6.0.x

2012-06-27 Thread Alexander Blum
2012/6/27 Martin Grigorov mgrigo...@apache.org Hi, There was a problem in -beta2 which is fixed in 6.0-SNAPSHOT. I guess I will have to clone the git repository and compile it myself or wait for a new release tarball. Thanks a lot!

Re: How to redirect to a page from an AJAX request?

2012-05-22 Thread Alexander Cherednichenko
hi! you could check it with the Wicket Ajax Debug - for the ajax redirect it should receive and process javascript instruction which resets location of the page. maybe there are some JS errors out there? On May 22, 2012 8:59 AM, Melinda Dweer melinda.dw...@gmail.com wrote: IFAIK

Re: Wizard clear all formfields

2012-05-15 Thread Alexander Cherednichenko
Hi! If the question is correctly understood by me, all u need is to traverse the form for all the components and clear input -- then just use form component visitor, traverse the entire form and clear components' input. however itd be good if someone else on the list told if such a solution is

Re: Wizard clear all formfields

2012-05-15 Thread Alexander Cherednichenko
. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Alexander Cherednichenko [ the only way out is the way up ]

Re: Bookmarkablepagelink with anchor

2012-05-15 Thread Alexander Cherednichenko
(Component) method but it can't be that because the targeted anchor does not exist yet. My hope was that the method would take a String as parameter: myLink.setAnchor(#8765); What is the best way of doing it under wicket 1.5.x? Thanks, -- Alexander Cherednichenko [ the only way out

Re: Feedback panel inside form

2012-05-14 Thread Alexander Cherednichenko
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Alexander Cherednichenko [ the only way out is the way up ]

Re: Force child component enabled

2012-05-09 Thread Alexander Cherednichenko
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Alexander

Control panels through Ajax

2012-03-14 Thread Alexander Zotter
Hi, I´m trying to achieve a 4 Panel Page, which has a navigating panel (which is a wicket tree basically) and a detailpanel which should show detail for the selected element. My problem is how to redirect the ajax target from one Panel to the other. Are there any best practice examples,

Modal window close behavior - should it hide content?

2011-12-21 Thread Alexander Cherednichenko
) { windowClosedCallback.onClose(target); } } Thank you! Regards, -- Alexander Cherednichenko [ the only way out is the way up ]

Asking for download files with non-ascii names.

2011-12-16 Thread Alexander Cherednichenko
would then be considered just as one of the parameters by the page, but the solution seems to be a little smelly. Did anyone face the same problem? Great thanks and appreciation in advance! with kindest regards, -- Alexander Cherednichenko [ the only way out is the way up ]

Re: Asking for download files with non-ascii names.

2011-12-16 Thread Alexander Cherednichenko
with this. Unfortunately I imagine the full solution with Wicket 1.5's #mountResource(). See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ for more details. On Thu, Dec 15, 2011 at 11:54 PM, Alexander Cherednichenko lex...@gmail.com wrote: Hello! Faced an interesting problem, however few hours

Re: Radio button selection

2011-11-22 Thread Alexander Morozov
Check quickstart app http://apache-wicket.1842946.n4.nabble.com/file/n4096248/myproject.zip myproject.zip Hope it helps :) - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-button-selection-tp4085827p4096248.html

Re: Radio button selection

2011-11-20 Thread Alexander Morozov
Just an idea :) private final IModel yesNoState = new Model(); final TextField textField = new TextField(text, ...); textField.setOutputMarkupId(true); ... add(new AbstractBehavior() { @Override public void configure(Component component) {

Re: Palette select the data with one click

2011-09-25 Thread Alexander Morozov
I think you should use *AjaxFormChoiceComponentUpdatingBehavior* - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Palette-select-the-data-with-one-click-tp3839870p3841356.html Sent from the Users forum mailing list archive

Re: MixedParamUrlCodingStrategy and form submit

2011-09-21 Thread Alexander Gubin
so, Igor, any clues? On Sep 19, 2011, at 8:56 AM, Alexander Gubin wrote: 1.4.18 On 09/16/2011 04:26 PM, Igor Vaynberg wrote: what version of wicket? -igor On Thu, Sep 15, 2011 at 3:08 PM, Alexander Gubinagu...@greatergood.net wrote: Googled around, but no clear answer: In my

Re: MixedParamUrlCodingStrategy and form submit

2011-09-19 Thread Alexander Gubin
1.4.18 On 09/16/2011 04:26 PM, Igor Vaynberg wrote: what version of wicket? -igor On Thu, Sep 15, 2011 at 3:08 PM, Alexander Gubinagu...@greatergood.net wrote: Googled around, but no clear answer: In my app I mount a page like this: mount(new MixedParamUrlCodingStrategy(/store/product

Re: MixedParamUrlCodingStrategy and form submit

2011-09-16 Thread Alexander Gubin
turns out that error() and info() calls from onSubmit method send me to the wrong path too I appreciate any ideas on solving this On 09/15/2011 03:08 PM, Alexander Gubin wrote: Googled around, but no clear answer: In my app I mount a page like this: mount(new MixedParamUrlCodingStrategy

MixedParamUrlCodingStrategy and form submit

2011-09-15 Thread Alexander Gubin
and should be discounted, but seems like Wicket add's one extra ../ and misses mounted page. Are there better way of configuring Mounting / forms ? Sincerely, Alexander - To unsubscribe, e-mail: users-unsubscr

ajax and URLs

2011-09-12 Thread Alexander Gubin
the recommended way for Ajax apps it to use hash #, a.k.a. anchor. Does Wicket natively support anchor setting and parsing? Or do I need to use history.js with/or JQuery plugins? Sincerely, Alexander - To unsubscribe, e-mail

testing setResponsePage with Panel or Page

2011-09-09 Thread Alexander Gubin
by Wicket, but WicketTester still tries to render MyPanel, when it shouldn't... is there a way to work around this issue? Sincerely, Alexander P.S. testing with enclosing page, e.g. tester.startPage(new MyPage(new PageParameters())); produces the same error

Re: wicket include in test

2011-08-25 Thread Alexander Gubin
Igor, thanks a lot! I was thinking of putting some check whether it's a test code into production code, but that idea seems a bit whacky :) Will play with MockServletRequest... thanks again Alexander On 08/25/2011 10:48 AM, Igor Vaynberg wrote: the include component tries to construct

wicket include in test

2011-08-24 Thread Alexander Gubin
: Resource http://localhost/BasePageTestCase$1/static/footer.html could not be opened Maurice Marrick mentioned setting correct path to WicketTester, so it can resolve static resources. How would one do that? I tried / or /static with no luck - same error please advise Sincerely, Alexander

Re: getSession() in LDM

2011-07-08 Thread Alexander Morozov
Yep, use Session.get() method. - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/getSession-in-LDM-tp3654618p3654647.html Sent from the Users forum mailing list archive at Nabble.com.

Re: error - serialization

2011-07-03 Thread Alexander Morozov
You have JDBC Connection reference within Index page implementation. Check LoadableDetachableModel and never store Connection and other JDBC stuff within wicket components. - -- http://www.linkedin.com/in/amorozov -- View this message in context:

Re: Users, sessions, data...

2011-06-15 Thread Alexander Morozov
Zeldor wrote: But what are benefits of small session really? With entire user in session I can skip getting data from db and serve data faster... In clustered env small session get replicated much faster. I think that wicket's session shouldn't be used for storing any business data. Any

Re: AutoCompleteBehavior rendering question

2011-06-14 Thread Alexander Morozov
Hi, could you try to use custom IConverter ? public class MyAutocompleteTextField extends AutoCompleteTextField { public MyAutocompleteTextField(...) { super(...); setType(MyModel.class); } protected Iterator getChoices(String input) { ... } public IConverter?

Re: link within modal window should reload parent page

2011-04-09 Thread Alexander Morozov
1. use AjaxLink AjaxLink redirectLink = new AjaxLink(...) { public void onClick(AjaxRequestTarget target) { ModalWindow.closeCurrent(target); target.appendJavascript(window.location=' + urlFor(AnotherPage.class) + '); } }; 2. or embed javascipt to base page: - --

Re: Pre-Select CheckBox in CheckBoxMultipleChoice?

2011-04-05 Thread Alexander Morozov
Pedro, should we notify multipleChoiceModel that model is changed ? checkBoxMultipleChoiceComponent.setDefaultModel( multipleChoiceModel ); multipleChoiceModel.getObject().add( X ); multipleChoiceModel.modelChanged(); Pedro Santos wrote: add X in the CheckBoxMultipleChoice model collection.

Re: How Does Wicket Populate Form Components And Other Stuff

2011-04-03 Thread Alexander Morozov
Hi, you could use something like http://bindgen.org/ to access to properties in a bean without reflection (http://code.google.com/p/bindgen-wicket/). - -- http://www.linkedin.com/in/amorozov -- View this message in context:

Re: WICKET-2056 broke DatePicker in ModalWindow in 1.4.16

2011-03-29 Thread Alexander Morozov
Got the same issue. Please, file jira. - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WICKET-2056-broke-DatePicker-in-ModalWindow-in-1-4-16-tp3416225p3416830.html Sent from the Users forum mailing list archive at

Re: Nested Forms and Multipart Fileupload Issue

2011-03-24 Thread Alexander Morozov
https://issues.apache.org/jira/browse/WICKET-3555 Thanks Martin Grigorov-4 wrote: Create a ticket please. And attach the quickstart. On Wed, Mar 23, 2011 at 12:19 PM, Stijn Maller lt;stijn.mal...@gmail.comgt;wrote: gt; Alexander, gt; gt; I'm facing the same issue and I'm convinced

WiQuery DatePicker and Ajax Request

2011-03-15 Thread Alexander Monakhov
); } }; form.add( submitBtn ); Here is markup: form wicket:id=form input type=text wicket:id=datepicker/ input type=button wicket:id=submit/ /form Is there any solution? Best regards, Alexander

Re: WiQuery DatePicker and Ajax Request

2011-03-15 Thread Alexander Monakhov
Thanks for this fast reply! Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket-3438 seems to cause issues if a form is removed

2011-03-01 Thread Alexander Landsnes Keül
Upgraded to wicket 1.4.16 yesterday, and it seems to cause issues when a form is removed after submit. Problem is probably related to the change in Wicket-3438 (https://issues.apache.org/jira/browse/WICKET-3438 https://issues.apache.org/jira/browse/WICKET-3438 ) The usage we have a few

Re: Text after input field

2011-02-21 Thread Alexander Morozov
Try this textField.add(new AbstractBehavior() { public void onRendered(Component component) { component.getResponse().write(text after text input); } }); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Text-after-input-field-tp3317381p3317612.html Sent from

CheckBox and Repeater

2011-02-16 Thread Alexander Monakhov
and remove them. Could you give my advice? Maybe you have another approach to implement this? Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: [1.5 MIGRATION] State handling / inter-page events / versioning

2011-02-11 Thread Alexander Morozov
What about passing page _references_ to other pages ? Are there any reefs here ? Thanks Igor Vaynberg-2 wrote: starting with 1.4 we have advocated that passing page instances to other pages is a bad idea, whether directly or via anonymous classes. -igor On Fri, Feb 11, 2011 at 5:21

Re: usage of JavascriptFilteredIntoFooterHeaderResponse

2011-02-11 Thread Alexander Morozov
WicketApplication: public static final String FOOTER_FILTER_NAME = footerBucket; @Override protected void init() { super.init(); ... setHeaderResponseDecorator(new IHeaderResponseDecorator() { @Override public IHeaderResponse decorate(IHeaderResponse response) {

Re: [1.4.15] FLAG_INHERITABLE_MODEL and default model change

2011-02-02 Thread Alexander Morozov
Done https://issues.apache.org/jira/browse/WICKET-3413 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/1-4-15-FLAG-INHERITABLE-MODEL-and-default-model-change-tp3252093p3254349.html Sent from the Users forum mailing list archive at Nabble.com.

Re: [1.4.15] FLAG_INHERITABLE_MODEL and default model change

2011-02-02 Thread Alexander Morozov
Igor, I have one more question about IWrapModel : why the Component#defaultModelComparator doesn't check and unwrap IWrapModel before calling the IModel#getObject() ? private static final IModelComparator defaultModelComparator = new IModelComparator() { private

[1.4.15] FLAG_INHERITABLE_MODEL and default model change

2011-02-01 Thread Alexander Morozov
Hi, I have the question about correctness of Component#setDefaultModel (Component#setModelImpl) method behavior. I expect that the flag FLAG_INHERITABLE_MODEL should be checked there and turned off if the provided model is not a IComponentInheritedModel. Let check the next code: public

Re: Nested Forms and Multipart Fileupload Issue

2011-01-17 Thread Alexander Morozov
Hi, I have faced with another problem, related to nested forms and FileUploadField (wicket-1.4.15). The nested form have FileUploadField instance and defined setMaxSize(100K). In case of submitting thru Ajax file more than 100K, hasError() on the nested form return false. But I expect here

Re: Skip session creation when AjaxLink is disabled

2011-01-16 Thread Alexander Morozov
I'm not sure, but you can try Page.setStatelessHint(true) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Skip-session-creation-when-AjaxLink-is-disabled-tp3219342p3220064.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Can't get a SortableDataProvider class to accept DI of service class

2011-01-14 Thread Alexander Morozov
1. Replace @Autowired with @SpringBean (do not forget to configure spring instanciation listener in WebApplication) 2. Call InjectorHolder.getInstance().inject(this) from SortableDataProvider ctor. -- View this message in context:

Re: AjaxFallbackDefaultDataTable

2011-01-12 Thread Alexander Morozov
You should replace you table component with another column list and when export to excel. I do not know other way to hide some columns. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-tp3213858p3214022.html Sent from the Users forum

Re: Using CheckGroup with a listview

2011-01-05 Thread Alexander Morozov
try lstUsers.setReuseItems(true) (see ListView javadoc) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-CheckGroup-with-a-listview-tp3175047p3175610.html Sent from the Users forum mailing list archive at Nabble.com.

Re: remove onclick eventbehaviour after first click

2010-12-25 Thread Alexander Morozov
Component.remove(IBehaviour) ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/remove-onclick-eventbehaviour-after-first-click-tp3164011p3164105.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Set Current DropDownChoice Item (Selected)

2010-12-21 Thread Alexander Monakhov
Hello. Use setModel() in this case. Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: adding sub rows to AjaxFallbackDefaultDataTable

2010-12-20 Thread Alexander Morozov
Suggest another approach: class MasterTableT extends DefaultDataTableT { public MasterTable(...) { setItemReuseStrategy(new MasterTableReuseStrategy(this)); } protected ItemT newDetailsRow(...) { /* create row here */ } protected void populateDetailsRow(...) { /* populate details

Re: Wicket.Ajax.registerPreCallHandler

2010-12-16 Thread Alexander Morozov
checkout artifactory sources and check AjaxIndicator implementation. http://www.jfrog.org/community.php -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-registerPreCallHandler-tp3091091p3091105.html Sent from the Users forum mailing list archive at

Re: how to validate a ListView?

2010-12-15 Thread Alexander Morozov
@Override protected void onInitialize() { super.onInitialize(); Form.findForm(this).add(new AbstractFormValidator() { private static final long serialVersionUID = 1L; @Override public void validate(Form? form) { if (/* ... */) {

Re: 1.5 integer textfield

2010-12-14 Thread Alexander Morozov
refreshRateTextField.setType(Integer.class) should help PS Model class (refreshRateModel instance) does not provide type info. Check IObjectClassAwareModel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/1-5-integer-textfield-tp3087246p3087489.html Sent from the

Re: Invalid html rendered with DataTable [ex. empty tfoot element]

2010-12-14 Thread Alexander Morozov
1. create patch and send it to JIRA :) 2. apply transformer behavior to a table component -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Invalid-html-rendered-with-DataTable-ex-empty-tfoot-element-tp3058934p3087508.html Sent from the Users forum mailing list

Re: how to validate a ListView?

2010-12-14 Thread Alexander Morozov
You cant add IValidator to a ListView because it is not a FormComponent. You can: 1. check ListView.getList() within Form.onSubmit() and call form.error(...) if list is empty 2. create a form validator based on AbstractFormValidator and add it to the form component -- View this message in

Re: Register feedback messages

2010-12-07 Thread Alexander Morozov
try { ... } catch (RuntimeException e) { error(e); } In FeedbackPanel you can preprocess any message. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Register-feedback-messages-tp3076561p3076662.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Extending Wicket's Button class to do some extra styling

2010-12-03 Thread Alexander Morozov
class StyledButton extends Button { public StyledButton(...) { super(); add(new SimpleAttributeModifier(class, positive)); } @Override protected void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) { replaceComponentTagBody(markupStream, openTag, ); } } --

Re: wicket question

2010-12-01 Thread Alexander Monakhov
Hi. What's wrong with wicket's form? Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: SV: PageableListView to work with Set

2010-11-30 Thread Alexander Monakhov
it easy to display/work with Lists. However, there are situations where it is necessary to work with other collection types, for repeaters that might work better with non-list or database-driven collections see the org.apache.wicket.markup.repeater package. Best regards, Alexander

Re: SetObject with PageableListView

2010-11-30 Thread Alexander Monakhov
Why are you trying to use component that is intended to work with java.util.List when your domain object is Set? Try one of AbstractPageableView implementations, f.e. DataView. Best regards, Alexander. - To unsubscribe, e-mail

Re: DatePicker to pick a year

2010-11-30 Thread Alexander Monakhov
can use getMarkupId() to retrieve actual input's id and put it to jquery related code. Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: onSubmit not getting invoked using AjaxButton

2010-11-29 Thread Alexander Monakhov
Hey, in development mode you can check ajax debug panel. So, you can see all ajax request. If it doesn't help could you, please, provide sample source? Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr

Re: PropertyModel expression for collection object

2010-11-29 Thread Alexander Monakhov
Hello. See this link for property expression language: https://cwiki.apache.org/WICKET/property-expression-language.html property.index: If the property is a List or Array then the second property can be used as a index on that list/array like this: 'mylist.0'. Best regards, Alexander

WICKET-962 and AbstractRepeater's warning about child ID's

2010-11-29 Thread Alexander Morozov
Hi, could any wicket gurus explain in more details about ajax updates and AbstractRepeater's limitation to child ids ? I found in mentioned in the subject issue, but still did not get the limitation. Is this limitation actual for wicket 1.4.x and wicket-1.5 ? In my project I use repeating view

Re: Switching between wicket tabs

2010-11-17 Thread Alexander Monakhov
Hello. What's problem with button? Why do you need tabbed panel's markup id? If button that changes selected tab is in another panel, you could pass callback to panel's constructor Best regards, Alexander. - To unsubscribe, e

Re: Switching between wicket tabs

2010-11-16 Thread Alexander Monakhov
Hello. Could you please give some details? Or sample? Best regards, Alexander. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: generated form and form IDs vs model confusion

2010-11-05 Thread Alexander Morozov
I have the similar issue with Form (with CompountPropertyModel attached) and several text fields which generated on-the-fly by RepeatingView with no model specified (only field ID). I didn't investigate the issue deeply yet, but thinks the problem within model inheritance that breaks by presence

Re: On-demand component initialization

2010-10-30 Thread Alexander Morozov
You can set content for modal within onClick method. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/On-demand-component-initialization-tp3020334p3020343.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Disable button double-click without breaking Form.setDefaultButton

2010-10-28 Thread Alexander Morozov
Check this thread http://apache-wicket.1842946.n4.nabble.com/Preventing-double-click-of-AjaxButtons-in-ModalWindow-td2289480.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disable-button-double-click-without-breaking-Form-setDefaultButton-tp3018140p3018370.html

Re: How to combine JSF and Wicket components on the same page

2010-10-27 Thread Alexander Morozov
As far as I know, you can only combine wicket and JSP/JSF components by means of HTML frames - but it will be independent pages i.e. they can't transparently intercommunicate between each other (wicket - JSF). -- View this message in context:

Re: Real world Wicket Reference projects?

2010-10-25 Thread Alexander Morozov
Check the Wiki https://cwiki.apache.org/WICKET/products-based-on-wicket.html https://cwiki.apache.org/WICKET/websites-based-on-wicket.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Real-world-Wicket-Reference-projects-tp3010502p3010614.html Sent from the

Re: Cross page login panel

2010-10-23 Thread Alexander Morozov
Check this thread for securedform http://apache-wicket.1842946.n4.nabble.com/SSL-Links-and-buttons-td3001634.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Cross-page-login-panel-tp3008005p3008222.html Sent from the Users forum mailing list archive at

Re: AjaxTabbedPanel and location line

2010-10-23 Thread Alexander Monakhov
So, any suggestion here? Best regards, Alexander.

AjaxTabbedPanel and location line

2010-10-22 Thread Alexander Monakhov
. Also, it would be great if user types http://domain.com/tab2/subtab1 in location line and appropriated tab would be opened. Any idea how to make this? Best regards, Alexander.

Re: GridView for A-Symmetric tables - issues

2010-10-22 Thread Alexander Morozov
Arjun Dhar wrote: Hi, I've solved this problem by writing a new implementation of DataViewBase. GridView did not seem appropriate to simply extend due to a few reasons. (It assumes Symmetry for the most in its code). This Code can merge areas within the GRID and extract data from the

Re: back-button causes Wicket state and page displayed to be out of synch

2010-10-22 Thread Alexander Morozov
Check wicketstuff's jquery project for HistoryAjaxBehavior. May be it helps. drf wrote: I have encountered the following serious issue: My application consists of one WebPage which has an AjaxTabbedPanel. Each tab has an associated panel which includes several menu items (links) which

Re: AjaxLazyLoadPanel IE and chrome

2010-10-21 Thread Alexander Morozov
Upgrade Wicket up to 1.4.12 - should help :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-IE-and-chrome-tp3006112p3006579.html Sent from the Users forum mailing list archive at Nabble.com.

RequestCycle.getResponsePage and PageReferenceRequestTarget

2010-10-14 Thread Alexander Morozov
(); } return null; } Thanks, Alexander -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RequestCycle-getResponsePage-and-PageReferenceRequestTarget-tp2995603p2995603.html Sent from the Users forum mailing list archive at Nabble.com

Re: Error updating DataTable after submit

2010-10-14 Thread Alexander Morozov
Hi, I the method onUpdate(AjaxRequestTarget target) you shoud reference to existing component: @Override protected void onUpdate(AjaxRequestTarget target) { target.addComponent(tableWrapper); }

Re: How to add image to table column and how to change image this on click?

2010-10-14 Thread Alexander Morozov
Hi, If I understand you correctly, you need to add ordering direction images it a table header. This can be done with CSS for instance: .wicket_orderUp, .wicket_orderDown, .wicket_orderNone { text-decoration: underline; padding-right: 15px;

Inheritance and wicket:child / inside a component tag (Wicket 1.5)

2010-10-06 Thread Alexander Morozov
Hi, ParentPage.html: div wicket:id=wrapper wicket:child/ /div I know how it can be achieved in Wicket 1.4 (WebMarkupContainer with overrided isTransparentResolver), but I cannot get the same behavior in case of Wicket 1.5. Wicket gurus, I need your advice :) Thanks -- View this message in

Re: Inheritance and wicket:child / inside a component tag (Wicket 1.5)

2010-10-06 Thread Alexander Morozov
Gabriel, thank you for reply, Gabriel Bucher wrote: Have you tried to use the TransparentWebMarkupContainer? based on the migration guide this could be a potential solution. Yep, I tried to use Transparent WebMarkupContainer and BoxBorder and got the same issue as described in

Re: wicket and ext-js

2010-09-29 Thread Alexander Morozov
Hi, the integration projects, you mention above, seems inactive for a long time. Is it critical for your project to use exactly the Ext-JS javascript framework ? Have you looked at WiQuery project (jQuery integration) ? -- View this message in context:

Re: setEnabled(true) doesn't enable a subcomponent

2010-09-27 Thread Alexander Morozov
Hi! Did you try to override isEnabled method on the button ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setEnabled-true-doesn-t-enable-a-subcomponent-tp2715172p2715313.html Sent from the Users forum mailing list archive at Nabble.com.

Re: modalWindow setContent

2010-09-26 Thread Alexander Morozov
Hi You need to add modal window placeholder tag on the page and call, attach ModalWindow instance to it and call modalWindowInstance.show(target) within onSubmit(AjaxRequestTarget target) method on the submit button. -- View this message in context:

  1   2   >