how to use the google trends for searching wicket?

2010-03-04 Thread Jing Ge (Besitec IT DEHAM)
Hello,

 

For example, compare with GWT, I have tried 

 

"GWT, Wicket" 

http://www.google.de/trends?q=GWT%2C+wicket

 

and "GWT, apache Wicket"

http://www.google.de/trends?q=GWT%2C++apache+wicket&ctab=0&geo=all&date=
all&sort=0

 

I think both results are not correct. 

 

Any suggestion? 

 

Best regards.

Jing

 



RE: Role-based wicket application

2010-03-01 Thread Jing Ge (Besitec IT DEHAM)
Hi,

Thank you and James for the reply.

I'v read the Wicket in action book and knew the interface 
IAuthorizationStrategy. Just implemnenting it(like the book introduces) will 
force us building a lot of classes and a lot of code in that two methods for 
authorization handling. Following your suggestion I read the document of 
wicket-security and think it could be suitable for our requirement. Thanks!

further questions:

- Does wicket-security 1.4-snapshot work well with wicket 1.4?
- Any roadmap for the wicket-security 1.4 final version?

Best regards
Jing

-Original Message-
From: Early Morning [mailto:goodmorning...@gmail.com] 
Sent: Montag, 1. März 2010 04:51
To: users@wicket.apache.org
Subject: Re: Role-based wicket application

Hi,

We just use one application/page for all roles, otherwise, you'd have a hard
time maintaining everything especially if you have dynamic roles. Wicket has
an interface you can implement for authorization (IAuthorizationStrategy);
there are also existing projects that implement it for you as well and cover
the general use case such as wicket-auth-roles and wicket-security. However,
we just implemented our own IAuthorizationStrategy since we have an existing
role-based system from older applications so I haven't had much experience
with the existing projects. The basics of implementing your own are covered
pretty well in the Wicket in Action book as well, but if the existing
projects cover your needs then you should be able to use them pretty easily.




On Fri, Feb 26, 2010 at 6:35 PM, Jing Ge (Besitec IT DEHAM)  wrote:

> Hello guys,
>
>
>
> We have been using wicket since more than one year. It is very
> comfortable to work with wicket and "live" here in this community.
> Thanks you guys!
>
>
>
> Now we want to add more features into our application and we get a
> (actually very common) problem:
>
>
>
> What is the correct way for building a role-based wicket application?
>
>
>
> The requirement is something like this:
>
>
>
> 1.  Users are assigned to different roles, or groups, or projects.
>
> 2.  Some pages looks similar to the users of different roles. But they
> are not same.
>
>
>
> We have thought about it for a while and get some ideas:
>
>
>
> 1.   One application for all roles and one page for all roles. (with
> "if.. else" maybe, we know it is not good). Is it possible with wicket?
> Since the wicket:id, that is defined in the html , must be added in the
> java class. Maybe show/hide it for different roles?
>
> 2.   One application for all roles but one page for each role. The
> drawback is the duplicated code & logic. This could be solved by class
> inheritance. But the html files are still duplicated.
>
> 3.   One application for each role.  Build a base project and then
> let other projects inheritance from the base one.
>
>
>
> We know that the third choice is not good (actually very bad from the
> technical point of view, has a lot of problems for changes, release,
> deployment, etc.), but it has also one real great benefit: role relevant
> changes will be limited only to the users of that role. That means, for
> such changes, only the application for that role needed to be updated,
> redeployed, and restarted.
>
>
>
> Is there any features of wicket can solve such problem? Does anyone of
> you guys has some better ideas? We appreciate any suggestions, guides,
> helps, etc. Thanks!
>
>
>
> Best regards
>
> Jing
>
>


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Role-based wicket application

2010-02-26 Thread Jing Ge (Besitec IT DEHAM)
Hello guys,

 

We have been using wicket since more than one year. It is very
comfortable to work with wicket and "live" here in this community.
Thanks you guys!

 

Now we want to add more features into our application and we get a
(actually very common) problem: 

 

What is the correct way for building a role-based wicket application?

 

The requirement is something like this: 

 

1.  Users are assigned to different roles, or groups, or projects.

2.  Some pages looks similar to the users of different roles. But they
are not same.

 

We have thought about it for a while and get some ideas:

 

1.   One application for all roles and one page for all roles. (with
"if.. else" maybe, we know it is not good). Is it possible with wicket?
Since the wicket:id, that is defined in the html , must be added in the
java class. Maybe show/hide it for different roles? 

2.   One application for all roles but one page for each role. The
drawback is the duplicated code & logic. This could be solved by class
inheritance. But the html files are still duplicated.

3.   One application for each role.  Build a base project and then
let other projects inheritance from the base one.

 

We know that the third choice is not good (actually very bad from the
technical point of view, has a lot of problems for changes, release,
deployment, etc.), but it has also one real great benefit: role relevant
changes will be limited only to the users of that role. That means, for
such changes, only the application for that role needed to be updated,
redeployed, and restarted. 

 

Is there any features of wicket can solve such problem? Does anyone of
you guys has some better ideas? We appreciate any suggestions, guides,
helps, etc. Thanks!

 

Best regards

Jing



RE: busy indicator and DateTextField / DatePicker / YUI

2010-02-23 Thread Jing Ge (Besitec IT DEHAM)
Hi,

I got the same problem and I v built a workaround for it. The idea is simple: 

call the hideBusysign() method when the class attribute of the clickedElement 
or its parentNode is one of "yui", "calnav", "calheader".

