If you have working dojo-wicket classes, we would be very happy ot add
them to the contrib-dojo project.
Marco
Ali Zaid schreef:
Hi Eelco;
Thanks for your reply, it's working now, just minutes before your
email arrive, anyway, it work now with dojo (put not with prototype),
the problem
Your mistake is probably caused by a javascript variable name which we
have not changed.
function stringProperty_validate(componentUrl, componentPath, field) {
I take that you used our ajax validation code as an example. The second variable is incorrectly named componentPath (probably from
that's it!
karthik Guru schreef:
Changing the callback url to
/WicketWorld2/app?path=1:form:ageinterface=IBehaviorListenerbehaviorId=1age=25
seems to work. So you dont need to pass in the full component path?
1:form:age=25 //does not work
age=25//works
karthik
On 1/31/06, karthik Guru
raises his hands
Eelco Hillenius schreef:
Hands up for Igor!
Eelco
On 1/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
for anyone interested, partial rendering of the page is being worked on
here:
wicket-sandbox/users/ivaynberg/wicket-partial
i havemost of it working well. after more
Ok, Igor is right about the ListView. You will need to encapsulate it in
a WebMarkupContainer to make it wipeable. I updated the FXOnClickWiper
code in CVS so that it is also compatible with single ListItems. You can
add it in the populateItem() method.
NOTE: if you use the
/div
/thomas
Marco van de Haar wrote:
Ok, Igor is right about the ListView. You will need to encapsulate it
in a WebMarkupContainer to make it wipeable. I updated the
FXOnClickWiper code in CVS so that it is also compatible with single
ListItems. You can add it in the populateItem() method
I'm not a core dev, so I have a lot of trouble checking out anon CVS, so
I'm using wicket HEAD from about a week ago.
When I build a war file from my project and deploy it in Jetty, I get
the following error on page load:
java.lang.RuntimeException: Internal error cloning object
at
/06, *Marco van de Haar * [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I'm not a core dev, so I have a lot of trouble checking out anon
CVS, so
I'm using wicket HEAD from about a week ago.
When I build a war file from my project and deploy it in Jetty, I get
the following
We have released a new binary version of our examples package. It
includes multiple small fixes to older components and a brand new
Ajax-based RSS reader. Since our new examples work on wicket 1.2 CVS, we
have not made an official release yet. A SNAPSHOT release will follow soon.
The code is
ImmediateCheckbox (ImmediateUpdateHandler) uses
renderheadInitContribution to make a Javascript contribution to the Page
(immediateCheckBox()). However, the method's Javadoc says :
Do a one time (per page) header contribution that is the same for all
ajax variant implementations (e.g. Dojo,
wicket-contribute-dojo no longer work.
wicket contrib dojo 0.31 does not work with wicket HEAD. However, you
could check out contrib-dojo from CVS and this should work with wicket
head.
The only error should be in a class named FeedContainer.java, which is
an expirimental Ajax RSS class
)
On 12/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
you should use requestcycle.setResponseTarget with ComponentRequestTarget
Eelco
On 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote:
Is there any concrete
ImmediateCheckbox (ImmediateUpdateHandler) uses
renderheadInitContribution to make a Javascript contribution to the Page
(immediateCheckBox()). However, the method's Javadoc says :
Do a one time (per page) header contribution that is the same for all
ajax variant implementations (e.g. Dojo,
(and how the
SimplePageTest works)
On 12/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
you should use requestcycle.setResponseTarget with ComponentRequestTarget
Eelco
On 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote:
Is there any concrete (simple) code example for rerendering
.
Just my 2c.
Christian
On Thu, 08 Dec 2005 09:47:56 +0100, Marco van de Haar
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
To clarify the reason for the restriction, in order to make an
Ajax call
to a component we need the component's Url
for FXValidationAjaxHandler because MyPanel is not added
into Page yet !
no idea how to fix this.
On 12/7/05, *Marco van de Haar* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
We have released 0.31 of the contrib-dojo package (well
ok, Martijn
did
Ingram Chen wrote:
Thanks for the fix, I will try it next release.
Another small bug I found is inner class FXAjaxValidationHandler.RGB does
not implement Serializable. Hope this can be fixed too.
Thanks in advance !
On 11/28/05, *Marco van de Haar* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED
Is there any concrete (simple) code example for rerendering a part of a
page? I tried myRequestCycle.request(myComponent), but all I got were
huge errors in my console.
Ari Suutari wrote:
Hi,
Project wicket-stuff contains already some AJAX components
(scriptaculous and dojo based ones).
Well we tried maven clean dist and maven clean jar:install. Even
manually deleting the jar from the repository first, and just linking to
an external jar instead of the reposistory We even tried building on
another machine to prevent obscure caching errors. We tried running
the
yes, did not htink about that...
please request a build and we will be able to update it.
Marco
Eelco Hillenius wrote:
If you wan't to contribute, feel free to do so. :)
Erm... he doesn't have commit rights? :)
I think it is an open RFE to upgrade this js files, right?
Eelco
-Original Message-
From: Marco van de Haar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 30 November 2005 5:49 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] New Wicket-contrib-dojo release
yes, did not htink about that...
please request a build and we will be able to update
We've released a SNAPSHOT release of wicket-contrib-dojo, which is not
much more then our 0.3 release with a few fixes:
-maven building should work now for both contrib-dojo and
contrib-dojo-examples
-the examples WAR file should be deployable in a Jetty instance now
-FXValidationAjaxHandler
I isolated the problem to the onComponentTag(final ComponentTag tag)
method in our AjaxHandler.
There we directly ajusted the componnent's attributemap. This, ofcourse,
is not supposed to work because the map is often immutable. It does seem
to work however, for textfields, and not for
We fixed the FXAjaxValidationHandler so that is supposed to work with
all FormComponents now, as was intended.
We tested it on a TextArea and it works fine. The fix is not in the 0.3
release, but you can check out wicket-contrib-dojo
FXValidationAjaxHandler.java We will add the fixed handler to
Dipu wrote:
Hi Ryan,
I am using the ajax autocomplete text box you have developed for
wicket. But in my case the div layer spans over a select box,
so on IE it goes behind the select box. I tried nesting it in another
div with postion:relative as in scriptaculous autocomplete example,
but
Does anyone know if it is at least possible to make a custom
FeedbackPanel which displays messages only for a specific component?
I want to make an extended FeedbackPanel which only shows messages for
Component fc.
See code below. But when I display my panel I see the feedbackmessages
for ALL
on it
and provide your own message filter.
-Matej
Marco van de Haar wrote:
Does anyone know if it is at least possible to make a custom
FeedbackPanel which displays messages only for a specific component?
I want to make an extended FeedbackPanel which only shows messages
for Component fc
using? I'm using 1.1 and I'm having no
problems with it.
-Matej
Marco van de Haar wrote:
I thought I did that:
//in constructor, where fc is the desired component
filter = new ComponentFeedbackMessageFilter(fc);
and
protected IFeedbackMessageFilter getFeedbackMessageFilter
I don't really know if it's up to date, but you could check
http://www.wicket-wiki.org.uk/wiki/index.php/For_Tapestry_Users
in the Wicket wiki
Marco
Detlef Schulze wrote:
Sorry, should read: tapestry and wicket or wicket and WebObjects of
course ...
-Original Message-
:
why not add it inside the panel?
Juergen
On 11/14/05, Marco van de Haar [EMAIL PROTECTED] wrote:
We built a custom Tooltip which extends panel. In order to make ik IE
compatible we need to render a simple IFRAME with some static content
after we render our component. We want to make our
Martijn
On 11/15/05, *Marco van de Haar* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
This would not work. My IFRAME is used to fix MSIE's anyoying
behaviour
to ignore a DOM node's z-index when it is over windowed controls (i.e.
SELECT box), which is pretty crucial
I want to make an extended FeedbackPanel which only shows messages for
Component fc.
See code below. But when I display my panel I see the feedbackmessages
for ALL of the components that are invalid.
I checked the soString() for FC:
[MarkupContainer [Component id = integerProperty, page = No
We built a custom Tooltip which extends panel. In order to make ik IE
compatible we need to render a simple IFRAME with some static content
after we render our component. We want to make our Tooltip easy to
extend, so I can not put it in HTML.
Normally you could put something like
upon page render for WebComponents.
Juergen, could you please take a look at this?
Juergen Donnerstag wrote:
I think Eelco fixed it already in HEAD
Juergen
On 11/8/05, Marco van de Haar [EMAIL PROTECTED] wrote:
That would, ofcourse, be the perfect solution. Do I have to report a bug
We're trying to test a TextField wit a FormFeedbackIndicator. but we
keep getting a 'the following Components failed to render' error on
testform.indicator.FormFeedbackIndicator when we submit the form with
errors.
java:
...
testfield = new RequiredTextField(text, new
Typo, sorry, ofcourse I meant FormComponentFeedbackIndicator
We're trying to test a TextField wit a FormFeedbackIndicator. but
we keep getting a 'the following Components failed to render' error on
testform.indicator.FormFeedbackIndicator when we submit the form with
errors.
java:
...
);
}
Maby one of the core developers could look at this
Ruud
Marco van de Haar wrote:
I dived into the wicket core code and I ended up in
WebComponent.renderHead().
Since I noticed that getBodyOnLoad() was only called for
FormComponents and WebMarkupContainers I expected a difference
? If so, it must be easy to fix.
Marco
That should work. Might be a bug. Could you pls try to step into it?
Eelco
On 11/4/05, Marco van de Haar [EMAIL PROTECTED] wrote:
I encountered somewhat unexpected behavior when I tried using
getBodyOnloadContribution().
When adding custom Ajaxhandlers
I encountered somewhat unexpected behavior when I tried using
getBodyOnloadContribution().
When adding custom Ajaxhandlers to components I noticed that the
getBodyOnloadContribution() is not called when I added the handler to an
Image or a Label. It was however called upon loading the page when
We're developing Dojo FX which require some javascript to be added to
the page. Our FX extend DojoAjaxHandler so we can make header
contributions. Only problem now is an efficiency problem. Currently a +-
15 line javascript function is added to the page everytime an effect is
added. I have
/31/05, Juergen Donnerstag [EMAIL PROTECTED] wrote:
I don't know much about the AjaxHandler, but with markup
(wicket:head) copying is done only once by default. May be you can
take a look at the existing code.
Juergen
On 10/31/05, Marco van de Haar [EMAIL PROTECTED] wrote:
We're
I hav a class extending AjaxHandler. Can this class contribute to the
body onload? as in... i want to to execute function init() onload.
I tried overriding |*getBodyOnloadContribution
http://wicket.sourceforge.net/apidocs/wicket/AjaxHandler.html#getBodyOnloadContribution%28%29*()|to
return
instance.
-Igor
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*Marco van de Haar
*Sent:* Thursday, October 20, 2005 10:38 AM
*To:* wicket-user@lists.sourceforge.net
*Subject:* Re
PROTECTED] *On Behalf Of
*Marco van de Haar
*Sent:* Thursday, October 20, 2005 10:38 AM
*To:* wicket-user@lists.sourceforge.net
*Subject:* Re: [Wicket-user] Tutorials on usiong contrib.dojo.Tooltip
I had a quick look at the code, and I think I saw the problem.
We really didnt
We've added 2 tutorials on our weblog on how to use our custom Tooltip
class.
Feel free to check it out and start building your very own Wicket tooltips.
basic tooltip tutorial
http://www.jroller.com/page/ruudmarco?entry=tooltip_tutioral_part_one
dynamic tooltip tutorial
an AjaxHandler. You
could then do:
Tooltip t = new Tooltip(new Model(here's the tip));
someComponent.add(t);
What do you think?
Eelco
On 10/20/05, Marco van de Haar [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
We've added 2
of the targetcomponent i hover over.I don't know if i ma using it in a wrong way.RegardsDipu- Original Message -From: Marco van de Haar
[EMAIL PROTECTED]To: wicket-user@lists.sourceforge.netSent: Thursday, October 20, 2005 3:48 PM
Subject: Re: [Wicket-user] Tutorials on usiong contrib.dojo.Tooltip sorry
the target bij getElementByID().
this ofcourse, does not work when all the id's are the same.
I'll try to find a solution tomorrow... anyone any suggestions?On 10/20/05, Marco van de Haar [EMAIL PROTECTED]
wrote:Haven't tried it yet. I will give it a try tommorrow and let you know...
On 10
We've added an ImmediateTextField (copied from ImmediateCheckbox) in
contrib.dojo.
not much work, but we needed it for testing, feel free to check it out ;)
---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free
does anyone know where to find an example of AttributeModifier.newValue?
|
new AttributeModifier(myAttribute, model) { protected String
newValue(final String currentValue, final String replacementValue) {
return currentValue + replacementValue; } };
i need to append 2 styleattributes to my
Nevermind, foudn one bvy digging deep...
does anyone know where to find an example of AttributeModifier.newValue?
|
new AttributeModifier(myAttribute, model) { protected String
newValue(final String currentValue, final String replacementValue) {
return currentValue + replacementValue; } };
We 've completed the first version of our HTMLTooltip component. It
inherits from Panel so you can write your custom tooltip with it's own
html/css as you were writing a panel and bind it to a target component.
it works really well except for 1 small detail (well. smal.).
to use the
See illustrated versieon of the problem here:
http://www.jroller.com/comments/ruudmarco/Weblog/tooltip_problem
---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more.
Hi,
We are currently trying to implement the Dojo HTML effects into Wicket.
Our first Idea was to use a decorator kind of approach on the Wicket
Component. This however proved quite problematic since a decorator has
to extend and pass on the components complete interface. with
Component
We're currently building a javascript html layout tooltip based on a
panel.
public class Tooltip extends Panel
{
..
}
in order to make the javascript work we need to set 2 style attributes
for the tooltip
visibility:hidden;
z-index:2;
how can we best accomplish this?
We are conducting a small market research
concerning the
demand of Ajax
functionality within
the Wicket framework.
We are a team of 2 software
engineering trainees who have
some experience using Java/swing and Html. As we start on this project
we have
no previous experience with Ajax
and any
of integrating
some AJAX functionality within Wicket.
We hop hope to make a nice contribution to the Wicket-stuff project and
the Wicket community.
regards,
Marco van de Haar ([EMAIL PROTECTED])
Ruud Booltink ([EMAIL PROTECTED])
---
SF.Net email
57 matches
Mail list logo