Re: Add items and then submit a form

2012-02-06 Thread Tito
Well, I solved the problem. Just submitting the form that adds items by ajax in order to avoid the reload of the entire page and keep fields of the other form. Thanks! Tito On Tue, Jan 31, 2012 at 9:07 AM, Tito njyt...@gmail.com wrote: Hi, I'm working again on this. And I realized that I have

Re: Add items and then submit a form

2012-01-31 Thread Tito
you understand my problem? But if I nest forms it works but the problem are validations on main form when inner form is submitted. Thanks in advance Tito On Tue, Dec 20, 2011 at 8:38 AM, Tito njyt...@gmail.com wrote: Great!! It works ok! Thank you very much. On Tue, Dec 20, 2011 at 6:21 AM

Re: Add items and then submit a form

2011-12-20 Thread Tito
Great!! It works ok! Thank you very much. On Tue, Dec 20, 2011 at 6:21 AM, Andrea Del Bene adelb...@ciseonweb.itwrote: This should not be a big deal. Wicket lets you put form submitting button outside form itself. All you have to do to make it work is to pass the form to component's

Add items and then submit a form

2011-12-19 Thread Tito
and validations of item information. Could you give an idea of how to do something like this? I think it could be a standard problem. Thanks in advance. Tito

Re: Add items and then submit a form

2011-12-19 Thread Tito
something like this? I think it could be a standard problem. Thanks in advance. Tito --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users

Re: Add items and then submit a form

2011-12-19 Thread Tito
of how to do something like this? I think it could be a standard problem. Thanks in advance. Tito --** --**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apa**che.orghttp://apache.org users-unsubscribe

Re: Add items and then submit a form

2011-12-19 Thread Tito
I think you are right. Using an AjaxButton it works a litle more like I want. Nevertheless I still have a problem, because outer form submits inner form. In my case I think that I need two separated forms, but the problem is how to put add button y save button in the correct place. I mean, the

Re: freezing applications

2011-12-19 Thread Tito
Do you have a security filter? I think may be you have the session expired and ajax requests don't get wicket filter. On Mon, Dec 19, 2011 at 3:33 PM, danisevsky danisev...@gmail.com wrote: Hello, our application is one page and everything is done by ajax. And tester says that when he comes

Re: Chained dropdowns

2011-11-22 Thread Tito
for helping! Norberto 2011/11/19 Jeremy Thomerson jer...@wickettraining.com show the code On Fri, Nov 18, 2011 at 1:36 PM, Tito njyt...@gmail.com wrote: Hi, I'm trying to connect three drowpdowns. For example. combo1: Country combo2: Province combo3: City I'm updating dropdowns

Re: Radio button selection

2011-11-22 Thread Tito
I think I can give you another option based on Alexander's code. I added comments to explain how does it works. I didn't test it but If you have any problem just tell me: // model that indicates if I have to show the textfield final IModelBoolean yesNoState = new ModelBoolean(); // this is

Re: LoadableDetachableModel getObject not final

2011-11-21 Thread Tito
then break the load() function - for example by not calling it from the override. why would you want to override getobject()? -igor On Fri, Nov 18, 2011 at 10:39 AM, Tito njyt...@gmail.com wrote: Hi, I'm wondering if it is ok not to do 'final' this method. Correct me if I'm wrong but I

Re: LoadableDetachableModel getObject not final

2011-11-21 Thread Tito
Created: https://issues.apache.org/jira/browse/WICKET-4253 Thanks you 2011/11/21 Igor Vaynberg igor.vaynb...@gmail.com ah, lol. I thought it was final now and you wanted to make non final... :) open a jira... -igor On Nov 21, 2011 11:36 AM, Tito njyt...@gmail.com wrote: Hi Igor

LoadableDetachableModel getObject not final

2011-11-18 Thread Tito
Hi, I'm wondering if it is ok not to do 'final' this method. Correct me if I'm wrong but I think it is not normal to Override this method because we always have to Override load(). It's just a question to know what do you think. Thanks! Norberto

Re: DataView or GridView with two columns by item

2011-10-26 Thread Tito
Thank you Igor! I forgot that. It works ok! Tito 2011/10/25 Igor Vaynberg igor.vaynb...@gmail.com you never say item.add(contentRow, detailsRow); and you dont need to override newItem() at all -igor On Tue, Oct 25, 2011 at 8:30 AM, Tito njyt...@gmail.com wrote: I thought that I had

