new DateTimeField(...) {
protected DateTextField newDateTextField(...) {
DateTextField field = super.newDateTextField(...);
field.add(new AjaxEventBehavior(...) {...});
return field;
}
}
On Wed, May 21, 2008 at 3:32 AM, Michael Mehrle <[EMAIL PROTECTED]>
wrote:
> I've got a DateTi
i doubt with these generics changes it will be completely backwards
compatible. also that was never the goal, we already have some slight
api tweaks.
-igor
On Tue, May 20, 2008 at 9:54 PM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
> On Tue, May 20, 2008 at 9:44 PM, Gerolf Seitz <[EMAIL PROTECTED
On Tue, May 20, 2008 at 9:44 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> i have the fix for that in my local checkout and
> will commit it sometime today.
Cool. I just found out Wicket In Action's code
(http://code.google.com/p/wicketinaction/) had compile errors.
Ideally, Wicket 1.4 it should b
i have the fix for that in my local checkout and
will commit it sometime today.
Gerolf
p.s.: kudos to ijuma ;)
On Wed, May 21, 2008 at 6:42 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> Hello-
>
> I'm using 1.4 trunk and running into troubles compiling.
>
> My base page extends WebPage, then
Hello-
I'm using 1.4 trunk and running into troubles compiling.
My base page extends WebPage, then I have a bunch of pages that
extend that. Everywhere I need to pass in a class that extends Page,
I get the error:
/Users/ryan/Documents/workspace/...MyClass.java:[32,97] inconvertible
typ
You are being a bit ambiguous about your goals, but I will try.
Think of repeaters like for-iterators, get started here:
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html
**
Martin
2008/5/21 Gwyn Evans <[EMAIL PROTECTED]>:
> I've not got into the repeaters as yet, so wondering if
you can use a shared resource to do this, there is a page on the wiki
somewhere. you can also look at wicket pastebin project on berlios
repo.
a simpler (but thread-blocking) way is to see how downloadlink does it.
-igor
On Tue, May 20, 2008 at 8:04 AM, Blackbird <[EMAIL PROTECTED]> wrote:
>
> H
there are a lot of examples there that integrate with 3rd party
javascript libraries, take a look at wicket-jquery,
wicket-scriptaculous, wicket-dojo, wicket-tinymce, wicket-gmap,
wicket-gmap2, wicket-client-events, etc, etc
-igor
On Tue, May 20, 2008 at 3:24 PM, nanotech <[EMAIL PROTECTED]> wro
Brill Pappin wrote:
> Right... I think I'd just invert that, so that the "page" asked for the
> stateful data when needed.
Yes, that's the only way. The page can easily store the state (and
you might rather it did) but it has to be pulled in, not pushed. The
general rule is: no external thread c
If you want a "jumping off point", you can start with my example
project I used for a talk I gave on Wicket last night:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk
It sets up Spring, Hibernate, wicket-authroles (using Spring
Security), etc. It uses profiles in the pom.xml file t
Bruce, short or long term you save time with spring.
I dont see it as extra effort - in fact it is a blessing removing the burden
of scoping of objects and (with wicket annotations) serialisation.
The wicket wiki makes implementing spring with wicket peanuts easy.
Rgds
Ned
Bruce McGuire-2 wro
I've got a DateTimeField panel which works just fine. However, I need to
toggle the visibility of a checkbox once the date has been populated.
This is of course via AJAX with an AjaxEventBehavior.
I tried to slap the behavior on the DateTimeField panel, but the onEvent
method only gets triggere
I have to agree with James. I wouldn't build an application without Spring
at this point because of the convenience and flexibility it offers. Guice
looks nice, but the tool support isn't there yet.
On Tue, May 20, 2008 at 7:22 PM, James Carman <[EMAIL PROTECTED]>
wrote:
> A resounding YES to S
Thank you :) yes I am an idiot.
igor.vaynberg wrote:
>
> pass it in and keep it as a field? make it an anonymous class and a
> final variable? this is just java and these things are just java
> objects, so its entirely up to you.
>
> -igor
>
--
View this message in context:
http://www.nab
On Tue, May 20, 2008 at 3:39 PM, Hoover, William <[EMAIL PROTECTED]> wrote:
> sure, if you know to override NumberValidator.minimum with:
>
> label.myminimum=My Object at row: {0} with value
> NumberValidator.minimum=${label} '${input}' must be smaller than
> ${minimum}
>
> It seems odd because:
>
A resounding YES to Spring!
On Tue, May 20, 2008 at 8:04 PM, Bruce McGuire <[EMAIL PROTECTED]> wrote:
> Hello All.
>
>
>
> We are just starting a new version of an existing app, moving toward open
> source technologies. We have decided on using Wicket based on some
> prototypes we have done, and a
Hello All.
We are just starting a new version of an existing app, moving toward open
source technologies. We have decided on using Wicket based on some
prototypes we have done, and are using Hibernate for the models.
Our question is this: do you recommend also adding Spring into the mix?
Ah - org.apache.wicket.Page#configureResponse doesn't take account of
the specified template, just uses it's hard-coded one... Tomorrow...
/Gwyn
On Wed, May 21, 2008 at 12:10 AM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> Just noticed that even though I specify a prologue as:
>
> it gets delivere
Just noticed that even though I specify a prologue as:
it gets delivered as:
Anyone able to point me to where this is happening, as the particular
document spec variant I'm trying to work to here requires the
former...
/Gwyn
-
I've not got into the repeaters as yet, so wondering if anyone has any
pointers to help get started...
Hopefully this will come through as understandable...
I'm currently using something like the following markup:
card id=A p select wicket:id="mycomponent"
option
/select /p /card
with
Can you please give me a starting point...for implementing this?
nanotech wrote:
>
> Which examples you are talking about here..can you please elaborate?
>
>
> igor.vaynberg wrote:
>>
>> no, wicket does not have a component like this out of the box, but you
>> can easily create one yourself
sure, if you know to override NumberValidator.minimum with:
label.myminimum=My Object at row: {0} with value
NumberValidator.minimum=${label} '${input}' must be smaller than
${minimum}
It seems odd because:
1) NumberValidator.minimum (or any other entry in
Application.properties) does not use ${l
Which examples you are talking about here..can you please elaborate?
igor.vaynberg wrote:
>
> no, wicket does not have a component like this out of the box, but you
> can easily create one yourself by wrapping the javascript on the
> example page.
>
> there are plenty of javascript driven com
already fixed in trunk afair
-igor
On Tue, May 20, 2008 at 3:14 PM, Edvin Syse <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I think this is my third bug found in the enclosure system :)
>
> Simple quickstart:
>
> HomePage.java:
>
> public class HomePage extends WebPage {
>Boolean show = true;
>
Hi,
I think this is my third bug found in the enclosure system :)
Simple quickstart:
HomePage.java:
public class HomePage extends WebPage {
Boolean show = true;
public HomePage() {
add(new RadioChoice("show", new PropertyModel(this, "show"),
Arrays.asList(true, false)) {
Thanks. I will take a look.
On Tue, May 20, 2008 at 6:52 PM, Frank Bille <[EMAIL PROTECTED]> wrote:
> Take a look on WicketTester.
>
> Frank
>
> On Tue, May 20, 2008 at 11:20 PM, Fernando Wermus
> <[EMAIL PROTECTED]> wrote:
> > I am trying to instantiate a Panel according to an specific object. I
Maurice Marrink schrieb:
feel free, to convert me ;)
I am not good at converting people, either you see the light or you don't :P
*g*
One of the strong points of swarm (imo ;)) is the ease with which it
lets you create complex authorization schemes, while still giving the
end user full cont
Uwe Schäfer schrieb:
would it be an option to choose guice for INTERNAL DI and rely on JPA?
as this may leave the scope of this mailing-list, let´s take it here:
http://groups.google.com/group/wicket-forum-dev
http://code.google.com/p/wicket-forum/
cu uwe
---
On Tue, May 20, 2008 at 11:38 PM, Uwe Schäfer <[EMAIL PROTECTED]> wrote:
> Maurice Marrink schrieb:
>>
>> Which security framework do you plan on using? ;)
>
> *g* actually, it could use a homegrowkn one, which essentially is a bunch of
> interfaces (together with a trivial impl).
> sorry, that i d
James Carman schrieb:
But, if you're already using spring as a dependency (by using
@Transactional), then why use another IoC container?
nope, don´t.
others can define @Transactional annotations as well ;)
-
To unsubscribe, e
Take a look on WicketTester.
Frank
On Tue, May 20, 2008 at 11:20 PM, Fernando Wermus
<[EMAIL PROTECTED]> wrote:
> I am trying to instantiate a Panel according to an specific object. I
> thought this was something related to reflection, but the panel is throwing
> this exception.
>
> Caused by: or
if you make it pragmatically configurable then it shouldnt matter what
IOC you use, after all thats the point. i think @Transactional is
pretty much a standard by now and you can make that work via guice or
spring or any other aspect you want to have in your environment
-igor
On Tue, May 20,
But, if you're already using spring as a dependency (by using
@Transactional), then why use another IoC container?
On Tue, May 20, 2008 at 4:42 PM, Peter Ertl <[EMAIL PROTECTED]> wrote:
> guice DOES support @Transactional (and any other AOP Alliance interceptor)
>
> it's called AbstractModule.b
Peter Ertl schrieb:
guice DOES support @Transactional (and any other AOP Alliance interceptor)
it's called AbstractModule.bindInterceptor()
actually, there are quite a few frameworks on top of guice using this to
implement the exact same @Transactional behaviour.
shouldn´t it be quite si
you should make it check what tag it is attached to :)
-igor
On Tue, May 20, 2008 at 1:52 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> iirc, that happens when the corresponding markup of the DateField is
> an tag and not a tag.
> DateField is a Panel (or FormComponentPanel), but not a FormComp
no, wicket does not have a component like this out of the box, but you
can easily create one yourself by wrapping the javascript on the
example page.
there are plenty of javascript driven components you can use as
examples in wicket-stuff
-igor
On Tue, May 20, 2008 at 1:35 PM, nanotech <[EMAIL P
Peter Ertl schrieb:
Don't forget to make it language independent so it runs on C#, Scala,
Fortran or Algol 68 as well :-)
well, at least scala runs on the JVM, so:
no 1: checked ;)
-
To unsubscribe, e-mail: [EMAIL PROTECTED
James Carman schrieb:
If you are creating a "product", why do you need to be able to plugin
a different IoC container (Guice vs. Spring for example)?
i do not intend to build an off-the-shelf, plug-and-run product. if you
want smth like that, use JForum.
what i want to create is a barebon
I am trying to instantiate a Panel according to an specific object. I
thought this was something related to reflection, but the panel is throwing
this exception.
Caused by: org.apache.wicket.WicketRuntimeException: There is no application
attached to current thread main
I developed a test with ju
Maurice Marrink schrieb:
Which security framework do you plan on using? ;)
*g* actually, it could use a homegrowkn one, which essentially is a
bunch of interfaces (together with a trivial impl).
sorry, that i did not (yet?) choose swarm for frontend permission
handling, but i needed something
Yes, a save dialog.
Just a normal standard download but, as there is some time consuming
processing related to the download, I want some busy icon to tell the user
that something is happening. There not all so good to see the browser
status bar and they click again and again until the save dialo
Grrr - of course!! I originally mocked it as a TextField. Thanks :-)
Michael
-Original Message-
From: Gerolf Seitz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 1:52 PM
To: users@wicket.apache.org
Subject: Re: DateField strangeness
iirc, that happens when the corresponding marku
iirc, that happens when the corresponding markup of the DateField is
an tag and not a tag.
DateField is a Panel (or FormComponentPanel), but not a FormComponent
like TextField.
hth,
Gerolf
On Tue, May 20, 2008 at 10:47 PM, Michael Mehrle <[EMAIL PROTECTED]>
wrote:
> I'm adding a DateField li
I'm adding a DateField like this:
DateField endTimeField = new DateField("eventSchedule.endTime");
Now, when I open my page I see two fields - one with the id
"eventSchedule.endTime" and one next to it, before the JS calendar icon
called 'date83'. All I want to do is to show one field foll
Hi all -
I ended up summarizing some of my day here:
http://cwiki.apache.org/WICKET/simple-fbml-redirect-with-wicket.html
Check it out if you're interested.
I'd also like to get in touch with other Wicket developers doing apps
for social networks. I searched the archives for facebook, fbml, b
guice DOES support @Transactional (and any other AOP Alliance
interceptor)
it's called AbstractModule.bindInterceptor()
Am 20.05.2008 um 22:33 schrieb James Carman:
I'm interested. I just don't know about making it ORM and container
agnostic. There are too many things you can do with
Hi,
Does wicket have a component that gives the ability to nest the various
choices with checkboxes as dropdown options.
I want to be able to put checkboxes in the dropdown along with other text
from compnent's model and user should be able to make selections by checking
one or multiple check
I'm interested. I just don't know about making it ORM and container
agnostic. There are too many things you can do with Spring that I
can't live without (like @Transactional annotations).
On Tue, May 20, 2008 at 4:29 PM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> I am interested in helping out.
I am interested in helping out. And I am sure others are too. I hope you
keep going with this idea.
Cristi Manole
On Tue, May 20, 2008 at 11:26 PM, Peter Ertl <[EMAIL PROTECTED]> wrote:
> Don't forget to make it language independent so it runs on C#, Scala,
> Fortran or Algol 68 as well :-)
>
>
Don't forget to make it language independent so it runs on C#, Scala,
Fortran or Algol 68 as well :-)
Am 20.05.2008 um 22:15 schrieb James Carman:
If you are creating a "product", why do you need to be able to plugin
a different IoC container (Guice vs. Spring for example)? Do you
think a si
If you are creating a "product", why do you need to be able to plugin
a different IoC container (Guice vs. Spring for example)? Do you
think a site admin will honestly care which container you use (or ORM
API for that matter)?
2008/5/20 Uwe Schäfer <[EMAIL PROTECTED]>:
> hi
>
> i remember someone
Make sure to do the same for body and subject.
body.setContent(msgtext, "text/html;charset=utf-8");
Thanks,
Eirik Rude
http://www.i18now.com
On Tue, May 20, 2008 at 3:23 PM, Eirik Rude <[EMAIL PROTECTED]> wrote:
> Try setHeader("Content-Type","text/plain;charset=utf-8"); on your message
> for J
Try setHeader("Content-Type","text/plain;charset=utf-8"); on your message
for JavaMail.
Thanks,
Eirik Rude
http://www.i18now.com
On Tue, May 20, 2008 at 12:13 PM, Johan Compagner <[EMAIL PROTECTED]>
wrote:
> i think that is the place where you should look
>
> If you give it as a String to java
Getting the following error. Not sure what I am doing wrong. I've seen
other JIRA issues opened along the same lines.
IllegalStateException when refreshing a WebMarkupContainer containing a
AjaxFallbackDefaultDataTable where one of the columns is a AjaxEditableLabel
which refreshes the markup con
no, nothing fancy there...
anyways, I can't seem to replicate it easily now and I don't have time for
further investigation.
sorry for your time and also thank you for it.
i will definitely try later.
On Tue, May 20, 2008 at 8:59 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> also, what does y
That seems to be working fine now. It's sometimes easy to ignore/forget
the underpinnings of how wicket works. Obviously, to wicket this is a
submit button and the form was being processed prior to closing the
modal.
Thanks a lot for your help :-)
Michael
-Original Message-
From: Maurice
Which security framework do you plan on using? ;)
Maurice
2008/5/20 Uwe Schäfer <[EMAIL PROTECTED]>:
> hi
>
> i remember someone asking for a wicket based forum few weeks ago. i plan to
> build one within the next few months. is there anyone interested in
> contributing code, ideas, reviews, test
See Button#setDefaultFormProcessing and you would call it either in
the constructor of the button or directly after constructing the
button. onsubmit is too late.
Maurice
On Tue, May 20, 2008 at 8:49 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> I looked for that call, but couldn't find it - co
Or you can wrap the LDM in a CompoundPropertyModel and set that as the
model of parent panel, that way your subpanels do not need to have
there own model and they will trigger a load on the LDM.
Maurice
On Tue, May 20, 2008 at 6:23 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> so you have
> Pa
I looked for that call, but couldn't find it - could you please point me
in the right direction?
Also, I assume setting this in the cancel button's event handler would
be sufficient?
Thanks for your input.
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
It turns off form validating and model updating, giving you full
control to this yourself or skip it all together.
In the case of a cancel button the latter is generally what you want.
Alternatively you can use a plain link so your form does not even get submitted.
Maurice
On Tue, May 20, 2008 a
Hello,
I'm interested in the following behavior for an auto complete text field,
which is to contain a phone number:
-> when the user starts typing a phone number in the text field, the
autocomplete will present information structured like this [number] -
[name].
-> when the user selects a [numbe
Not that I am aware of - don't know that setting. What would that do
exactly?
-Original Message-
From: Maurice Marrink [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 12:02 AM
To: users@wicket.apache.org
Subject: Re: Strange problem cancelling out of a modal
Does your cancel butt
Agreed. I will open a new bug report.
- Jarmar
igor.vaynberg wrote:
>
> our jira is a much better place for bug reportsissues.apache.org
>
> -igor
>
> On Tue, May 20, 2008 at 11:12 AM, jfowler06 <[EMAIL PROTECTED]> wrote:
>>
>> AjaxFormComponentUpdatingBehavior works with Firefox, but not
our jira is a much better place for bug reportsissues.apache.org
-igor
On Tue, May 20, 2008 at 11:12 AM, jfowler06 <[EMAIL PROTECTED]> wrote:
>
> AjaxFormComponentUpdatingBehavior works with Firefox, but not IE7.
> The error in the wicket debug window is: Could not locate ajax transport.
> Yo
AjaxFormComponentUpdatingBehavior works with Firefox, but not IE7.
The error in the wicket debug window is: Could not locate ajax transport.
Your browser does not support the required XMLHttpRequest object or wicket
could not gain access to it.
I created this simple example to demonstrate the is
On Tue, May 20, 2008 at 8:27 AM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Thanks Igor,
>
> I'd been checking all the api for "getXXX" and skipped that.
>
> How do I get the scope to the repeater inside the isVisible of the Border?
pass it in and keep it as a field? make it an anonymous class and
also, what does your code look like that creates a new instance of
session (application.newsession())
-igor
On Tue, May 20, 2008 at 10:58 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> do the two users have different session ids? try printing it out from
> your authenticate method.
>
> -igor
>
>
do the two users have different session ids? try printing it out from
your authenticate method.
-igor
On Tue, May 20, 2008 at 7:59 AM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> well, i figured it was just me... so I quit bothering you guys with
> something that's ... just me... :)
>
> i'm using
that is why formcomponents have a setLabel(IModel) whose text
is then available via ${label} place holder.
-igor
On Tue, May 20, 2008 at 7:14 AM, Hoover, William <[EMAIL PROTECTED]> wrote:
>
> What does everyone think about updating the Wicket core validators to
> contain an optional IModel?
>
>
hi
i remember someone asking for a wicket based forum few weeks ago. i plan
to build one within the next few months. is there anyone interested in
contributing code, ideas, reviews, tests or criticism?
it is going to be as modular as i can get it, and should play nicely
with guice as well as
so you have
Panel
SubPanel1
SubPanel2
all three of them have a LoadableModel
and the 2 subs depend on the Parent panel?
But does the parent panel itself do anything with the data?
do you call getModelObject on it? or getModel().getObject() ?
if not that you dont need to give that panel the
final MyPanel[] firstPanel =new MyPanel[1];
ListView featuresList = new ListView("listView", myList) {
protected void populateItem(ListItem item) {
MyPanel panel = new MyPanel("panel", item.getModelObject()));
if (firstPanel[0] == null) firstPanel[0] = panel;
item.add(panel);
}
}.
where do you want get the first panel?
On Tue, May 20, 2008 at 5:46 AM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I need to get access to the first panel added to a list item in
> onBeforeRender from its parent.
>
> I have the following
>
> ListView featuresList = new ListView("listView"
i think that is the place where you should look
If you give it as a String to java mail then there is where the encoding
takes place.
johan
On Tue, May 20, 2008 at 5:21 PM, Piller Sébastien <[EMAIL PROTECTED]>
wrote:
> Hi Johan,
>
> Well, I then use the string returned by StringResponse#toStrin
Thanks for the encapsulation suggestion ... as I described in my previous
reply, this situation might be a bit out of the normal for models, but the
encapsulation helps.
jwcarman wrote:
>
> I think maybe you're using models incorrectly, then. If you need the
> model object, call panel.getModel
I have a parent panel that has several sub panels that are indirectly
dependent on their parent's model. By that I mean the parent panel's model
needs to load data that is independent of the data loaded in the sub panels,
but the sub panels are dependent on the data loaded by the parent to load
t
I think maybe you're using models incorrectly, then. If you need the
model object, call panel.getModelObject() and that will, in turn, call
the load() method.
On Tue, May 20, 2008 at 11:55 AM, msmall <[EMAIL PROTECTED]> wrote:
>
> Yes. I'm just invoking the load method directly in my overriding
But why?
In any case, you can just call getModelObject() on the panel to get
the loaded object. Which is much better from an encapsulation pov.
Martijn
On Tue, May 20, 2008 at 5:55 PM, msmall <[EMAIL PROTECTED]> wrote:
>
> Yes. I'm just invoking the load method directly in my overriding
> onBef
Yes. I'm just invoking the load method directly in my overriding
onBeforeRender method of the panel. Works just fine ... I just expected the
component to handle without my manual involvement.
jwcarman wrote:
>
> Do you *need* it to load?
>
> On Tue, May 20, 2008 at 11:45 AM, msmall <[EMAIL PR
But when a component can't be used with a recent Wicket release, there
is little or no use for it IMO.
I like the fact that many folks have contributed to wicket stuff, but
I think there is little reality in giving each project its own release
cycle. Though for popular javascript libraries such as
Do you *need* it to load?
On Tue, May 20, 2008 at 11:45 AM, msmall <[EMAIL PROTECTED]> wrote:
>
> And thanks for the help.
>
>
> jwcarman wrote:
>>
>> If it doesn't need the object (nothing's using it), then why would it
>> call load()?
>>
>> On Tue, May 20, 2008 at 11:24 AM, msmall <[EMAIL PROTEC
And thanks for the help.
jwcarman wrote:
>
> If it doesn't need the object (nothing's using it), then why would it
> call load()?
>
> On Tue, May 20, 2008 at 11:24 AM, msmall <[EMAIL PROTECTED]>
> wrote:
>>
>> No, I'm just wiring up the panel so it does not have any subcomponents
>> yet.
>> Re
I certainly understand from a performance standpoint, but all the
documentation (reference and API) makes no reference to this subtlety. In
fact, the reference documentation implies that you can attach a detachable
model to any component and it will auto-magically handle the load on all
requests.
If it doesn't need the object (nothing's using it), then why would it
call load()?
On Tue, May 20, 2008 at 11:24 AM, msmall <[EMAIL PROTECTED]> wrote:
>
> No, I'm just wiring up the panel so it does not have any subcomponents yet.
> Regardless, I'm confused as to why Panel, as a Component, would n
Thanks Igor,
I'd been checking all the api for "getXXX" and skipped that.
How do I get the scope to the repeater inside the isVisible of the Border?
igor.vaynberg wrote:
>
> repeatingview.size() should do it
>
> -igor
>
>
> On Tue, May 20, 2008 at 6:39 AM, Ned Collyer <[EMAIL PROTECTED]>
No, I'm just wiring up the panel so it does not have any subcomponents yet.
Regardless, I'm confused as to why Panel, as a Component, would not handle
this on its own.
jwcarman wrote:
>
> Does the panel ever use its model? Do you have any subcomponents that
> try to access their parent's (the
When you don't use the model, it is not used. A panel doesn't do
anything by itself.
When you add a label, the model is needed to render the label value,
so it will retrieve the data, and hence use the load() method.
Martijn
On Tue, May 20, 2008 at 5:19 PM, msmall <[EMAIL PROTECTED]> wrote:
>
>
Does the panel ever use its model? Do you have any subcomponents that
try to access their parent's (the panel's model)?
On Tue, May 20, 2008 at 11:19 AM, msmall <[EMAIL PROTECTED]> wrote:
>
> I have a panel that has a LoadableDetachableModel as its model (i.e. I'm
> calling this.setModel(new Load
Hi Johan,
Well, I then use the string returned by StringResponse#toString on
Javamail, with that code:
BodyPart htmlBodyPart = new MimeBodyPart();
htmlBodyPart.setContent(htmlBody, "text/html");
multipart.addBodyPart(htmlBodyPart);
...
Is it possible to be a javamail issue?
I gue
I have a panel that has a LoadableDetachableModel as its model (i.e. I'm
calling this.setModel(new LoadableDetachableModel() { ... }) in the
constructor of my panel, but this load method of the model is never invoked.
If I use that model in another component, such as a Label, it works
correctly.
Hi, I have a repository storing many images somewhere on the server. The
hierarchy is like : C:\Images\\MM\DD.jpg
I want to be able to create a dynamic Image object (or ContextImage or
whatever works with ) with one of the images
stored in my repository.
I can't figure out how to do it, can so
repeatingview.size() should do it
-igor
On Tue, May 20, 2008 at 6:39 AM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have a border I've applied to a repeater.
> When items are removed from the repeater - and its effectively empty, I'd
> like to hide the border.
>
> I'm not sure how to go
well, i figured it was just me... so I quit bothering you guys with
something that's ... just me... :)
i'm using tomcat, no clustering.
this is my websession class:
package com.fx.core;
import java.security.NoSuchAlgorithmException;
import org.apache.commons.logging.Log;
import org.apache.comm
On Tue, 20 May 2008, Wilhelmsen Tor Iver wrote:
> http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embed
> ded-in-html
>
> So in your callback handler for "success" you would put something like
>
> getElementById('theImage').src = 'data:image/jpeg;base64,' .
> this.respons
we kind of have that support in AbstractValidator
protected Map variablesMap(IValidatable validatable)
{
final Map resourceModel = new HashMap(1);
return resourceModel;
}
the problem is that somehow it should do a call back to the IValidatable
(which is FormComponent m
On Tue, May 20, 2008 at 3:55 AM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Today I tested an application on a number of computers (if it's useful know
> that they were in the same network).
>
> What I found out is that the wicket session was shared among them when
> wicket was started i
what do you want to do with that picture?
what should happen?
a save dialog? (attachement?)
if that is the case then the best thing i guess to do is use a normal link
or use an ajax link that sets the window.location.href = xxx in a piece of
javascript.
(maybe inside a iframe?)
johan
On Mon, Ma
What does everyone think about updating the Wicket core validators to
contain an optional IModel?
Simple Use Case:
# properties file
label.myminimum=My Object at row: {0} with value '${input}' must be
smaller than ${minimum}
...
final RefreshingView myView = new RefreshingView("tr-my-object-view
what are you doing with that StringResponse?
Because that string response still is just java so UTF
when that string is streamed or converted to bytes you should do something..
johan
On Mon, May 19, 2008 at 1:24 PM, Piller Sébastien <[EMAIL PROTECTED]>
wrote:
> Hello guys,
>
> I have a problem
1 - 100 of 132 matches
Mail list logo