You can of cause add more class name into the list for further "never ending 
busy sign".

Regards!
Jing

-Original Message-
From: Bert [mailto:taser...@gmail.com] 
Sent: Montag, 22. Februar 2010 09:55
To: users@wicket.apache.org
Subject: busy indicator and DateTextField / DatePicker / YUI

Hi,

i followed the example in [1] to add a busy indicator to our
application and it works like a charm.

[1] 
http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html

Only problem i have encountered so far is the use of the YUI Calendar.
It triggers the indicator,
but does not register the Wicket.Ajax.*Handler which leads to a never
ending busy sign.

Does anybody else already solved that problem ?

I see 2 possible ways: not firing the busy indicator by filtering out
the YUI elements or
by registering the Wicket.Ajax.*Handler in YIU. But my js knowledge is
rather limited and
the YIU library is rather large ..

Thanks in advance for any help.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




RE: [announce] better look & modern css for wicket examples contest

2010-02-03 Thread Jing Ge (Besitec IT DEHAM)
Hi

Forgot to talk about it. Would it be better, that you guys publish the
contest in the internet, like the homepage of wicket or somewhere, to
let more people know it? Thanks!

Regards!
Jing


-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] 
Sent: Dienstag, 2. Februar 2010 19:27
To: users@wicket.apache.org
Subject: [announce] better look & modern css for wicket examples contest

Hi

Someone mentioned that we could have a better look & feel for wicket,
since
there are no designers in the core team. I proposed a contest, to make
the
coolest slickest css for wicket. So please feel free to apply.


Requirements:

your css should be compatible with the basic browsers, Firefox , IE ,
Safari
etc. And retain heavy use of embedded js. And it should be a drop on,
using
existing id's & hierachy for design.

Practical info:

The contest ends in 2 months April 2nd.

Get the wicket examples here:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/

If you need it you can put your css in svn at wicketstuff, write to this
list for details on howto get commit rights, you should add your css to
sandbox and sf user name (
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/
).

Yes as with all contest there is a prize, you can win the wicket t-shir
along with the honor if your css are the winner. This
http://www.cafepress.com/apachewicket.317298148 or this
http://www.cafepress.com/apachewicket.317298083 depending on your age :)

Just reply to this thread to enter the contest.

Regards Nino on behalf of the Wicket People


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: [announce] better look & modern css for wicket examples contest

2010-02-03 Thread Jing Ge (Besitec IT DEHAM)
Hi Nino, Hi Wicket Team,

This is really really greet idea! As I said, Wicket is great, but now I
found the wicket team is even greater! I feel happy that we choose the
Wicket. Thank you guys very much! Now we are waiting for a great css,
which wicket deserves..

Regards!
Jing


-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] 
Sent: Dienstag, 2. Februar 2010 19:27
To: users@wicket.apache.org
Subject: [announce] better look & modern css for wicket examples contest

Hi

Someone mentioned that we could have a better look & feel for wicket,
since
there are no designers in the core team. I proposed a contest, to make
the
coolest slickest css for wicket. So please feel free to apply.


Requirements:

your css should be compatible with the basic browsers, Firefox , IE ,
Safari
etc. And retain heavy use of embedded js. And it should be a drop on,
using
existing id's & hierachy for design.

Practical info:

The contest ends in 2 months April 2nd.

Get the wicket examples here:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/

If you need it you can put your css in svn at wicketstuff, write to this
list for details on howto get commit rights, you should add your css to
sandbox and sf user name (
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/
).

Yes as with all contest there is a prize, you can win the wicket t-shir
along with the honor if your css are the winner. This
http://www.cafepress.com/apachewicket.317298148 or this
http://www.cafepress.com/apachewicket.317298083 depending on your age :)

Just reply to this thread to enter the contest.

Regards Nino on behalf of the Wicket People


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: better look & modern css for wicket

2010-02-02 Thread Jing Ge (Besitec IT DEHAM)
Hi,

Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really appreciated.

I mean the design, which is used by the wicket demo page, could be considered 
as the default design of the wicket, right? So, why not provide a better one 
here.

Regards!
Jing

-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] 
Sent: Montag, 1. Februar 2010 19:15
To: users@wicket.apache.org
Subject: Re: better look & modern css for wicket

frameworks like Click and Vaadin have to provide default L&F because
it is harder to customize that since they do not offer as much control
over the markup as Wicket. in Wicket the designer has almost complete
control, even including the tags themselves. we can provide a fancy
L&F but then it will only work with the specific tag hierarchies that
we create it for which will limit the power of Wicket if you wanted to
use the L&F in your app.

-igor

On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
 wrote:
