Hi,
We're using plugins similar to Eclipse's to decouple functionality. Each
plugin's classes run in their own class loader.
We've encountered a problem in onNewBrowserWindow(). it uses
Objects.cloneObject(), which uses the default ObjectInputStream, that uses the
class loader associated with
Hi all.
Is component like Modal Dialog exist in wicket framework?
Dmitry.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
Hi all,
What ist he correct type for a radio button property model?
I want to use RadioButtons with AJAX. I have found a hint in the mailing
list archive that I have to use RadioGroup and add an ajax event to each
Radio Object in the radio group. This works.
But now: when I want one of the radio
As a side note, you still can pass in the full object, even in 1.2,
that is what we are doing in our application constantly. You do have
to be careful to always use the shared model, otherwise you'll get
LazyInitialization exceptions...
Sharing the model between components on one page is a good
Not at this time. Shouldn't be too hard to do, but we're still waiting
for someone to contribute it :)
Eelco
On 7/17/06, Арву Оетук [EMAIL PROTECTED] wrote:
Hi all.
Is component like Modal Dialog exist in wicket framework?
Dmitry.
Well,should i say i have specifics yet, okay yesterday i was trying to make a small customizable menubar widget and i needed a way to ensure that an time i want to reuse it or even give it out for others to use, they can simple change certain general schemes in the CSS like border color,
Did you take a look at what's in wicket.extensions.util.resource? I
think that package has exactly what you are looking for, e.g.
PackagedTextTemplate.
Eelco
On 7/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
Well,
should i say i have specifics yet, okay yesterday i was trying to make a
really?...shit!!..thanksOn 7/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Did you take a look at what's in wicket.extensions.util.resource? Ithink that package has exactly what you are looking for, e.g.PackagedTextTemplate.EelcoOn 7/17/06, Ayodeji Aladejebi
[EMAIL PROTECTED] wrote: Well,
That package is just a few months old :) If you come up with some
useful contributions specific for CSS, I'd be happy to incorporate
them.
Eelco
On 7/17/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
really?...shit!!..thanks
On 7/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Did you
Hi All
I am calling WebMarkupContainer on Ajax call .
but WebMarkupContainer is not clear for Ajax call.
plz anybody know about solution send me a mail.
Thanks in Advance
Gangadhar A Vibhute
-
Using Tomcat but need to do
When is setObject supposed to get called, Cause I only see it get called
during
construct?
Whenever a (form)component has to update it's model contents. Or if
you call setObject explicitly of course :() Typically, a component
update is done by Form, which visits all it's children and calls
I'm not clear on what your question is. Keep in mind that you have to
call setOutputMarkupId(true) on any component you want to target
(render) with ajax requests.
Eelco
On 7/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi All
I am calling WebMarkupContainer on Ajax call .
but
Hi All
I have WebMarkupContainer code in this WebMarkupContainer there is list View
I am tragting this WebMarkupContainer on Dropdown ajax call but there is
previous output present.
I want solution for clearing this previous output
Thanks in Advance
Gangadhar A Vibhute
Hi all,
I have an AjaxLink that opens a modal dialog (which is implemented as an
iframe that displays the URL of that link).
The link is embedded inside a ListView that refreshes itself every 30
seconds via ajax.
The URL of that link is generated of course by Ajax and include session
mapping
Strange then, it seems as the extension palette does not update on a submit?
Does it somehow detach from its model?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: 17. juli 2006 12:14
To: wicket-user@lists.sourceforge.net
Subject:
Yup that fixed it, thanks...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: 14. juli 2006 15:38
To: wicket-user@lists.sourceforge.net
Subject: Re:
I'm using wicket 1.2 final and trying to use the form's 'onsubmit'
handler to prompt the user to confirm a message or not. I've tried to
solve this by adding the onsubmit to the form with a
SimpleAttributeModifier but it doesn't work, the onsubmit attribute is
simply not rendered ?!
If this
I think you should add Button(s) to the form and add onclick attribute
modifier on them (or right on to the markup input type=submit
wicket:id=submit onlick=return confirm('...');/ )
-Matej
Dorel Vaida wrote:
I'm using wicket 1.2 final and trying to use the form's 'onsubmit'
handler to
Yeah do it like that. I wouldn't know why attaching attribute
modifiers to your form didn't work though...
Eelco
On 7/17/06, Matej Knopp [EMAIL PROTECTED] wrote:
I think you should add Button(s) to the form and add onclick attribute
modifier on them (or right on to the markup input
Maybe you could send some code of what you are trying to do...
Eelco
On 7/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi All
I have WebMarkupContainer code in this WebMarkupContainer there is list View
I am tragting this WebMarkupContainer on Dropdown ajax call but there is
previous
I think Matej and Igor have been working on that. Maybe they can
comment on this.
Eelco
On 7/17/06, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,
I have an AjaxLink that opens a modal dialog (which is implemented as an
iframe that displays the URL of that link).
The link is embedded inside a
Eelco Hillenius wrote:
Yeah do it like that.
The form is submitted no matter what I return in submit button's
onclick. Eventually the solution would be to add a simple button and NOT
a submit button and force submiting the form through javascript when
pressing the button. (Which I do not
Dorel Vaida wrote:
Eelco Hillenius wrote:
Yeah do it like that.
The form is submitted no matter what I return in submit button's
onclick. Eventually the solution would be to add a simple button and NOT
Can you check the generated output, if the javascript is there? I see no
reason why
It works, sorry, I was not paying enough attention. In the first phase I
wasn't looking to the right form, the the second phase I forgot to add
the 'return' in the 'onsubmit' form handler
Correct is *add(new SimpleAttributeModifier(onsubmit, return
confirmSubmission()));* and it works with
It works, sorry, I was not paying enough attention. In the first phase I
wasn't looking to the right form, the the second phase I forgot to add
the 'return' in the 'onsubmit' form handler
Correct is *add(new SimpleAttributeModifier(onsubmit, return
confirmSubmission()));* and it works with
What URL do you exactly display in the iframe? I think the behavior is
caused by PageMap in 1.2 which behaves as stack. So to get over this you
have to put the page that is shown in the iframe to separate pagemap.
You can change the pagemap in which wicket is created by either
specifying it in
1. The generated URL is:
javascript:var
wcall=wicketAjaxGet('/page;jsessionid=66D2B1310B47081B62EE203A648CDAE8?wicket:interface=:0:statusForm:data:nodeGroups:0:deprovision::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });
2. Can you please explain what is th purpose of
Hi
Starting this over again, trying to explain more
clearly what im doing here.
Ive created a AbstractModel that pretty much
works as property model, only difference are that the setObject sets the object
and does a little bit more. My model is attached to the
This is generated url of the ajax link. you said you open a page in an
iframe, so I asked, what URL do you display in the iframe (iframe
src=??/
How do you create the iframe?
-Matej
Nili Adoram wrote:
1. The generated URL is:
javascript:var
Matej Knopp wrote:
This is generated url of the ajax link. you said you open a page in an
iframe, so I asked, what URL do you display in the iframe (iframe
src=??/
How do you create the iframe?
it is statically in the page, but hidden. the ajax link calls a javascript that
sets the
Hmm, when doing further
debug. It seems as the backing object are updated but not via the models
setObject command. Is it supposed to work like that?
Regards Nino
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Nino Wael
Sent: 17. juli 2006 15:02
To:
Hi All,
Just as an exercise, I created a custom image-component that rewrites
the source attribute to link to my own image-handling servlet.
By default, src-attributes in static HTML are corrected by
PrependContextPathHandler to include the right servlet context. However,
this behaviour is
the model of each radio returns the object that you want put into the model of the radiogroup so the type of both models is the samenew RadioGroup(foo, new PropertyModelPerson(this, person));
new Radio(bar, new Model(new Person(...)));so if you want the value to be preselected you have to put the
components whose model is backed by a collection do not always call setobject() because they work on the collection directly so there is no need to callCollection c=model.getObject();c.clear();//refill c
model.setObject(c); == NOOPand also in wicket there is a guardcomponent.setObject(c) { if
btw, when submitting a form through _javascript_ form's onsubmit is not called so you have to call it manually from the button anyways.-IgorOn 7/17/06,
Dorel Vaida [EMAIL PROTECTED] wrote:
It works, sorry, I was not paying enough attention. In the first phase Iwasn't looking to the right form,
Is there an easy way, (or an example :-)), of how to stream an Excel
(application/vnd.ms-excel) to the client ? With the beta4 version it was
working to write the bytes to wicket response's output stream and set
the content disposition etc on the http servet response, but that seem
not to work
I'm afraid I don't get the request. Could you please create a feature
request with a patch, clearly explaining what is wrong today and what
your patch fixes?
Thanks,
Eelco
On 7/17/06, Ittay Dror [EMAIL PROTECTED] wrote:
Hi,
We're using plugins similar to Eclipse's to decouple functionality.
I've been successful w/ exactly what Iman is concerned with - keeping
objects alive between requests just isn't necessary. With
detachable-models, you can request your POJOs - and they effectively
become detached (outside of Hibernate session context). You can pass
them between pages and persist
while merge is good for saving the bigger concern is stale data. you pass your pojo to the component, store it as a property, and some request later you read its property - which at this point will be stale because the pojo is detached from the session.
-IgorOn 7/17/06, Vincent Jenks [EMAIL
I want to take my first dive into Ajax with Wicket. Can anyone point
me to a useful page on the wiki... or elsewhere. Alternately, I've
read through the example code and a simple pointer toward one example
or another as best practices would be swell.
Many thanks,
Scott
--
Scott Swank
reformed
done. the request id is 1524019.
i've added more description of the problem and the solution. i think this may
happen also with osgi integration, or any other case where an object is used
that is found through a classloader different than the one wicket / tomcat is
in.
Eelco Hillenius wrote:
we do have IClassResolver woudnt that help? it helped with osgi-IgorOn 7/17/06, Ittay Dror [EMAIL PROTECTED]
wrote:done. the request id is 1524019.i've added more description of the problem and the solution. i think this may happen also with osgi integration, or any other case where an object is
if the deserialization uses it, then maybe (i'm not sure how it is used). but
in our case, every Page subclass may be in its own class loader, separate from
others, so using a singleton IClassResolver instance will not help (unless it
delegates to all class loaders, which may cause havoc). i
Try checking out the AJAX examples:
http://www.wicket-library.com/wicket-examples/ajax
I think they are really useful.
Frank
On Mon, 2006-07-17 at 11:12 -0700, Scott Swank wrote:
I want to take my first dive into Ajax with Wicket. Can anyone point
me to a useful page on the wiki... or
What's the risk of "stale" data? Primary concern
would be that someone updated the record between the time that you read the
data, and when you try to perform your own update. You can use the
Hibernate / EJB3 strategy of optimistic locking with @Version (IIRC) to prevent
stale data from
This works very well. Thank you!
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys -- and
Hi there,
we are planning to propose Wicket for a large scale migration project,
and beside my previous question about the Swing compatibility (which I
think after your nice hints is solveable, thanks!) I have some more
questions - basically the usual sales and standard stuff:
- is there any
I frequently have the need to filter the elements in a ListView.. of
course I can filter elements before passing them to ListView by creating
a new List, but it seems a lot cleaner to have an accept() method, just
like in IFeedbackMessageFilter or whatever.
ie:
add( new ListView( list,
Just out of my head. Paging which is based on windows size and list
size would need to take these into consideration. Not sure this change
is trivial.
Juergen
On 7/18/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
I frequently have the need to filter the elements in a ListView.. of
course I can
the filtering should be performed in the model - it is the perfect place for it.-IgorOn 7/17/06, Juergen Donnerstag
[EMAIL PROTECTED] wrote:Just out of my head. Paging which is based on windows size and list
size would need to take these into consideration. Not sure this changeis
Yeah, there's no problem implementing this in the model, other than the fact that there will be a list copy.
Aaron
On Mon, 2006-07-17 at 17:02 -0700, Igor Vaynberg wrote:
the filtering should be performed in the model - it is the perfect place for it.
-Igor
On
im sorry but why will there be a listcopy?that is certainly a way to go but its not the only way. from the model return a List interfcace that filters on the fly.-IgorOn 7/17/06,
Aaron Hiniker [EMAIL PROTECTED] wrote:
Yeah, there's no problem implementing this in the model, other than
Yes, a List implement that filters on the fly would avoid the copy, but probably incur greater performance hits than a single List copy (due to the Linked List nature of the filtering). The current ListView implementation only works on lists.. rightfully so because you can extract the active
another key reason for list is that the index of the list is used as a primary key to identify the right item on callbacks.-IgorOn 7/17/06, Aaron Hiniker
[EMAIL PROTECTED] wrote:
Yes, a List implement that filters on the fly would avoid the copy, but probably incur greater performance
Igor, you rock ! :-D .
Igor Vaynberg wrote:
sure it does :)
private class DownloadEulaPdfLink extends Link {
public DownloadEulaPdfLink(String id) {
super(id);
}
@Override
public void onClick() {
55 matches
Mail list logo