alas...igor has rescued us
pls give me some time to update the code wih this approach and send it to yu
On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 6/29/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
>
> that should be simple, although my wicket is bit rusty at the moment, I
> thi
I would like to use the InlineFrame, but the InlineFrame does not work. The
codes are as follows:
public class Map extends WebPage {
public static final String BOTTOM_FRAME_NAME = "bottom";
public Map(final PageParameters pps) {
Border
The O'Reilly open source convention is happening July 23-27 in Portland
Oregon (USA):
http://conferences.oreillynet.com/os2007/
Are there any Wicket people coming to Portland for OSCON?
I could organize an informal gathering or (perhaps) an official
birds-of-feather session:
http://conferen
Gwyn Evans wrote:
> What I was wondering was if anyone had any suggestions about a table
> object that just did 'next'/'prev' paging, rather than working out
> "Page N of M", although I'll try & work out if "select count(id)" is
> faster/less cost than "select count(*)"
In the past we didn't think
On 6/29/07, David Leangen <[EMAIL PROTECTED]> wrote:
Hello!
I'm wondering if something has changed in 1.2.6 and the API docs are out
of date, or if I just misunderstood the API docs...
I am trying to get the URL of the request (the complete URL in the form
http://my.company.com/blah/hello?a=b
Hi
I had already asked a similar question months ago. As I remember it,
the possibility to get the absolute URL had been left over since it
could be misleading depending of the actual deployement.
As such, you have to save it somewhere in your app and call it when needed.
But it's just some memo
Thanks Matej I'll check it out. I am building the sample right now to get a
more real experience.
f(t)
On 6/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
Err, the fact is, it turned out that there are some flaws considering
multi window support and secondlevelcachesessionstore (default). So i
Err, the fact is, it turned out that there are some flaws considering
multi window support and secondlevelcachesessionstore (default). So in
case you are experiencing any problems, you should turn on multiwindow
support (manually) even for SecondLevelCacheSessionStore.
-Matej
On 6/29/07, Francisc
There is no performance difference between count(*) and
count(not_nullable_column). Stick with count(*), since it's clearer
what you really want.
On 6/29/07, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> On Friday, June 29, 2007, 12:36:34 PM, Martijn <[EMAIL PROTECTED]> wrote:
>
> > The most interestin
Excelent.
Thanks Igor.
On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 6/29/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
>
> I think you misunderstood. First of all, I don't have any problems.
>
> Is just a question, that is intended to get insight in this matter.
>
>
On 6/29/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
I think you misunderstood. First of all, I don't have any problems.
Is just a question, that is intended to get insight in this matter.
If you have an adding link like the one in the samples. And click it any
number of times,
I think you misunderstood. First of all, I don't have any problems.
Is just a question, that is intended to get insight in this matter.
If you have an adding link like the one in the samples. And click it any
number of times, it adds +1, the number of times you click on it.
If you click 3 times
How to display a BufferedImage on Wicket Component?
Han
_
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
-
This SF.net email is sponsored by DB2 Expr
It is possible what you have one page instance/version opened in three
tabs. How does the link you are clicking on when creating new tabs
look like?
-Matej
On 6/29/07, Francisco Diaz Trepat - gmail
<[EMAIL PROTECTED]> wrote:
> 1.3 incubator beta and currently STILL drooling for the beta 2.
>
> I'
1.3 incubator beta and currently STILL drooling for the beta 2.
I'll check it out. Thanks igor.
On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
what version of wicket are you using?
see IPageSettings.setAutomaticMultiWindowSupport(boolean)
-igor
On 6/29/07, Francisco Diaz Trepat - g
Take a look at WebResource or DynamicWebResource for serving up your
BufferedImage. You'll just need to put an http://www.hotmail.com
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the F
On 6/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
How to display a BufferedImage on Wicket Component?
http://wicketstuff.org/wicket13/images/
-igor
Han
_
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
-
what version of wicket are you using?
see IPageSettings.setAutomaticMultiWindowSupport(boolean)
-igor
On 6/29/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
Hi guys, I have the following task. I'm building a simple calculation
page, but for sake of simplicity lets say I'm doin
On 6/29/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
that should be simple, although my wicket is bit rusty at the moment, I
think
final TextField tx = new TextField("cell", new
PropertyModel(values[row][col],"data"));
tx.add(new IValidator(){
public void validate(FormComponent fc)
Hi guys, I have the following task. I'm building a simple calculation page,
but for sake of simplicity lets say I'm doing the adding link sample we all
know.
I might need to be able to open two browsers or tabs to be able to do
parallel calculations and compare both results. Lets say click 3 time
> A subject is the root/ abstract entity for a user, principals are
> views or identities of a subject and in JAAS you would represent a
> role as a principal.
I agree with your statement which leads me to the fact that the principal
should really be a role in swarm and the hive file is a mapping
> Eelco .. I understand, and moreover in general versioning on ajax operation
> is meaning less.
>
> But in some cases like tab operation would be nice, because from the user
> point of view changing tab switch is like changing the page content. So
> would be useful to let interact with browser bac
> Right now swarm operates the following way: A user is associated with
> 1 or more Subjects, each Subject has 0 or more Principals.
This sounds right to me, and is like how JAAS works.
A subject is the root/ abstract entity for a user, principals are
views or identities of a subject and in JAAS
On Friday, June 29, 2007, 12:32:35 PM, C. <[EMAIL PROTECTED]> wrote:
> Gwyn Evans wrote:
>> Hi,
>>
>> Anyone got any suggestions as to the best way to provide a paging
>> data view without requiring using size() to actually count the records
>> in DB?
>>
>> I've got a site that has a production
On Friday, June 29, 2007, 12:36:34 PM, Martijn <[EMAIL PROTECTED]> wrote:
> The most interesting questions is of course: what database? Perhaps
> someone here knows how to get the count(*) faster? you might want to
> do a select count(primary_key) instead of *.
> As an answer to your question: yo
Yes!
See you on tuesday.
On 6/26/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
wrote:
the more the better:)
So did we agree on the agenda?
1. Testing Wicket apps
2. Some Wicket Hibernate
3. Showing of the stuff we've done with wicket?
regards Nino
Frank Bille wrote:
Of course this metadata-level cardinality may be generated daily and
hence may not be current, but for the purposes of paging it's probably
entirely sufficient unless you expect a user to walk through many,
many pages of data.
On 6/29/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> Any modern databas
Any modern database uses a "cost-based optimizer" to determine its
query execution plans. This means that at a minimum the database
knows how many rows each table contains. This means that you just
have to find this metadata -- then you can use that in lieu an actual
count(*).
On oracle you woul
That's a good idea i'll remember for the future. Instead I had the better
idea of using a modal window for the delete confirmation. Purty.
On 6/29/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
Try a reuse items strategy to see if that works?
Martijn
On 6/29/07, Evan Chooly <[EMAIL PRO
I have an authorization scheme where by the user is presented with a
sign in page. After signing in, a check is made to see if they need to
change their password. If so, they are redirected to a change password
page. After that they should be redirected back to their intended page.
However, if
The way it sounds is that principal should really be renamed to role. Roles
typically have 0 or more permissions.
Although if you consider the hive as a mapping of roles to permissions then
you are really back to what I said earlier where swarm is handy if your
application pre-defines the roles
You just have received a virtual postcard from my name!
You can pick up your postcard at the following web address:
Try a reuse items strategy to see if that works?
Martijn
On 6/29/07, Evan Chooly <[EMAIL PROTECTED]> wrote:
> A thought occurred to me. I'm doing this panel replacement inside a
> DataTable. So when the DT rerenders could it be overwriting the change I
> just made? Because this panel replaceme
I am open to suggestions for alternate names, or if someone could
point me to the naming standards :)
Right now swarm operates the following way: A user is associated with
1 or more Subjects, each Subject has 0 or more Principals. Each
Principal is mapped to 1 or more Permissions.
Each Permission
A thought occurred to me. I'm doing this panel replacement inside a
DataTable. So when the DT rerenders could it be overwriting the change I
just made? Because this panel replacement wouldn't really change the state
of the DT so when it rerenders itself it would render it's entire tree as it
it
Just my two cents but I think the API should change, or I guess not really
the API but the implementation(swarm) to better reflect industry naming
standards which will hopefully cut down on the confusion and hopefully make
it a little easier to integrate other security frameworks.
I use acegi as
It is not. I'm not entirely sure what's broken here. I'm assuming that
tests exist in wicket for this and that it works there so the problem has
*got* to be on my end. I'm just not seeing it. I'll turn logging back on
and dig through each line. There's just so much info there...
On 6/29/07
What we should have is some kind of listener. Which you could use to
easily plugin your own behavior (even dumpThreads if you want). I
wated to do this some time ago, but then we stopped getting those
exception so i let it be.
-Matej
On 6/29/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> its a
How would the Link know to which page it is linking? You need to provide
protected boolean linksTo(final Page page)
See the code for Link#isEnabled():
/**
* @see wicket.Component#isEnabled()
*/
public boolean isEnabled()
{
// If we're aut
On 6/29/07, Vadim Tesis <[EMAIL PROTECTED]> wrote:
> i see. i guess i assumed that the Link knows about the page it's linking
> from setResponsePage() in onClick().
Heh, you have too much awe for Wicket: that would require either
running the onClick upfront (the isenabled check also determines ho
your first line shows
final TextField tx = new TextField("cell", new
PropertyModel(values[row][col],"data"));
But I got java.lang.IllegalArgumentException: Parameter modelObject cannot
be null
I have put
final TextField tx = new TextField("cell", model);
but this time I did not get any exce
i see. i guess i assumed that the Link knows about the page it's linking
from setResponsePage() in onClick().
so, in this use case is there any difference whether to override linksTo()
or isEnabled()? i think overriding isEnabled() is more generic, if latter
i'll need to add more logic to disa
Gwyn Evans wrote:
> Hi,
>
> Anyone got any suggestions as to the best way to provide a paging
> data view without requiring using size() to actually count the records
> in DB?
>
> I've got a site that has a production DB such that
> "select COUNT(*) from mytable"
> takes a non-trivial amount
all,
i'm trying to create a list of links using Refreshing view in wicket 1.3.
for some reason if i call Link.setAutoEnable(true) it doesn't really work,
the link is enabled all the time. however if i override Link.isEnabled()
method it works, the link becomes disabled on the page it points
The most interesting questions is of course: what database? Perhaps
someone here knows how to get the count(*) faster? you might want to
do a select count(primary_key) instead of *.
As an answer to your question: you could use Integer.MAX_VALUE.
Martijn
--
Wicket joins the Apache Software Found
Hi,
Anyone got any suggestions as to the best way to provide a paging
data view without requiring using size() to actually count the records
in DB?
I've got a site that has a production DB such that
"select COUNT(*) from mytable"
takes a non-trivial amount of time/cpu to return, whereas to
and dont forget to create a resource key for the "error.toolongvalue". You
should hae it in yor property file that maps to your class
On 6/29/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
that should be simple, although my wicket is bit rusty at the moment, I
think
final TextField tx = new
that should be simple, although my wicket is bit rusty at the moment, I
think
final TextField tx = new TextField("cell", new
PropertyModel(values[row][col],"data"));
tx.add(new IValidator(){
public void validate(FormComponent fc){
if(fc.getValue() is greater than 20){
fc.add(ne
Or, tell me how to validate, if the text box value exceeds 20 characters, I
want to change the color of the text box. HOW?
Ayodeji Aladejebi wrote:
>
> well,
> yu can use String.length to do dat. but be aware it might jumble your
> table
> because some Text will be *This is a very long text th
the bug is in the wicket-examples using a ListView in a Form without
setResueItems set
On 6/29/07, Joshua Lim <[EMAIL PROTECTED]> wrote:
Here it is : https://issues.apache.org/jira/browse/WICKET-710
On 6/29/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
>
> On 6/28/07, Joshua Lim <[EMAIL PROT
its a native call that isn't there in java 4
private native static StackTraceElement[][] dumpThreads(Thread[] threads);
johan
On 6/29/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
We could try retrotranslator to see what kind of code is emitted?
Martijn
On 6/29/07, Johan Compagner <[EMAI
We could try retrotranslator to see what kind of code is emitted?
Martijn
On 6/29/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Yeah i think that code i also did see, this should go into the next version
> yes.
> But i dont see how we can do that easy for java 4
>
> johan
>
>
> On 6/28/07, Jon
it is not by accident an ajax request right?
On 6/28/07, Evan Chooly <[EMAIL PROTECTED]> wrote:
On 6/28/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> > public void onClick() {
> > DeleteLink.this.replaceWith(new
> > ConfirmDeletePanel(DeleteLink.this.getId(), "really d
Eelco .. I understand, and moreover in general versioning on ajax operation
is meaning less.
But in some cases like tab operation would be nice, because from the user
point of view changing tab switch is like changing the page content. So
would be useful to let interact with browser back and fwd
Yeah i think that code i also did see, this should go into the next version
yes.
But i dont see how we can do that easy for java 4
johan
On 6/28/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
yeah, i just figured that out. i'll just patch our wicket for now. but
we
should add this for wick
i guess it could be public, it isnt public because most of the time
you alter a variable inside session and then call dirty on the session
itself
But if you know your object is hold on to by the session and you are in that
object
itself, changing it then yes you also have to call dirty so i guess
well,
yu can use String.length to do dat. but be aware it might jumble your table
because some Text will be *This is a very long text that can expand the
Textfield too much* and some will be just "Hi".
I had to make that trade off as well
i am looking for some javascript technique maybe yu can s
Hi,
In your sample code,
tx.add(new AttributeModifier("size",true, new Model(String.valueOf(8;
It shows all the size of textbox is same.
I want to change the size of text box value according to text each contents
Ayodeji Aladejebi wrote:
>
> meanwhile,
> if yu look at this code in the W
On Friday, June 29, 2007, 8:03:08 AM, Nino <[EMAIL PROTECTED]> wrote:
See http://www.nabble.com/remove-test-scope-for-slf4j-in-pom.xml-t3913261.html
for background.
> thanks, now its working.. Thought that dependencies would have been
> setup... So belived that something else was causing it..
Thanks Igor for your quick response.
It really helped to solve this problem
Regards,
Javed
igor.vaynberg wrote:
>
> On 6/28/07, Javed <[EMAIL PROTECTED]> wrote:
>>
>>
>> I have created one custom Exception class which will be thrown from pages
>> or
>> panel when particular entity say "ABC" i
Actually that is already how they work. Even though the Principal
class does not have methods for getting and setting the Permissions.
The mapping is done in the policy file like this.
grant principal ${RechtenSet} "PageA.read"
{
//read permission for all of page A
permission ${ComponentPe
Yeah!
I don´t know whybut I think I will remember this puzzle a looong time
:-)
/Flemming
On 6/28/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
Heh... nice discovered one!
This one goes into the books of nasty things not to do.
Martijn
--
Wicket joins the Apache Software Foundation
I would at least try two thing.
System.out the classloaders of the getSession() class and the Typecasted
class. That way you know for sure. If the two classloaders is
sun.misc.AppClassLoaderand the other is
ContextClassloader (or something like that) then you know that one class is
loaded
take maurice's post and substitute word permission for word principal,
define user/principal as an object that has a set of permissions, and it
makes perfect sense.
-igor
On 6/28/07, craigdd <[EMAIL PROTECTED]> wrote:
I understand what you are saying and I see how you have accomplished
some
Hello!
I'm wondering if something has changed in 1.2.6 and the API docs are out
of date, or if I just misunderstood the API docs...
I am trying to get the URL of the request (the complete URL in the form
http://my.company.com/blah/hello?a=b&c=d).
This is how:
WebRequest request = getWebRequest
thanks, now its working.. Thought that dependencies would have been
setup... So belived that something else was causing it..
Igor Vaynberg wrote:
> add this into your pom:
>
>
> org.slf4j
> slf4j-log4j12
> 1.0.1
>
>
> log4j
>
66 matches
Mail list logo