> Hi guys,
>
> I just ask myself, why the wicket team does not provide a better look,
> more modern css? A css which will let people say "WOW!" when they open
> the wicket demo page, like Vaadin does.
>
> Such a css can let more people pay attention to wicket. Why don't do it?
>
>
> BTW, The wicket is really cool! I like it!
>
> Regards
> Jing
>
> -Original Message-
> From: Peter Karich [mailto:peat...@yahoo.de]
> Sent: Freitag, 29. Januar 2010 17:42
> To: users@wicket.apache.org
> Subject: Re: Apache Click
>
> Hi,
>
> for me the main disadvantage of click is that it uses velocity instead
> pure html.
> Then click has probably less publicity/mailing support and less
> components.
> An advantage could be that cayenne is supported as a default persistent
> solution.
>
> Search for wicket vs click or sth. like (was useful for me).
>
>  > I think wicket with a good look css can beat them.
>
> This is the great thing about wicket: just let the designer do the
> design their html ;-) and I will code (fast!).
> No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
>
> Regards,
> Peter.
>
>> Wow!
>>
>> Vaadin looks really cool!
>> Could anyone here provide a good look css for the wicket? I think
> wicket
>> with a good look css can beat them.
>>
>> Regards!
>> Jing
>>
>> -Original Message-
>> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
>> Sent: Freitag, 29. Januar 2010 17:14
>> To: users@wicket.apache.org
>> Subject: Re: Apache Click
>>
>> Hi!
>>
>> I guess click comes with its own layout.. like Vaadin
>> http://demo.vaadin.com/sampler/
>>
>> **
>> Martin
>>
>> 2010/1/29 Giovanni:
>>
>>> Apache Click is very similar to Wicket:
>>>
>>> http://incubator.apache.org/click/
>>>
>>> What are the main differences and advantages?
>>>
>>> regards
>>> giovanni
>>>
>>>
>>>
>>>
>>>
>> -
>> 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
>>
>>
>>
>
>
> --
> Free your timetabling!
> http://timefinder.sourceforge.net/
>
>
> -
> 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
>
>

-
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



better look & modern css for wicket

2010-02-01 Thread Jing Ge (Besitec IT DEHAM)
Hi guys,

I just ask myself, why the wicket team does not provide a better look,
more modern css? A css which will let people say "WOW!" when they open
the wicket demo page, like Vaadin does.

Such a css can let more people pay attention to wicket. Why don't do it?


BTW, The wicket is really cool! I like it! 

Regards
Jing

-Original Message-
From: Peter Karich [mailto:peat...@yahoo.de] 
Sent: Freitag, 29. Januar 2010 17:42
To: users@wicket.apache.org
Subject: Re: Apache Click

Hi,

for me the main disadvantage of click is that it uses velocity instead 
pure html.
Then click has probably less publicity/mailing support and less
components.
An advantage could be that cayenne is supported as a default persistent 
solution.

Search for wicket vs click or sth. like (was useful for me).

 > I think wicket with a good look css can beat them.

This is the great thing about wicket: just let the designer do the 
design their html ;-) and I will code (fast!).
No need for GSP, JSF, rhtml, JSP, velocity, xslt ...

Regards,
Peter.

> Wow!
>
> Vaadin looks really cool!
> Could anyone here provide a good look css for the wicket? I think
wicket
> with a good look css can beat them.
>
> Regards!
> Jing
>
> -Original Message-
> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
> Sent: Freitag, 29. Januar 2010 17:14
> To: users@wicket.apache.org
> Subject: Re: Apache Click
>
> Hi!
>
> I guess click comes with its own layout.. like Vaadin
> http://demo.vaadin.com/sampler/
>
> **
> Martin
>
> 2010/1/29 Giovanni:
>
>> Apache Click is very similar to Wicket:
>>
>> http://incubator.apache.org/click/
>>
>> What are the main differences and advantages?
>>
>> regards
>> giovanni
>>
>>
>>
>>
>>  
> -
> 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
>
>
>


-- 
Free your timetabling!
http://timefinder.sourceforge.net/


-
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: Apache Click

2010-01-29 Thread Jing Ge (Besitec IT DEHAM)
Wow!

Vaadin looks really cool!
Could anyone here provide a good look css for the wicket? I think wicket
with a good look css can beat them.

Regards!
Jing

-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] 
Sent: Freitag, 29. Januar 2010 17:14
To: users@wicket.apache.org
Subject: Re: Apache Click

Hi!

I guess click comes with its own layout.. like Vaadin
http://demo.vaadin.com/sampler/

**
Martin

2010/1/29 Giovanni :
> Apache Click is very similar to Wicket:
>
> http://incubator.apache.org/click/
>
> What are the main differences and advantages?
>
> regards
> giovanni
>
>
>
>

-
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: Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Jing Ge (Besitec IT DEHAM)
Hi,

Add this in your application class "SVRWebApplication":

@Override
protected WebRequest newWebRequest(HttpServletRequest servletRequest) {
 return new UploadWebRequest(servletRequest);
}

Best regards!
Jing
-Original Message-
From: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] 
Sent: Mittwoch, 19. August 2009 07:17
To: users@wicket.apache.org
Subject: Newbie question: fileupload AJAX progressbar ?

Greetings all,

 I am new to Wicket and I used 'UploadProgressBar' to create an AJAX 
brogressbar for fileupload.(refered example at wicket-library.org )
But when uploading a file, eventhough progreebar showed,theres no 
activity nor incrementation of the bar
I have posted my code, what could be the problem?

Thanks in advance.




