Looking in the code of AjaxLink I see no special code for
enabled/disabled state.
If it fits what you need, you could try AjaxFallBackLink.
Otherwise try to extend AjaxLink and override the method
renderComponentTag in which you remove the onclick attribute from the
tag. (Don't forget to call s
silly me - apologies! This is what I did.
public class QuickStartPanel extends Panel {
public QuickStartPanel(String id) {
super(id);
add(new AjaxFallbackLink("ajaxLink"){
@Override
public void onClick(AjaxRequestTarget ajaxTarget) {
Fragmen
If you disagree you are welcome to argue with me, but you are buying!
This year's conference was littered with talk and demos on SOA, ESB, Web
Services, orchestration etc.
However, the real world is full of examples of asynchronous processes that deal
successfully with exactly the same issues.
I
On 11/28/06, cowwoc <[EMAIL PROTECTED]> wrote:
>
> Anyone ever look into Mr. Persister? Is it any good?
> http://www.jenkov.com/mrpersister/introduction.tmpl
>
I have and think this is better than ibatis, but my boss like to stick
with ibatis because of the large user base
---
Hello,
just wondering if this a bug or a feature.
Using one of the AjaxLink samples included in the Wicket examples, it seems
that the setEnabled flag is ignored for AjaxLinks.
i.e ajaxLink.setEnabled(false);
Seems to have no effect.
Is this a feature or defect etc?
Thanks.
--
View this mes
Hi Alberto,
I think a more elegant solution is being worked out in 2.0, but for now I've
been doing something like this:
public class MyJavascriptGizmo extends AbstractBehavior {
public void bind (Component component)
{
component.getWebPage
().getBodyContainer().addOnLoadModifier(ge
My problem is that I want to call to a javascript method after the
rendering of a page or after the rendering of the component with ajax.
Now I have a border and I want to add in the component an onload event.
For instance:
The alert runs correctly if I use the border in the
class MyPanel { private final FeedbackPanel fp; public boolean
isvisible() { return fp.anymessage(); }}
-igor
On 11/28/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote:
I've developed a custom component (extends Panel) which wraps a
FeedbackPanel. I want to show or hide my panel based upon w
I've developed a custom component (extends Panel) which wraps a
FeedbackPanel. I want to show or hide my panel based upon whether feedback
messages are present. I've tried implementing onComponentTag, onBeforeRender
by:
if (getSession().getFeedbackMessages().isEmpty()) {
Add an attribute modif
this comes up very often
choices set and read their selection from their model object so all you have
to do is initialize the model object to the value you want selected
-igor
On 11/28/06, Vincent Renaville <[EMAIL PROTECTED]>
wrote:
Dear,
I search a solution for this problem, I have store
Dear,
I search a solution for this problem, I have store Dropdownchoice
selected item into my database. If the user want he can retrieve the
data from the DB, but how to set the selected choice of a
Dropdownchoice , to the value that it stores into the DB.
Hi hope you understand me :)
Kind regar
or better yet pass a loadabledetachablemodel that can load the address to
the panel instead of the address object directly. that way you dont need to
mess with onattach.
-igor
On 11/28/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote:
Marc,
Thank you! I'll try that!
- Johannes
Marc-Andre
hmm, so it seems like when you paste a url into an already opened window the
window.name attribute is not reset back to null. this is rather unfortunate
because it is what we use to create an autopagemap. if you are talking about
just pasting a url into another window there is no way to create it
Marc,
Thank you! I'll try that!
- Johannes
Marc-Andre Houle wrote:
> Probably you init the panel in the constructor, maybe try to
> initialize the panel in the onAttach() method. When using this
> method, it reload the data every time the page is refreshed.
>
> Marc
>
> On 11/28/06, *Johann
Got this sorted out. The problem was on my end - the model object was
null. Apologies.
On 11/28/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
please add an issue to our jira.
On 11/27/06, Nick Heudecker <[EMAIL PROTECTED]> wrote:
>
> I just had a chance to test "notice.notice". Here's what
Anyone ever look into Mr. Persister? Is it any good?
http://www.jenkov.com/mrpersister/introduction.tmpl
Thanks,
Gili
signature.asc
Description: OpenPGP digital signature
-
Take Surveys. Earn Cash. Influence the Fu
Probably you init the panel in the constructor, maybe try to initialize the
panel in the onAttach() method. When using this method, it reload the data
every time the page is refreshed.
Marc
On 11/28/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote:
Igor,
Thank you for your help. I've tried
please add an issue to our jira.
On 11/27/06, Nick Heudecker <[EMAIL PROTECTED]> wrote:
I just had a chance to test "notice.notice". Here's what I got:
java.util.MissingResourceException: Unable to find resource: notice for
component: regInProgress
On 11/26/06, Martijn Dashorst <[EMAIL PR
I just tried this jdk:
http://www-128.ibm.com/developerworks/java/jdk/eclipse/
This is J9 from IBM which is java5 jdk as far as i can see.
And what that jdk can do is method additions!
In my first simple test i could rename a method in a class and re factor all
the calls to it. And the next time
Hey,
Was just curious and checked your site. One of the job requirements is:
*Be able to repeatedly lift 5-20 pound boxes.
*Note that people in this group can't lift hardware. We lift heavy duty
software so we don't need muscles, just a reminder :-)
On 11/28/06, Rhonda <[EMAIL PROTECTED]> wrote
Good day Sir/Madam,
We inform you about new vacancies in eCommerce Internet Company.
If you are interested in our offer, please, write an e-mail to our manager
Eric Delisle and visit our website
http://www.e-c0mmerce.us/jobs.html to receive a Representative
Contract and detailed information about
PageMaps don't write anything to an outputstream. Do you run your app in
deployment or development mode? (in development the pages are tested for
serialization)
The qeustion is even with the settings you do there. Do you still really
have more then one page in the session as an attribute?
Debug t
Hi all,
Our web-application is getting OutOfMemoryErrors and PageMaps seem to be
the cause (they seem to be writing a lot to an outputstream), I've been
trying to disable them, but they keep showing up with multiple instances
of the same page in the session (which is not needed in our case). I'
RequestCycle.get().setRequestTarget(new
BookmarkablePageRequestTarget(pagemal,clss,params);
RequestCycle.get().setRedirect(true)
johan
On 11/28/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi all,
Component.setResponsePage(Class cls, PageParameters params) creates a
bookmarkable page.
However
Hi all,
Component.setResponsePage(Class cls, PageParameters params) creates a
bookmarkable page.
However I cannot determine in which page map it is created.
How can I overload this method setResponsePage(String pageMapName, Class
cls, PageParameters params) ?
Thanks,
-- Nili
--
Igor,
Thank you for your help. I've tried exactly that already. The problem
was that the address panel didn't show the new address when the
"back"-Page was opened after editing the address.
Any ideas how to make it show the updated address?
- Johannes
Igor Vaynberg wrote:
> in the address pan
If 2 browser tabs are already open and I paste the same URL into both
tabs they are both created in the same page map.
WebPage.onNewBrowserWindow() hook is never called if the tabs are
already open.
Thus, after the first is refreshed by Ajax, the second fails to refresh
by Ajax.
How can I VERIF
we could make the namespace a setting.
Or maybe we could make all those statics a property...
johan
On 11/27/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
One of the ideas behind IRequestCodingStrategy was to enable this.
Unfortunately, the default implementation of this,
WebRequestCodingStr
28 matches
Mail list logo