Re: CssBehaviour can't find css files

2014-01-16 Thread Anna Simbirtsev
Wicket Training and Consulting On Wed, Jan 15, 2014 at 8:24 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: http://www.freeuploadsite.com/do.php?id=31499 Here is a link to sample application. I t may not run. On Wed, Jan 15, 2014 at 10:23 AM, Martin Grigorov mgrigo...@apache.org

Re: CssBehaviour can't find css files

2014-01-15 Thread Anna Simbirtsev
/html This error is shown inside the css file. I moved file in src/main/java/. On Tue, Jan 14, 2014 at 2:05 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: Once I moved the file in src/main/java/ without any package, it does not show errors that it cant find it, so it is found, it just does

Re: CssBehaviour can't find css files

2014-01-15 Thread Anna Simbirtsev
On Wed, Jan 15, 2014 at 5:13 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: htmlheadmeta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/titleError 404 NOT_FOUND/title/headbodyh2HTTP ERROR 404/h2pProblem accessing /wat-application/wicket/resource/CSSLinksInjector/info/css

CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Hi, I am upgrading wicket from 1.4 to 6.7. Before my css files were added this way: public class CSSLinksInjector implements IComponentInstantiationListener, Serializable { private static final long serialVersionUID = 7463279042460663915L; //private final ListHeaderContributor

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
CSSLinksInjector.class instead of getClass()? On Tue, Jan 14, 2014 at 2:46 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I am upgrading wicket from 1.4 to 6.7. Before my css files were added this way: public class CSSLinksInjector implements IComponentInstantiationListener

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
. On Tue, Jan 14, 2014 at 9:06 AM, Anna Simbirtsev asimbirt...@gmail.comwrote: I changed it but still get the error response.render(CssReferenceHeaderItem.forReference(new CssResourceReference(CSSLinksInjector.class, root + /css/login.css))); On Tue, Jan 14, 2014 at 8

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
, Anna Simbirtsev asimbirt...@gmail.com wrote: I changed it but still get the error response.render(CssReferenceHeaderItem.forReference(new CssResourceReference(CSSLinksInjector.class, root + /css/login.css))); On Tue, Jan 14, 2014 at 8:51 AM, Ernesto Reinaldo

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Grigorov mgrigo...@apache.orgwrote: On Tue, Jan 14, 2014 at 4:13 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Ho would I know the produced url? I sent the error Check the produced HTML of a page that uses this code in your running application with 1.4. On Tue, Jan 14, 2014

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
I changed these. But why is new link encoded? On Tue, Jan 14, 2014 at 9:22 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Tue, Jan 14, 2014 at 4:19 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: OLD: href=resources/info.stuff.WAT.UI.CSSLinksInjector/root/css/tooltip.css

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
: I am not sure what you mean. Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:24 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: I changed these. But why is new link encoded? On Tue, Jan 14, 2014 at 9:22 AM, Martin Grigorov mgrigo...@apache.org wrote

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
/tooltip-ver-1389710287000.css / On Tue, Jan 14, 2014 at 9:35 AM, Martin Grigorov mgrigo...@apache.orgwrote: Because you use CryptoMapper in your app. Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:32 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: NEW: href

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
The name of the file is different and it cant find it On Tue, Jan 14, 2014 at 9:41 AM, Martin Grigorov mgrigo...@apache.orgwrote: It looks perfect! Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:39 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: if I get

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
On Tue, Jan 14, 2014 at 4:43 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: The name of the file is different and it cant find it On Tue, Jan 14, 2014 at 9:41 AM, Martin Grigorov mgrigo...@apache.org wrote: It looks perfect! Martin Grigorov Wicket Training and Consulting

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Do you have any other suggestions why it may not be able to find the css file? On Tue, Jan 14, 2014 at 9:49 AM, Anna Simbirtsev asimbirt...@gmail.comwrote: this is a dynamic parameter, is changes based on settings, it should work either way On Tue, Jan 14, 2014 at 9:45 AM, Martin Grigorov

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
packages and files you have in UI package ? Martin Grigorov Wicket Training and Consulting On Tue, Jan 14, 2014 at 4:56 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Do you have any other suggestions why it may not be able to find the css file? On Tue, Jan 14, 2014 at 9:49 AM

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
Training and Consulting On Tue, Jan 14, 2014 at 5:22 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: The file structure is myApplication/src/main/java myApplication/src/main/resources/info/css/ that has all css files myApplication/src/main/resources/info/images has all the images

Re: How to ignore submit button while executing event on blowser close?

2013-04-23 Thread Anna Simbirtsev
But when should we set it to 1 so that it ignores submit button? On Mon, Apr 22, 2013 at 4:03 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, In your code no one sets dont_confirm_leave to 1. On Mon, Apr 22, 2013 at 10:51 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: We try

Re: captcha show different strings

2012-10-09 Thread Anna Simbirtsev
be opening a new browser or by simply deleting the '?1' from the url) you will get a fresh new string. Cheers, -Tom On 09.10.2012, at 18:47, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi I am looking at the captcha example and it always produces the same string. How do I make