public class UploadPage extends WebPage {
   
///fileupload form
private class FileUploadForm extends Form{

private FileUploadField fileuploadField;
public FileUploadForm(String name){
super(name);
setMultiPart(true);
add(fileuploadField=new FileUploadField("fileInput"));
setMaxSize(Bytes.gigabytes(4));
   
}
@Override
protected void onSubmit() {
 final FileUpload upload = fileuploadField.getFileUpload();
if (upload != null)
{
 
File newFile = new File(getUploadFolder(), 
upload.getClientFileName());
   
try
{
 newFile.createNewFile();
upload.writeTo(newFile);

UploadPage.this.info("saved file: " + 
upload.getClientFileName());
}
catch (Exception e)
{
throw new IllegalStateException("Unable to write

file");
}
}
}
   
}
  
   
public UploadPage(final PageParameters parameters) {  
final FeedbackPanel uploadFfeedback=new 
FeedbackPanel("uploadFeedback");
add(uploadFfeedback);
   
final FileUploadForm fileUploadForm=new 
FileUploadForm("ajaxupload");
fileUploadForm.add(new UploadProgressBar("progress", 
fileUploadForm));
add(fileUploadForm);
}
   
   
private Folder getUploadFolder(){
return 
((SVRWebApplication)Application.get()).getUploadFolder();   
}
   

}


-
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: how to monitor session memory usage

2009-08-14 Thread Jing Ge (Besitec IT DEHAM)
Hi俞宏伟,

try RequestLogger at first.

Regards.
Jing
 

-Original Message-
From: 新希望软件 -- 俞宏伟 [mailto:nhsoft@gmail.com] 
Sent: Freitag, 14. August 2009 10:48
To: users@wicket.apache.org
Subject: how to monitor session memory usage

sorry for my poor english.

windows xp (32) + tomcat 6.x + Java 6 + wicket 1.3.7, tomcat memory allocate
1G (computer's total memory is 3G),but tomcat  frequently break because of
out of memory error when online user is about 100 .

now, the list component including ListView,DataView, GridView use
detachemodel, but i found that the temp session file size in disk is 8 - 10
M, so i want to know how to monitor wicket's session memory usage detail.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Get all sessions and manipulate them

2009-08-13 Thread Jing Ge (Besitec IT DEHAM)
Hello,

This is also a very interesting question that I wanna ask.

I've googled and found a single Nabble Mail site about it:
http://www.nabble.com/Get-all-sessions-users-for-a-web-application-td213
67229.html

We can only get some session data from the RequestLogger, but not the
session itself. So if we wanna manipulate all sessions, using the
RequestLogger ist not the correct way.

Implementing the HttpSessionListener should be work, but the same code
will repeated by all projects, that wanna manipulate the sessions

any common feature in wicket? Maybe 1.4.x?

Regards!
Jing

-Original Message-
From: uud ashr [mailto:uuda...@gmail.com] 
Sent: Dienstag, 11. August 2009 13:25
To: users@wicket.apache.org
Subject: Re: Get all sessions and manipulate them

I don't know. Asked many times but maybe not so popular. I can't find it
easily.
Do I have to save it
manually all available session by creating class implementing ISession
store?
Or there is another way?

Regards,
uudashr

On Tue, Aug 11, 2009 at 11:36 AM, Jeremy Thomerson <
jer...@wickettraining.com> wrote:

> This question has been asked and answered many times on this mailing
> list.  Please try searching the archives on Nabble.  Then let us know
> if you have questions about one of those implementations.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
>
> On Mon, Aug 10, 2009 at 10:59 PM, uud ashr wrote:
> > Hi all,
> > How to manipulate all existing sessions on wicket.
> > I can get the SessionData trough
getRequestLogger().getLiveSessions(),
> but I
> > can't manipulate the SessionData.
> > For examples, I have session class:
> >
> > public class MyAppSession extends WebSession {
> >   ...
> >   public void setLoggedUser(User user) {
> >   }
> >
> >   public User getLoggedUser() {
> >
> >   }
> > }
> >
> >
> > I want to kick all logged users because I want to do something like
> > maintenance thing by using theSession.setLoggedUser(null) to all
> available
> > sessions.
> > Anyone knows?
> >
> > Regards,
> > uudashr
> >
>
> -
> 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: can not close the modal window any more.

2009-08-07 Thread Jing Ge (Besitec IT DEHAM)
Hello,

Has anyone any solution?

Best regards!
Jing

 
-Original Message-
From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
Sent: Donnerstag, 6. August 2009 16:53
To: users@wicket.apache.org
Subject: can not close the modal window any more.

Hello all,

Maybe this is a known problem...

when user opens a modal window and the web browser's screen is smaller
than the modal window, than he get the problem: the modal window's head
and foot will be "cut off". After the user maximizes his browser, the
head of the modal window is still out of the screen. The result: user
can not close the modal window any more.

I have googled and found a workaround here (maybe work, I have not
tested it):

http://steve-on-sakai.blogspot.com/2009/05/repositioning-modalwindow-in-
wicket.html

My question is:

Could we do it in this way: before the modal window is opened, use
javascript checking the browser screen and set the right position to the
modal window. The Head, i.e. title with the "X" and right edge, should
be NEVER out of screen.

Do I miss some feature of wicket modal window? Any help will be
appreciated. :-)

Best Regards!
Jing


-
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



can not close the modal window any more.

2009-08-06 Thread Jing Ge (Besitec IT DEHAM)
Hello all,

Maybe this is a known problem...

when user opens a modal window and the web browser's screen is smaller
than the modal window, than he get the problem: the modal window's head
and foot will be "cut off". After the user maximizes his browser, the
head of the modal window is still out of the screen. The result: user
can not close the modal window any more.

I have googled and found a workaround here (maybe work, I have not
tested it):

http://steve-on-sakai.blogspot.com/2009/05/repositioning-modalwindow-in-
wicket.html

My question is:

Could we do it in this way: before the modal window is opened, use
javascript checking the browser screen and set the right position to the
modal window. The Head, i.e. title with the "X" and right edge, should
be NEVER out of screen.

Do I miss some feature of wicket modal window? Any help will be
appreciated. :-)

Best Regards!
Jing


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: should the IRequestLogger implement Serializable?

2009-07-23 Thread Jing Ge (Besitec IT DEHAM)
Got it! Thanks!