Re: DataView or GridView with two columns by item

2011-10-25 Thread Tito
wicket:id=accounts[cuentas]/span/td /tr tr wicket:id=details td colspan=5 input wicket:id=serviceStatus / /td /tr /wicket:container I don't know how to populate items. Thanks for helping! Tito 2011/10/24 Igor Vaynberg igor.vaynb...@gmail.com On Mon, Oct 24, 2011 at 9:31 AM, Tito njyt

Re: DataView or GridView with two columns by item

2011-10-25 Thread Tito
Yes, but I think this is not the problem. I have not problems with wicket:container, my problem is that I can't modify class attribute of tr to add Odd or Even. Tito 2011/10/25 Josh Kamau joshnet2...@gmail.com You can always use component#renderBodyOnly(true) method to ensure

Re: DataView or GridView with two columns by item

2011-10-25 Thread Tito
? Josh On Tue, Oct 25, 2011 at 4:21 PM, Tito njyt...@gmail.com wrote: Yes, but I think this is not the problem. I have not problems with wicket:container, my problem is that I can't modify class attribute of tr to add Odd or Even. Tito 2011/10/25 Josh Kamau joshnet2...@gmail.com

Re: DataView or GridView with two columns by item

2011-10-25 Thread Tito
On Tue, Oct 25, 2011 at 7:37 AM, Tito njyt...@gmail.com wrote: Yes I tried but the problem is I can't get MarkupContainer to add the AttributeModifierBehavior. I don't know how to get a container that represents tr tag. 2011/10/25 Josh Kamau joshnet2...@gmail.com Have you tried using

DataView or GridView with two columns by item

2011-10-24 Thread Tito
you give me an idea of how to do something like this? Thanks in advance. Tito

Re: DataView or GridView with two columns by item

2011-10-24 Thread Tito
! 2011/10/24 Igor Vaynberg igor.vaynb...@gmail.com dataview/listview/datatable should all work just fine, post your code. -igor On Mon, Oct 24, 2011 at 5:06 AM, Tito njyt...@gmail.com wrote: Hi, I'm trying to make a table with two columns by item. I mean, my item have to generate

Re: DataView or GridView with two columns by item

2011-10-24 Thread Tito
the repeater to a wicket:container tag like so: wicket:container wicket:id=repeater trtd.../tr trtd/tr /wicket:container you will have to rig up odd/even yourself -igor On Mon, Oct 24, 2011 at 9:10 AM, Tito njyt...@gmail.com wrote: Hi Igor this is what i'm doing: .java public

Re: Markup of type 'html' not found. Not usual error...

2011-08-03 Thread Tito
. When the user browsed with his browser that was configured in portuguese it failed. Well thanks for helping me. Bye Tito 2011/7/5 Tito njyt...@gmail.com Noup. I'm running on a single server. And the Unit Test is also failing on server sometimes. 2011/7/5 Bruno Borges bruno.bor...@gmail.com

Markup of type 'html' not found. Not usual error...

2011-07-05 Thread Tito
. This happens with some users who log in my system from their machines. I can't reproduce this error, it just happens. I know it's not enough information but perhaps someone had this problem before. I can post stacktrace if somone considers it useful. Thanks in advanced. Tito

Re: Markup of type 'html' not found. Not usual error...

2011-07-05 Thread Tito
doesn't manage sessions here. Tito 2011/7/5 Martijn Dashorst martijn.dasho...@gmail.com This sounds like something we fixed in 1.5-rc5.1. please make sure you are on the latest 1.5 release candidate (unless you are running 1.4 or 1.3). Martijn On Tue, Jul 5, 2011 at 3:05 PM, Tito njyt

Re: Markup of type 'html' not found. Not usual error...

2011-07-05 Thread Tito
, Tito njyt...@gmail.com wrote: I'm still running on wicket 1.4. I'm using 1.4.17 version. Here is the stack trace. Thank you! 2011-05-16 10:07:42,870 [http-80-12] ERROR keepcon23 org.apache.wicket.RequestCycle - Markup of type 'html' for component

Re: Markup of type 'html' not found. Not usual error...

