hello

2010-12-22 Thread Ed _
no job so far compares to this i get paid everyday with this program i know that your efforts are going to pay off im so excited to receive my first pay check http://www.b2cnbc3y.com/

Re: Calling javascript from AjaxCheckBox

2010-12-22 Thread javax
Thank you, I tried to take code from AjaxLink - the same result: public abstract class PropertyCheckBox extends CheckBox { private static final long serialVersionUID = 1L; public PropertyCheckBox(final String id) { this(id, null); } public PropertyCheckBox(final String i

Re: Calling javascript from AjaxCheckBox

2010-12-22 Thread Martin Grigorov
It seems AjaxCheckBox doesn't support that out of the box. Create a RFE in Jira. In the meantime you can create your own component that supports that. See how AjaxLink delegates the behavior call to its own #getAjaxCallDecorator() On Wed, Dec 22, 2010 at 9:16 PM, javax wrote: > > Hi, I'm trying

Calling javascript from AjaxCheckBox

2010-12-22 Thread javax
Hi, I'm trying to call javascript function on AjaxCheckBox selection. Tried both in 1.4 and 1.5 by overriding protected IAjaxCallDecorator getAjaxCallDecorator() This approach works well for AjaxLink and AjaxButton, but for AjaxCheckBox execution even not arrives to decorateScript(Component comp

Re: Unit-Test AjaxLazyLoadPanel on a page after successful load

2010-12-22 Thread Pedro Santos
Hi Per, you can use the AjaxLazyLoadPanelTester there is an example at: http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.14/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/AjaxLazyLoadPanelTesterTest.java On Wed, Dec 22, 2010 at 5:07 PM, Per Newgro wrote: > H

Unit-Test AjaxLazyLoadPanel on a page after successful load

2010-12-22 Thread Per Newgro
Hi *, i try to get it for hours now, but i can't. I have a page with an AjaxLazyLoadPanel on it. The lazyLoadComponent on it is a simple panel. Everything works as expected. But if i start my unit test (wickettester.startPage) the content panel is not exchanged. All i get is the lazy load pa

Re: PageParametersEncoder migrating from Hybrid

2010-12-22 Thread Jim Pinkham
Peter, That worked great! For mine, I added a test for even number of segments like so: List segs = request.getUrl().getSegments(); if (segs.size()%2==1) segs.add("0"); // maybe throw exception instead? String[] named = segs.toArray(new String[segs.size()]);

Re: PageParametersEncoder migrating from Hybrid

2010-12-22 Thread Major Péter
Hi, I've played with the encoders, and currently this is what I'm using: https://gist.github.com/717942 It isn't really tested out, but did the job for a quick look :) Hope this helps Regards, Peter 2010-12-22 18:23 keltezéssel, Jim Pinkham írta: In my 1.5-M3 app's init, I've got: /

PageParametersEncoder migrating from Hybrid

2010-12-22 Thread Jim Pinkham
In my 1.5-M3 app's init, I've got: // this part works fine, just wanted to show where the comes from below... getRootRequestMapperAsCompound().add(customHomeMapper); getRootRequestMapperAsCompound().add( new MountedMapper("/statement", StatementPage.cl

Re: Select All / Clear All Checkboxes in CheckBoxMultipleChoice

2010-12-22 Thread Pedro Santos
There is the setModelValue(final String[] value) not deprecated. you can also do: CheckBoxMultipleChoice c; ((Collection)c.getDefaultModelObject()).addAll(c.getChoices()); On Wed, Dec 22, 2010 at 2:25 PM, eugenebalt wrote: > > Is there an easy way to select all/clear all checkboxes in > Check

RE: Oracle & Wicket Starter Application Project

2010-12-22 Thread Andrew Hall
Use of all of the fancy database features, such as : fine grained auditingsqltracevirtual private database / fine grained access control all hinge on the database's ability to know who's logged in at any given time ... which isn't possible with the 'one big application user' architecture. > Da

Select All / Clear All Checkboxes in CheckBoxMultipleChoice

2010-12-22 Thread eugenebalt
Is there an easy way to select all/clear all checkboxes in CheckBoxMultipleChoice? My Model of that field is an ArrayList. I wish there was a method called "setModelValue(..)" where I could set the string "0;1;2;3;4;5;6;..." to select all the values, but it's deprecated. -- View this message i

RE: Oracle & Wicket Starter Application Project

2010-12-22 Thread Andrew Hall
Hi Brian you're absolutely correct - I should have had the foresight to see that despite being fond of it, Gradle is still a niche product & that Maven is a popular, well supported build tool. I actually swapped to Gradle from Maven not long back, so I have now included my pom.xml for Maven. Yo

Re: DropDownChoice no selection value

2010-12-22 Thread hok
Issue created: https://issues.apache.org/jira/browse/WICKET-3278 https://issues.apache.org/jira/browse/WICKET-3278 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-no-selection-value-tp3160661p3160849.html Sent from the Users forum mailing list archive

Re: saving uploaded file to temp folder best practices

2010-12-22 Thread fachhoch
I tested and it replaced the file.I saw the temp folder, the filename was the same what the user uploads. User1 file was replaced by user2 file. when user1 saved the file it saved the wrong file. Please suggest me solution for this ? -- View this message in context: http://apache-wicket.18429

Re: DropDownChoice no selection value

2010-12-22 Thread Martin Grigorov
It looks like a bug. Please file a ticket. On Wed, Dec 22, 2010 at 2:51 PM, hok wrote: > > Hello, > I've noticed that the method > AbstractSingleSelectChoice.getNoSelectionValue() returns the value for no > selection. However in AbstractSingleSelectChoice.getDefaultChoice(final > Object selected

Re: Testing Pages with WicketTester

2010-12-22 Thread James Carman
Are you using "mock objects" to get the database (it won't really come from the database when mocking of course) information in your test cases? On Wed, Dec 22, 2010 at 9:22 AM, lchalupa wrote: > > Hello: > I am developing a spring/hibernate wicket application where I can configure > the componen

Testing Pages with WicketTester

2010-12-22 Thread lchalupa
Hello: I am developing a spring/hibernate wicket application where I can configure the components on each page at runtime. The component configuration specs are kept in the database. For example the home page has no components in it when it is created on the file system. When the home page is in

Re: wicket:message and property resolving

2010-12-22 Thread Matthias Keller
Hi Andra No no, that label is just to demonstrate my the effect that the Label works as expected but the message not. The thingie works without a label at all. I just don't know if it's even intended to be used like that and if yes, if my observations are correct and this is a bug Matt On

Re: wicket:message and property resolving

2010-12-22 Thread Andrea Del Bene
Hi Matthias, I think that label should go inside wicket:message tag, i. e. Hi I just disovered by chance that it's possible to use property expressions in normal elements which then get resolved against the next model found in the hierarchy. Unfortunately it seems to work a bit differ

DropDownChoice no selection value

2010-12-22 Thread hok
Hello, I've noticed that the method AbstractSingleSelectChoice.getNoSelectionValue() returns the value for no selection. However in AbstractSingleSelectChoice.getDefaultChoice(final Object selected) on line 314: return "\n" + option + ""; and on line 296: buffer.append(" value=\"\">")

wicket:message and property resolving

2010-12-22 Thread Matthias Keller
Hi I just disovered by chance that it's possible to use property expressions in normal elements which then get resolved against the next model found in the hierarchy. Unfortunately it seems to work a bit different to other automatic resolving like in new Label("property"). Example: I've got

RE: Oracle & Wicket Starter Application Project

2010-12-22 Thread Andrew Hall
Application security is crucial, but in my opinion it's no less important to have security around the data itself as well. These guys could have saved themselves from trouble by putting some security in the db ... http://www.computerweekly.com/blogs/public-sector/2007/09/npfit-security-warning-a

RE: Oracle & Wicket Starter Application Project

2010-12-22 Thread Andrew Hall
Hi Martijn, as a disclaimer, I do make my living based on my Oracle knowledge, but don't think that I am blindly devoted. They have failed the market in many ways. I'm very fond of postgresql and the approach I take to development with that DB is very similar to the one I take with Oracle. I di

RE: Oracle & Wicket Starter Application Project

2010-12-22 Thread Andrew Hall
Funnily I did recently get certified as an Oracle DBA (for what that's worth!) but actually I'm a developer who has got more involved in the dba stuff over time, mainly because of the performance problems suffered by various employers. I'm a fan of Tom Kyte's writings (eg http://asktom.oracle.

Re: Oracle & Wicket Starter Application Project

2010-12-22 Thread Martijn Dashorst
On Wed, Dec 22, 2010 at 10:55 AM, Andrew Hall wrote: > One of the motivations behind this was to find out what was involved in > creating an application broadly consistent with the recommendations of > the Oracle Security Guide (see > http://download.oracle.com/docs/cd/E11882_01/network.112/e1654

RE: Oracle & Wicket Starter Application Project

2010-12-22 Thread Andrew Hall
Hi, > Does that mean that the number of open connections always equals the> number > of signed in users? Not necessarily - it depends on the way that you build it - using oracle proxy users (http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/authentication.htm#sthref402) means

Re: Oracle & Wicket Starter Application Project

2010-12-22 Thread Scott Swank
Not only that, but fine-grained data access allows a user to simply "select * from some_table" and get the data to which they are allowed access. E.g. each sales person can see the data for their region while an administrator or manager can see all of the regions. You can also build 6 apps that w