Jing
-Original Message-
From: Johan Compagner [mailto:jcompag...@gmail.com] 
Sent: Mittwoch, 22. Juli 2009 19:42
To: users@wicket.apache.org
Subject: Re: should the IRequestLogger implement Serializable?

you shouldnt store those kind of objects (services or application
"static"
objects)

use LoadableDetachableModel for that


On Wed, Jul 22, 2009 at 16:56, Jing Ge (Besitec IT DEHAM)
wrote:

> Well, the RequestLogger is not a pure service. It is also a data
object.
> It is actually a combination of service and data object.
>
> Regard
> Jing
>
> -Original Message-
> From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
> Sent: Mittwoch, 22. Juli 2009 16:53
> To: users@wicket.apache.org
> Subject: Re: should the IRequestLogger implement Serializable?
>
> Would you use new Model(getYourUserService())?  It's the
> same thing - they are services, not data objects.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
>
> On Wed, Jul 22, 2009 at 9:47 AM, Jing Ge (Besitec IT
> DEHAM) wrote:
> > Hello johan,
> >
> > Because I want to use the information hold in the RequestLogger as
an
> > object in a model. Something like this:
> >
> > New Model(getRequestLogger());
> >
> > Thx
> > Jing
> >
> > -Original Message-
> > From: Johan Compagner [mailto:jcompag...@gmail.com]
> > Sent: Mittwoch, 22. Juli 2009 16:43
> > To: users@wicket.apache.org
> > Subject: Re: should the IRequestLogger implement Serializable?
> >
> > why would you serialize the request logger?
> > there is only one and that is attached to the Application it
shouldnt
> be
> > serialized.
> >
> > Just like that Settings object is also not serialize able or the
> > implementations of ISessionStore
> >
> > johan
> >
> >
> > On Wed, Jul 22, 2009 at 16:38, Jing Ge (Besitec IT DEHAM)
> > wrote:
> >
> >> Hello all,
> >>
> >> I am trying to use the RequestLogger. It is really a greet idea
that
> > the
> >> interface ISessionLogInfo is defined. Developer can just implement
> > this
> >> interface for logging more individual information.
> >>
> >> My requirement is:
> >>
> >> I want to use the instance of IRequestLogger for building a site
> > status
> >> page, which means the IRequestLogger need implement the
Serializable
> >> interface.
> >>
> >> Does anyone find any drawback for letting IRequestLogger implement
> >> Serializable?
> >>
> >> I am using wicket 1.4 rc4
> >>
> >> Thx & best regards.
> >> Jing Ge
> >>
> >>
> >>
-
> >> 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
> >
> >
>
> -
> 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
>
>


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Well, the RequestLogger is not a pure service. It is also a data object.
It is actually a combination of service and data object.

Regard
Jing

-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com] 
Sent: Mittwoch, 22. Juli 2009 16:53
To: users@wicket.apache.org
Subject: Re: should the IRequestLogger implement Serializable?

Would you use new Model(getYourUserService())?  It's the
same thing - they are services, not data objects.

--
Jeremy Thomerson
http://www.wickettraining.com




On Wed, Jul 22, 2009 at 9:47 AM, Jing Ge (Besitec IT
DEHAM) wrote:
> Hello johan,
>
> Because I want to use the information hold in the RequestLogger as an
> object in a model. Something like this:
>
> New Model(getRequestLogger());
>
> Thx
> Jing
>
> -Original Message-
> From: Johan Compagner [mailto:jcompag...@gmail.com]
> Sent: Mittwoch, 22. Juli 2009 16:43
> To: users@wicket.apache.org
> Subject: Re: should the IRequestLogger implement Serializable?
>
> why would you serialize the request logger?
> there is only one and that is attached to the Application it shouldnt
be
> serialized.
>
> Just like that Settings object is also not serialize able or the
> implementations of ISessionStore
>
> johan
>
>
> On Wed, Jul 22, 2009 at 16:38, Jing Ge (Besitec IT DEHAM)
> wrote:
>
>> Hello all,
>>
>> I am trying to use the RequestLogger. It is really a greet idea that
> the
>> interface ISessionLogInfo is defined. Developer can just implement
> this
>> interface for logging more individual information.
>>
>> My requirement is:
>>
>> I want to use the instance of IRequestLogger for building a site
> status
>> page, which means the IRequestLogger need implement the Serializable
>> interface.
>>
>> Does anyone find any drawback for letting IRequestLogger implement
>> Serializable?
>>
>> I am using wicket 1.4 rc4
>>
>> Thx & best regards.
>> Jing Ge
>>
>>
>> -
>> 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
>
>

-
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: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Hello Jeremy Thomerson,

For example: I want the site administrator know, for example, how many
users are active now, what are their session looks like, etc.

Thx
Jing

-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com] 
Sent: Mittwoch, 22. Juli 2009 16:42
To: users@wicket.apache.org
Subject: Re: should the IRequestLogger implement Serializable?

Isn't the logger sort of a service that does the logging?  Your page
shouldn't hold on to that.  Perhaps it can get it from the application
or hold on to something else.

--
Jeremy Thomerson
http://www.wickettraining.com




On Wed, Jul 22, 2009 at 9:38 AM, Jing Ge (Besitec IT
DEHAM) wrote:
> Hello all,
>
> I am trying to use the RequestLogger. It is really a greet idea that
the
> interface ISessionLogInfo is defined. Developer can just implement
this
> interface for logging more individual information.
>
> My requirement is:
>
> I want to use the instance of IRequestLogger for building a site
status
> page, which means the IRequestLogger need implement the Serializable
> interface.
>
> Does anyone find any drawback for letting IRequestLogger implement
> Serializable?
>
> I am using wicket 1.4 rc4
>
> Thx & best regards.
> Jing Ge
>
>
> -
> 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




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Hello johan,

