Hi,
as part of my SWARM 1.4 integration I'm looking trying to get a silent login
functionality working, and have used continueToOriginalDestination() in
constructor of a Login page.
However I saw this thread:
http://www.nabble.com/redirect-page-in-the-constructor-td18111387.html#a18204061
So I
Hi!
I want to integrate FusionCharts with Wicket. I implement IResourceListener
the feed the chart
but this library reject urls which contain colons.
I know I can use some Filter that translate the address but maybe there is
some easier, wicket way to do it.
I need to translate
Yup like so, just change it to link instead of meta:
public class SiteAHeader extends AbstractBehavior implements
IHeaderContributor {
public void renderHead(IHeaderResponse response) {
response
.renderString(meta name=\description\
content=\description\ /);
One more thing. The resource returns dynamic xml and it depends on the form
that was submitted by the user. So AFAIK I cannot use mountSharedResource
which works for the whole application. Am I right?
Artur
--
View this message in context:
IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
public abstract class IndicatingAjaxFallbackLink extends
AjaxFallbackLink
which is generic
public abstract class AjaxFallbackLinkT extends LinkT
implements IAjaxLink
I think IndicatingAjaxFallbackLink should
Have you had any progress with this problem? I'm experiencing exactly the
same...
Thanks
rivkash1 wrote:
hello all,
We are working with Wicket (1.3.4) on production for a couple of months.
It runs within jetty 6.1.7.
For some weeks, we are experiencing a strange PageExpiredException
10x :)
Igor, actually this is what I am using (an AbstractBehavior).
The 'renderString' is what I was looking for.
On Wed, Nov 5, 2008 at 10:44 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Yup like so, just change it to link instead of meta:
public class SiteAHeader
I have a similar requirement and played a bit with Open Flash Charts. [1]
It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
[1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
[2] http://code.google.com/p/ofcj/
[3] http://code.google.com/p/swfobject/
Another
Sure I am interested! :) I think simple example on wiki showing basics
of using Open Flash Charts in Wicket would be nice alternative for
those unsatisfied with JFreeChars library.
Regards
--
Tomasz Dziurko
-
To unsubscribe,
2008/11/5 Igor Vaynberg [EMAIL PROTECTED]
On Tue, Nov 4, 2008 at 5:54 PM, Jan Stette [EMAIL PROTECTED] wrote:
Sure. To explain a bit more why I'm asking: I have a table component
that's
configured using property expressions as to what's shown in each column.
The types of objects to be
It's on as default.. But checking the log for serializing errors will
help you find out what the problem are..
rivkash1 wrote:
How do i check if the serializer is on/off? What's the defualt?
Nino.Martinez wrote:
Did you actively turn serializer check off?
rivkash1 wrote:
we set
Hi
I've got a wizard letting the user enter some information.
In the onFinish() method, I redirect him to my ConfirmationPage:
setResponsePage(new ConfirmationPage());
(I chose the instance method instead of the class method as I don't want
to have a bookmarkable page there)
On the
Great work!
You should put this on the Wiki :-)
Am 05.11.2008 um 11:22 schrieb Jörn Zaefferer:
No voodoo neccessary, got it working:
protected String renderPage(Class? extends Page pageClass,
PageParameters pageParameters) {
//get the servlet context
No voodoo neccessary, got it working:
protected String renderPage(Class? extends Page pageClass,
PageParameters pageParameters) {
//get the servlet context
WebApplication application = (WebApplication)
WebApplication.get();
ServletContext context
Hi all, i have to do same thing.
I have to call an external javascript function on onClick method of the
checkbox.
i'm using a 1.2.6 version of apache wicket, and in this version the class
CheckBox has method onComponentTag with final modifier.
So i can't override this method.
Is there any
Is AttributeModifier not available in 1.2.x?
On Wed, Nov 5, 2008 at 6:25 AM, nickponico [EMAIL PROTECTED] wrote:
Hi all, i have to do same thing.
I have to call an external javascript function on onClick method of the
checkbox.
i'm using a 1.2.6 version of apache wicket, and in this
Okay so onfinish redirect to a page which tells the message and
invalidates and are bookmarkable. Or just clear the pagemap...
Matthias Keller wrote:
Hi
Would be another possibility, but it doesn't change nothing at all - I
still get the page expired thingy, which I also really would
Hmm why not to it org.apache.wicket.extensions.wizard.Wizard#onFinish()
.. ?
Matthias Keller wrote:
Hi
I've got a wizard letting the user enter some information.
In the onFinish() method, I redirect him to my ConfirmationPage:
setResponsePage(new ConfirmationPage());
(I chose the instance
What javascript do you want to put into your onclick handler?
On Wed, Nov 5, 2008 at 6:39 AM, nickponico [EMAIL PROTECTED] wrote:
Thank you for your reply.
Yes there is the Attribute Modifier, but i don't think it can help me.
I try to explain shortly the problem:
I have to modify a css
I want to make a page session based ie any time user selects the page the
page instance should be returned from session, is there a simple way to say
wicket save this page in session any requests for this page should be pulled
out of session ?
--
View this message in context:
Why not save the data the page is based on in the session?
On Wed, Nov 5, 2008 at 7:25 AM, miro [EMAIL PROTECTED] wrote:
I want to make a page session based ie any time user selects the page the
page instance should be returned from session, is there a simple way to say
wicket save this page
I've inserted this simple function in head of html:
script type=text/javascript
function show()
{
document.getElementById(myDiv).setAttribute(class, visible);
}
/script
/head
and i'd like to execute this function on onlick...
so somthing like: onlclick=show()
This is a particular situation,
nickponico wrote:
Thank you for your reply.
Yes there is the Attribute Modifier, but i don't think it can help me.
I try to explain shortly the problem:
I have to modify a css class of a specific div: the DIV can't be managed by
wicket (with wicket id), but only on html.
What do you
So, why can't you use AttributeModifier to set the onclick text?
On Wed, Nov 5, 2008 at 7:37 AM, nickponico [EMAIL PROTECTED] wrote:
I've inserted this simple function in head of html:
script type=text/javascript
function show()
{
document.getElementById(myDiv).setAttribute(class,
Ok... only now i've understood my mistake...
I've had to use a WebmarkupContainer for my div and later use an Attribute
Modifier.
I didn't know WebMarkupContainer component usage.
Thanks to all for replies.
bye
E.
Ernesto Reinaldo Barreiro-3 wrote:
Why you cannot add a
that does work no
you cant invalidate the session and then redirect to an instance/session
page.
What you could try is the invalidateNow() method and then the new instance
page will be created in the new session.
Also clearing pagemap or maybe just replacing the http session should work
(a new
Probably you're right, I've just begun using Wicket and am not very into the
inner workings of everything.
Thanks for the suggestion about decorating inputstream, should have thought
of it myself.
/Daniel
igor.vaynberg wrote:
another problem with close is that you would have to internally
Do you get a JavaScript error? Maybe
document.getElementById(myDiv).className=visible;
will do the trick...
Ernesto
nickponico wrote:
I've inserted this simple function in head of html:
script type=text/javascript
function show()
{
document.getElementById(myDiv).setAttribute(class,
Hi
Would be another possibility, but it doesn't change nothing at all - I
still get the page expired thingy, which I also really would expect in
this case...
It works if I use a bookmarkable page, but I dont want a fixed URL on
the confirmation page which displays dynamic data from the
wicket already works that way.
but what do you mean by selects the page how does one select a page in
the browser?
if you just use page links (back links) to the page then that will always
happen
On Wed, Nov 5, 2008 at 1:25 PM, miro [EMAIL PROTECTED] wrote:
I want to make a page session
Thank you for your reply.
Yes there is the Attribute Modifier, but i don't think it can help me.
I try to explain shortly the problem:
I have to modify a css class of a specific div: the DIV can't be managed by
wicket (with wicket id), but only on html.
So i created a little javascript
Is the setAjax(true) absolutely necessary in all cases?
On Wed, Nov 5, 2008 at 5:22 AM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
No voodoo neccessary, got it working:
protected String renderPage(Class? extends Page pageClass,
PageParameters pageParameters) {
//get the servlet
Following example does almost what you want (if I didn;t get you wrong).
ChangeColorPanel.html
wicket:panel
div
span wicket:id=colorPanel style= width: 10px; height: 10px;
background-color: red;
nbsp;nbsp;
/span
span wicket:id=red onclick=
Red
Hi,
I had tried getPage() but it returns null to me.
Is it because the panel in which I am trying to access the other panel
component is a modal dialog?
Any suggestions.
igor.vaynberg wrote:
component#getPage()
-igor
On Tue, Nov 4, 2008 at 9:28 PM, Arun Wagle [EMAIL PROTECTED]
Hello everybody,
I changed my forms to statelessforms, which works perfectly fine in the
actual app, only the test don't work anymore. I'm confronted with folowing
exception:
*org.apache.wicket.WicketRuntimeException: Internal error parsing
wicket:interface =
I mounted a page in my Application
now any time user requests the mounted path I want wicket to pull the
instance of the page from session and not create new instance of this page
how can I tell this to wicket ?
jwcarman wrote:
Why not save the data the page is based on in the session?
you could do something like that through the pagefactory i guess
override the default one
On Wed, Nov 5, 2008 at 4:12 PM, miro [EMAIL PROTECTED] wrote:
I mounted a page in my Application
now any time user requests the mounted path I want wicket to pull the
instance of the page from session
A follow up to this question, which generated just a single response
from another fellow traveler...
The lack of response to questions about migrating JSP app could also be
indicative of the fact that Wicket is being used mostly to develop
*new* applications. In other words, maybe only a
Whenever getPage() returns null it's most likely that the component isn't
added to a page yet. Just a guess: you're calling getPage() in the
constructor of your panel right? Try calling it in the onBeforeRender method
and page won't return null
hope that helps
Michael
Arun Wagle wrote:
Hi,
it is generic in trunk.
-igor
On Wed, Nov 5, 2008 at 12:55 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
public abstract class IndicatingAjaxFallbackLink extends
AjaxFallbackLink
which is generic
public
On Wed, Nov 5, 2008 at 1:06 AM, Eyal Golan [EMAIL PROTECTED] wrote:
10x :)
omfg its spreading
Igor, actually this is what I am using (an AbstractBehavior).
The 'renderString' is what I was looking for.
do you not use an ide?
-igor
On Wed, Nov 5, 2008 at 10:44 AM, Nino Saturnino Martinez
at this point you will have to rewrite webrequestcodingstrategy to use
_ instead of : and do some special escaping of actual _ values.
-igor
On Wed, Nov 5, 2008 at 12:41 AM, Artur W. [EMAIL PROTECTED] wrote:
Hi!
I want to integrate FusionCharts with Wicket. I implement IResourceListener
the
if its a shared resource it doesnt know about your form. you will have
to append those values to the url yourself after you generate the base
url for the resource.
-igor
On Wed, Nov 5, 2008 at 12:55 AM, Artur W. [EMAIL PROTECTED] wrote:
One more thing. The resource returns dynamic xml and it
the mechanism for looking up expressions is not extensible, because it
isnt meant to be extended. so you have to write your own model from
scratch using something like mvel/ognl to access the property. both of
those support method calls afaik.
-igor
On Wed, Nov 5, 2008 at 1:56 AM, Jan Stette
continuetooriginaldestination remembers the url not the page, so it
redirects back to that url. the pagemap should be fine.
-igor
On Wed, Nov 5, 2008 at 12:41 AM, Wayne Pope
[EMAIL PROTECTED] wrote:
Hi,
as part of my SWARM 1.4 integration I'm looking trying to get a silent login
make sure you do this in a thread other then the request thread so you
dont mess up any threadlocals.
-igor
On Wed, Nov 5, 2008 at 2:22 AM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
No voodoo neccessary, got it working:
protected String renderPage(Class? extends Page pageClass,
PageParameters
Hello,
-Original Message-
I changed my forms to statelessforms, which works perfectly fine in the
actual app, only the test don't work anymore. I'm confronted with
folowing
exception:
*org.apache.wicket.WicketRuntimeException: Internal error parsing
wicket:interface =
i think the best way to migrate an app is to migrate it a
page/pageflow at a time. running wicket inside a jsp or jsp inside
wicket is always going to have gotchas you will have to work around.
-igor
On Wed, Nov 5, 2008 at 7:47 AM, Susan Liebeskind
[EMAIL PROTECTED] wrote:
A follow up to this
create a testcase and attach it to a jira issue.
-igor
On Wed, Nov 5, 2008 at 8:30 AM, Matz, Oliver [EMAIL PROTECTED] wrote:
Hello,
-Original Message-
I changed my forms to statelessforms, which works perfectly fine in the
actual app, only the test don't work anymore. I'm
Igor Vaynberg wrote:
i think the best way to migrate an app is to migrate it a
page/pageflow at a time. running wicket inside a jsp or jsp inside
wicket is always going to have gotchas you will have to work around.
Agreed, and you just have to live with some quirks/gotchas while you go
it is difficult to even guess because even if some people are
migrating their apps they dont necessarily mention it. start a new
thread on the list, call it [survey] how many people are migrating
existing apps to wicket vs start new apps and see how people respond.
you also have to define
On Wed, Nov 05, 2008 at 11:49:02AM -0500, Susan Liebeskind wrote:
Igor Vaynberg wrote:
i think the best way to migrate an app is to migrate it a
page/pageflow at a time. running wicket inside a jsp or jsp inside
wicket is always going to have gotchas you will have to work around.
Won't it be easier / will it work to use WicketTester for this?
Am 05.11.2008 um 17:26 schrieb Igor Vaynberg:
make sure you do this in a thread other then the request thread so you
dont mess up any threadlocals.
-igor
On Wed, Nov 5, 2008 at 2:22 AM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
you still have to do it in a separate thread :)
-igor
On Wed, Nov 5, 2008 at 9:14 AM, Peter Ertl [EMAIL PROTECTED] wrote:
Won't it be easier / will it work to use WicketTester for this?
Am 05.11.2008 um 17:26 schrieb Igor Vaynberg:
make sure you do this in a thread other then the request
So would this be ok ?!
(caution! untested!)
try
{
final String html =
Executors.newSingleThreadExecutor().submit(new CallableString()
{
public String call() throws Exception
{
final WicketTester tester = new WicketTester();
that should do it for most cases. you might want to give wickettester
the actual application object also.
-igor
On Wed, Nov 5, 2008 at 9:26 AM, Peter Ertl [EMAIL PROTECTED] wrote:
So would this be ok ?!
(caution! untested!)
try
{
final String html =
public String renderPageToString(final WebApplication application,
final Page page)
{
try
{
return Executors.newSingleThreadExecutor().submit(new
CallableString()
{
public String call() throws Exception
{
final WicketTester tester = new
Hi all I have an issue submitting a file in IE. It is kind of an evolving
problem and is getting out of hand, I'm sure there is an easier solution.
First of all. I have an ajax ModalWindow that pops up and shows a label and
and the file input. This didn't upload anything on any browser, I guess
Hi all,
I'm having an odd problem in uploading a file where the result of:
FileUpload upload = uploadField.getFileUpload();
is always null. I can't see what I've done wrong.
Here's part of my onSubmit method which works for textfields, but not
fileuploads. It's a normal fileupload by the
plenty threads in the archives on uploading and ajax, you just have to search.
-igor
On Wed, Nov 5, 2008 at 9:48 AM, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
Hi all I have an issue submitting a file in IE. It is kind of an evolving
problem and is getting out of hand, I'm sure
are there validation errors?
-igor
On Wed, Nov 5, 2008 at 10:14 AM, Steve Swinsburg
[EMAIL PROTECTED] wrote:
Hi all,
I'm having an odd problem in uploading a file where the result of:
FileUpload upload = uploadField.getFileUpload();
is always null. I can't see what I've done wrong.
Here's
I remember looking but on my google account, not in the nable archives.
Usually those threads where NO AJAX FILE UPLOAD POSSIBLE.
But I think my problem is different.
I'll take a look right now though.
Thanks Igor, always present, short, to the point, and present.. :-)
f(t)
On Wed, Nov 5,
Thanks Jeremy for improving my blog's PageRank. :-)
But one important note: my posts are being written in Portuguese, so if you
want to check them all, go to Google Translator. :-) I try my best to write
a correct Portuguese to make it easy to be translated in English.
By the way, when Apache
This is how things work in HTTP.
One possible solution, that provides more control from client is flash
upload - see http://swfupload.org/
--
View this message in context:
http://www.nabble.com/Upload-exceeds-maxsize-error-comes-AFTER-upload-has-finished-tp20228506p20347340.html
Sent from the
Hello people!
I know there are lots of threads with the same issue but I couldn't find a
proper and well solved solution.
I have a web application with users to login and logout.
If a user logs in the user object is hold in the session.
If the user logs out by using the logout button, the
How expensive do you think it will be to save and bring back the user object
from the database? I'm pretty sure that working with that information in
memory is faster and less expensive. Why not just staying with the Map
solution? I'm pretty sure it works.
cheers,
Bruno Borges
you keep the status in the database, so add a column with session id
and when that session expires that is all you need to mark the user as
offline.
-igor
On Wed, Nov 5, 2008 at 11:31 AM, Arthur Leigh Allen
[EMAIL PROTECTED] wrote:
Hello people!
I know there are lots of threads with the same
Or if you don't want to add anything to your DB, change the boolean in your
database to a string - any nulls are not signed in.
On Wed, Nov 5, 2008 at 2:06 PM, Igor Vaynberg [EMAIL PROTECTED]wrote:
you keep the status in the database, so add a column with session id
and when that session
Hello,
I was wondering if the behavior described here
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html (use
wicket:message as attribute) was broken or if I'm doing something wrong
(Wicket 1.3.5)
I've written that:
form wicket:id=form wicket:message=class:formClass
table
Maarten Bosteels wrote:
I have a similar requirement and played a bit with Open Flash Charts. [1]
It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
[1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
[2] http://code.google.com/p/ofcj/
[3]
Hi,
I am new to wicket and now I got a strange problem with wicket...
WicketMessage: No get method defined for class: class mypackage.Artikel expression:
artikel
BUT: my class mypackage.Artikel does not have an member artikel...
thanks for some help...
complete error:
WicketMessage: No
im not sure it works on non-components. we can probably make it so.
please create a quickstart and attach it to a jira issue.
-igor
On Wed, Nov 5, 2008 at 12:57 PM, Sébastien Piller [EMAIL PROTECTED] wrote:
Hello,
I was wondering if the behavior described here
Please show the code where you use either a PropertyModel or a
CompoundPropertyModel - that's what is causing this. Wicket is trying to
find the getArtikel() method on your Artikel class.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Nov 5, 2008 at 3:51 PM, Björn-Peter Tietjens
I checked out trunk from http://svn.apache.org/repos/asf/wicket/trunk and
IndicatingAjaxFallbackLink is still not generic. Am I using the wrong trunk URL?
Stefan
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 5. November 2008 17:18
An:
woops i think i looked at fallbackbutton instead of link. svn up and
it will be generified.
-igor
On Wed, Nov 5, 2008 at 2:52 PM, Stefan Lindner [EMAIL PROTECTED] wrote:
I checked out trunk from http://svn.apache.org/repos/asf/wicket/trunk and
IndicatingAjaxFallbackLink is still not generic.
On Wed, Nov 5, 2008 at 5:05 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
Please show the code where you use either a PropertyModel or a
CompoundPropertyModel - that's what is causing this. Wicket is trying to
find the getArtikel() method on your Artikel class.
An *accessible* method.
Hello,
Consider a user who is on a modal window and his session expires. When he
tries to do something he will be redirected to the page expired page.
Is it possible that after he logs in to be redirected to the page from where
he opened the modal window? Something like what
On Wed, 05 Nov 2008, Arun Wagle wrote:
I have an application which renders a page.
This page has two panels , panel A and panel B
Each panel has some components in it.
Now I want to access some component in panel B from panel A.
What exactly do you want to do with the panel B component in
On Wed, 05 Nov 2008, Björn-Peter Tietjens wrote:
WicketMessage: No get method defined for class: class mypackage.Artikel
expression: artikel
BUT: my class mypackage.Artikel does not have an member artikel...
It sounds like your Form has a CompoundPropertyModel bound
to ad Artikel instance
Yep! Thank you again!
Stefan
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. November 2008 00:02
An: users@wicket.apache.org
Betreff: Re: WIcket 1.4 IndicatingAjaxFallbackLink
woops i think i looked at fallbackbutton instead of link. svn
I have a form with an onSubmit(). The form contains a AjaxButton
with another onSubmit(). When the later gets called, the former gets
invoked, too. What I want, however, is that the form's onSubmit()
gets called iff the input type=submit-button is clicked, and that
the AjaxButton's onSubmit() is
81 matches
Mail list logo