Re: captcha show different strings

2012-10-09 Thread Anna Simbirtsev
-Original Message- From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] Sent: Tuesday, October 09, 2012 1:36 PM To: users@wicket.apache.org Subject: Re: captcha show different strings yes, but how can I get it to produce a different string upon simple page reload? On Tue, Oct 9, 2012 at 1:27

Re: captcha show different strings

2012-10-09 Thread Anna Simbirtsev
/org/apache/wicket/extensions/captcha/ki%0Attens/KittenCaptchaPanel.html ~ Thank you, Paul Bors -Original Message- From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] Sent: Tuesday, October 09, 2012 1:43 PM To: users@wicket.apache.org Subject: Re: captcha show different strings

Re: disabling ajax submit button

2012-09-17 Thread Anna Simbirtsev
snippet shows an AjaxSubmitLink. Perhaps you meant to use an AjaxButton in your Java code? What's the HTML mark-up you use with the Java code you showed us? ~ Thank you, Paul Bors -Original Message- From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] Sent: Thursday, September 13

Re: disabling ajax submit button

2012-09-13 Thread Anna Simbirtsev
)); target.addComponent(this); Original Message *Subject: *disabling ajax submit button *From: *Anna Simbirtsev asimbirt...@gmail.com *To: *users@wicket.apache.org *Date: *2012-09-12 Hi I am trying to disable ajax submit button after it has been clicked. AjaxSubmitLink

Re: disabling ajax submit button

2012-09-13 Thread Anna Simbirtsev
it does not work On Thu, Sep 13, 2012 at 11:53 AM, vineet semwal vineetsemwa...@gmail.comwrote: that should have worked... btw why not just button.setEnabled(false) ? On Thu, Sep 13, 2012 at 9:11 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: I am using wicket 1.4.3 and changing

disabling ajax submit button

