Image class creates a LocalizedImageResource which creates a
resource reference from a file.
What you can do ( probably not recommended ) is extend the Image class
to retrieve the URL dynamically e.g.
http://pastebin.com/XCpcgLzC
Regards
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail:
Hello everyone,
I thought you might be interested. At the weekend I experienced this
problem myself on my local machine, so I had the chance to debug and
figure what was happening.
The short version is 99.9% sure its a javascript engine bug on Firefox
(and we've had a couple of users say they
Hi all,
I've got a lot of forms on my app that use tables for layout and generally
look like this after being rendered:
form
table
tr
thName/th * in the original markup it was a wicket:message
key=name*
tdinput name=name/input/td* in the original markup it was a
simple input wicket:id=name*
/tr
Hey everyone.
Maybe I am a little rusty with Wicket but.. I am on a new project with
Wicket 1.5, M3. I have a simple behavior on a form field:
form.add(otherComponent);
form.add(codeField);
codeField.add(new AjaxEventBehavior(onChange) {
@Override
a couple of new experiments:
I've added comp1 and comp2 as target in the onEvent.
comp1 just have
@Override
protected void onBeforeRender() {
super.onBeforeRender();
}
while comp2
@Override
protected void
sorry email was started before I completed it.
Anyway I'll prepare a working zip and wil send the issue as a jira bug if I
can confirm the problem.
On Mon, Dec 13, 2010 at 2:13 PM, ilde...@gmail.com ilde...@gmail.comwrote:
a couple of new experiments:
I've added comp1 and comp2 as target in
What do you want it to do when you click it?
2010/12/13 Ladislav DANKO em...@1ac0.net:
No, I don't need to download it, what I need is right path in href attribute
in anchor html tag as is in img html tag (created as new Image).
-Original Message-
From: jcar...@carmanconsulting.com
There is yet another Wicked based site out in the wild.
https://mm.web.de
To take a ride you have to have a web.de e-mail account though. srry.. But
they do have a free plan too.. ;-)
If you do have an account you should be able to access your web.de e-mail on
quite a variety of mobile gadgets.
Basically, i need a way to hook into the row-generating routine. I
would use DataView, but i need the column-based datahandling of the
DataTable..
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
datatable#newrowitem generates an item for each row. you can add a
behavior that renders something before or after the row.
-igor
On Mon, Dec 13, 2010 at 5:07 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
Basically, i need a way to hook into the row-generating routine. I
would use
Sorry to bump this again, but is there a way to do Repaint + Download with
the Validators kicking in before the repaint as they normally do?
Right now, I'm able to initiate the download upon clicking the Submit
buttons, but that happens BEFORE any of the Validators kick in. I should
only
in the ajaxrequetstarget append javascript that does window.location
to a url that starts streaming the data
-igor
On Mon, Dec 13, 2010 at 5:12 PM, eugenebalt eugeneb...@yahoo.com wrote:
Sorry to bump this again, but is there a way to do Repaint + Download with
the Validators kicking in
did that help?
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
2010/12/13 Zilvinas Vilutis cika...@gmail.com:
Image class creates a LocalizedImageResource which creates a
resource reference from a file.
What you can do ( probably not recommended ) is extend the
Is there a way to invoke a Validator manually in an arbitrary place in the
code, or do we have no control over when Wicket runs Validators (it always
happens on the form submit)?
In my situation, I'd like to invoke a validator manually in the Ajax part of
my code. Thanks
--
View this message in
Ok, I got it, I told I was rusty :)
I forgot that if a component is marked non visible on the first time is
rendered, it will never be rendered again until someone make it visilble.
Of course, I can't make it visible again in it's own onBeforeRender that is
exactly the method that will never be
form.validate() i believe
-igor
On Mon, Dec 13, 2010 at 6:15 PM, eugenebalt eugeneb...@yahoo.com wrote:
Is there a way to invoke a Validator manually in an arbitrary place in the
code, or do we have no control over when Wicket runs Validators (it always
happens on the form submit)?
In my
see component#onconfigure()
-igor
On Mon, Dec 13, 2010 at 6:16 PM, ilde...@gmail.com ilde...@gmail.com wrote:
Ok, I got it, I told I was rusty :)
I forgot that if a component is marked non visible on the first time is
rendered, it will never be rendered again until someone make it visilble.
Thanks Igor. That method is a void. Is it possible to get some kind of a
boolean result from form.validate() to indicate success/failure?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Invoke-Validators-manually-in-arbitrary-places-e-g-Ajax-tp3085646p3085680.html
after you call it call form.haserrors() or form.isvalid() or something similar
-igor
On Mon, Dec 13, 2010 at 6:29 PM, eugenebalt eugeneb...@yahoo.com wrote:
Thanks Igor. That method is a void. Is it possible to get some kind of a
boolean result from form.validate() to indicate
Both are OK
On Mon, Dec 13, 2010 at 5:39 PM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
Should I use wicket:container for a section of html that I want to
include on my page without having a particular tag rendered to the user.
For example, if I just want to output the text
That's probably already popular topic, but I'll ask that question
again ( please point me to the existing thread if you're aware of this
question )
Is there any way to validate only one form component at a time and
return the results to UI ( ajax )?
Thank you!
Žilvinas Vilutis
Mobile: (+370)
formcomponent.validate()
-igor
On Mon, Dec 13, 2010 at 6:56 PM, Zilvinas Vilutis cika...@gmail.com wrote:
That's probably already popular topic, but I'll ask that question
again ( please point me to the existing thread if you're aware of this
question )
Is there any way to validate only one
On Mon, Dec 13, 2010 at 5:18 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
onconfigure
Yes, I also tried to use that new 1.5 method but again, overriding the one
of the component but is a tecnique that does not work. It is needed to set
the visiblity in the onConfigure of a parent object
Thank you for your replies Igor.
I have another question regarding to clustered environment. Suppose we
have versioned pages opened in two windows. If one node goes down,
only the last page user made request from is stored in http session
and replicated to other nodes. So i suppose that only one
Hmm... This solutions seems really good. sorry for bothering
michal
2010/12/13 Igor Vaynberg igor.vaynb...@gmail.com:
when the page that is stored in http session is deserialized on
another node it is also spooled to disk. so in a cluster all nodes
have identical spooled pages - so
Hi everyone,
I far as I could find out there is onRemove method which gets
called once a component has been removed from its parent. But how
about the opposite? How to get notified when a component is added to a
hierarchy? (setParent is final)
Best regards,
Vitaly
And one more thing. do you have some benchmarks comparing
DiskDataStore, AsynchronousDataStore to Pagemaps stored in http
sessions (as in earlier wicket versions)? I mean writing pages to
disks comparing to writing them to http session (and replicating big
sessions)?
2010/12/13 Michal Kurtak
thats how it works in 1.4.x as well.
-igor
On Mon, Dec 13, 2010 at 8:08 PM, Michal Kurtak michal.kur...@gmail.com wrote:
Hmm... This solutions seems really good. sorry for bothering
michal
2010/12/13 Igor Vaynberg igor.vaynb...@gmail.com:
when the page that is stored in http session is
no, but you are welcome to test and ping us back with the results :)
-igor
On Mon, Dec 13, 2010 at 8:14 PM, Michal Kurtak michal.kur...@gmail.com wrote:
And one more thing. do you have some benchmarks comparing
DiskDataStore, AsynchronousDataStore to Pagemaps stored in http
sessions (as in
oninitialize()
-igor
On Mon, Dec 13, 2010 at 8:08 PM, Vitaly Tsaplin
vitaly.tsap...@gmail.com wrote:
Hi everyone,
I far as I could find out there is onRemove method which gets
called once a component has been removed from its parent. But how
about the opposite? How to get notified
Hi Igor,
It seams to be checking the flag..
if (!getFlag(FLAG_INITIALIZED))
{
setFlag(FLAG_INITIALIZED, true);
setFlag(FLAG_INITIALIZE_SUPER_CALL_VERIFIED, false);
onInitialize();
feel free to file an rfe.
-igor
On Mon, Dec 13, 2010 at 8:28 PM, Vitaly Tsaplin
vitaly.tsap...@gmail.com wrote:
Hi Igor,
It seams to be checking the flag..
if (!getFlag(FLAG_INITIALIZED))
{
setFlag(FLAG_INITIALIZED, true);
We are developing (at my employer) UI library based on wicket 1.5
(former version was based on wicket 1.2.6.) and we will make
performance measurements so I can provide you some results:) But the
tests will be made in January, if it doesn't matter
2010/12/13 Igor Vaynberg igor.vaynb...@gmail.com:
anytime is good.
cheers,
-igor
On Mon, Dec 13, 2010 at 8:41 PM, Michal Kurtak michal.kur...@gmail.com wrote:
We are developing (at my employer) UI library based on wicket 1.5
(former version was based on wicket 1.2.6.) and we will make
performance measurements so I can provide you some
MartinG said it is OK, I like it.
Also, I am blbrown on #freenode.wicket. I may ask you about it later.
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Monday, December 13, 2010 11:43 AM
To: users@wicket.apache.org
Subject: Re: Best practice for content
I have the following use case :
Having built a page using a standard ListView and implementing
populateItem(), I then want to pass the ListView to a method, extract the
contents, and use those contents to build a spreadsheet, cvs file, etc. This
way, there will be no need to repeat the same
Hey guys,
I have a unique error. I have a form and I have a few fields in that form
wrapped in a webMarkupContainer to refresh once a selection has been made.
This handles default values based on another form value nicely and
everything works fine.
My problem is that I also have required fields
Most of the time you just need listView.getDefaultModel().
Anyway, to get children you may use listView.iterator() or
.visitChildren() to iterate over them
On Mon, Dec 13, 2010 at 8:19 PM, drf davidrfi...@gmail.com wrote:
I have the following use case :
Having built a page using a standard
show some code
On Mon, Dec 13, 2010 at 8:19 PM, taygolf taylor.a.yo...@gmail.com wrote:
Hey guys,
I have a unique error. I have a form and I have a few fields in that form
wrapped in a webMarkupContainer to refresh once a selection has been made.
This handles default values based on
Not really sure if this is what you are trying to achieve but here it is
anyway:
public final ListT ListView#getModelObject()
On Mon, Dec 13, 2010 at 8:19 PM, drf davidrfi...@gmail.com wrote:
I have the following use case :
Having built a page using a standard ListView and implementing
Hello,
The problem was solved by the advice I got from a wiquery developer.
He said it was a common problem which happens when double ajax
requests are issued where the first ajax request rewrite a component,
and the next one refer to it.
I solved the problem by preventing it by using the
I realize my last post was a mess so here is an attempt to summarize it:
I'm trying to turn
input wicket:id=name/
which renders as
input name=name id=some_generated_wicked_id/
to something that will render like this:
label for=generated_idlabel/label * -FormComponentLabel*
input name=name
Hmm, is it possible from Image object get url for image which is
generated in Image(id, file_path)? If yes, than it should be possible
with AttributeModifier change href in Link object..
-Original Message-
From: Zilvinas Vilutis [mailto:cika...@gmail.com]
Sent: Monday, December 13,
use a behavior to render all the html. if you want to render using
wicket components and not html use a border
-igor
On Mon, Dec 13, 2010 at 9:47 PM, Sam Zilverberg samzilverb...@gmail.com wrote:
I realize my last post was a mess so here is an attempt to summarize it:
I'm trying to turn
It is link for lightbox so it will know where the image for display is.
Laco
-Original Message-
From: jcar...@carmanconsulting.com
[mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman
Sent: Monday, December 13, 2010 2:24 PM
To: users@wicket.apache.org
Subject: Re:
Can u use only the Image component? I don't think you actually need an Link
at your component structure if your JavaScript framework needs only the
src attribute value at the img tag.
2010/12/13 Ladislav DANKO em...@1ac0.net
It is link for lightbox so it will know where the image for display
The competition has run its course and unfortunately the Topicus
Dashboard is not the winner, however we did get an honorable mention
from the judges:
This wallboard also boasts a very clean and simple design with
sexy animations. Products stats, builds and issue details are
complimented by
Why don't you just check-out the source code of wicket lightbox:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-lightbox
to check how it's done there once you decided to write your own one...
Regards
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
Hi,
I need to validate a readonly Label with required which displays some
selection from a modalwindow. But a Label is not a formcomponent , so I
cannot use setRequired() to fulfill my requirement.
If I use a TextField/setEnable(false)/setRequired(true) for instead, the
validator also
hidden field?
On Mon, Dec 13, 2010 at 8:35 PM, rolandpeng rolandp...@cht.com.tw wrote:
Hi,
I need to validate a readonly Label with required which displays some
selection from a modalwindow. But a Label is not a formcomponent , so I
cannot use setRequired() to fulfill my requirement.
If
I've tried a Label + TextField/setVisible(false)/setRequired(true) as well.
But as the TextField is hidden,the required validation also disable ,either.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086378.html
Sent from the
oh, thank you for the hint.
I find a HiddenField in the form package. I'll try this component later.
Thank you again!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086380.html
Sent from the Users forum mailing list archive at
That's the ticket! Good luck,
On Mon, Dec 13, 2010 at 9:18 PM, rolandpeng rolandp...@cht.com.tw wrote:
oh, thank you for the hint.
I find a HiddenField in the form package. I'll try this component later.
Thank you again!
--
View this message in context:
I have a panel. I cannot figure out a way to have this panel informed if any
of its children happens to exectute an AjaxFormSubmittingBehavior form
submit. Ideally, I'd like my panel to listen for this, and have access to
the AjaxRequestTarget. Is there a reasonable way to do this? My panel
Thanks, that was pretty short and clear :)
I decided to go with border so that if I decide I need some ajax behavior
for a field I will be able to easily do addComponent(borderOfComponent).
I wish there was some flag to tell wicket that it doesn't need to check that
form components are associated
55 matches
Mail list logo