Because I want to use the information hold in the RequestLogger as an
object in a model. Something like this:

New Model(getRequestLogger());

Thx
Jing

-Original Message-
From: Johan Compagner [mailto:jcompag...@gmail.com] 
Sent: Mittwoch, 22. Juli 2009 16:43
To: users@wicket.apache.org
Subject: Re: should the IRequestLogger implement Serializable?

why would you serialize the request logger?
there is only one and that is attached to the Application it shouldnt be
serialized.

Just like that Settings object is also not serialize able or the
implementations of ISessionStore

johan


On Wed, Jul 22, 2009 at 16:38, Jing Ge (Besitec IT DEHAM)
wrote:

> Hello all,
>
> I am trying to use the RequestLogger. It is really a greet idea that
the
> interface ISessionLogInfo is defined. Developer can just implement
this
> interface for logging more individual information.
>
> My requirement is:
>
> I want to use the instance of IRequestLogger for building a site
status
> page, which means the IRequestLogger need implement the Serializable
> interface.
>
> Does anyone find any drawback for letting IRequestLogger implement
> Serializable?
>
> I am using wicket 1.4 rc4
>
> Thx & best regards.
> Jing Ge
>
>
> -
> 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



should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Hello all,

I am trying to use the RequestLogger. It is really a greet idea that the
interface ISessionLogInfo is defined. Developer can just implement this
interface for logging more individual information. 

My requirement is:

I want to use the instance of IRequestLogger for building a site status
page, which means the IRequestLogger need implement the Serializable
interface. 

Does anyone find any drawback for letting IRequestLogger implement
Serializable?

I am using wicket 1.4 rc4

Thx & best regards.
Jing Ge


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: wicketstuff mini veil

2009-06-21 Thread Jing Ge (Besitec IT DEHAM)
Hello,

Has anyone any ideas?

Thanks
Jing
 
-Original Message-
From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
Sent: Donnerstag, 18. Juni 2009 10:51
To: users@wicket.apache.org
Subject: RE: wicketstuff mini veil

Thanks for the replay.

The label is just example code. You can try doing anything in the
onSubmit(..) method of the AjaxButton(). 

The point is that the button is disabled when Veil is used.

Best regards!
Jing
--- 
 

-Original Message-
From: Warren Bell [mailto:warrenbe...@gmail.com] 
Sent: Mittwoch, 17. Juni 2009 17:46
To: users@wicket.apache.org
Subject: Re: wicketstuff mini veil

I don't know about the mini veil, but shouldn't your label and button be
set up something like this:

In the class add a member that is your model string and then modify it
in in the AjaxButton#onSubmit(...)

String modelString = ""

...

final Label label = new Label("testLabel", new Model("")
{

@Override
protected String getObject()
{
return modelString;
}

});

...

AjaxButton button = new AjaxButton("testVeil")

{
@Override
protected void onSubmit(AjaxRequestTarget arg0, Form arg1)
{

modelString = "" + new Random().nextLong();
arg0.addComponent(label);

}
}

I have not used setDefaultModelObject(...) before. I read that you
shouldn't set a model object this way. Maybe that is causing a problem?


Warren


Jing Ge (Besitec IT DEHAM) wrote:
> Hello, 
>
> After doing this change, the project can be compiled and run. But I
get
> another problem.
>
> Here is my test code:
>
>   final Label label = new Label("testLabel", new
> Model(""));
>   add(label);
>   Form form = new Form("testForm");
>   AjaxButton button = new AjaxButton("testVeil") {
>
> @Override
> protected void onSubmit(AjaxRequestTarget arg0, Form
> arg1) {
> try {
> Thread.sleep(5000);
> label.setDefaultModelObject("" + new
> Random().nextLong());
> arg0.addComponent(label);
> } catch (InterruptedException ex) {
>  
> Logger.getLogger(HomePage.class.getName()).log(Level.SEVERE, null,
ex);
> }
> }
> };
> button.add(new Veil());
> form.add(button);
>     add(form);
>
> After the application is deployed and running, the ajax button is
> disabled. Did I do something wrong? 
>
> Best regards!
> Jing Ge
>
> -Original Message-
> From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
> Sent: Mittwoch, 17. Juni 2009 10:18
> To: users@wicket.apache.org
> Subject: RE: wicketstuff mini veil
>
> Hello,
>
>  
>
> Should it be:
>
>  
>
>super.bind(component);
>
>if (this.component != null) {
>
>   .
>
>}
>
>  
>
> regards!
>
> Jing Ge
>
>  
>
> -Original Message-
> From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
> Sent: Mittwoch, 17. Juni 2009 10:15
> To: users@wicket.apache.org
> Subject: wicketstuff mini veil
>
>  
>
> Hallo,
>
>  
>
>  
>
>  
>
> I have checked out the source code and taken a look at the class Veil.
I
>
> found the following code:
>
>  
>
>  
>
>  
>
>public void bind(Component component)
>
>  
>
>{
>
>  
>
>   super.bind(component);
>
>  
>
>   if (component != null)
>
>  
>
>   {
>
>  
>
>  throw new IllegalStateException(
>
>  
>
>   "This behavior
is
>
> already bound to component. An instance of this behavior cannot be
>
> reused between components. Bound component: "
>
>  
>
>  
>
> + this.component.toString());
>
>  
>
>   }
>
>  
>
>   this.component = component;
>
>  
>
>}
>
>  
>
>  
>
>  
>
> From the code we can see, the component will be checked after binding.
>
> If it is null, an exception will be thrown. 
>
>  
>
>  
>
>  
>
> Well, actually, I don't get it. Since the component can not be null
>
> after binding, the exception will be always thrown. Show me if I am
>
> wrong.
>
>  
>
>  
>
>  
>