2012-09-12 Thread Anna Simbirtsev
Hi I am trying to disable ajax submit button after it has been clicked. AjaxSubmitLink submitButton1 = new AjaxSubmitLink(submitButton1) { private static final long serialVersionUID = 1L; protected void onSubmit(AjaxRequestTarget target, final Form? form)

Debug messages

2012-09-05 Thread Anna Simbirtsev
Hi I am seeing the following debug messages, how do I turn them off? 15:51:07.816 [1945207123@qtp-636450175-3] DEBUG org.apache.wicket.MarkupContainer - Rendering raw markup 15:51:07.816 [1945207123@qtp-636450175-3] DEBUG org.apache.wicket.Page - Rendered [MarkupContainer [Component id = 7]]

Re: Debug messages

2012-09-05 Thread Anna Simbirtsev
log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO log4j.logger.org.apache.wicket.version=INFO log4j.logger.org.apache.wicket.RequestCycle=INFO On Wed, Sep 5, 2012 at 4:23 PM, vineet semwal vineetsemwal1...@gmail.comwrote: change the log setting to INFO from DEBUG On Thu, Sep 6, 2012 at 1:24 AM, Anna

Closing modal window with keyboard

2011-11-08 Thread Anna Simbirtsev
Hi, Is there a way to close modal window with a keyboard shortcut? Thanks Anna

passing information to the modal window class

2011-09-02 Thread Anna Simbirtsev
Hi, I have a modal window defined like in the following example: *public class *Modal *extends *WebPage { *public *Modal() { *final *ModalWindow modal1; add(modal1 = *new *ModalWindow(modal1)); modal1.setPageMapName(modal-1); modal1.setCookieName(modal-1); modal1.setPageCreator(*new

Passing info to the modal window

2011-09-02 Thread Anna Simbirtsev
Hi, I have a modal window defined like in the following example: *public class *Modal *extends *WebPage { *public *Modal() { *final *ModalWindow modal1; add(modal1 = *new *ModalWindow(modal1)); modal1.setPageMapName(modal-1); modal1.setCookieName(modal-1);

modal page encoding

2011-08-22 Thread Anna Simbirtsev
Hi, Encoding issue in Wicket: we want to change encoding from utf-8 to iso-8859-01, after adding the following codes in application, it works for page, but doesn't work with modal page, which is still using 'utf-8' encoding. getRequestCycleSettings().setResponseRequestEncoding(iso-8859-1);

Re: modal page encoding

2011-08-22 Thread Anna Simbirtsev
details what exactly is the problem On Mon, Aug 22, 2011 at 5:39 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, Encoding issue in Wicket: we want to change encoding from utf-8 to iso-8859-01, after adding the following codes in application, it works for page, but doesn't work

Username gets cached

2011-08-03 Thread Anna Simbirtsev
Hi, On the login page I have a text field with wicket id username and Password text field with wicket id password. If I have a password text field on a different page with different wicket id, it caches the values and populates the password field with password and the field before it with

Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anna Simbirtsev (416) 729

Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
I have autocomplete=off, it does not work. On Wed, Aug 3, 2011 at 10:12 AM, vineet semwal vineetsemwal1...@gmail.comwrote: try after doing autocomplete off on that textfield On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: No, I am not. The pages are not related

Textfield to keep the value after being refreshed

2011-07-20 Thread Anna Simbirtsev
Hi, I refresh the page using target.addComponent(fieldName); The value that was entered in the text field is cleared. How can I get it to keep the value? Thanks Anna

Re: Textfield to keep the value after being refreshed

2011-07-20 Thread Anna Simbirtsev
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331

Distinguish between error messages for date

2011-06-27 Thread Anna Simbirtsev
Hi, I have a date text field and I want to give 2 different error messages for different errors: 1) invalid date 2) invalid date format DateTextField myField = new DateTextField(myField, -MM-dd) { private static final long serialVersionUID = 1L;

selenium certificate problem

2011-06-13 Thread Anna Simbirtsev
Hi, I am using selenium to test my wicket application. When run test cases, I get an error This Connection is Untrusted and asks me to accept to certificate. I am trying to get selenium server to use my profile and not to create a new one every time. I added the following line to pom.xml, but it

Rendering the page, error some elements are missing

2011-05-13 Thread Anna Simbirtsev
Hi, I have the following markup for MyPanel.html: wicket:panel wicket:enclosure child=mylabel h3 span class=titleimg src=images/title-ico.gif border=0nbsp;My page /span /h3 div class=content div class=selectdown pimg src=images/asterisk.jpgLabel/p

WebMarkupContainer and replaceWith

2011-05-11 Thread Anna Simbirtsev
Hi, I am trying to replace WebMarkupContainer with Panel, but get the following error: org.apache.wicket.markup.MarkupException: close tag not found for tag: div wicket:id=myContainer. The container has other elements attached to it. Is there any way to get it working or I can only replace

LoadableDetachableModel

2011-02-18 Thread Anna Simbirtsev
Hi, I have a list view, and I am using LoadableDetachableModel as the model for the list view. The only problem that I have is I also have add more button, that adds extra rows to the list view using ajax. Since the model is read only, I can't add any rows to it. WebMarkupContainer myPanel =

Re: LoadableDetachableModel

2011-02-18 Thread Anna Simbirtsev
list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331

dynamic tree model

2011-02-18 Thread Anna Simbirtsev
Hi, I have a tree with ExternalLink as a leaf node. Is it possible to make the tree dynamic? Like when the user clicks on a +, the model gets reloaded and the tree rerendered? Thanks Anna - To unsubscribe, e-mail:

Re: DatePicker to pick a year

2010-12-10 Thread Anna Simbirtsev
model annotation? On Wed, Dec 8, 2010 at 10:24 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: It is a pure Date. On Tue, Dec 7, 2010 at 9:24 PM, nivs shravann...@gmail.com wrote: Hi If your getting the date format error from the Model side and it is expecting a timestamp

Re: DatePicker to pick a year

2010-12-08 Thread Anna Simbirtsev
. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331

Re: DatePicker to pick a year

2010-12-07 Thread Anna Simbirtsev
. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331 - To unsubscribe, e-mail: users-unsubscr

Re: DatePicker to pick a year

2010-11-30 Thread Anna Simbirtsev
: true }); }); This is in the body: input wicket:id=myid name=extensions:0:extension:myid type=text id=mydatepicker value=/ But it does not work, does anybody has any ideas? Thanks On Mon, Nov 29, 2010 at 1:07 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: That works, thanks. I just wonder

DatePicker to pick a year

2010-11-29 Thread Anna Simbirtsev
Hi, Is it possible to get datapicker to switch between year, currently there are arrows to only switch between month? Thanks, Anna - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: DatePicker to pick a year

2010-11-29 Thread Anna Simbirtsev
               protected boolean enableMonthYearSelection() {                    return true;                }            }; 2010/11/29 Anna Simbirtsev asimbirt...@gmail.com Hi, Is it possible to get datapicker to switch between year, currently there are arrows to only switch between month? Thanks

