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 is
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
On Mon, Nov 2, 2009 at 4:57 PM, Loren Cole 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 model from something
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
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 E
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 Mon
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 post
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 textarea
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 field
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 textarea
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 yo
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")
{
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 that
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, wrote:
> I would like to ask some screenshots and descriptive images to my
> documentations in the
that should most likely work without problems.
-igor
On Mon, Nov 2, 2009 at 1:47 AM, Andreas Maza 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
> IObjectStreamFactor.DefaultOb
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 follow
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
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 wrote:
> Hi can somebody help me with this exception. It happends only in table with
> paging.
>
> 13:01:10.536 [SocketListener0-9] DEBUG o.a.w.u
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 = Thread.currentThread().getCont
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 porta
Just write a servlet (or Spring Web MVC "handler").
On Mon, Nov 2, 2009 at 10:52 AM, Peter Dotchev 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 another way.
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 singl
Forgot to mention, the Netbeans Lookup would also be an option.
On Mon, Nov 2, 2009 at 10:45 AM, Ben Tilford 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 implement a Navigat
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.
On
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
Hi can somebody help me with this exception. It happends only in table with
paging.
13:01:10.536 [SocketListener0-9] DEBUG o.a.w.util.lang.PropertyResolver -
Cannot find field class
org.apache.wicket.extensions.markup.html.repeater.data.table.NavigatorLabel$LabelModelObject.from
java.lang.NoSuchFi
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 {}
@Mou
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",
PackageName.forClass(TestClass1.clas
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 :
> Remember having the sam
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 r
thank you guys!
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
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
ObjectInputSt
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")
{
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 th
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 Componen
36 matches
Mail list logo