Hi Frank,
We use the same approach as you. We have found one disadvantage, which
relates to references to components created by subclasses.
I'll demostrate it (problem and solution) in the following example:
class BasePage extends Page
{
/** Component created by subclass */
private
I would like to ask some screenshots and descriptive images to my
documentations in the wiki. Can anybody give me these permissions?
(I think of some screenshots ot the liferay portal when started first.
Then in the future screenshots of wicket widgets, to promote them
better...)
I swear
Hello again,
Please find the below given code
Page class:
Treetable has been added in the Page class as follows
IColumn columns[] = new IColumn[]
{
new PropertyTreeColumn(new ColumnLocation(Alignment.LEFT,
Unit.PERCENT),Check,userObject.name)
{
just to circumvent the problem for a while, I am thinking of the
following workaround:
what would be the implications if I change the implementation of
IObjectStreamFactor.DefaultObjectStreamFactory so that
newObjectInputStream() and newObjectOutputStream return the regular JDK
Hello,
Is it possible to correctly add and then remove an
AjaxSelfUpdatingTimerBehavior from a component, all by Ajax? At the
moment I'm running into problems - the browser gets a Page Expired
response soon after I remove the behavior. I think I have an idea why
it doesn't work in its current
thank you guys!
Remember having the same problem with panel and I have dome something like
for(Object behavior : getBehaviors()) {
if(behavior instanceof AjaxSelfUpdatingTimerBehavior) {
remove((AjaxSelfUpdatingTimerBehavior)behavior);
}
}
add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(1000)));
So, that
Okay,
So I got it working. As you suggest - stop() works. I then also
store the behavior so that it can be removed permanently on a later
Ajax trip. That way I can keep adding and removing timers with
different intervals.
Thanks!
2009/11/2 Ernesto Reinaldo Barreiro reier...@gmail.com:
Hi all,
is it possible to mount a package recursivly?
Let's assume following classes:
com.test.pages.TestClass1
com.test.pages.TestClass2
com.test.pages.subpackage.TestClass3
com.test.pages.subpackage.TestClass4
now i'd like to do mount(/pages,
Hi,
you may look at usage of
http://xaloon.googlecode.com/svn/trunk/xaloon-wicket-components/src/main/java/org/xaloon/wicket/component/mounting/MountPageGroup.java
@MountPageGroup(context=/pages)
class Parent {}
@MountPage(path=/page_1) //result /pages/page_1
class A extends Parent {}
If I understand you correctly, Michal, you don't want to set the component's
model once and for all as it is being created, and you're worried that the
model-setting method might be called before the first onBeforeRender().
That's just an example, I guess, so perhaps the general concern is that
You might want to check out http://kenai.com/projects/joint the wicket
example builds a menu system based of pages / links that are on the
classpath which implement a Navigatable interface and have the @Navigation
annotation.
Still very early in development but it still might do what you need.
Forgot to mention, the Netbeans Lookup would also be an option.
On Mon, Nov 2, 2009 at 10:45 AM, Ben Tilford bentilf...@gmail.com wrote:
You might want to check out http://kenai.com/projects/joint the wicket
example builds a menu system based of pages / links that are on the
classpath which
Hi Alex,
I check SharedResources, but as I understand it I would have to add there a
Resource object for each image.
After checking again the javadoc there might be another way.
Display each image with Image constructor that takes ValueMap and provide
there some image identification.
Add a
Just write a servlet (or Spring Web MVC handler).
On Mon, Nov 2, 2009 at 10:52 AM, Peter Dotchev dotc...@gmail.com wrote:
Hi Alex,
I check SharedResources, but as I understand it I would have to add there a
Resource object for each image.
After checking again the javadoc there might be
Hi,
I try to get the wicket-examples-WAR running as portlets in Liferay
according to my description here:
http://cwiki.apache.org/confluence/display/WICKET/Wicket+Examples+as+portlets
But after drag'n'drop e.g. the echo example portlet, it is not shown.
When I look in the HTML-source of the
Hi,
The very simple way to solve such problems is:
1. Add: DynamicImport-Package: *
to MANIFEST.MF file in bundle with Wicket.
2. Use customized implementation of IClassResolver which falls back to
Wicket bundle ClassLoader, eg:
try {
ClassLoader loader =
maybe you are missing wrong versions of wicket and extensions jars.
they should be the same version.
-igor
On Mon, Nov 2, 2009 at 7:34 AM, Dusan Banik bani...@gmail.com wrote:
Hi can somebody help me with this exception. It happends only in table with
paging.
13:01:10.536 [SocketListener0-9]
One more thing, I've read your post:
Here is a post about this by me with some interesting comments from Igor:
http://bioscene.blogspot.com/2009/03/serialization-in-osgi.html
Maybe the problems with serialization of EntityImpl private class
should be solved by... not serializing this class
Hello everybody.
I have a webpage under development where I use modal windows.
This has so fare not caused any problems - but now I get an error on one of
my pages.
I have just added the modal window capability to the page - so this has not
worked before.
When I click the button I get the
that should most likely work without problems.
-igor
On Mon, Nov 2, 2009 at 1:47 AM, Andreas Maza andr.m...@gmail.com wrote:
just to circumvent the problem for a while, I am thinking of the following
workaround:
what would be the implications if I change the implementation of
dont think we could even if we wanted to. you will have to upload the
images somewhere public and then ask on the list to have them attached
to a wiki page :|
-igor
On Mon, Nov 2, 2009 at 2:32 AM, ralf.eichin...@pixotec.de wrote:
I would like to ask some screenshots and descriptive images to
Yes Frank, model-setting method was just an example how to access a
component before onBeforeRender() executes.
I've only tried to point out that we set componentsAssembled = true in
assembleComponents() method. We call assembleComponents() from
get-method (for referenced component) to ensure
Hello again,
Please find the below given code
Page class:
Treetable has been added in the Page class as follows
IColumn columns[] = new IColumn[]
{
new PropertyTreeColumn(new ColumnLocation(Alignment.LEFT,
Unit.PERCENT),Check,userObject.name)
{
Exactly. You can see the example posted by Vytautas Racelis earlier at this
link:
http://xaloon.googlecode.com/svn/trunk/xaloon-wicket-repository/src/main/java/org/xaloon/wicket/component/resource/ImageLink.java
I prefer to do it this way:
http://pastebin.com/m328e21ff
The first example allow
My form has tinymce text area so I added TinyMceAjaxButton , now due to new
requirements sometimes I have to hide tinymce textarea , anytime I hide
tinymce text area the TinyMceAjaxButton submit button does not work ,
Is there a way I can use the TinyMceAjaxButton without tinynmce
The best would be short release cycle and very long support cycle. The latter
is more important.
igor.vaynberg wrote:
do you guys want a release cycle that will take a year?
the auto-detaching models are perfectly possible now by implementing a
IDetachListener and detaching all fields
My form has tinymce text area so I added TinyMceAjaxButton , now due to new
requirements sometimes I have to hide tinymce textarea , anytime I hide
tinymce text area the TinyMceAjaxButton submit button does not work ,
Is there a way I can use the TinyMceAjaxButton without tinynmce
I am trying to find out how to load several parts (Wicket panels) of a
page in parallel using Ajax. The content of these parts takes long to
render but I still want the user to see the other, readily available
parts of the page, with the delayed panels appearing when available.
Several
if you want nonblocking you have to make each thing you are trying to
load asynchronously its own page inside an iframe.
the page itself can only be accessed synchronously, otherwise you
would have to do your own multithreaded access handling in
components...which would be horrific.
-igor
On
I've got the following bits of code:
public HomePage(PageParameters parms) {
this();
Long accountId = parms.getLong(accountId);
account = new ModelEntity(Account.class, accountId);
setModel(account);
...
public class EditContactDetails extends Panel{
public
We will hold our next London Wicket Event on Saturday, 21st November, from 14:45. This time we have hired The Gallery at the iconic Foyles Bookshop in central London.
We again welcome guests and speakers from several countries, including at least
3 core committers, Matej, Jeremy and of course,
On Mon, Nov 2, 2009 at 4:57 PM, Loren Cole loren.c...@gmail.com wrote:
HomePage hp = (HomePage) this.findPage();
ModelEntity account = (ModelEntity)
parent.getInnermostModel();
Is this just a typo? You're getting the home page and then getting the
innermost
i have a pannel code for login ,when session timeout ,i don't login fist time.
it mean i must refresh the page, then i can login form the login pannel when
the session timeout.
if the login code is not the pannel, it don't need refresh the login page ,and
it can login .i don't know why. thx
Hi sending again, as I do not see it in user list...:
Hi,
I try to get the wicket-examples-WAR running as portlets in Liferay
according to my description here:
http://cwiki.apache.org/confluence/display/WICKET/Wicket+Examples+as+portlets
But after drag'n'drop e.g. the echo example portlet, it
35 matches
Mail list logo