Re: DatePicker to pick a year

2010-11-29 Thread Anna Simbirtsev
=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12846200#action_12846200 try to click on month name for change year! 2010/11/29 Anna Simbirtsev asimbirt...@gmail.com It does not work, only can switch between month, not year. On Mon, Nov 29, 2010 at 11:33 AM, Marco Mancini

Link inside feedback message

2010-11-15 Thread Anna Simbirtsev
Hi, Is it possible to add a bookmarkable link to a feedback message? To have a link inside a message? Thanks, Anna - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

AjaxSubmitLink problem

2010-10-27 Thread Anna Simbirtsev
Hi, I am using AjaxSubmitLink and I have setDefaultFormProcessing(false) to avoid form validation. The only problem is that none of the form values get submitted. If I need to get the value of one of the fields, how do I do that? Thanks, Anna

Re: automatically sizing modal window

2010-09-28 Thread Anna Simbirtsev
of this information. -- Anna Simbirtsev (416) 729-7331 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

setDefaultButton works in all browsers?

2010-09-21 Thread Anna Simbirtsev
I am using setDefaultButton to submit the form using enter key. It seems to be working ok, but I have read on the internet that people are having problems in some browsers. Does anybody have any recommendations? Thanks - To

Re: Close modal window on session timeout

2010-09-13 Thread Anna Simbirtsev
-h...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Close modal window on session timeout

2010-09-13 Thread Anna Simbirtsev
Its working, thank you. On Mon, Sep 13, 2010 at 2:13 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: When would this java script get executed? I added it to the base page, but does not work. On Sat, Sep 11, 2010 at 7:07 AM, Alexander Morozov alexander.v.moro...@gmail.com wrote: Yep, just

Close modal window on session timeout

2010-09-10 Thread Anna Simbirtsev
Hi, I open a modal window from the parent window, and after some time the session times out. The modal window is still open, so the login page is displayed inside the modal window. Is there a way to have a modal window close on session timeout? Thanks, Anna

Re: Close modal window on session timeout

2010-09-10 Thread Anna Simbirtsev
... Are the contents of your modal window in a Page? If you make the contents live in a Panel (instead of a page) then (I suppose) you will not have this problem. Ernesto On Fri, Sep 10, 2010 at 9:03 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I open a modal window from the parent window

Using AjaxCheckBox

