Re: KonaKart shopping cart integration

2010-08-03 Thread Per Lundholm
When you wrote shopping cart, I assumed it was only the widget which presents what the customer bought and some mechanism for keeping that in the session. KonaKart seems to be a lot more than that. /Per On Tue, Aug 3, 2010 at 2:35 AM, Steve Coughlan steve_cough...@yahoo.com.au wrote: I've been

CSS not depending on locale but some other logic

2010-08-03 Thread armandoxxx
Hey wicket ppl I got a question about styling my pages. In a web app project I'm working on, we have many different users coming from various companies. Each company has different CSS styles, in practice that means that each company uses it's own skin for same web page. So what I would like

SV: using breadcrumbs in Wicket 1.4.9

2010-08-03 Thread Wilhelmsen Tor Iver
panel A / panel B / panel C to: panel A / panel B / panel D One option could be to setActive(panel B) then activate(panel D factory); to get the panel B reference just loop through the model or keep a reference to it somewhere. - Tor Iver

Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Hi Can someone point me the right direction. I have a search panel that does a look up and renders a resultsPanel. I don't use detachable model here and used PageableListView On the resultsPanel,onClick, I use the hibernate entity and pass it as a model to the DetailsPanel. The detailsPanel

Re: Model Is Not being Refreshed

2010-08-03 Thread Niv
Just wanted to add that this issue is not exactly the same as i posted earlier but related in a way. But it is a separate issue. - I am making sure it is not re-post. Thank you http://apache-wicket.1842946.n4.nabble.com/How-to-Update-contents-of-a-child-component-td2307756.html#a2307756 --

Re: Model Is Not being Refreshed

2010-08-03 Thread vov
Create AjaxButton for refreshing your data: new AjaxButton(refresh) { onSubmit(AjaxRequestTarget target) { onNew(); targer.addComponent(detailsPanel); } } -- View this message in context:

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Thanks for the response. It still does not work. I added the ajax button on the SearchForm that has the New,Cancel and I added this Refresh button just to test. I added setOutputMarkupId(true) to the detailsPanle and then in SearchForm that extends Form added the AjaxButton protected void

Re: Model Is Not being Refreshed

2010-08-03 Thread avrahamr
Without seeing the code I can't be of much help, but I think the line: detailsPanel.getStudyForm().setModelObject(studyModel); Should be: detailsPanel.getStudyForm().setModel(studyModel); You could also keep a reference to the studyModel when you construct the Form and just

Re: CSS not depending on locale but some other logic

2010-08-03 Thread James Carman
Have you looked at the style property on Session? On Tue, Aug 3, 2010 at 3:21 AM, armandoxxx armando@dropchop.com wrote: Hey wicket ppl I got a question about styling my pages. In a web app project I'm working on, we have many different users coming from various companies. Each

Re: CSS not depending on locale but some other logic

2010-08-03 Thread armandoxxx
Hey Thank you for your reply .. that is what I was looking for ! Kind regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-not-depending-on-locale-but-some-other-logic-tp2311409p2311753.html Sent from the Wicket - User mailing list archive at

Re: Model Is Not being Refreshed

2010-08-03 Thread mwilber
Again without seeing more of the code some of this is guessing. If the component that you are trying to update is not part of the original HTML it will not be updated in the ajax response. I see that you are marking the component as visible and enabled. If it isn't visible during the initial

Re: using cometd with threads

2010-08-03 Thread fachhoch
If I do that I am using web api in service which is not good , so any other way ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-cometd-with-threads-tp2310323p2311905.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: using cometd with threads