2011-07-05 Thread Tito
* www.brunoborges.com.br +55 21 76727099 On Tue, Jul 5, 2011 at 12:14 PM, Tito njyt...@gmail.com wrote: Yes I am, by a servlet that manage the session. But I don't get your point. why you mean It could be the problem? I think I'm not writing wicket attributes of session. I can't use

Re: Markup of type 'html' not found. Not usual error...

2011-07-05 Thread Tito
21 76727099 On Tue, Jul 5, 2011 at 12:37 PM, Tito njyt...@gmail.com wrote: Mmm I remembered something. I made a RenderTest for this page and It works, but again, sometimes it doesn't. When it fails, in an specific machine, I have the same error. In that case I think It's

Re: Model detached before Validate of FormValidator

2011-06-06 Thread Tito
Wow, you tryed hard to do this. I had no more ideas, I'll try with this. Thank you very much. Tito 2011/6/5 Per Newgro per.new...@gmx.ch Hi Tito, i hope i got a valid solution for you. Please check it: a) You need to use a bean. I've tried it with simple strings like (1,2,7,24

Re: Model detached before Validate of FormValidator

2011-06-03 Thread Tito
Does it means that Model of form is populated before Validate? I didn't know that. In that way I also can use palette model in form and it would have to work too. Thanks for the solution! Tito 2011/6/3 Per Newgro per.new...@gmx.ch Sorry, i missed to say that you have to connect bunsinessModel

Re: Model detached before Validate of FormValidator

2011-06-03 Thread Tito
No problem, thanks for your answer. We always try to find a solution which is fine for me. When I call getSelectedChoices in Validation method it give us an empty List back. It is like the list it is not uploaded before entering the validation method. Thanks for helping me. Regards Tito 2011/6

Re: Model detached before Validate of FormValidator

2011-06-01 Thread Tito
. Thanks! Tito 2011/5/31 Per Newgro per.new...@gmx.ch Am 31.05.2011 15:10, schrieb Tito: Is this ok? I have to validate model object but it's detached when validate of form validator is called. How can I make this validation? Thanks Provide some code describing the problem please

Model detached before Validate of FormValidator

2011-05-31 Thread Tito
Is this ok? I have to validate model object but it's detached when validate of form validator is called. How can I make this validation? Thanks

Specific Paletter Validator

2011-05-30 Thread Tito
expected a IValidatorListAccount on add method, but it receives an IValidatorObject. How can I make some validations over selected items of palette? What can I expect when I getValue() of validatable param? Regards Tito

Re: MarkupNotFoundException strange behavior

2011-05-17 Thread Tito
in my server (I checked it on log) I think it shouldn't be user machine. Isn't it? Thanks! Tito 2011/5/16 andrea del bene andrea.on@libero.it Do you mean that on another computer with the same user you don't get the error? That sounds weird. Have you tried cleaning cache and temporary

Re: MarkupNotFoundException strange behavior

2011-05-17 Thread Tito
. Not to clean cache, but while I'm having this problem in my server (I checked it on log) I think it shouldn't be user machine. Isn't it? Thanks! Tito 2011/5/16 andrea del beneandrea.on@libero.it Do you mean that on another computer with the same user you don't get the error

MarkupNotFoundException strange behavior

2011-05-16 Thread Tito
error? Thanks in advance Tito

Re: Nested forms quick question

2011-05-06 Thread Tito
Are these necessarily nested forms? 2011/5/5 Alexandru Artimon aarti...@developmentgateway.org Hey guys, When I submit the main form can I prevent the submit of the inner forms? I have some small forms to add items to the main form. The fields in the inner forms have setRequired(true), so

Css url unexpected change

2011-04-14 Thread Tito
submit and unexpectedly my css path changed. Originally was rsrc/screen.css and later ../rsrc/screen.css where obviously the file is not and consequently my page lost all design. Thanks Tito

Re: Css url unexpected change

2011-04-14 Thread Tito
, Tito njyt...@gmail.com wrote: I have a page with an external css file wich is linked from html file. I mean, path is relative but hard. I guess wicket rewrite urls but here is the strange thing: I have a form with standar validation like a required field. I submit without adding

Re: Css url unexpected change

2011-04-14 Thread Tito
absolute (http://) or context relative one (/css/my.css) Wicket touches your resource url as well. On Thu, Apr 14, 2011 at 1:45 PM, Tito njyt...@gmail.com wrote: Yes, I know that wicket do that. But in my case wicket breaks it. Is it posible? 2011/4/14 Martin Grigorov mgrigo

Re: Css url unexpected change

2011-04-14 Thread Tito
Thanks! I solved it using another url mounting strategy. 2011/4/14 Martin Grigorov mgrigo...@apache.org This is how Wicket works. You need to pick one of the options I enumerated in my first mail. On Thu, Apr 14, 2011 at 2:41 PM, Tito njyt...@gmail.com wrote: Sorry, I understood your

Custom head title on subpage

2011-04-12 Thread Tito
Hi I don't know the best way to make title of page depends on subpage. I have a BasePage with a header, footer, etc. My concrete pages extends from BasePage. Then I want to have different title on each page. What do you recomend? Thanks

Re: Custom head title on subpage

2011-04-12 Thread Tito
I like this Idea but, how do you solve language issue? I mean, how can i do in concrete class to provide a different title depending on language. Now i'm working with a properties file with wicket:message key=page.title / Defining a properties file for every page it seems to work but it is not so

Re: Custom head title on subpage

2011-04-12 Thread Tito
. Tito 2011/4/12 sonxurxo sonxu...@gmail.com What about using Page#getString(String key) method? If you have your .properties files with language suffixes (e.g. MyPage_en.properties, MyPage_es.properties, MyPage_fr.properties) Wicket will automatically retrieve the String resource from

Re: Custom head title on subpage

2011-04-12 Thread Tito
Thank you Igor, I'm reading this now. Tito 2011/4/12 Igor Vaynberg igor.vaynb...@gmail.com My book had a recipe for a flexible solution for managing the page title, and as luck would have it its in the chapter that was made available for free: http://www.packtpub.com/sites/default/files

Re: Feedback panel on modal window

2010-12-02 Thread Tito
Good I fixed it. Thanks. I added feedback panel to target. But I redined onError to do that, because feedback is for errors in my case. Thanks for the answer. Bye Tito 2010/12/2 Andrea Del Bene adelb...@ciseonweb.it Hi Tito, how do you send form inside modal window? I guess you are sending

Feedback panel on modal window

2010-12-01 Thread Tito
you are missing a FeedbackPanel on the page. I have a feedback panel on page, however I would like to have another one on modal window. But now I'm not getting any kind of message. Thanks Tito

HeaderContributor wicket 1.5 dissapeared?

2010-10-22 Thread Tito
Hello! I have a short question. Does IHeaderContributor interface dissapeared in wicket 1.5 version? Or only dissapeared HeaderContributor class? I'm ussing headerContributor to add javascript code in header and if it's true I don't know how to migrate. I use it for GoogleMaps javascript code.

Re: HeaderContributor wicket 1.5 dissapeared?

2010-10-22 Thread Tito
Thank you! It is easyer that I'm hoped! 2010/10/22 Martin Grigorov mgrigo...@apache.org https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-ComponentandIBehaviorimplementIHeaderContributor On Fri, Oct 22, 2010 at 4:53 PM, Tito njyt...@gmail.com wrote: Hello

Button submit and onclick event right way

2010-10-18 Thread Tito
is the correct way to do this. Thanks a lot. Bye Tito

Re: Button submit and onclick event right way

2010-10-18 Thread Tito
request (on form submit), rather than two separate http request? You can leave the onclick of your button to submit your form via javascript which also previously massage the additional data you need. On Mon, Oct 18, 2010 at 8:46 PM, Tito [via Apache Wicket] ml-node+3001276-352039908-65...@n4

Re: Button submit and onclick event right way

2010-10-18 Thread Tito
field by using: Not a very orthodoxy way: WebRequest.get().getRequestParameter(yourHiddendFieldName) On Mon, Oct 18, 2010 at 10:55 PM, Tito [via Apache Wicket] ml-node+3001345-678496819-65...@n4.nabble.comml-node%2b3001345-678496819-65...@n4.nabble.com ml-node%2b3001345-678496819-65...@n4

Re: Forms ajax doesn't update components models

2010-10-07 Thread Tito
I made a quickstart and it works. Now I'm looking for the bug in my application. Thanks Tito 2010/10/6 Tito njyt...@gmail.com Well thank you!! I'm going to see this. If I see another details or if I can solve I will tell you. Thank you very much for helping! Bye 2010/10/6 vov vov

Re: Forms ajax doesn't update components models

2010-10-07 Thread Tito
It was a Wicket 1.5-M1 bug! I made a quickstart accidentally in wicket 1.5-M2.1 and it worked. The problem is that wicket 1.5-M2 don't have HeaderContributor anymore haha. Well thanks for every body, I wanted to warn. Bye Tito 2010/10/7 Tito njyt...@gmail.com I made a quickstart

Re: Forms ajax doesn't update components models

2010-10-06 Thread Tito
Well thank you!! I'm going to see this. If I see another details or if I can solve I will tell you. Thank you very much for helping! Bye 2010/10/6 vov vov...@mail.ru Sorry, but I'm not see the problems. Try to debug your isVisible method after submitting the form and find the place in

Re: Forms ajax doesn't update components models

2010-10-05 Thread Tito
Sorry feedback panel error was part of my coding prune to post. I can see submit method is called but data never appear. However other data of form that is not in auto_info_panel appears in model. In your tests data of map was setting to model?? The curious case is that when I change isVisible

Re: Forms ajax doesn't update components models

2010-10-04 Thread Tito
labelPatente:*/label input wicket:id=patente type=text / /li /ol /fieldset /wicket:panel Thanks for following this thread!! Tito 2010/10/4 vov vov...@mail.ru Your code looks correct. You said 'when you click Registrar button, data from auto_info_panel don't appear

Re: Forms ajax doesn't update components models

2010-10-01 Thread Tito
Tito

Forms ajax doesn't update components models

2010-09-30 Thread Tito
Hello, I'm doing a form that adds textfields when I choose an option in a ComboBox. When Combo changes one panel become visible and other invisible. The problem is when that panel appears and I click submit button the model of it does't update. I have seen that browser submit the info, but wicket

301 redirect

2010-02-18 Thread Matías G. Tito
Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302: RedirectRequestTarget target = new RedirectRequestTarget(url) { @Override public void respond(RequestCycle requestCycle) { WebResponse response =

Re: 301 redirect

2010-02-18 Thread Matías G. Tito
Yes, I test it and works but I feel that is not a real 301 :p Martin Makundi wrote: http://old.nabble.com/301-Redirect-td27030778.html 2010/2/18 Matías G. Tito mt...@zauber.com.ar: Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302

Create Wikcet Filter

2010-02-18 Thread Matías G. Tito
I'm loking for creatting a basic wicket filter for / - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

original target during a session expired

2009-08-14 Thread Matías Gonzalo Tito
I am hoping for some advice on this. Is there a way to obtain the original target during a *session* *expired* scenario? I know you can register a Page class as a handler of this event, but I would like to know which Page the originating request was destined for. Thanks!

TinyMceBehavior alternative

2009-06-25 Thread Matí­as Tito
Hi, somebody known a TinyMceBehavior alternative (?) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

ModalWindow Position

2009-04-21 Thread Matías Tito
Hi, I have the following problem. I add a ModalWindow in a Page. I want to change the initial top-position of that. I try adding an AtributteModifier but it doesn't work. Thanks! - To unsubscribe, e-mail:

getAllSession method?

2009-04-15 Thread Matías Tito
Hi, I was trying but I couldn't find a method in my Wicket Aplication like geAllSession. How can I do that? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Diference between model's

2009-03-20 Thread Matías Tito
I'm starting on wicket and I don't underdestand diferences between LoadableDetachableModel and DetachableModel. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

bookmarkable links

2009-02-19 Thread Matías Tito
Hi, I am beginnig on Wicket. Well, my questions is: Diferences beetwen bookmarkablelink and links - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Nested Label Components

2009-02-12 Thread Matías Tito
How can I nested label components? WicketMessage: Expected close tag for 'li wicket:id=groupDescription' Possible attempt to embed component(s) 'span wicket:id=qtyMembers' in the body of this component which discards its body html xmlns:wicket wicket:panel h3

Re: Nested Label Components

2009-02-12 Thread Matías Tito
/ul On Thu, 2009-02-12 at 18:22 +0100, Thomas Mäder wrote: You cannot nest components inside labels. What are you trying to achieve? Thomas On Thu, Feb 12, 2009 at 5:02 PM, Matías Tito mt...@zauber.com.ar wrote: How can I nested label components? WicketMessage: Expected close tag