2010-08-23 Thread Anna Simbirtsev
Hi, I am trying to use AjaxCheckBox to update another checkbox model object when this checkbox is clicked. CheckBox b = new CheckBox(basicCreate, new ModelBoolean()); AjaxCheckBox a = new AjaxCheckBox(create, new ModelBoolean()) { private static

Re: Using AjaxCheckBox

2010-08-23 Thread Anna Simbirtsev
late. The HTML tag will not have a markup id, so nothing will be updated. Call this method immediately after constructing the checkbox. Regards Sven On 08/23/2010 09:18 PM, Anna Simbirtsev wrote: Hi, I am trying to use AjaxCheckBox to update another checkbox model object when

Testing modal window

2010-08-12 Thread Anna Simbirtsev
Hi, I am trying to write a test case to test that the parent page gets updated with new values once the modal window closes. public class DataAddITCase extends AbstractITCase { public DataAddITCase() { super(); } @Override protected void signin() {

refreshing fragment

2010-07-12 Thread Anna Simbirtsev
Hi, I have a listview inside a fragment. Listview has a text field comment. Fragment f = new Fragment(fragment, fragmentid, form2); f.setOutputMarkupId(true); form.add(f); final ListViewLoan lv = new ListViewLoan(loans, data .getLoans()) { private

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
/tbody /table /wicket:enclosure /wicket:fragment On Mon, Jul 12, 2010 at 10:47 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: what is your fragment about ? container div does it have markupid? 2010/7/12 Anna Simbirtsev

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
visible in browser source when your refresh it ?? Ajax cannot referesh invisible components ** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: span wicket:id=fragment class=results-tablefragments contents come here/span wicket:fragment wicket:id=fragmentid

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
No, I don't think so.:( On Mon, Jul 12, 2010 at 11:15 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: No validation error? ** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: I took out the wicket enclosure, still does not work. The value in the textfield still

Re: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
put a #top anchor on top of your window, and then jump to it using the combination of code above. I have not tried this myself, though :) ajaxRequestTarget.appendJavascript(window.location.hash = '#top';); -Nelson On Wed, Jun 30, 2010 at 1:54 PM, Anna Simbirtsev asimbirt...@gmail.com wrote

Re: Rerender modal window fields without ajaxtargetrequest

2010-07-02 Thread Anna Simbirtsev
. Ernesto On Thu, Jul 1, 2010 at 3:22 AM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, AjaxSubmitLink removeLink = new AjaxSubmitLink(removeLink) { @Override public void onSubmit(AjaxTargetRequest target) { MyPanel.this.replaceWith(new ConfirmDeletePanel

Re: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
I think because its a modal window, it has the same url as the parent window. On Fri, Jul 2, 2010 at 9:47 AM, Anna Simbirtsev asimbirt...@gmail.comwrote: Hi, it does not work. On Wed, Jun 30, 2010 at 6:35 PM, Nelson Segura nsegu...@gmail.com wrote: To execute javascript after AJAX, do

Re: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
I'm sorry, it actually works in IE, but not in Mozilla. Does anybody have any idea how to get it to work in Mozilla? Thank you On Fri, Jul 2, 2010 at 10:37 AM, Anna Simbirtsev asimbirt...@gmail.comwrote: I think because its a modal window, it has the same url as the parent window. On Fri

Re: Rerender modal window fields without ajaxtargetrequest

2010-07-01 Thread Anna Simbirtsev
Thank you, I'll try it. On Thu, Jul 1, 2010 at 2:41 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Anna, You mean how to access AjaxRequestTarget? Try AjaxRequestTarget.get(): I think it can be accessed as a thread local. Ernesto On Thu, Jul 1, 2010 at 3:22 AM, Anna Simbirtsev

Refreshing modal window

2010-06-30 Thread Anna Simbirtsev
Hi, My problem is that after the user clicks AjaxSubmit button, and the confirmation message is displayed in feedback panel, the window does not refresh, so if the user scrolled to the bottom of the model window, he/she does not see the confirmation message. How can I get the modal window to

Re: Refreshing modal window

2010-06-30 Thread Anna Simbirtsev
java script that scrolls your window to the top on the ajax response. -Nelson On Wed, Jun 30, 2010 at 12:22 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, My problem is that after the user clicks AjaxSubmit button, and the confirmation message is displayed in feedback panel

Rerender modal window fields without ajaxtargetrequest

2010-06-30 Thread Anna Simbirtsev
Hi, AjaxSubmitLink removeLink = new AjaxSubmitLink(removeLink) { @Override public void onSubmit(AjaxTargetRequest target) { MyPanel.this.replaceWith(new ConfirmDeletePanel( MyPanel.this.getId(), are you sure) { @Override protected void onCancel() {

Re: LinkTree and DownloadLink

2010-06-23 Thread Anna Simbirtsev
(text, Example DownloadLink)); } } DownLoadLinkPanel.html wicket:panel a wicket:id=downloadspan wicket:id=text/span/a /wicket:panel --- and then return new DownLoadLinkPanel(componentId); Ernesto On Tue, Jun 22, 2010 at 10:43 PM, Anna Simbirtsev

LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
Hi, I am trying to extend newNodeComponent on a LinkTree to make nodes DownLoadLink. tree = new LinkTree(tree, createTreeModel()){ private static final long serialVersionUID = 1L; @Override protected Component newNodeComponent( String id, IModel model ) {

Re: modal window from AJAX ?

2010-06-22 Thread Anna Simbirtsev
-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331

Re: LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I am trying to extend newNodeComponent on a LinkTree to make nodes DownLoadLink. tree = new LinkTree(tree, createTreeModel()){ private static final long serialVersionUID = 1L; @Override protected Component

Re: LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
put Link on a span you will have a generated markup span onclick=/span which might not be visible. Why don't you use a panel like following? wicket:panel a wicket:id=downloadspan wicket:id=text/span/a /wicket:panel Ernesto On Tue, Jun 22, 2010 at 9:09 PM, Anna Simbirtsev asimbirt

Anchor, not jumping in Mozilla

2010-06-18 Thread Anna Simbirtsev
Hi, I have a SubmitLink that submits the form and returns to the same page. But I need it to jump to the result section. I added an anchor: form = new ShinyForm(myForm) { private static final long serialVersionUID = -4058461619493381294L; protected void

NULL model on empty string?

2010-06-10 Thread Anna Simbirtsev
Hi, I use CompoundPropertyModel for all the fields on the page. form.add(new TextFieldString(url)); If the value entered by user is empty, then the model get updated with null value? How can I get getUrl() function to return instead of null. Thanks

Re: NULL model on empty string?

2010-06-10 Thread Anna Simbirtsev
...@wicket.apache.org -- Anna Simbirtsev (416) 729-7331

FormTester with dynamic fields

2010-04-09 Thread Anna Simbirtsev
Hi, I have the following MarkupContainer: final MarkupContainer panel = new WebMarkupContainer(panel); panel.setOutputMarkupId(true); form.add(panel); ArrayListContact rows = new ArrayListContact(1); rows.add(new Contact()); final ListViewContact

Re: Feedback and field validation

2010-03-25 Thread Anna Simbirtsev
the request processing. build a visitor that checks the feedbackmassges of every component. your components have to hold the messages when error, info and warn will called. clear on successful validate. alex Anna Simbirtsev wrote: Hi, I validate fields using

DatePicker and visibility of the parent component

2010-03-25 Thread Anna Simbirtsev
Hi, I have date picker added to a date field. DateTextField field = new DateTextField(field, -MM-dd); field1.add(new DatePicker()); If the section the date picker is in is visible there is no problem. If the section is not visible using wicket:enclosure, I get an error:

Feedback and field validation

2010-03-16 Thread Anna Simbirtsev
Hi, I validate fields using AjaxFormComponentUpdatingBehavior(onblur). When I am on field 1, and data is invalid, it displays feedback message, and I can see this message in session. When I move to a different field, this feedback message is no longer in the session. Can somebody explain that?

Remove error message for a specific component

2010-03-15 Thread Anna Simbirtsev
Hi, How can I remove error message for a specific component? In the Component.class, it checks that the component is valid the following way: public final boolean hasErrorMessage() { return Session.get().getFeedbackMessages().hasErrorMessageFor(this); } I need to remove error message

Re: Remove error message for a specific component

2010-03-15 Thread Anna Simbirtsev
...@gmail.comwrote: getsession().getfeedbackmessages().clear(new ifeedbackmessagefilter() { accept(feedbackmessagefilter f) { f.getreporter()==component; } -igor On Mon, Mar 15, 2010 at 10:59 AM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, How can I remove error message for a specific component

Field highlighting on error in Modal window

2010-03-11 Thread Anna Simbirtsev
Hi, I implemented LondonWicket-FormsWithFlair.pdf on my main windows, but on Modal windows it does not work, since it uses Ajax to submit the form. Do I have to check each field manually and manually highlight it in Modal windows? Thanks, Anna

Re: Clear feedback panel

2010-03-08 Thread Anna Simbirtsev
, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Maybe you are not really replacing the feedback using ajax. Look at wicket-debug popup. Do you hae feedbackPanel.setOutputMarkupId(true);? ** Martin 2010/3/5 Anna Simbirtsev asimbirt...@gmail.com: It does not work for some reason

Re: Clear feedback panel

2010-03-08 Thread Anna Simbirtsev
: Maybe you are not really replacing the feedback using ajax. Look at wicket-debug popup. Do you hae feedbackPanel.setOutputMarkupId(true);? ** Martin 2010/3/5 Anna Simbirtsev asimbirt...@gmail.com: It does not work for some reason. Session.get().cleanupFeedbackMessages

Clear feedback panel

2010-03-05 Thread Anna Simbirtsev
Hi, How can I clear FeedbackPanel messages? I want to remove them from the page using target.addComponent(f); where f is FeedbackPanel. I just don't know how to set messages to null. Thanks, Anna

Re: Clear feedback panel

2010-03-05 Thread Anna Simbirtsev
It does not work for some reason. Session.get().cleanupFeedbackMessages(); target.addComponent(feedback); The message is still visible. On Fri, Mar 5, 2010 at 4:29 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: session.cleanupfeedbackmessages. 2010/3/5 Anna Simbirtsev

Making label visible using Ajax, does not update model

2010-03-01 Thread Anna Simbirtsev
Hi, I have labels defined in the following way: MarkupContainer f = new WebMarkupContainer(viewPanel); f.setOutputMarkupPlaceholderTag(true); form.add(f); f.setVisible(false); f.add(new Label(label1, data.getLabel1())); f.add(new Label(label2, data.getLabel2())); AjaxSubmitLink submitbutton =

Re: Making label visible using Ajax, does not update model

2010-03-01 Thread Anna Simbirtsev
, Mar 1, 2010 at 2:57 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I have labels defined in the following way: MarkupContainer f = new WebMarkupContainer(viewPanel); f.setOutputMarkupPlaceholderTag(true); form.add(f); f.setVisible(false); f.add(new Label(label1

Re: Making label visible using Ajax, does not update model

2010-03-01 Thread Anna Simbirtsev
, the propertymodel will dynamically query data's appropriate property name (in this case label1 and label2) for the values. -R On Mon, Mar 1, 2010 at 1:06 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: But how can I use a label with a real model? On Mon, Mar 1, 2010 at 2:59 PM

wicket:enclosure does not get re-rendered

2010-02-25 Thread Anna Simbirtsev
Hi, I have fragment inside wicket:enclosure. When ajax submit takes place, it tries to re-render fragment, but does not succeed, since wicket:enclosure is still invisible, even though isVisible method returns true. div class=largeinput-required h2Password/h2 input

Re: wicket:enclosure does not get re-rendered

2010-02-25 Thread Anna Simbirtsev
something via ajax that is initially invisible you need to call setoutputmarkupplacehodlertag(true) on it. -igor On Thu, Feb 25, 2010 at 8:43 AM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I have fragment inside wicket:enclosure. When ajax submit takes place, it tries to re-render

Modal window closes, parent window needs to be refreshed

2010-02-17 Thread Anna Simbirtsev
Hi, When a child modal window closes, I need to refresh the values in the parent window. I think I should use modal.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() function to search for the new values to display. But I am not sure how to rerender the page so the values shown will

Highlight invalid field

2010-02-04 Thread Anna Simbirtsev
Hi, I am validating a field(user presses validation button) and if its invalid I highlight the field in the following way: AjaxSubmitLink checkName = new AjaxSubmitLink(check_name, form) { public void onSubmit(AjaxRequestTarget target, Form? form) { if

Re: Highlight invalid field

2010-02-04 Thread Anna Simbirtsev
...@carmanconsulting.comwrote: It's better to use a validator for this. And, you can add a behavior (look at forms with flair presentation) to change the class (I would do that instead of in-lining the style) of the components in error. On Thu, Feb 4, 2010 at 2:05 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi

  1   2   >