2010-08-03 Thread jcgarciam
If you are starting your Job from a Web Request, initialize your Bayeaux service (as Rodolfo mentioned) and pass that to your processing Job (Your Job doesn't have to be WebApi aware) as Rodolfo said, Bauyeaux is meant to be used a messaging API. On Tue, Aug 3, 2010 at 11:00 AM, fachhoch [via

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Avraham and Matt, Thanks for the points. I will have a look at it tomorrow and post the code if I still haven't resolved. I don't have the code on me at the moment. Reg Niv On Tue, Aug 3, 2010 at 9:41 PM, mwilber matt.wil...@gmail.com wrote: Again without seeing more of the code some of

Stack Overflow Error

2010-08-03 Thread Douglas Ferguson
I wrote about this awhile ago and got some great responses. I poured over the code and couldn't find anything that would meet the criteria that you guys suggested. Does anybody have any suggestions as to how I could track this down? Douglas. 2010-08-03 09:45:13,257 INFO [TP-Processor13]

Re: Stack Overflow Error

2010-08-03 Thread Martin Makundi
Hi! I had the same and for me the solution was to increase -vmargs -Xss1234k size bigger. ** Martin 2010/8/3 Douglas Ferguson doug...@douglasferguson.us: I wrote about this awhile ago and got some great responses. I poured over the code and couldn't find anything that would meet the criteria

Re: WicketTester and Palette component

2010-08-03 Thread loic
It seems good but i would really like to be able to test Palette without a new framework Is it really impossible to test Palette with wicket-tester? Regards Loic -- View this message in context:

Re: Encrypt Form Fields Using JS

2010-08-03 Thread MZemeck
Ok, the value will be hashed, one-way...anyone have any ideas? James Carman ja...@carmanconsulting.com Sent by: jcar...@carmanconsulting.com 08/02/2010 04:42 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Encrypt Form Fields Using JS Then it's

Re: Encrypt Form Fields Using JS

2010-08-03 Thread James Carman
And, what does that buy you? Why do you want to submit one-way hashed values? On Tue, Aug 3, 2010 at 1:37 PM, mzem...@osc.state.ny.us wrote: Ok, the value will be hashed, one-way...anyone have any ideas? James Carman ja...@carmanconsulting.com Sent by: jcar...@carmanconsulting.com

Re: Encrypt Form Fields Using JS

2010-08-03 Thread MZemeck
An already existing system is being rewritten and the db currently stores hashed values. I don't disagree there are better ways to reach the end goal, but this is the spec I am working with. James Carman ja...@carmanconsulting.com Sent by: jcar...@carmanconsulting.com 08/03/2010 01:45 PM

Re: Encrypt Form Fields Using JS

2010-08-03 Thread James Carman
So, you never need to get the original values out of the database? On Tue, Aug 3, 2010 at 2:10 PM, mzem...@osc.state.ny.us wrote: An already existing system is being rewritten and the db currently stores hashed values. I don't disagree there are better ways to reach the end goal, but this is

Re: Encrypt Form Fields Using JS

2010-08-03 Thread MZemeck
Correct James Carman ja...@carmanconsulting.com Sent by: jcar...@carmanconsulting.com 08/03/2010 02:12 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Encrypt Form Fields Using JS So, you never need to get the original values out of the

Re: Encrypt Form Fields Using JS

2010-08-03 Thread James Carman
And, you don't want to convert it before you store it in the db? It must be converted at the browser level? Is there any more information you can give us that would make this requirement not sound so crazy? :) On Tue, Aug 3, 2010 at 2:15 PM, mzem...@osc.state.ny.us wrote: Correct James

Re: Encrypt Form Fields Using JS

2010-08-03 Thread MZemeck
I have to laugh because I also agree its kind of crazy... Yes the original value must be hashed by the client. The reasoning being that SSL could be broken and expose the data. I don't necessarily agree but thats how the original system was written. James Carman ja...@carmanconsulting.com

RE: Encrypt Form Fields Using JS

2010-08-03 Thread Jeffrey Schneller
Can you create the text field and a hidden text field and have some javascript that validates as the user types or an update link next to the field? Once the entire SSN is entered or the link is pressed then hash the ssn and store in the hidden text field. Once hashed, overwrite the value in the

Re: Encrypt Form Fields Using JS

2010-08-03 Thread James Carman
They also understand that the one-way hashes aren't unique, right? Two values may hash (or, more accurately, message digest) to the same value, but that doesn't mean they're equal. On Tue, Aug 3, 2010 at 2:24 PM, mzem...@osc.state.ny.us wrote: I have to laugh because I also agree its kind of

Re: Encrypt Form Fields Using JS

2010-08-03 Thread Jeremy Thomerson
On Tue, Aug 3, 2010 at 1:24 PM, mzem...@osc.state.ny.us wrote: I have to laugh because I also agree its kind of crazy... Yes the original value must be hashed by the client. The reasoning being that SSL could be broken and expose the data. I don't necessarily agree but thats how the

HTMLModel and path to access html file

2010-08-03 Thread Fernando Wermus
Hi all, I have a model that look up an html file for being shown. But I have an issue regarding how to get the file without matters if the site is in deployment or development mode. I thought the following, URL input=classComponent.getResource(help.html); My html files are in

How to send a Java object to the ModalWindow

2010-08-03 Thread zoran
Hi, I used the approach described in http://stuq.nl/weblog/2008-06-05/wicket-how-to-write-a-reusable-modal-window-popup to create a ModalWindow panel with the input form. Everything works fine, but I need to send a Java object instance to the panel before calling selectModalWindow.show(target),

Re: How to send a Java object to the ModalWindow

2010-08-03 Thread Martin Makundi
There are many ways. This is one way: modalWindow.setContent(new MyPanel(modalWindow.getContentId()) { @Override public MagicObject getMagicObject() { return magicObject; } }); Also you can just pass your java object as parameter to myPanel or if it is dynamic you can wrap it

FormComponentPanel and list edit

2010-08-03 Thread Joseph Pachod
hi IF we're heavily reusing the edit components we do, and as such we wanted them to behave as good form citizen. On our way, we spotted the FormComponentPanel, which seems to achieve our goal. Yet, a question has popped up: how to deal with List edit ? Indeed, none of the class extending

Re: Stack Overflow Error

2010-08-03 Thread Pamir Erdem
The problem solution is not increasing the max stack size in my opinion. The matter with this issue i think inside it is recursion. Could you please download the source and debug it. It could be bug or sth cause to infinite recursive calls. On Tue, Aug 3, 2010 at 6:05 PM, Martin Makundi

Re: How to send a Java object to the ModalWindow

2010-08-03 Thread zoran
Hi Martin, I'm using dynamic objects. In the first way based on the some event (e.g. tree node selection) I want to setup this MagicObject in home page, and then to show panel. Between these two there should be a call of getMagicObject() from the panel. How can I set this happen in appropriate

Re: Stack Overflow Error

2010-08-03 Thread Igor Vaynberg
catch the exception and dump the serialization hierarchy of the the page objects into stdout accounting for circular references? -igor On Tue, Aug 3, 2010 at 7:58 AM, Douglas Ferguson doug...@douglasferguson.us wrote: I wrote about this awhile ago and got some great responses. I poured over

Re: FormComponentPanel and list edit

2010-08-03 Thread Igor Vaynberg
visit all the children, check if they are a FormComponent and call convertinput() followed by getconvertedinput() -igor On Tue, Aug 3, 2010 at 2:42 PM, Joseph Pachod josephpac...@thomas-daily.de wrote: hi IF we're heavily reusing the edit components we do, and as such we wanted them to

How to setResponsePage with a classname string parameter?

2010-08-03 Thread rolandpeng
Hi,I want to redirect to a dynamic webpage,but I can only get the destination as a fullpath classname string .The sample code like below, String pageClass=task.getFormResourceName(); WebPage page=null; if(pageClass.equals(com.sandbox.Page1)){ page=new Page1(); }else

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Hi, I have attached the code as a text file. I have removed lines that don't really make any contribution to the problem at hand after carefully examining it. Appreciate your time if you could see any issues please let me know. Basically the code has the Form objects I used, and the different

Re: How to setResponsePage with a classname string parameter?

2010-08-03 Thread James Carman
Cast it? On Aug 3, 2010 10:19 PM, rolandpeng rolandp...@cht.com.tw wrote: Hi,I want to redirect to a dynamic webpage,but I can only get the destination as a fullpath classname string .The sample code like below, String pageClass=task.getFormResourceName(); WebPage page=null;

Re: How to setResponsePage with a classname string parameter?

2010-08-03 Thread rolandpeng
I've also tried casting like this. setResponsePage((Page)Class.forName(pageClass)); but compiles error as well,the message below, The method setResponsePage(ClassC) in the type Component is not applicable for the arguments (Page) James Carman wrote: Cast it? On Aug 3, 2010 10:19 PM,

Re: How to setResponsePage with a classname string parameter?

2010-08-03 Thread rolandpeng
oh,I've figured it out...I should cast it with generic class. thank you :) try { setResponsePage((ClassPage)Class.forName(pageClass)); } catch (ClassNotFoundException e) { e.printStackTrace(); } rolandpeng wrote: I've also tried casting like this.

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Hi After I added setOutputMarkupPlaceHolderTag(true) to the details panel, the Ajax function works and I can see the details panel. (Which I could not earlier) However, the problem still remains as in the model has not been updated and still refers to the stale/old one. @avrahmr I used the

Re: How to send a Java object to the ModalWindow

2010-08-03 Thread Martin Makundi
Hi! I'm using dynamic objects. In the first way based on the some event (e.g. tree node selection) I want to setup this MagicObject in home page, and then to show panel. Between these two there should be a call of getMagicObject() from the panel. How can I set this happen in appropriate

Re: wiQuery grid row expander

2010-08-03 Thread John Armstrong
Hi Ernesto, I am very interested in contributing and completed my first plugin this evening. Let me know how I can push this back into the distro or if I should host in a separate space etc. Tx! John- On Wed, Jun 30, 2010 at 2:12 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: John,