Pedro,
eagerly waiting for next version ;)
thank you ,
--
regards,
Vineet Semwal
On Mon, Oct 5, 2009 at 4:25 AM, Pedro Santos pedros...@gmail.com wrote:
Hi Semwal,
it has capability to update some columns. I update HomePage on
table-example
to show how it can be done now. But it makes no
Hi,
We need server push for one of our web application. Is there something
that you can suggest? The requirement is, it should work on any server
(Tomcat, jetty, jboss,). is there any wicket component that does
this?
I have heard about wicketstuff-push, but i also heard that it only works
Hi Jahid,
We need server push for one of our web application. Is there something
that you can suggest? The requirement is, it should work on any server
(Tomcat, jetty, jboss,). is there any wicket component that does
this?
as far as I know there isn't any standard yet which works on any
Take a look at http://atmosphere.dev.java.net/
Its goal is what you are looking for.
P.S. Maybe we already discussed this with you in ##wicket.
El lun, 05-10-2009 a las 09:08 +0200, Md. Jahid Shohel escribió:
Hi,
We need server push for one of our web application. Is there something
that
2009/10/4 David Chang david_q_zh...@yahoo.com:
Phil,
Thanks very much for your reply. By XML declaration, you mean something like:
?xml version=1.0 encoding=UTF-8 ?
Correct? I found this piece and it may be interesting to all:
That's right.
I'll show you some parts of my code so you get an idea of how I do things.
First of all, I have used AjaxEditableLabel from wicket-extensions as a
starting point.
TinyMCE's javascripts should always be loaded:
// Preload TinyMCE
add( new AbstractBehavior()
{
Hey Bas, thanks for answering.
Unfortunately it does not work.
Even if I run:
String removeEditor = tinyMCE.execCommand('mceRemoveControl',
false, '
+ propertyPanel.getValueMarkupId() + ');;
target.appendJavascript(removeEditor);
or simply
Hello,
How to set a default locale for the application?
It works for me, but I guess it should be more common:
@Override
public Session newSession(Request request, Response response)
{
Session session = super.newSession(request, response);
session.setLocale(new Locale(et));
return
Google for a wicket london weekend presentation and follow up blog on
loading jpa entity managers on demand. There have also been various posts
relating to using the open session in view Hibernate filter.
The JPA blog entry uses the requestcycle to prepare a thread local. The
first call to use
Hi
The default implementation pulls the used locale from the servlet
request (meaning the requested locale by the browser).
If you want to override that, we do it exactly as you do it.
Matt
Gatos wrote:
Hello,
How to set a default locale for the application?
It works for me, but I guess
WicketMessage: The component(s) below failed to render. A common
problem is that you have added a component in code but forgot to
reference it in the markup (thus the component will never be rendered).
This indicates to me you are not using wicket:child / in the parent's markup
and/or not
Hi Adrian
You could do that but what he wants is to set a default locale, not a
fixed-forever locale.
When you set it in newSession, you get exactly that - a default locale
which might get changed any time by the application.
Matt
Adrian Merrall wrote:
I think the more common method is to
Hi
Another newbie question, sorry!
Is there any way of making a nav bar like this:
wicket:link
a href=HomePage.htmlBrowse/a |
a href=Search.htmlSearch/a
/wicket:link
Stateful, i.e. only one instance of each page is created. So if you were
on the home page and clicked the
The thread that keeps the lock is TP-Processor17, so check the request
log for that thread after the time of the thread dump.
Martijn
On Sun, Oct 4, 2009 at 6:05 AM, Douglas Ferguson
doug...@douglasferguson.us wrote:
I am getting seeing the following stack, but I'm not sure what the
client is
Hi,
why can't I cast a Websession to a SecurePageSession-Class which extends
Websession?!
java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot
be cast to org.omikron.test.SecurePageSession
In the book I bought (Wicket in Praxis, a german book for wicket 1.4) the
You can keep page instances on session.
On Mon, Oct 5, 2009 at 7:57 AM, Phillip Sacre psa...@clifford-thames.comwrote:
Hi
Another newbie question, sorry!
Is there any way of making a nav bar like this:
wicket:link
a href=HomePage.htmlBrowse/a |
a href=Search.htmlSearch/a
Not each Websession is a SecurePageSession. (but each SecurePageSession IS a
WebSession)
So, it means that you probably are dealing with a normal WebSession.
Is your Application creating the correct Session instance (override the
newSession())
On Mon, Oct 5, 2009 at 1:19 PM, Peter Arnulf
Tor, you are right. I found a coding error in my program. Yes, this whole thing
is doable. Wicket is great!
Thanks!
--- On Mon, 10/5/09, Wilhelmsen Tor Iver toriv...@arrive.no wrote:
From: Wilhelmsen Tor Iver toriv...@arrive.no
Subject: SV: Move shared wicket components to a base page?
To:
Thanks for sharing your thought and trick with me! The wicket user community is
so helpful and friendly.
Cheers!
--- On Mon, 10/5/09, Phil Housley undeconstruc...@gmail.com wrote:
From: Phil Housley undeconstruc...@gmail.com
Subject: Re: Start a panel, border, or page with an XML
I have overwritten the newSession Method:
public class Application extends WebApplication {
@Override
protected void init() {
super.init();
getSecuritySettings().setAuthorizationStrategy(new
AdministratorLoginSimplePageAuthStrategy(LoginPage.class));
}
ah sorry I got it:
@Override
public org.apache.wicket.Session newSession(Request request, Response
response) {
return new SecurePageSession(request);
}
Thank you. I had the auto-fixed solution from netbeans :)
- Ursprüngliche Mail
Von: Pieter Degraeuwe
your implementation needs to return an instance of SecurePageSession
On Mon, Oct 5, 2009 at 8:43 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I have overwritten the newSession Method:
public class Application extends WebApplication {
@Override
protected void init() {
yeah you are right. Thank you for your help.
- Ursprüngliche Mail
Von: Pedro Santos pedros...@gmail.com
An: users@wicket.apache.org
Gesendet: Montag, den 5. Oktober 2009, 13:50:32 Uhr
Betreff: Re: WebSession Casting unable
your implementation needs to return an instance of
Is there any way of making a nav bar like this:
wicket:link
a href=HomePage.htmlBrowse/a |
a href=Search.htmlSearch/a
/wicket:link
Stateful, i.e. only one instance of each page is created. So if you
were
on the home page and clicked the 'Search' link, then clicked the
Does anybody know the trick for this task? Thanks!
--- On Sun, 10/4/09, David Chang david_q_zh...@yahoo.com wrote:
From: David Chang david_q_zh...@yahoo.com
Subject: How to list files by name in Eclipe's Package Explorer?
To: users@wicket.apache.org
Date: Sunday, October 4, 2009, 4:44 PM
Wicket uses a chain of resolvers, by default these are: (see Settings
class)
ComponentStringResourceLoader, PackageStringResourceLoader,
ClassStringResourceLoader and ValidatorStringResourceLoader.
So besides the component specific resource you may define respources
per package (e.g.
On Mon, Oct 5, 2009 at 1:36 PM, David Chang david_q_zh...@yahoo.com wrote:
Wicket is great!
Now you're just preaching to the choir... :)
Martijn
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
I was thinking about this yesterday...
This is a very common scenario, specially for i18n messages related to
exceptions.
Thanks for the info =)
On Mon, Oct 5, 2009 at 9:52 AM, Robin Sander robin.san...@gmx.net wrote:
Wicket uses a chain of resolvers, by default these are: (see Settings
Op vrijdag 02-10-2009 om 18:58 uur [tijdzone +0300], schreef Altuğ B.
Altıntaş:
You are right; it doesn't work properly.
I am using swfupload tool. it is flash and it works great.
Only if you are willing to put up with requiring a buggy and proprietary
browser plugin for functionality that
Hi all,
simple question :)
how to send a dynamicly generated file (as byte array) through an
ajaxfallbackbutton tot he client?
Mit freundlichen Grüßen
Christian Giambalvo
--
Fachinformatiker für Anwendungsentwicklung
EXCELSIS Informationssysteme GmbH
Wilhelmsplatz 8 - 70182 Stuttgart
Mobile
why do you want to use AjaxFallbackButton ?
you will not re-paint part of the page
use ResourceLink to download the file
El lun, 05-10-2009 a las 15:36 +0200, Giambalvo, Christian escribió:
Hi all,
simple question :)
how to send a dynamicly generated file (as byte array) through an
It's more general question.
Maybe i need to repaint some parts and send a file.
Mit freundlichen Grüßen
Christian Giambalvo
--
Fachinformatiker für Anwendungsentwicklung
EXCELSIS Informationssysteme GmbH
Wilhelmsplatz 8 - 70182 Stuttgart
Mobile +49 176 196 32 406
Office +49 711 6 20 30 406
Maybe you could repaint via AJAX and then use
target.appendJavascript(window.location.href=´URL´);
Where the URL is the URL of an ILinkListener generating you file... There
was someone asking something similar not long ago.
Best,
Ernesto
On Mon, Oct 5, 2009 at 4:10 PM, Giambalvo, Christian
Your question should be Is it possible to?
I have not found a way. I have gotten used to it.
On Mon, Oct 5, 2009 at 8:48 AM, David Chang david_q_zh...@yahoo.com wrote:
Does anybody know the trick for this task? Thanks!
--- On Sun, 10/4/09, David Chang david_q_zh...@yahoo.com wrote:
Package explorer?
At least here, Ctrl+Shift+R using wildcard (*) have replaced the Package
Explorer Tab =)
Regards,
On Mon, Oct 5, 2009 at 11:26 AM, T Ames tamesw...@gmail.com wrote:
Your question should be Is it possible to?
I have not found a way. I have gotten used to it.
On
Hello,
Is there a wicket base forum API?
thanks a lot.
cheers.
I looked into the wicket London presentation/code and databinder.net and
it all makes sense but it looks like then my wicket forms/components are
tied directly to the database. When I submit a form then the data is
persisted but I don't want this. I want to be able to call the data
layer to
Pedro, thanks for the tip!
Cheers!
--- On Mon, 10/5/09, Pedro Sena sena.pe...@gmail.com wrote:
From: Pedro Sena sena.pe...@gmail.com
Subject: Re: How to list files by name in Eclipe's Package Explorer?
To: David Chang david_q_zh...@yahoo.com
Date: Monday, October 5, 2009, 10:52 AM
Hmmm.
Could you give me an example?
Mit freundlichen Grüßen
Christian Giambalvo
--
Fachinformatiker für Anwendungsentwicklung
EXCELSIS Informationssysteme GmbH
Wilhelmsplatz 8 - 70182 Stuttgart
Mobile +49 176 196 32 406
Office +49 711 6 20 30 406
christian.giamba...@excelsisnet.com
www.excelsisnet.com
Question regarding your code in wiki page: RequestDecorator, this seems
to be class in your package? Could it be posted too?
Regards,
Vytautas
Alex Objelean wrote:
I've created a draft version of the page in wiki:
http://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLs
Well you can use your business logic objects inside Wicket but you have to
ensure that you you hold one, and only one, instance for each business
object (assuming these objects are stateless) and that you do not
accidentally serialize these objects and their dependencies within your
Wicket pages.
My guess it's just simple delegateable class?
Vytautas
Vytautas C wrote:
Question regarding your code in wiki page: RequestDecorator, this seems
to be class in your package? Could it be posted too?
Regards,
Vytautas
Alex Objelean wrote:
I've created a draft version of the page in
Thanks again, works perfectly.
Vytautas
Vytautas C wrote:
My guess it's just simple delegateable class?
Vytautas
Vytautas C wrote:
Question regarding your code in wiki page: RequestDecorator, this seems
to be class in your package? Could it be posted too?
Regards,
Vytautas
Alex
How do i get the url for the ILinkListener?
There is no corresponding urlFor() method.
Mit freundlichen Grüßen
Christian Giambalvo
--
Fachinformatiker für Anwendungsentwicklung
EXCELSIS Informationssysteme GmbH
Wilhelmsplatz 8 - 70182 Stuttgart
Mobile +49 176 196 32 406
Office +49 711 6 20 30
Would it work for you to just use the Navigator view instead of Package
Explorer?
On Mon, Oct 5, 2009 at 11:01 AM, David Chang david_q_zh...@yahoo.comwrote:
Pedro, thanks for the tip!
Cheers!
--- On Mon, 10/5/09, Pedro Sena sena.pe...@gmail.com wrote:
From: Pedro Sena
Thanks for your input! It seems to does the trick. The only thing I don't like
is that it shows all the levels of directories, which is unnecessary and makes
the Navigator view quite wide.
--- On Mon, 10/5/09, Ramakrishnan Srinivasan devfac...@gmail.com wrote:
From: Ramakrishnan Srinivasan
It is indeed a simple decorator of the Request object... nothing special..
Alex Objelean
Vytautas C(ivilis wrote:
Question regarding your code in wiki page: RequestDecorator, this seems
to be class in your package? Could it be posted too?
Regards,
Vytautas
Alex Objelean wrote:
Cant remember if one ever got kicked off, otherwise I've intregrate with
jforum in the past..
2009/10/5 Eman Nollase eman.noll...@gmail.com
Hello,
Is there a wicket base forum API?
thanks a lot.
cheers.
I don't think one was ever created. There is Brix [1], a CMS, which could
be used.
[1] - http://code.google.com/p/brix-cms/
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Oct 5, 2009 at 12:56 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Cant remember if one ever
Hi,
I was trying to build and Example at work but I had to live... I'll try to
get it working tomorrow and post it here. Essentially I was trying something
similar to this.
http://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html
I was trying to have a component in a
I just commit the new version:
- Refactoring the OrderingImage class
- Using TableColumns and default renders per class to resolve the cell
component creation
- Remove the static cell model version
- Css separation for selectableListView, since this class can to be used for
direferent purposes
Hi,
Working on my first application using 1.4.x and generics and have a
question regarding the use of SortableDataProvider. Within my extensions
of this class I quite commonly obtain the id of an object within the
iterator method and then load the object via a LoadableDetchableModel
within the
Nino,
Have you published an example integration with JForum?
cheers
On Mon, Oct 5, 2009 at 2:56 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Cant remember if one ever got kicked off, otherwise I've intregrate with
jforum in the past..
2009/10/5 Eman Nollase
No not really, just modified some code(to be used in wicket) to push a
session cookie towards jforum for singlesignon.. If needed I could digg it
up..
2009/10/5 Fernando Wermus fernando.wer...@gmail.com
Nino,
Have you published an example integration with JForum?
cheers
On Mon, Oct 5,
Hi John,
I believe the consensus on this list is that you should change your
approach:
Why don't you just iterate over your domain objects in the first place?
They will be loaded anyway to be displayed on your component. So your
approach triggers 1+n selects instead of 1 select for all
Guice / warp persist and dynamic finders + wicket are a killer combo:)
2009/10/5 James Perry james.austin.pe...@gmail.com
Well you can use your business logic objects inside Wicket but you have to
ensure that you you hold one, and only one, instance for each business
object (assuming these
Hi.
Spent hours now trying to figure out how to map 2 html files to 1 class.
If someone knows the answer - please help.
I need to map 10 similar html pages to same class (for same behavior).
Doing this:
webApplication.mountBookmarkablePage(/page1.html, pageClass);
Gets wicket to associate set
Hi!
I did not exactly understand what you are after, but you can always do
like this:
CommonPage.html:
blabla ...
CommonPage.java:
public class CommonPage extends WebPage {
public CommonPage() {
if (A-mode) {
new PageVersionAContantHandler(this);
} else {
new
Meant to say
if (A-mode) {
new PageVersionAContantHandler(this);
} else {
new PageVersionBContantHandler(this); // B ofcourse
}
**
Martin
2009/10/6 Martin Makundi martin.maku...@koodaripalvelut.com:
Hi!
I did not exactly understand what you are after, but you can always do
like this:
It's too late :) Apparently you wanted just the opposite.
Well.. you could have:
PageA.html:
PageB.html:
PageC.html:
Page?.java:
public class CommonPage extends WebPage {
public CommonPage() {
new PageContantHandler(this);
}
}
**
Martin
2009/10/6 Martin Makundi
And ofcourse you could have polymorphism.
AbstractPageWithDesiredCommonFunctionality.java with all your common logic,
Page1Design extends AbstractPageWithDesiredCommonFunctionality
Page2Design extends AbstractPageWithDesiredCommonFunctionality
:
:
:
Page-n-Design extends
Yeah, that's what I had before. (Many fake classes that do nothing but
extend default one).
But I have multiple sites. With lots of pages. I don't want to have 200
classes that serve no purpose! (I already have 30 like that for my first
couple sites :) was hoping to stop this silly practice) (hold
Have you considered using variant or style?
http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html
Scott
On Mon, Oct 5, 2009 at 2:35 PM, Alex Rass a...@itbsllc.com wrote:
Yeah, that's what I had before. (Many fake classes that do nothing but
extend default one).
But I
I don't see how this applies.
Please note that ResourceStreamLocator does not see the original url's path.
And Page uses a cacheKey which is solely based on the class name.
Maybe you can elaborate, but all 3 html files are TOTALLY UNRELATED PAGES.
It's not the same page 3 times for diff skins.
But if all three html files are associated with the same Java class,
how does this differ from separate skins? Is the distinction
semantic, or am I missing something?
Scott
On Mon, Oct 5, 2009 at 2:44 PM, Alex Rass a...@itbsllc.com wrote:
I don't see how this applies.
Please note that
PageHandler.java, that handles all 3.
mountBookmarkablePage(/PageA.html, PageHandler.class);
mountBookmarkablePage(/PageB.html, PageHandler.class);
mountBookmarkablePage(/PageC.html, PageHandler.class);
This is a bit confusing, you ar giving different aliases to the same
page. Is that what
So I took the plunge and tried to implement Guice + Warp Persist to
solve my lazy loading issues. I know I may not have it all figured out
with regards to lazy loading but I can't even get simple data access to
work now. Sorry for all the questions and issues. Can anyone provide
some insight on
PageA.html PageB.html PageC.html
Think about it this way:
PageA.html = Privacy Page
PageB.html = SiteMap Page.
I want to handle them both in same java class file cause hardly anything
is going on there.
-Original Message-
From: Martin Makundi
What are you handling there ?
**
Martin
2009/10/6 Alex Rass a...@itbsllc.com:
PageA.html PageB.html PageC.html
Think about it this way:
PageA.html = Privacy Page
PageB.html = SiteMap Page.
I want to handle them both in same java class file cause hardly anything
is going on there.
Scott,
Maybe I am not clear on how localization works, but what you are proposing
would work only if I needed ONE of the html files to be available at one
time/session to same user.
What I want is:
3 html files. Called up via 3 distinct predefined urls. All handled by 1
class.
As far as I can
Standardizing footers across the site.
So I will have a dozen pages which are bare content + footer from a common
file/db.
I don't want to have THAT many useless classes. If I do - wicket is a
failure.
-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Do you use page inheritance? The header / footer / common navbars should go
in a common parent class. Then your child classes have only the content
that is unique to that class.
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Oct 5, 2009 at 5:36 PM, Alex Rass a...@itbsllc.com
Please read the posts in full.
GOAL: to not have 200 classes that do NOTHING but inherit from parent class
and are empty inside.
-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
Sent: Monday, October 05, 2009 6:38 PM
To: users@wicket.apache.org
Subject: Re:
Maybe you're doing the wrong thing with wicket.. it's not for serving
static content.
But yes, at least you should be able to take the html file name as
parameter to a bookmarkable page somehow and work from there?
www.domain.com/PageHandler/intro.html/show
or
2009/10/5 Alex Rass a...@itbsllc.com:
Standardizing footers across the site.
So I will have a dozen pages which are bare content + footer from a common
file/db.
I don't want to have THAT many useless classes. If I do - wicket is a
failure.
It sounds as though you don't actually want to use
But yes, at least you should be able to take the html file name as
parameter to a bookmarkable page somehow and work from there?
www.domain.com/PageHandler/intro.html/show
or
www.domain.com/PageHandler/show/intro.html
And then override this:
public MarkupStream
I'm using
final String loginUrl =
RequestUtils.toAbsolutePath(urlFor(PAGE_CLASS.class, null).toString());
It generates this link, without my domain.
http://PageClass/urlKey/urlValue/etc/etc/
Alternately, I'm unsure why variation wouldn't work for you, something like:
public EmptyPage(String pageVariation)
{
this.pageVariation = pageVariation;
}
@Override
public String getVariation()
{
return pageVariation;
}
Then you could have html classes such as:
BasePage_home.html
Yes - this sounds like a good idea. I believe you could also call
setVariation(parameters.get(0 or type, etc)) in your constructor and use
the parameter to determine which HTML file is rendered.
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Oct 5, 2009 at 5:44 PM, Phil Housley
Hey Folks,
Anyone know of a solid ImageDropDownChoice component?
I've seen others ask about this in old posts, but nothing definitive.
Using google, I found this open source Wicket app that implemented an
ImageDropDownChoice:
http://xoosent.xoocode.org/demo/app/show/
Looks like it doesn't work
I don't see a Component#setVariation() method, but then we're still on 1.3.5.
On Mon, Oct 5, 2009 at 4:06 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Yes - this sounds like a good idea. I believe you could also call
setVariation(parameters.get(0 or type, etc)) in your constructor and
Ok.. I just realized that the issue is when the link is generated on a
page with Params.
i.e.
http://www.mysite.com/Page/Parm1/Value 1
but is works fine if you have
http://www.mysite.com/Page
On Oct 5, 2009, at 5:52 PM, Douglas Ferguson wrote:
I'm using
final String loginUrl =
Ok.. This is really odd.
This
urlFor(PAGE_CLASS.class,
null).toString(
is spitting out ../../MyPage
If I have query params.
Then RequestUtils.toAbsolutePath() decides to managle it further.
On Oct 5, 2009, at 6:26 PM, Douglas Ferguson wrote:
Ok.. I just realized that the issue is when
Wicketeers,
If I have a Label that contains some text I want to process, what is
the best way to do that?
- Should I even be using a label?
- Should I override Label's onComponentTag or something?
- Is there a better way?
The key is that I don't know the content in advance, so
Hi Sven,
Thanks for your reply. Since I sent the original question I ended up doing
what you suggested and now I'm wondering why I ever used the id projection
approach. Habit I guess, formed with previous frameworks.
Just to make sure I've got this right, as long as I use a DetachableModel as
85 matches
Mail list logo