Using SimpleAttributeModifier

2010-01-22 Thread Anna Simbirtsev
Hi, I am trying to use SimpleAttributeModifier to make an ADD MORE link invisible once the maximum number of text fields that it adds have been reached. But I can not get it to render the link component. My code: addLink = new AjaxSubmitLink("addRow", form) { private static final l

Re: Using SimpleAttributeModifier

2010-01-22 Thread Anna Simbirtsev
Thanks a lot, it worked.:) On Fri, Jan 22, 2010 at 4:24 PM, Sven Meier wrote: > target.addComponent(addLink) ?? > > BTW you could override isVisible() and getOutputMarkupPlaceholderTag() > instead of the attribute modifier. > > Sven > > > Anna Simbirtsev wrote: > &

Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
Hello, I have a modal window that is used to create a contact and needs to submit data to the server once submit button is called. The submit button is defined as follows: SUBMIT contact_form.add(new Button("contact_submitbutton").add(new AjaxFormSubmitBehavior(contact_form, "onclick") {

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
your form don't pass in some validation like on required field. > > On Tue, Jan 26, 2010 at 4:07 PM, Anna Simbirtsev >wrote: > > > Hello, > > > > I have a modal window that is used to create a contact and needs to > submit > > data to the server once

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
at the AjaxButton if you need an asynchronous submit, and > implement your onError handlers with: > > target.addComponent( myFeedbackPanelThatMabyWillShowSomeMessageIfGetUpdated > ); > > On Tue, Jan 26, 2010 at 4:34 PM, Anna Simbirtsev >wrote: > > >

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
form) { System.out.println("Inside contact link's onError is called."); target.addComponent(contact_feedback); } }); On Tue, Jan 26, 2010 at 2:05 PM, Pedro Santos wrote: > Even using AjaxButton? Can you send the code? &

Re: Using AjaxFormSubmitBehavior

2010-01-26 Thread Anna Simbirtsev
I have to add that its all done inside a modal window.  Create Contact On Tue, Jan 26, 2010 at 2:26 PM, Anna Simbirtsev wrote: > I changed it to use AjaxButton instead of AjaxFormSubmitBehavior and it > still does not see the values. > > wicket:id="contact_submitbutton"

Re: Using AjaxFormSubmitBehavior

2010-01-27 Thread Anna Simbirtsev
> referenceToTheModeWhereIHaveTheContactUsedByForm.getObject().getContactId()); > probably referenceToTheModeWhereIHaveTheContactUsedByForm can be: > contact_form.getDefaultModel() > > On Tue, Jan 26, 2010 at 5:26 PM, Anna Simbirtsev >wrote: > > > I changed it to use AjaxButton instead of AjaxFormSubmi

Feedback panel in Modal window

2010-02-01 Thread Anna Simbirtsev
Hi, I have a feedback panel in Modal window, but for some reason it does not work. contact_form.add(new FeedbackPanel("feedback")); I get the following messages: WARN - WebSession - Component-targetted feedback message was left unrendered. This could be because you are missin

Re: Feedback panel in Modal window