RE: wicketstuff mini veil

2009-06-18 Thread Jing Ge (Besitec IT DEHAM)
Thanks for the replay.

The label is just example code. You can try doing anything in the
onSubmit(..) method of the AjaxButton(). 

The point is that the button is disabled when Veil is used.

Best regards!
Jing
--- 
 

-Original Message-
From: Warren Bell [mailto:warrenbe...@gmail.com] 
Sent: Mittwoch, 17. Juni 2009 17:46
To: users@wicket.apache.org
Subject: Re: wicketstuff mini veil

I don't know about the mini veil, but shouldn't your label and button be
set up something like this:

In the class add a member that is your model string and then modify it
in in the AjaxButton#onSubmit(...)

String modelString = ""

...

final Label label = new Label("testLabel", new Model("")
{

@Override
protected String getObject()
{
return modelString;
}

});

...

AjaxButton button = new AjaxButton("testVeil")

{
@Override
protected void onSubmit(AjaxRequestTarget arg0, Form arg1)
{

modelString = "" + new Random().nextLong();
arg0.addComponent(label);

}
}

I have not used setDefaultModelObject(...) before. I read that you
shouldn't set a model object this way. Maybe that is causing a problem?


Warren


Jing Ge (Besitec IT DEHAM) wrote:
> Hello, 
>
> After doing this change, the project can be compiled and run. But I
get
> another problem.
>
> Here is my test code:
>
>   final Label label = new Label("testLabel", new
> Model(""));
>   add(label);
>   Form form = new Form("testForm");
>   AjaxButton button = new AjaxButton("testVeil") {
>
> @Override
> protected void onSubmit(AjaxRequestTarget arg0, Form
> arg1) {
> try {
> Thread.sleep(5000);
> label.setDefaultModelObject("" + new
> Random().nextLong());
> arg0.addComponent(label);
> } catch (InterruptedException ex) {
>  
> Logger.getLogger(HomePage.class.getName()).log(Level.SEVERE, null,
ex);
> }
> }
> };
> button.add(new Veil());
> form.add(button);
>     add(form);
>
> After the application is deployed and running, the ajax button is
> disabled. Did I do something wrong? 
>
> Best regards!
> Jing Ge
>
> -Original Message-
> From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
> Sent: Mittwoch, 17. Juni 2009 10:18
> To: users@wicket.apache.org
> Subject: RE: wicketstuff mini veil
>
> Hello,
>
>  
>
> Should it be:
>
>  
>
>super.bind(component);
>
>if (this.component != null) {
>
>   .
>
>}
>
>  
>
> regards!
>
> Jing Ge
>
>  
>
> -Original Message-
> From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
> Sent: Mittwoch, 17. Juni 2009 10:15
> To: users@wicket.apache.org
> Subject: wicketstuff mini veil
>
>  
>
> Hallo,
>
>  
>
>  
>
>  
>
> I have checked out the source code and taken a look at the class Veil.
I
>
> found the following code:
>
>  
>
>  
>
>  
>
>public void bind(Component component)
>
>  
>
>{
>
>  
>
>   super.bind(component);
>
>  
>
>   if (component != null)
>
>  
>
>   {
>
>  
>
>  throw new IllegalStateException(
>
>  
>
>   "This behavior
is
>
> already bound to component. An instance of this behavior cannot be
>
> reused between components. Bound component: "
>
>  
>
>  
>
> + this.component.toString());
>
>  
>
>   }
>
>  
>
>   this.component = component;
>
>  
>
>}
>
>  
>
>  
>
>  
>
> From the code we can see, the component will be checked after binding.
>
> If it is null, an exception will be thrown. 
>
>  
>
>  
>
>  
>
> Well, actually, I don't get it. Since the component can not be null
>
> after binding, the exception will be always thrown. Show me if I am
>
> wrong.
>
>  
>
>  
>
>  
>
> Has anyone ever used the mini veil? Could anyone give me hand? Thanks.
>
>  
>
>  
>
>  
>
> Best regards!
>
>  
>
> Jing Ge
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>   


-- 
Thanks,

Warren Bell
909-645-8864
warrenbe...@gmail.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: wicketstuff mini veil

2009-06-17 Thread Jing Ge (Besitec IT DEHAM)
Hello, 

After doing this change, the project can be compiled and run. But I get
another problem.

Here is my test code:

final Label label = new Label("testLabel", new
Model(""));
  add(label);
  Form form = new Form("testForm");
AjaxButton button = new AjaxButton("testVeil") {

@Override
protected void onSubmit(AjaxRequestTarget arg0, Form
arg1) {
try {
Thread.sleep(5000);
label.setDefaultModelObject("" + new
Random().nextLong());
arg0.addComponent(label);
} catch (InterruptedException ex) {
 
Logger.getLogger(HomePage.class.getName()).log(Level.SEVERE, null, ex);
}
}
};
button.add(new Veil());
form.add(button);
add(form);

