Re: load properties file from extrnal path
Thanks Martin and Sandor!! That was really helping!!! I did it both - changed the Init() and added an external folder. WORKS GREAT!! Thanks again. Oliver. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/load-properties-file-from-extrnal-path-tp4650944p4651007.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
Re: urgent-help.. how to click a specific tree node at the default
Hello: I have seen this article. http://www.wicket-library.com/wicket-examples/ajax/ It only select the node but can't trigger the on-click event. Any one could help? Joan |-> |Paul Bors | | | | | | | |2012/08/06 上午 01:17| | | | | |Please respond to| | users@wicket.apache.org | | | |-> >--| | | | | | To| |"users@wicket.apache.org" | | cc| | | | Subject| |Re: urgent-help.. how to click a specific tree node at the default | | | | | | | | | | | >--| See the Wicket Ajax examples section on Tree and Table: http://www.wicket-library.com/wicket-examples/ajax/ Tree and TreeTable: shows ajax tree and ajax tree table. ~ Thank you, Paul C Bors On Aug 4, 2012, at 23:52, swwa...@tsmc.com wrote: > > Hello: >I am new to wicket..please help to give suggestion to this > requirment. > I will expand the tree at the default. But I need to start(click) the first > node at the default. > > Do anyone could help me how to implement this?? > I have use selectNode to select the first node but it can not start to > trigger the onclick event.. > > > Joan > --- > TSMC PROPERTY > This email communication (and any attachments) is proprietary information > for the sole use of its > intended recipient. Any unauthorized review, use or distribution by anyone > other than the intended > recipient is strictly prohibited. If you are not the intended recipient, > please notify the sender by > replying to this email, and then delete this email and any copies of it > immediately. Thank you. > --- > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by reply
Re: Values got lost from Property model or compound property model on ajax call
How does getShoppingCart() look like? You're probably switching the shopping cart instance *after* you've created the CompoundPropertyModel. Sven On 08/05/2012 08:33 PM, vinitty wrote: I can not paste the exact code but i am putting replica of that code public class BillingAddressPanel extends Panel { public BillingAddressPanel() { final CompoundPropertyModel model = new CompoundPropertyModel(getShoppingCart()); // use CompoundPropertyModel. setDefaultModel(model); add(new Label(WKT_FIRST_NAME).setEscapeModelStrings(false)); add(new Label(WKT_LAST_NAME).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_COMPANY).setEscapeModelStrings(false)); add(new Label(WKT_ADDRESS_ONE).setEscapeModelStrings(false)); add(new Label(WKT_ADDRESS_TWO).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_APT_SUITE).setEscapeModelStrings(false)); add(new Label(WKT_CITY).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_STATE).setEscapeModelStrings(false)); add(new AjaxLink(){ @Override public void onClick(AjaxRequestTarget target) { logger.debug("[CompleteOrderLink] [onClick] Starts "); WebRequest webRequest = (WebRequest) RequestCycle.get().getRequest(); WebResponse webResponse = (WebResponse) RequestCycle.get().getResponse(); Here I am not able to get the value from ShoppingCart.getFirstName, last Name , all values got blank } }) } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Values-got-lost-from-Property-model-or-compound-property-model-on-ajax-call-tp4651001p4651004.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Values got lost from Property model or compound property model on ajax call
I can not paste the exact code but i am putting replica of that code public class BillingAddressPanel extends Panel { public BillingAddressPanel() { final CompoundPropertyModel model = new CompoundPropertyModel(getShoppingCart()); // use CompoundPropertyModel. setDefaultModel(model); add(new Label(WKT_FIRST_NAME).setEscapeModelStrings(false)); add(new Label(WKT_LAST_NAME).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_COMPANY).setEscapeModelStrings(false)); add(new Label(WKT_ADDRESS_ONE).setEscapeModelStrings(false)); add(new Label(WKT_ADDRESS_TWO).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_APT_SUITE).setEscapeModelStrings(false)); add(new Label(WKT_CITY).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_STATE).setEscapeModelStrings(false)); add(new AjaxLink(){ @Override public void onClick(AjaxRequestTarget target) { logger.debug("[CompleteOrderLink] [onClick] Starts "); WebRequest webRequest = (WebRequest) RequestCycle.get().getRequest(); WebResponse webResponse = (WebResponse) RequestCycle.get().getResponse(); Here I am not able to get the value from ShoppingCart.getFirstName, last Name , all values got blank } }) } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Values-got-lost-from-Property-model-or-compound-property-model-on-ajax-call-tp4651001p4651004.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
Re: urgent-help.. how to click a specific tree node at the default
See the Wicket Ajax examples section on Tree and Table: http://www.wicket-library.com/wicket-examples/ajax/ Tree and TreeTable: shows ajax tree and ajax tree table. ~ Thank you, Paul C Bors On Aug 4, 2012, at 23:52, swwa...@tsmc.com wrote: > > Hello: >I am new to wicket..please help to give suggestion to this > requirment. > I will expand the tree at the default. But I need to start(click) the first > node at the default. > > Do anyone could help me how to implement this?? > I have use selectNode to select the first node but it can not start to > trigger the onclick event.. > > > Joan > --- > TSMC PROPERTY > This email communication (and any attachments) is proprietary information > for the sole use of its > intended recipient. Any unauthorized review, use or distribution by anyone > other than the intended > recipient is strictly prohibited. If you are not the intended recipient, > please notify the sender by > replying to this email, and then delete this email and any copies of it > immediately. Thank you. > --- > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >
Re: Values got lost from Property model or compound property model on ajax call
Hi, can you provide some more details? Can you attach the code of ajax link? Please help me i have page and using compound property model i am showing the values on clicking ajax link values got lost from the model -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Values-got-lost-from-Property-model-or-compound-property-model-on-ajax-call-tp4651001.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Values got lost from Property model or compound property model on ajax call
Please help me i have page and using compound property model i am showing the values on clicking ajax link values got lost from the model -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Values-got-lost-from-Property-model-or-compound-property-model-on-ajax-call-tp4651001.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