2010-02-03 Thread Anna Simbirtsev
Thanks. Its working now, I just had to implement onError function for the AjaxSubmitLink. On Tue, Feb 2, 2010 at 4:29 PM, vermas wrote: > > Try to add feedbackpanel inside the panel and inside the form. > > > > > rest of your html code > > > > Thanks > &

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 (name.length

Re: Highlight invalid field

2010-02-04 Thread Anna Simbirtsev
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 > wrote: > > Hi, > &g

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 b

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. Password SUBMIT fragments contents come here

Re: wicket:enclosure does not get re-rendered

2010-02-25 Thread Anna Simbirtsev
ething 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 > wrote: > > Hi, > > > > I have fragment inside wicket:enclosure. When ajax submit takes plac

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 submitbut

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

2010-03-01 Thread Anna Simbirtsev
n, Mar 1, 2010 at 2:57 PM, Anna Simbirtsev > wrote: > > Hi, > > > > I have labels defined in the following way: > > > > MarkupContainer f = new WebMarkupContainer("viewPanel"); > > > > f.setOutputMarkupPlaceholderTag(true); > >

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

2010-03-01 Thread Anna Simbirtsev
> > That way when the model is queried for the value, 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 > wr

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

Re: Clear feedback panel

2010-03-08 Thread Anna Simbirtsev
in 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 : > > It does

Re: Clear feedback panel

2010-03-08 Thread Anna Simbirtsev
ripalvelut.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 : &

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

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 for

Re: Remove error message for a specific component

2010-03-15 Thread Anna Simbirtsev
} }); On Mon, Mar 15, 2010 at 2:25 PM, Igor Vaynberg wrote: > getsession().getfeedbackmessages().clear(new ifeedbackmessagefilter() { > accept(feedbackmessagefilter f) { f.getreporter()==component; } > > > -igor > > > On Mon, Mar 15, 2010 at 10:59 AM, Anna Si

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?

Re: Feedback and field validation

2010-03-25 Thread Anna Simbirtsev
s will clear after 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

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: http://localhost

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); ArrayList rows = new ArrayList(1); rows.add(new Contact()); final ListView lv = new ListView("r

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 TextField("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
This would not work for form.add(new TextField("guid", Integer.class)) ? It works if type is String. On Thu, Jun 10, 2010 at 3:03 PM, Josh Chappelle wrote: > Call setConvertEmptyInputStringToNull(false) on your TextField. > > Josh > > -Original Message

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 onComponentTag(

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 ) { ret

Re: modal window from AJAX ?

2010-06-22 Thread Anna Simbirtsev
t; 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: LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
ue, Jun 22, 2010 at 7:50 PM, Anna Simbirtsev > wrote: > > Hi, > > > > I am trying to extend newNodeComponent on a LinkTree to make nodes > > DownLoadLink. > > > > tree = new LinkTree("tree", createTreeModel()){ > > > > private static fi

Re: LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
> Not sure but I think if you put Link on a you will have a > generated markup which might not be visible. > Why don't you use a panel like following? > > > > > > Ernesto > > > On Tue, Jun 22, 2010 at 9:09 PM, Anna Simbirtsev > wrote: > &g

Re: LinkTree and DownloadLink

2010-06-23 Thread Anna Simbirtsev
"wat-application/images/addmore.jpg" ), "AddMore.jpg" ); >add(dl); >dl.add(new Label("text", "Example DownloadLink")); >} > > } > > > > DownLoadLinkPanel.html > > >

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 refr

Re: Refreshing modal window

2010-06-30 Thread Anna Simbirtsev
t; script > that scrolls your window to the top on the ajax response. > -Nelson > > On Wed, Jun 30, 2010 at 12:22 PM, Anna Simbirtsev >wrote: > > > Hi, > > > > My problem is that after the user clicks AjaxSubmit button, and the > > confirmation message

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() { this.replaceWith(MyPanel

Re: Rerender modal window fields without ajaxtargetrequest

2010-07-01 Thread Anna Simbirtsev
> in the MyPanel.this after it is replaced back if i don't have > > AjaxTargetRequest? > > I mean onConfirm changes the values that are displayed on MyPanel and I > want > > to refresh them. > > > > Thanks > > Anna > > > > - > 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: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
cation.hash = '#idname'; > > > You can 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';&qu

Re: Rerender modal window fields without ajaxtargetrequest

2010-07-02 Thread Anna Simbirtsev
cessed as a thread local. > > Ernesto > > On Thu, Jul 1, 2010 at 3:22 AM, Anna Simbirtsev > wrote: > > Hi, > > > > AjaxSubmitLink removeLink = new AjaxSubmitLink("removeLink") { > > @Override > > public void onSubmit(AjaxTargetReq

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 wrote: > Hi, it does not work. > > > On Wed, Jun 30, 2010 at 6:35 PM, Nelson Segura wrote: > >> To execute javascript after A

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 wrote: > I think because its a modal window, it has the same url as the parent > window. > > > On F

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 ListView lv = new ListView("loans", data .getLoans()) { private stat

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
12, 2010 at 10:47 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > what is your fragment about ? does it have markupid? > > 2010/7/12 Anna Simbirtsev : > > Hi, > > > > I have a listview inside a fragment. Listview has a text field comment. >

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
component visible in browser source when your refresh it ?? > > Ajax cannot referesh invisible components > > ** > Martin > > 2010/7/12 Anna Simbirtsev : > &

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 : > > I took out the wicket enclosure, still does not work. The value i

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() { super.

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 Model()); AjaxCheckBox a = new AjaxCheckBox("create", new Model()) { private static final long seri

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 try

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
ntents 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 > wrote: >> Hi, >> >> >> I open a mo

Re: Close modal window on session timeout

2010-09-13 Thread Anna Simbirtsev
itional commands, e-mail: users-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 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 > wrote: >> >> Yep, just

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 unsub

Re: automatically sizing modal window

2010-09-28 Thread Anna Simbirtsev
>> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> >> >> >> Notice: This c

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 -

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: users-h...@wicket.

Re: Link inside feedback message

2010-11-16 Thread Anna Simbirtsev
l > 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 (41

Re: Link inside feedback message

2010-11-16 Thread Anna Simbirtsev
be, 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...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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

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: us

Re: DatePicker to pick a year

2010-11-29 Thread Anna Simbirtsev
           protected boolean enableMonthYearSelection() { >                    return true; >                } >            }; > > 2010/11/29 Anna Simbirtsev > >> Hi, >> >> Is it possible to get datapicker to switch between year, currently >> there

Re: DatePicker to pick a year

2010-11-29 Thread Anna Simbirtsev
7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846200#action_12846200 > > > > try to click on month name for change year! > > > > 2010/11/29 Anna Simbirtsev > >> It does not work, only can switch between month, not year. >> >> On Mon, Nov 29, 2

Re: DatePicker to pick a year

2010-11-30 Thread Anna Simbirtsev
({ changeMonth: true, changeYear: true }); }); This is in the body: But it does not work, does anybody has any ideas? Thanks On Mon, Nov 29, 2010 at 1:07 PM, Anna Simbirtsev wrote: > That works, thanks. I just wonder how users will be able to figure it out. > > On Mon, Nov 29, 2010 at 1

Re: DatePicker to pick a year

2010-12-07 Thread Anna Simbirtsev
MarkupId() 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...@wicket.apache.org > >

Re: DatePicker to pick a year

2010-12-08 Thread Anna Simbirtsev
to-pick-a-year-tp3063856p3077604.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apac

Re: DatePicker to pick a year

2010-12-10 Thread Anna Simbirtsev
Have you tried to check your model annotation? >> >> >> >> On Wed, Dec 8, 2010 at 10:24 PM, Anna Simbirtsev >> wrote: >> >>> It is a pure Date. >>> >>> On Tue, Dec 7, 2010 at 9:24 PM, nivs wrote: >>> > >>> > Hi >&g

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
 } > }; > addLink.setDefaultFormProcessing(false); > form.add(addLink); > > HTH > > Sven > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/LoadableDetachableModel-tp3312829p3312947.html > Sent from the Users forum mailing list archive

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: users-unsubscr

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: . The container has other elements attached to it. Is there any way to get it working or I can only replace panel with panel? Thanks Anna

Rendering the page, error some elements are missing

2011-05-13 Thread Anna Simbirtsev
Hi, I have the following markup for MyPanel.html:  My page Label Please Select This is a very very long long text that goes here 2 3

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

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;

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
antos wrote: > Hi Anna, use an submit component like AjaxLink or AjaxButton to > interact with server. Even if you skip the default form processing by > set submitComponent.setDefaultFormProcessing(false) the input in the > fieldName will be kept. > > On Wed, Jul 20, 2011 at 11

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 username

Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
/Username-gets-cached-tp3715475p3715532.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

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 wrote: > try after doing autocomplete off on that textfield > > On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev > wrote: > > No, I am not. The pages are not related. > &g

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
ils what exactly is the problem > > On Mon, Aug 22, 2011 at 5:39 PM, Anna Simbirtsev > wrote: > > Hi, > > > > Encoding issue in Wicket: > > we want to change encoding from "utf-8" to "iso-8859-01", after adding > the > > following codes

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

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"); modal1.setPageCreato

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]] 15:5

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 wrote: > change the log setting to INFO from DEBUG > > On Thu, Sep 6, 2012 at 1:24 AM, Anna Simbirtsev > w

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)

