On 2/1/07, Ryan <[EMAIL PROTECTED]> wrote:
You don't get off that easy. =)
What if login link parent is not the same parent as the login panel...
for instance like 5 levels deep where passing it through all the
constructors is highly undesirable.
you have to pass a reference somehow. if you
> you'd need to use some distributed session mechanism. Just a guess...
>
Might be, Can I just include the sessionid as hidden field / url to
fix that? I probably cannot have too complicate distributed session
mechanism
-
Usin
You don't get off that easy. =)
What if login link parent is not the same parent as the login panel...
for instance like 5 levels deep where passing it through all the
constructors is highly undesirable.
Ryan
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> class mypage extends webpage {
>
class mypage extends webpage {
public mypage() {
final Panel loginpanel=loginpanel=new LoginPanel(...);
add(loginpanel);
add(new LoginLink(..., loginpanel));
add(new LoginLink(..., loginpanel));
}
}
-igor
On 2/1/07, Ryan <[EMAIL PROTECTED]> wrote:
I
Is it possible that your "session expired" comes from the second host because
it knows nothing about your session on the first host? If that's the case
you'd need to use some distributed session mechanism. Just a guess...
Carfield Yim-2 wrote:
>
> By the way, I just deploy the application of an
I am working on creating an "inline login link" that when clicked uses
javascript to present a previously hidden login form (if javascript is
disabled it will go to a login page). There will be several login
links on a single page so I would like to render the login form once
and have each link ref
We have the following code that attempts to create a modal window of certain
size and make it non-resizable:
public class MyModalPage extends WebPage {
public MyModalPage( final WebPage parentPage, ModalWindow modalWindow) {
modalWindow.setVersioned(false);
the os should be able to handle at least a few thousand open file handles.
furthermore you can configure it to have more if you need to. only one
handle should be open per resource (no way to avoid that) in a jar, so a
spike of user activity shouldnt affect this at all as resources cache
globally.
can you reproduce in quickstart please?
-igor
On 2/1/07, dukejansen <[EMAIL PROTECTED]> wrote:
I have a DataView.
Within this DataView I have multiple items.
Each item includes, among other things:
- a markup container "more" that starts out visible=false
- an ajax link "show more",
strange indeed. what is your wicket filter/servlet mapping? what does the
generated form markup look like?
-igor
On 2/1/07, dukejansen <[EMAIL PROTECTED]> wrote:
I'm facing a very strange issue which may be Wicket-related or may not.
It seems that for any form posts in our application, whet
It's hard for me to say, what the right way to fix this situation is. The
number of open files (that look to the OS as wicket .jar files) will go up
significantly and then go down (down - probably due to the garbage
collection). It is during those spikes caused by many users hitting wicket
pages a
In my application, I implemented a custom IConverterFactory class and I
extended
Wicket's DateConverter class.
Here's what I did for my Intranet application:
*
import* wicket.util.convert.IConverterFactory;
*
import* wicket.util.convert.IConverter;
*
import* wicket.util.convert.Converter;
*
i
I have a DataView.
Within this DataView I have multiple items.
Each item includes, among other things:
- a markup container "more" that starts out visible=false
- an ajax link "show more", which toggles the visibility of the markup
container (this is an AjaxFallbackLink)
In addition, the
I'm facing a very strange issue which may be Wicket-related or may not.
It seems that for any form posts in our application, whether Ajax or
otherwise, when the request arrives at the server there is no form data
included. The request.postData member is null.
This happens only in IE. Form posts
Too bad,
Eelco
On 2/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> why would you cache? and which one? the url connection to an entry in a jar
> file (thats the JarUrlConnection)
> or (i guess) the FileUrlConnection (to the jar file itself)
>
> both don't make much sense to cache
> the firs
I just (a bit too optimistically) tried to get the converter from my
TextField and use it to set the DateConverter for the corresponding
DatePicker. I definitely want to retain the i18n (mm/dd/ for ENGLISH
and dd/mm/ for FRENCH). Is there a straightforward way to synch up the
DateConvert
why would you cache? and which one? the url connection to an entry in a jar
file (thats the JarUrlConnection)
or (i guess) the FileUrlConnection (to the jar file itself)
both don't make much sense to cache
the first one we don't need to cache we only need to use it once by really
loading the reso
Would it be possible and useful to cache the URL connection? Does it
have a time out and/ or does it use an exclusive lock?
Eelco
On 2/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> that is what you would think... But why generates a modification check one
> file handle for every check in the
that is what you would think... But why generates a modification check one
file handle for every check in the file?
because UrlConnection.connect() has again a JarUrlConnection internally that
makes a new connection to that jar file
and UrlConnection does have a connect() but not a disconnect() s
Yeah, but that would be always one fd for a jar, no matter how many
files in it that have to be read, right?
Eelco
On 2/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> yes the modification checker.
> But we do need to really load the resource out of the jar file once. So that
> file handle wi
yes the modification checker.
But we do need to really load the resource out of the jar file once. So that
file handle will be used.
johan
On 2/1/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Wasn't it optimized now so that it only hits jars once and only hits
per resource where normal files
the data is lost because paging navigator uses links to navigate and so
doesnt submit the form. what you have to do is override the paging navigator
or make your own to use submitlinks. then you can keep the changed data in
an array somewhere until the submit button is pressed at which point you
w
Is there a way to update the property model when paging through a
DataTable. Here's what I am trying to do.
I have a Paged DataTable and some of the columns contain a TextField. I
want the user to be able to enter data in the text fields and be able to
page through the data. When they are finis
On 1/31/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> no, client side state is not something we support, and probably will not in
> the foreseeable future. there are a lot of downsides to doing so that are
> outlined in numerous threads on this list.
We've played around with the idea of letting c
The wiki needs more examples that use a particular model in one or two
situations and then explain why that model is a good fit for the situation
at hand. Once I feel like I have a bit more solid grasp I'll volunteer my
time to such an effort.
Matej -- By "nested" do you mean what is referred to
Wasn't it optimized now so that it only hits jars once and only hits
per resource where normal files are involved?
Eelco
On 2/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> one per resource will i think not really change.
>
>
> johan
>
>
> On 2/1/07, beboris <[EMAIL PROTECTED] > wrote:
> >
>
Yeah, well, it took me some time to realize the potential of wicket
models :)
I believe the way wicket models are is both blessing and curse. The
model interface is very simple and flexible, but on the other hand, the
possibilities (like nested and compound models) are not entirely obvious.
-M
Johan Compagner schrieb:
> i have no idea about a workaround. I just know that everytime that
> question picks up
> everytime the answer is no doesn't work
>
> And i don't think it is a w3c standard.. Those guys don't really make
> the standards nowadays i think.
>
> johan
>
>
> On 2/1/07, *Henni
Matej!
Even you!?
I can't believe that! you are making fun of me!
johan
On 2/1/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
Heh, models take a while to grok. I guess most people have the same
problem at the beginning (I was no exception :))
-Matej
Scott Swank wrote:
> Read it? I have it pri
but somehow it really tries to convert a null value to a primitive int
And we don't support that. You could try to debug what it tries to populate.
johan
On 2/1/07, Robert ... <[EMAIL PROTECTED]> wrote:
I don't think it's a convertor problem, because if the user is already
logged in, the Conf
i have no idea about a workaround. I just know that everytime that question
picks up
everytime the answer is no doesn't work
And i don't think it is a w3c standard.. Those guys don't really make the
standards nowadays i think.
johan
On 2/1/07, Henning Bredel <[EMAIL PROTECTED]> wrote:
Johan
Johan Compagner schrieb:
>
> Henning Bredel schrieb:
> > Hi,
> >
> > is there a way, to handle an upload with ajax?
>
>
> not as far as i know.
>
> johan
>
>
>
>
>
I don't think it's a convertor problem, because if the user is already
logged in, the ConfirmationPage can be reached without a problem.
It's only when the user still has to login between the Checkout and
Confirmation page.
I don't know why it is trying to set something in CheckoutBook anyway. I'
Heh, models take a while to grok. I guess most people have the same
problem at the beginning (I was no exception :))
-Matej
Scott Swank wrote:
> Read it? I have it printed off & sitting on my desk. The key point I
> was missing was that a static model for, lets say, a label holds the
> value
Read it? I have it printed off & sitting on my desk. The key point I was
missing was that a static model for, lets say, a label holds the value in
question. For Ajax refreshes a dynamic model, such as a PropertyModel,
knows how to get the value and hence updates the label's contents on
refresh.
Models are actually simpler than they look. If you haven't already read it,
this is a good primer:
http://cwiki.apache.org/WICKET/working-with-wicket-models.html
Scott Swank wrote:
>
> Thank you to both of you. And for anyone who's been paying any attention
> to
> my questions it's pretty c
And we just got WicketTester up & running. Very nice stuff. Its
capabilities are already impressing folk. Are there any known things to be
aware of with respect to Ajax-ified apps & WicketTester?
Continually impressed,
Scott
On 2/1/07, Scott Swank <[EMAIL PROTECTED]> wrote:
If our JSF v. Wi
By "custom" I just meant a color palette that matched the rest of the
application in question. I think that such a sample css file would be
entirely sufficient.
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
what is custom css?
you should put in css class names into the necessary element
Henning Bredel schrieb:
> Hi,
>
> is there a way, to handle an upload with ajax?
not as far as i know.
johan
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-inte
what does your web.xml look like where you define the filter and mapping?
-igor
On 1/31/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
I have a webapp that is bound to root "/" context, and I am mounting a
bookmarkable page to "/script/execute" via:
mountBookmarkablePage( "/script/exe
AlMaw: i guess this kind of behavior will change anyway with your stuff?
On 1/31/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
I have a webapp that is bound to root "/" context, and I am mounting a
bookmarkable page to "/script/execute" via:
mountBookmarkablePage( "/script/execute", S
please add this to our jira
-igor
On 1/30/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
I would suggest that the Button be set to disabled mode onClick just to
discourage a user from clicking again and a long transaction situation.
?
--
if you can get a nice test where i can see those hotspots (but then in 1.3or
2.0)
then i will look at it to optimize that.
johan
On 2/1/07, Juha Alatalo <[EMAIL PROTECTED]> wrote:
Hi,
is there some way of using own Localizer in WebApplication? I found out
that in version 1.1 there was setLoc
looks like a converter problem? maybe that field that is collection an int
needs to be marked required, or be backed by Integer rather then int.
-igor
On 2/1/07, Robert ... <[EMAIL PROTECTED]> wrote:
Hi,
I have read the "Pro Wicket" book and I am trying to make some examples
from the book. H
what is custom css?
you should put in css class names into the necessary elements, and apply css
solely based on that.
if someone picks a javascript impl of the menu and people agree on it maybe
i will write one up as a demo
-igor
On 2/1/07, Scott Swank <[EMAIL PROTECTED]> wrote:
I agree wi
I agree with the benefits of a lightweight approach like you're describing,
but would it make custom css tweaks harder?
On 1/31/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
i dont know if it makes sense to back the menu items with a listview,
labels, links, etc. for what purpose?
i would have
one per resource will i think not really change.
johan
On 2/1/07, beboris <[EMAIL PROTECTED]> wrote:
We will, when we are on production. Now that we are are still in alpha we
prefer "development" (hey, we wrote our first line of wicket code 5-6
weeks
ago!)
Also, even in deployment mode 'lso
any help for tracking it down will certainly help us fix it :)
-igor
On 2/1/07, Ryan <[EMAIL PROTECTED]> wrote:
I compiled my own wicket.jar from the 1.2.x branch on 1/25/07 which
greatly reduced the frequency of the problem in my code that added css
to the header from java however I am still
I compiled my own wicket.jar from the 1.2.x branch on 1/25/07 which
greatly reduced the frequency of the problem in my code that added css
to the header from java however I am still seeing javascript files
being left out on occasion (wicket-ajax.js). A few refreshes later and
the javascript will be
We will, when we are on production. Now that we are are still in alpha we
prefer "development" (hey, we wrote our first line of wicket code 5-6 weeks
ago!)
Also, even in deployment mode 'lsof' still shows us a lot of open files (one
per resource) if we don't unpack resources from the .jar . It ma
If our JSF v. Wicket shakedown continues to clearly favor Wicket then I
imagine you'll see some from our corner of the web.
Scott
On 1/31/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
and what we expect from our users are patches :)
-igor
On 1/31/07, Carfield Yim <[EMAIL PROTECTED] > wrote:
Very interesting to hear. Thank you.
On 1/31/07, beboris <[EMAIL PROTECTED]> wrote:
We have done some performance testing between JSF, JSP, Wicket and Stripes
when choosing a framework to develop Ajax-enabled WebUI.
You may find it interesting to know that our results showed JSF is at
least
Hi,
I have read the "Pro Wicket" book and I am trying to make some examples from
the book. However I get an error when trying to use a
RestartResponseAtInterceptPageException in the bookstore example from page
114. It happens after the Login page calls continueToOriginalDestination.
wicket.util.
Henning Bredel schrieb:
> Hi,
>
> is there a way, to handle an upload with ajax?
>
> I have a form with some textfields and an upload (like the example).
> After uploading, the form loads again and all made entries in the
> textfields
> are gone.
>
> thanks in advance
>
> Henning
>
> -
/me stops working and answering questions on mailinglist.
Martijn
On 2/1/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Sorry, my bad... UploadProgressBar is the component I was referring to.
>
> http://wicketframework.org/wicket-extensions/apidocs/index.html?wicket/extensions/ajax/markup/html
Sorry, my bad... UploadProgressBar is the component I was referring to.
http://wicketframework.org/wicket-extensions/apidocs/index.html?wicket/extensions/ajax/markup/html/form/upload
Martijn
On 2/1/07, Henning Bredel <[EMAIL PROTECTED]> wrote:
> Martijn Dashorst schrieb:
> > If you use the AjaxU
Martijn Dashorst schrieb:
> If you use the AjaxUploadField it does. But you can't submit a
> multipart form using ajax.
>
> Martijn
>
>
> On 2/1/07, Henning Bredel <[EMAIL PROTECTED]> wrote:
>
>> Martijn Dashorst schrieb:
>>
>>> Hmm,
>>>
>>> Seems more like a bug to me. Apparently the raw i
If you use the AjaxUploadField it does. But you can't submit a
multipart form using ajax.
Martijn
On 2/1/07, Henning Bredel <[EMAIL PROTECTED]> wrote:
> Martijn Dashorst schrieb:
> > Hmm,
> >
> > Seems more like a bug to me. Apparently the raw input is not kept in
> > the components when doing t
Martijn Dashorst schrieb:
> Hmm,
>
> Seems more like a bug to me. Apparently the raw input is not kept in
> the components when doing the backgroung ajax upload.
>
> Can you file a JIRA issue for this?
>
> Martijn
>
> On 2/1/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
>
>> You have to force
Paolo Di Tommaso schrieb:
> You have to force Wicket to avoid reloading the page after the file
> has been uploaded. I've used the following code in the Form#onSubmit()
> method:
>
>
> // avoid redirection
> // Tell Wicket we're going to do the redirect ourselves.
>
Use other Column constructors (one parameter less).
Martijn
On 2/1/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> There is some table we don't want user to sort, can I make
> AjaxFallbackDefaultDataTable not able to sort or I have to create my
> DataView?
>
> --
There is some table we don't want user to sort, can I make
AjaxFallbackDefaultDataTable not able to sort or I have to create my
DataView?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff do
Thanks to all for your help and suggestions.
I wrote an AjaxFallbackSubmitButton component as Igor suggested. It
inherits from Button and checks if javascript is enabled in the
onSubmit() (non-ajax) method. There it can decide whether to call
onSubmit(AjaxRequestTarget,Form) with null parameter
Localizer is meant to be a realy thin layer mainly providing easy to
use access helpers. Flexibility is meant to come from
ResourceStreamLocators and ResourceStreamFinder. In 1.x the
searchStack is still part of Localizer. In 2.x it has been moved into
the ResourceStreamFactory (used to be Resource
Hmm,
Seems more like a bug to me. Apparently the raw input is not kept in
the components when doing the backgroung ajax upload.
Can you file a JIRA issue for this?
Martijn
On 2/1/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
> You have to force Wicket to avoid reloading the page after the fil
On 1/26/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> The target of the RedirectPage is another wicket form running at
> difference host. In firefox it work ok but in IE it always show page
> expire after I submit the form. Does anybody experience this also?
>
Hi, have asked this several day before
You have to force Wicket to avoid reloading the page after the file has been
uploaded. I've used the following code in the Form#onSubmit() method:
// avoid redirection
// Tell Wicket we're going to do the redirect ourselves.
getRequestCycle().setRedirect(false);
can't you run in deployment mode instead of development mode?
then that shouldn't happen.
I can see if we can backport it.
johan
On 2/1/07, beboris <[EMAIL PROTECTED]> wrote:
We have found a pretty weird situation with "too many open files" error on
our alpha-testing site. Further analysis
Hi,
is there a way, to handle an upload with ajax?
I have a form with some textfields and an upload (like the example).
After uploading, the form loads again and all made entries in the
textfields
are gone.
thanks in advance
Henning
69 matches
Mail list logo