After the application is deployed and running, the ajax button is
disabled. Did I do something wrong? 

Best regards!
Jing Ge

-----Original Message-
From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
Sent: Mittwoch, 17. Juni 2009 10:18
To: users@wicket.apache.org
Subject: RE: wicketstuff mini veil

Hello,

 

Should it be:

 

   super.bind(component);

   if (this.component != null) {

  .

   }

 

regards!

Jing Ge

 

-----Original Message-
From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
Sent: Mittwoch, 17. Juni 2009 10:15
To: users@wicket.apache.org
Subject: wicketstuff mini veil

 

Hallo,

 

 

 

I have checked out the source code and taken a look at the class Veil. I

found the following code:

 

 

 

   public void bind(Component component)

 

   {

 

  super.bind(component);

 

  if (component != null)

 

  {

 

 throw new IllegalStateException(

 

  "This behavior is

already bound to component. An instance of this behavior cannot be

reused between components. Bound component: "

 

 

+ this.component.toString());

 

  }

 

  this.component = component;

 

   }

 

 

 

>From the code we can see, the component will be checked after binding.

If it is null, an exception will be thrown. 

 

 

 

Well, actually, I don't get it. Since the component can not be null

after binding, the exception will be always thrown. Show me if I am

wrong.

 

 

 

Has anyone ever used the mini veil? Could anyone give me hand? Thanks.

 

 

 

Best regards!

 

Jing Ge

 

 

 

 

 

 

 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: wicketstuff mini veil

2009-06-17 Thread Jing Ge (Besitec IT DEHAM)
Hello,

 

Should it be:

 

   super.bind(component);

   if (this.component != null) {

  .

   }

 

regards!

Jing Ge

 

-Original Message-
From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
Sent: Mittwoch, 17. Juni 2009 10:15
To: users@wicket.apache.org
Subject: wicketstuff mini veil

 

Hallo,

 

 

 

I have checked out the source code and taken a look at the class Veil. I

found the following code:

 

 

 

   public void bind(Component component)

 

   {

 

  super.bind(component);

 

  if (component != null)

 

  {

 

 throw new IllegalStateException(

 

  "This behavior is

already bound to component. An instance of this behavior cannot be

reused between components. Bound component: "

 

 

+ this.component.toString());

 

  }

 

  this.component = component;

 

   }

 

 

 

>From the code we can see, the component will be checked after binding.

If it is null, an exception will be thrown. 

 

 

 

Well, actually, I don't get it. Since the component can not be null

after binding, the exception will be always thrown. Show me if I am

wrong.

 

 

 

Has anyone ever used the mini veil? Could anyone give me hand? Thanks.

 

 

 

Best regards!

 

Jing Ge

 

 

 

 

 

 

 



wicketstuff mini veil

2009-06-17 Thread Jing Ge (Besitec IT DEHAM)
Hallo,

 

I have checked out the source code and taken a look at the class Veil. I
found the following code:

 

   public void bind(Component component)

   {

  super.bind(component);

  if (component != null)

  {

 throw new IllegalStateException(

  "This behavior is
already bound to component. An instance of this behavior cannot be
reused between components. Bound component: "

 
+ this.component.toString());

  }

  this.component = component;

   }

 

>From the code we can see, the component will be checked after binding.
If it is null, an exception will be thrown. 

 

Well, actually, I don't get it. Since the component can not be null
after binding, the exception will be always thrown. Show me if I am
wrong.

 

Has anyone ever used the mini veil? Could anyone give me hand? Thanks.

 

Best regards!

Jing Ge

 

 

 



RE: Generic type of AjaxFallBackDefaultDataTable

2009-06-08 Thread Jing Ge (Besitec IT DEHAM)
HI,

I got the correct example from the downloaded package.

Btw: the online example should be kept up to date.

Thx.

--- 
 
-Original Message-
From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] 
Sent: Montag, 8. Juni 2009 15:49
To: users@wicket.apache.org
Subject: Generic type of AjaxFallBackDefaultDataTable

 

 

Hello,

 

We are using Wicket for building our new web application. Today I want
to try the AjaxFallbackDefaultDataTable. But the example of it has event
a syntax error:

 

The constructor AjaxFallbackDefaultDataTable(String,
List>, ListModelDataProvider, int) is undefined

 

Reason: the AjaxFallbackDefaultDataTable hast the constructor:

 

public AjaxFallbackDefaultDataTable(String id, final List>
columns,

  ISortableDataProvider dataProvider, int
rowsPerPage)

 

While the columns, that is created in the example, is of type
List>. The generic types show me the conflict.

 

Where can I find a correct example? Could anyone please send me a worked
example? Thanks!

 

 

Best regards!

Jing Ge



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Generic type of AjaxFallBackDefaultDataTable

2009-06-08 Thread Jing Ge (Besitec IT DEHAM)
 

 

Hello,

 

We are using Wicket for building our new web application. Today I want
to try the AjaxFallbackDefaultDataTable. But the example of it has event
a syntax error:

 

The constructor AjaxFallbackDefaultDataTable(String,
List>, ListModelDataProvider, int) is undefined

 

Reason: the AjaxFallbackDefaultDataTable hast the constructor:

 

public AjaxFallbackDefaultDataTable(String id, final List>
columns,

  ISortableDataProvider dataProvider, int
rowsPerPage)

 

While the columns, that is created in the example, is of type
List>. The generic types show me the conflict.

 

Where can I find a correct example? Could anyone please send me a worked
example? Thanks!

 

 

Best regards!

Jing Ge