Re: disabling ajax submit button

2012-09-13 Thread Anna Simbirtsev
Modifier("**disabled", "disabled")); > target.addComponent(this); > > Original Message ---- > *Subject: *disabling ajax submit button > *From: *Anna Simbirtsev > *To: *users@wicket.apache.org > *Date: *2012-09-12 > > Hi >> >> I am trying t

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 wrote: > that should have worked... btw why not just button.setEnabled(false) ? > > On Thu, Sep 13, 2012 at 9:11 PM, Anna Simbirtsev > wrote: > > I am using wicket 1.4.3 > > and changing to the code you m

Re: disabling ajax submit button

2012-09-17 Thread Anna Simbirtsev
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, 2012 3:28 PM > To: users@wicket.ap

Re: captcha show different strings

2012-10-09 Thread Anna Simbirtsev
ing 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 wrote: > > > Hi > > > > I am looking at the captcha example and it always produces

Re: captcha show different strings

2012-10-09 Thread Anna Simbirtsev
ul Bors > > -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

Re: captcha show different strings

2012-10-09 Thread Anna Simbirtsev
docs/1.5/org/apache/wicket/extensions/captcha/ki > ttens/KittenCaptchaPanel.html<http://wicket.apache.org/apidocs/1.5/org/apache/wicket/extensions/captcha/ki%0Attens/KittenCaptchaPanel.html> > > ~ Thank you, > Paul Bors > > -Original Message- > From: Anna Simbirtse

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 wrote: > Hi, > > In your code no one sets dont_confirm_leave to 1. > > > On Mon, Apr 22, 2013 at 10:51 PM, Anna Simbirtsev >wrote: > > > We try to us

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 List cssResources = new ArrayLi

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
t; Why not just use CSSLinksInjector.class instead of getClass()? > > > On Tue, Jan 14, 2014 at 2:46 PM, Anna Simbirtsev >wrote: > > > Hi, > > > > I am upgrading wicket from 1.4 to 6.7. > > > > Before my css files were added this way: > > > &

Re: CssBehaviour can't find css files

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

Re: CssBehaviour can't find css files

2014-01-14 Thread Anna Simbirtsev
> > > > > > On Tue, Jan 14, 2014 at 8:51 AM, Ernesto Reinaldo Barreiro < > > reier...@gmail.com> wrote: > > > > > Why not just use CSSLinksInjector.class instead of getClass()? > > > > > > > > > On Tue, Jan 14, 2014 at 2:46 PM, Anna Simb

  1   2   >