I have a tabpanel. After ajax update to a div inside the tab-panel, the tab
stop working: rollover hover doesn't work, no reaction to click. This only
happen to Firefox both Windows and Linux. No problem with IE7, Opera or
Safari. You can see this in action here:
got it to work using wicket.ajax postCallHandlers...
mfs wrote:
Guys,
I have got a keep-alive.gif[?random=timestamp] in my LayoutPage (which
every page extends from).
I need a way to change the source of this keep-alive image (so as to
update the time stamp post-fixed with, so that
On Sun, Apr 27, 2008 at 7:55 AM, John Patterson [EMAIL PROTECTED] wrote:
Mr Mean wrote:
Such an initialize method can easily be done by users them self with a
simple factory pattern.
Can you give an example of this?
public class MyFactory
{
public SomeComponent
I would guess that it is better to use panels or fragments and instead
of using setXXX, just initialize everyting in its place according to
an internal state.
Start with one hard coded layout and then tune it using an internal
state, for example.
**
Martin
2008/4/28 Azzeddine Daddah [EMAIL
Hi
I'm new to wicket and I have a listview which dynamically creates links. I'm
using the following code to anchor links so that when the user clicks a
link, it will be directed to the correct area in the page.
protected void populateItem(ListItem item)
{
Link boardLink = new
Could you or somebody else please provide some code?
I didn't understand your last sentence Start with one hard coded layout
and then tune it using an internal
state, for example.
Thank you,
Azzeddine
On Mon, Apr 28, 2008 at 10:16 AM, Martin Makundi
[EMAIL PROTECTED] wrote:
I would guess
Well, here you have an example of a panel:
http://www.javalobby.org/java/forums/t60926.html
It is reusable, so you can use it from anywhere, or decide not to use it.
Design one page which uses panels. Then change the panels according to
some session state, for example. Here is a trivial bad
This posts is about the vision that my colleague Daniel Fernández and me have
about how should be the integration between Wicket and Spring, using the new
annotation functionalities provided by Spring 2.5. The @SpringBean approach
is very useful, but its magic about a transient attribute that is
The @SpringBean approach
is very useful, but its magic about a transient attribute that is not
transient make us fell uncomfortable.
What do you mean by transient and magic? The attributes are not transient. A
proxy is generated that is serialized. At runtime the real dependency is
retrieved
On Mon, Apr 28, 2008 at 5:57 AM, James Carman
[EMAIL PROTECTED] wrote:
On Sat, Apr 26, 2008 at 4:55 PM, Maurice Marrink [EMAIL PROTECTED] wrote:
Such an initialize method can easily be done by users them self with a
simple factory pattern. So why bloat our api with it?
Could one come
James Carman schrieb:
Or, perhaps Wicket could add in some lifecycle method annotations?
pleeease don´t!
using annotations for this kind of lifecycle methods is a simple abuse
of them. non-obvious order, inheritance etc... lesson learned from
jpa,ejb3 etc...
cu uwe
--
THOMAS DAILY
Hello Lars,
What do you mean by transient and magic? The attributes are not transient. A
proxy is generated that is serialized. At runtime the real dependency is
retrieved from the spring container.
The problem with that magic, as I already expressed in this list some time
ago, is a formal
Yeah... Why would someone put hundreds of getters for beans inside
Application? This would be a big dummy access way to Spring's Beans, since
we can use Annotations in a clever way.
:-)
On Mon, Apr 28, 2008 at 6:56 AM, lars vonk [EMAIL PROTECTED] wrote:
The @SpringBean approach
is very
On Sat, Apr 26, 2008 at 4:55 PM, Maurice Marrink [EMAIL PROTECTED] wrote:
Such an initialize method can easily be done by users them self with a
simple factory pattern. So why bloat our api with it?
Could one come up with their own interface which means they want
delayed intialization and use
Hello,
can't anyone help me with this problem?
If I need to code it differently, please tell me.
Thanks !!
Marieke Vandamme wrote:
Hello,
i'm having problems with the modal window. It shows up fine when I click
my link the first time, but after closing the window with the 'X', it
add it to a jira issue
On Mon, Apr 28, 2008 at 12:41 AM, Vitaly Tsaplin [EMAIL PROTECTED]
wrote:
Hi everyone,
It seems that if you add a hidden field named x to your form the
field is going to be filled by the form action url :) It should be
easy to reproduce.
Vitaly
Dear Wicket Gurus,
I'm implementing the Open-session-in-view pattern overriding the
onBeginRequest and onEndRequest method of a custom WebRequestCycle.
Is there any way to avoid to open a new hibernate session for non-view
request, for example resources request (css, javascript, images, etc)
Hi, I'm using AbastractTab with two panels.
I want to have a BookmarkablePageLink for these Panel, so my question is :
Is it possible??? If not, is there another solution?
Thank you in advance
--
View this message in context:
Martijn,
Thanks for the info. Is tempting but I'm really after making the component
behaviour more consistent and the monkey will complain about losing control
over yet another id (first example I had tried he was setting an explicit id
on the first element in a Panel).
I might try fiddling
On Mon, Apr 28, 2008 at 6:27 AM, James Carman
[EMAIL PROTECTED] wrote:
Yes, this would involve making up some rules about the order in which
the parent class' initializer methods are invoked. A couple that come
to mind:
1. There should only be one initializer method declared per class
How well did you test this?
Because i think the biggest problem here is that the
IComponentInstantiationListener is invoked in the constructor of
Component and thus before any childclass constructor has run.
Maurice
On Mon, Apr 28, 2008 at 1:42 PM, James Carman
[EMAIL PROTECTED] wrote:
On Mon,
Dear Maurice,
Can you give me a timeframe for the availability of WicketStuff Scriptaculous
for wicket 1.4? The Drag and Drop will lnot work, becaus a component no langer
has a public 'addBeahivor' method. This is now replaced by a simple
'add(Ibehavior...)' method. The 'DraggableTarget' class
On Mon, Apr 28, 2008 at 7:58 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
How well did you test this?
Only whipped it up very quickly (based on obviously wrong assumptions :).
Because i think the biggest problem here is that the
IComponentInstantiationListener is invoked in the constructor
Hi Stefan,
I presume this build is based on the 'old' dojo-0.4 version? If so, are there
any plans in updating the wicketstuff-dojo project to dojo-1.1.0 or is there to
much resistance since Dojo has changed it's api already a couple of times?
Regards,
Arthur Bogaart
[EMAIL PROTECTED] -
The source is located at sourceforge
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-scriptaculous
As for when it will be available for wicket 1.4?, i have no idea since
i have nothing to do with that project.
Perhaps Ryan Sonnek can answer that.
Maurice
On
On Mon, Apr 28, 2008 at 2:15 PM, James Carman
[EMAIL PROTECTED] wrote:
On Mon, Apr 28, 2008 at 7:58 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
How well did you test this?
Only whipped it up very quickly (based on obviously wrong assumptions :).
Because i think the biggest problem
Hi
Im using the toaster from dojo. I get a javascript thing which tells me
that a fatal error has happend, it only happens when session are
initialized if I reload the page there are no problems. It seems a
little like it's related to this thread:
i'll try to create a 1.4 branch of the scriptaculous project sometime this
week. of course patches are always welcome. =)
On Mon, Apr 28, 2008 at 7:20 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
The source is located at sourceforge
comp instanceof Page ?
or am I misunderstanding somethin?
Ned Collyer wrote:
Hi,
I've written my own class that extends ComponentStringResourceLoader (i
might change it to extend some other class)
At any rate, when loadStringResource(Component component, String key) is
called, and
Hi,
I have a wicket page, mounted as a IndexedParamUrlCodingStrategy, and the
first time i go to the page in a session, i see a blank page which says:
'If you see this, it means that both javascript and meta-refresh are not
support by your browser configuration. Please click this link to
On Mon, Apr 28, 2008 at 8:31 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
Oh! Nasty. I thought you guys were somehow waiting until the
Component was fully instantiated for this notification to occur. If
Nope. One of the places where this is used, is for security
On Mon, Apr 28, 2008 at 12:15:22PM +0200, Daniel Fernández Garrido wrote:
Service interfaces are
not serializable (normally), and thus they should be declared as transient
here, and provide a way to recover the object after page serialization.
Erm, I think you mean service implementations.
hi all,
I've been trying to change some styling in the navigation toolbar.
I have a StyledAjaxNavigationToolbar which inherit from
AjaxNavigationToolbar.
I thought to override newPagingNavigator that will return
StyledAjaxPagingNavigator (inherit AjaxPagingNavigator).
I overridden
On Mon, Apr 28, 2008 at 3:15 AM, Daniel Fernández Garrido
[EMAIL PROTECTED] wrote:
The problem here is that, in a Serializable class (the page), you are
declaring a non-serializable attribute (the service). Service interfaces are
not serializable (normally), and thus they should be declared
perhaps you should use shared resources along with IInitializer to
make sure the javascript is available immediately upon startup
-igor
On Mon, Apr 28, 2008 at 5:49 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Hi
Im using the toaster from dojo. I get a javascript thing
you are free to replace the links tabbedpanel generates with
bookmarkable ones. see tabbedpanel.newlink(). but then you have to do
all the wiring yourself.
-igor
On Mon, Apr 28, 2008 at 4:04 AM, Fabien D. [EMAIL PROTECTED] wrote:
Hi, I'm using AbastractTab with two panels.
I want to have
Check this out:
http://article.gmane.org/gmane.comp.java.tapestry.user/61313
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
springbean is ok. although bends the rule rather then breaking it by
not depending on any state of the super class.
if we did it the other way then the dependencies would be null during
the constructor call, which is obviously something we want to avoid.
-igor
On Mon, Apr 28, 2008 at 6:22 AM,
2008/4/28 Uwe Schäfer [EMAIL PROTECTED]:
James Carman schrieb:
Or, perhaps Wicket could add in some lifecycle method annotations?
pleeease don´t!
using annotations for this kind of lifecycle methods is a simple abuse of
them. non-obvious order, inheritance etc... lesson learned
On Mon, Apr 28, 2008 at 10:58 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
2008/4/28 Uwe Schäfer [EMAIL PROTECTED]:
James Carman schrieb:
Or, perhaps Wicket could add in some lifecycle method annotations?
pleeease don´t!
using annotations for this kind of
OK! As soon as a brach is available, I'll check ist out and try to modify
source for Wicket 1.4. So let me know
Stefan
-Ursprüngliche Nachricht-
Von: Ryan Sonnek [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 28. April 2008 14:55
An: users@wicket.apache.org
Betreff: Re: Wicket 1.4 and
you can roll that, just use the beforerenderlistener you can install
in the application subclass.
-igor
On Mon, Apr 28, 2008 at 8:03 AM, James Carman
[EMAIL PROTECTED] wrote:
On Mon, Apr 28, 2008 at 10:58 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
2008/4/28 Uwe Schäfer [EMAIL PROTECTED]:
On Mon, Apr 28, 2008 at 11:05 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can roll that, just use the beforerenderlistener you can install
in the application subclass.
We just have to make sure we only initialize an instance one time.
The IComponentOnBeforeRenderListeners are called every
Cool, that worked. Thanks, Frank.
Ryan
On Apr 25, 2008, at 2:25 AM, Frank Bille wrote:
You have to set outMarkupId when creating the component. It's too late
to do it in the ajax callback.
Frank
On Thu, Apr 24, 2008 at 9:32 PM, Ryan O'Hara
[EMAIL PROTECTED] wrote:
I'm fairly new to
branch? wicketstuff trunk is already 1.4, i have created a branch for
older 1.3.x
-igor
On Mon, Apr 28, 2008 at 5:54 AM, Ryan Sonnek [EMAIL PROTECTED] wrote:
i'll try to create a 1.4 branch of the scriptaculous project sometime this
week. of course patches are always welcome. =)
On
Paolo Di Tommaso wrote:
Dear Wicket Gurus,
I'm implementing the Open-session-in-view pattern overriding the
onBeginRequest and onEndRequest method of a custom WebRequestCycle.
Is there any way to avoid to open a new hibernate session for non-view
request, for example resources request (css,
Hi!
I'm generating files ( pdf ) in a server and I want to check for the file
and when the file becomes
available show it to the user
1. User clicks create preview
2. A modal window opens showing ( processing file )
3. When the file is available show link in modal window.
I don't know how
yes of course. you have to keep a boolean in the metadata to mark if
the handler has been called already.
-igor
On Mon, Apr 28, 2008 at 8:12 AM, James Carman
[EMAIL PROTECTED] wrote:
On Mon, Apr 28, 2008 at 11:05 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can roll that, just use the
you enabled wicket's advanced browser info gathering, that is the page
that does that...
-igor
On Mon, Apr 28, 2008 at 6:12 AM, richardwilko
[EMAIL PROTECTED] wrote:
Hi,
I have a wicket page, mounted as a IndexedParamUrlCodingStrategy, and the
first time i go to the page in a session, i
create it lazily when it gets requested from the request cycle?
-igor
On Mon, Apr 28, 2008 at 3:36 AM, Paolo Di Tommaso
[EMAIL PROTECTED] wrote:
Dear Wicket Gurus,
I'm implementing the Open-session-in-view pattern overriding the
onBeginRequest and onEndRequest method of a custom
On Mon, Apr 28, 2008 at 11:45 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
yes of course. you have to keep a boolean in the metadata to mark if
the handler has been called already.
Ok, gotcha! I need to keep that metadata stuff in my head. That's a
nifty little trick for adding ad-hoc
Your modal window could periodically poll the server to see if it is
available yet, I think you can use AjaxSelfUpdatingTimerBehavior for this.
Richard
Mathias P.W Nilsson wrote:
Hi!
I'm generating files ( pdf ) in a server and I want to check for the file
and when the file becomes
Yes, I tried a normal thread but that of course didn't work
final WebMarkupContainer container = new WebMarkupContainer( container );
container.add( new AjaxSelfUpdatingTimerBehavior(
Duration.ONE_SECOND){
protected void
To answer your second point :
-NO, at this point you cannot define multiple wicket:child anywhere.
Try using fragments or generic panels (i don't know which would be better
for you). Replace a generic panel with the specific panel you need.
Cristi Manole
On Mon, Apr 28, 2008 at 11:34 AM, Martin
I think that your images div is overlapping the tab-row div.
You could try to *add margin-top: 45px;* in the #photos style [line 172 in
your style.css].
I am not sure if this will work since I see the first time the page loads
the tabs work... anyways, by changing those on the fly in my browser
I have done this by creating an abstract base page with an abstract
factory methods getFooPanel() or getBarPanel(). Then the base page
add()s the result of getFooPanel(), while the implementations supply
it.
- Scott
On Mon, Apr 28, 2008 at 10:09 AM, Cristi Manole [EMAIL PROTECTED] wrote:
To
I suppose this question is directed at Vincent Demay (the author listed int
he component)...
I am attempting to use a derivative of the DojoRequestSuggestionList. As
part of it's contract with the DojoRequestSuggestionListHandler it needs to
implement
public abstract SuggestionList
And, when does the base page do the adding? In the constructor?
On Mon, Apr 28, 2008 at 1:38 PM, Scott Swank [EMAIL PROTECTED] wrote:
I have done this by creating an abstract base page with an abstract
factory methods getFooPanel() or getBarPanel(). Then the base page
add()s the result of
I am 99% certain that if you change your code from :
*final MyChooser myChooser = new MyChooser(modal);*
*modal.setPageCreator(new ModalWindow.PageCreator() {
public Page createPage() {
return myChooser;
}
}
*
to this :
*modal.setPageCreator(new
does your descriptionLabel start with #?
On Mon, Apr 28, 2008 at 11:17 AM, tbt [EMAIL PROTECTED] wrote:
Hi
I'm new to wicket and I have a listview which dynamically creates links.
I'm
using the following code to anchor links so that when the user clicks a
link, it will be directed to the
Hi,
I have a CMS-system that under some circumstances should do an immediate redirect when the session is created. I try with the following code
in MySession's constructor:
String host = ((ServletWebRequest)
request).getHttpServletRequest().getHeader(host);
Instance instance =
Hi All
I'm using wicket 1.2.6 and I'm having problems with back button on IE.
I can go back with back button of browser, but when I try to go
forward, I get a Page Expired. The log is set to debug, but I can't
find anything in log file to help me find out what is causing this. I
don't know if
Hello,
thank you. I converted the properties file with native2ascii and it works.
Vit Rozkovec wrote:
Hi,
try to convert the property file with native2ascii tool.
greeklinux wrote:
Hello,
I am using IDEA as IDE. I configured it to use UTF-8.
Did I forget something?
In the
I think that your images div is overlapping the tab-row div.
Oh wow, thanks for spotting this. The tab-panel div is overlapping tab-row
div. I have no idea why though.
I use your suggestion on tab-panel:
div.tab-panel { margin-top: 45px; }
and no more problem with the tabs.
But how did
Yes, in the constructor.
- Scott
On Mon, Apr 28, 2008 at 11:12 AM, James Carman
[EMAIL PROTECTED] wrote:
And, when does the base page do the adding? In the constructor?
On Mon, Apr 28, 2008 at 1:38 PM, Scott Swank [EMAIL PROTECTED] wrote:
I have done this by creating an abstract base
So, how do you know that everything is good to go in the subclass
then? You really shouldn't be calling a method implemented by the
subclass in the superclass' constructor. In your case, it may work,
but in general, it's bad practice.
On Mon, Apr 28, 2008 at 4:34 PM, Scott Swank [EMAIL
Agreed. It has to be a stateless factory method.
On Mon, Apr 28, 2008 at 1:39 PM, James Carman
[EMAIL PROTECTED] wrote:
So, how do you know that everything is good to go in the subclass
then? You really shouldn't be calling a method implemented by the
subclass in the superclass'
Actually if you are on linux, I made a tiny script for myself which
recursively converts all .properties files in the current directory and
subdirectories:
#!/bin/sh
for file in $(find . -name *.properties); do
native2ascii $file $file
echo $file
done
Regards
Vitek
greeklinux
On 4/28/08, James Carman [EMAIL PROTECTED] wrote:
So, how do you know that everything is good to go in the subclass
then? You really shouldn't be calling a method implemented by the
subclass in the superclass' constructor. In your case, it may work,
but in general, it's bad practice.
In
Dont know why it is different in ie compared to ff, but do upgrade to
1.3 because then page expired are pretty much none excistent.
On 4/28/08, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi All
I'm using wicket 1.2.6 and I'm having problems with back button on IE.
I can go back with back
Getting a strange error when loading my page:
INFO:
INFO: Initiating Ajax GET request on
../../../../../../?wicket:interface=:2:eventTabbedPanel:panel:createEven
tForm:message::IBehaviorListener:0:6random=0.6280901523407119
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response
tinymce doesnt work if you load it via ajax...its a known limitation
-igor
On Mon, Apr 28, 2008 at 2:08 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Getting a strange error when loading my page:
INFO:
INFO: Initiating Ajax GET request on
odd... I got the reply earlier than the question Igor truly is a
psychic and very fast typist when he can even type in the quoted bits
with his reply.
Martijn
On 4/28/08, Igor Vaynberg [EMAIL PROTECTED] wrote:
tinymce doesnt work if you load it via ajax...its a known limitation
-igor
He's FAST sometimes yes.
Well, problem is that we're not using it in an AJAX context - here's
what we're doing:
public class TinyMCERichTextEditor extends TextArea {
public TinyMCERichTextEditor(String id) {
super(id);
this.add(new
are you adding the texteditor via ajax? thats the same thing.
-igor
On Mon, Apr 28, 2008 at 2:37 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
He's FAST sometimes yes.
Well, problem is that we're not using it in an AJAX context - here's
what we're doing:
public class
It's being added like this:
add(new TinyMCERichTextEditor(message));
inside a form's constructor...
My colleague (who works on this) just told me that the form is inside a
panel, which in turn is inside a tabbed panel. So, I guess this
qualifies for being Ajax driven, correct?
Any workaround
On Mon, Apr 28, 2008 at 2:53 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
It's being added like this:
add(new TinyMCERichTextEditor(message));
inside a form's constructor...
My colleague (who works on this) just told me that the form is inside a
panel, which in turn is inside a tabbed
I completed a Wicket 1.2 project a couple of years ago, and I've been
maintaining it since then. I've been using Version 1.2.2 successfully,
and figured I might as well use the lastest release of that version
(1.2.7). Well, I'm trying to figure out why Wicket 1.2.7 broke my code.
(I scrounged up a
Thanks Igor - I'll pass that on - great input.
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, April 28, 2008 3:00 PM
To: users@wicket.apache.org
Subject: Re: AJAX: Invalid XML markup error
On Mon, Apr 28, 2008 at 2:53 PM, Michael Mehrle [EMAIL
I've got a radio group that's tied to a propertymodel which is set to
'0' by default:
RadioGroup monthlyRadioGroup = new
RadioGroup(eventSchedule.intervalOfMonth);
When saving my form I get this error:
org.apache.wicket.util.convert.ConversionException: Can't convert null
value to a
Hello,
I have a problem about authorization.I look at wicket-in-action source code
and implement authorization from there it work well. I use annotation to tag
Pages that is unauthorize. But i just go on circle.Here is my problem:
@OverridablePage
public class EditUserPage extends
Putting everything into the Application class is also not very flexible.
I have other jars with panels in them and their own context files - with the
everything in the Application approach, this is not workable. I cannot
make spring based plugins.
I'd use a better way in preference an
Overriding onComponentTag doesn't seem to work. The URL that gets generated
(using urlFor) starts with a question mark which isn't included when the
form is submitted. The only thing passed down is the form parameters,
which obviously doesn't work since the page is missing. I'm using the
thats what stateless forms are for. after a submit you want a redirect
anyways so that a refresh doesnt popup that annoying post values
dialog.
overriding oncomponenttag() should work just fine, you just have to
make sure to call super first.
-igor
On Mon, Apr 28, 2008 at 7:08 PM, Doug Donohoe
Obviously, if you post with GET method, you don't get those dialogs. A
post and redirect means two hits to the server where-as a GET is only one.
Using the GET method makes your average web page bookmarkable.
The code I used was basically this:
super.onComponentTag(tag)
tag.put(action,
Hello Everyone,
Is there a way to check if a (permanent) session was created in the given
request, in other words want to know if a JSESSIONID cookie is being set in
the resulting response. I need to set another cookie alongside JSESSION id
in the same request.
Any pointers..?
--
View this
Hello,
Thanks for the reply.
But isn't it possible to reuse the modalwindow? Because in my application
the window needs to be opened many times, and I thought it would be better
to reuse the same window multiple times. Or has that no affect to the
memory-usage?
Cristi Manole wrote:
I am
Correct me if i am wrong..
- Wicket creates a permanent session only when a stateful page is rendered.
And it is at this time when the wicket session is bind with the
http-session, and hence a jsessionID is generated by the servlet container
and set as a cookie in the response.
- On the
correct
you can also bind the session manually by calling bind()
-igor
On Mon, Apr 28, 2008 at 10:46 PM, mfs [EMAIL PROTECTED] wrote:
Correct me if i am wrong..
- Wicket creates a permanent session only when a stateful page is rendered.
And it is at this time when the wicket session is
89 matches
Mail list logo