setOutputMarkupPlaceholderTag + value

2010-05-12 Thread Ivoneta
Hello! I need to manage the locale (choose from a combobox) in javascript. So I will create a hidden field and then get in javascript. I create a hidden text field: TextField locale = new TextField(hiddenLocale,new Model(getSession().getLocale().getLanguage()));

Re: setOutputMarkupPlaceholderTag + value

2010-05-17 Thread Ivoneta
Yes hiddenField is the solution... Thanks Igor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setOutputMarkupPlaceholderTag-value-tp2196140p2219895.html Sent from the Wicket - User mailing list archive at Nabble.com.

Replace panel+javaScript functions doesn't work

2010-05-17 Thread Ivoneta
Hello I have a panel with an ajax button. When the button is clicked the ajax event replace the current panel. I don't understand why after replaces the panel, the javascripts functions doesn't work. I added the javascript resources in the head of my webpage, in the traditional way html

Re: Replace panel+javaScript functions doesn't work

2010-05-17 Thread Ivoneta
in the html for the webPage, I have this head titleFrontEnd Seguros/title link href=views/css/ui.all.css rel=stylesheet type=text/css/ link href=views/css/QuotePage.css rel=stylesheet type=text/css/ script language=JavaScript1.2 src=views/js/jqueryMin.js/script

Re: Replace panel+javaScript functions doesn't work

2010-05-17 Thread Ivoneta
The first time the datepicker field is initialized when the DOM is ready $(document).ready(function(){ $('#initialDate').datepicker({ changeMonth: true, changeYear: true, showOn: 'button', buttonImage: 'views/images/calendar.jpg',

replace panel problems

2010-05-18 Thread Ivoneta
I have a web Page with a panel. When I click a ajax button, the panel is replace. In the new panel the javaScripts functions doesn't work. Why that happened? What am I missing? Here is the code the webpage html head script language=JavaScript1.2 src=views/js/accordion.js/script /head body div

Re: replace panel problems

2010-05-18 Thread Ivoneta
In the web Page head. Is the only place where I initialize the js. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2221908.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: replace panel problems

2010-05-18 Thread Ivoneta
Why do I inicialize the js every time? I don't understand that! it's so complicated! :( Is there another way to do it? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2221923.html Sent from the Wicket - User mailing list archive at

Re: replace panel problems

2010-05-18 Thread Ivoneta
I work with JQuery. I read in another post that the dom ready event isn't fired. it is right? I suspect I should do the js initializes every time! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2221952.html Sent from the Wicket -

Re: replace panel problems

2010-05-19 Thread Ivoneta
I have one question! I assume when inicialize de GenericDomReadyTailJavaScriptBehavior, the parameter should be a string with the JavaScript content, right? I could define the jQuery functions in a js file and call the function that I need from this AbstractBehavior class? I think, if you have

AjaxRequestTarget + add component

2010-05-24 Thread Ivoneta
Hi. I have two panels inside a webPage. In the first Panel I have a form with a ajax button. When I submitted de form the two panels should be replace and target. In the code I replace the firstPanel, them I add to te target this: target.addComponent(panel); I do the same for the second

AjaxPagingNavigation change style

2010-07-21 Thread Ivoneta
Hello everyone. I need to change the wicket navigator style. I read in previous posts the solution to this so I created my own subclass AjaxPagingNavigatorModified: public class AjaxPagingNavigatorModified extends AjaxPagingNavigator{ public AjaxPagingNavigatorModified(String id,

Re: AjaxPagingNavigation change style

2010-07-21 Thread Ivoneta
ohh I see the problem. I used a markup for AjaxPagingNavigator, but it doesn't have one. The markup is for PagingNavigator. I need to use AjaxPagingNavigator, so I implemented my own class MyAjaxPagingNavigator - copying exactly the same AjaxPagingNavigator code - and then I create a subclass

Wicket

2011-06-02 Thread Ivoneta
hello everyone I need some help.. I have an application based on struts... This application has some links, and I need this links calls a Wicket Pageit is possible? I think that is possible calls ising the url page , but the problem is the wicket generates the urls dinamically... How can I

Wicket

2011-06-02 Thread Ivoneta
hello everyone I need some help.. I have an application based on struts... This application has some links, and I need this links calls a Wicket Pageit is possible? I think that is possible calls ising the url page , but the problem is the wicket generates the urls dinamically... How can I

Re: Wicket

2011-06-02 Thread Ivoneta
but I don't know how get the URL for the page? Wicket generates de URL dinamically right? How can generates an static URL? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-tp3568681p3569148.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket

2011-06-03 Thread Ivoneta
Thanks it works :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-tp3568681p3571679.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: