My IMarkupFilter implementation converts, e.g. ... to No need
to add parameters at the closing div tag.
Tom
Jean-Baptiste Quenot schrieb:
> * Igor Vaynberg:
>
>> our parser doesnt create the link of closetag->opentag until later in the
>> chain, so you have to do it on both tags.
>
> Igo
OK, I've got it running implementing a filtering IXmlPullParser, because it
seems to be the only solution to put an IMarkupFilter in front of chain.
Putting it at the end did not work because converting a ComponentTag into a
WicketTag is not possible (no access to the XmlTag of a ComponentTag.
If you please could prepare a reproducable junit test for it and add
it to JIRA, we can fix it and keep it fixed.
Eelco
On 4/12/07, ZedroS <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit and
> it doesn't work...
>
> I've tried many syn
this is how mounted page parameters are put onto the url :)
/param1/value1/param2/value2
also see
IndexedParamUrlCodingStrategy
that does
/value1/value2
and QueryStringUrlCodingStrategy
that does...you guessed it...
?param1=value¶m2=value2
you can roll your own, see how the above two are im
i emailed them back in the day they started out and asked for a free oss
license. they turned me down, and that led me to discover
mvn eclipse:eclipse -DdownloadSources=true
which downloads the dependencies and their sources (when available) and
links them to my eclipse project. so i have the so
what you want is a lot closer to how gwt works then to how wicket works:a
widget that manages its own domstate on the client, and when a change occurs
notifies the server.
this is how a wicket ajaxified widget would work:
all your render logic would be in your component (serverside), that can
em
we have a chain of imarkupfilter that process the markup and break it down
into tags and add semantic meaning to those tags.
first there is the parser itself that creates simple xmltag tags, then there
is the chain.
the first in the chain, and where i was adding my code just cause it seemed
like
you are a committer, why dont you fix it ? :)
-igor
On 4/13/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
* Igor Vaynberg:
> then you have a global javascript failure hook you can
> implement. search the wiki and the list for details.
No, I don't think we implement Ajax tim
Sorry about Tooy Li, I agree you did give us quite a few hints.
We're just very busy, and it's hard to find time to get all the things
done we need.
Anyway, I applied a slightly modified version of the patch you
proposed. Can you check it out please and acknowledge it works? It
really helps to ge
hi,
I think i have paste the enough message! actually, i pasted the message again
and again.
1. version --> current snap shot for 2.0
2. exception please check [http://www.mail-archive.com/[EMAIL
PROTECTED]/msg25968.html]
180953 [btpool0-4] ERROR wicket.RequestCycle - [Ljava.lang.String;
java.l
BTW, is there a way to do some URL rewriting in Wicket ? For example
passing the parameters in the URL with / between them ? Or change the
way the pages names are made (for example to have ../myPageClass.html
instead of the current ../myPageClass ?
Thanks in advance
ZedroS
---
Hi all
I've recently discovered World of Java
(http://www.worldofjava.org/language.do?locale=en)
It's an engine allowing to view the javadoc and the source for many
open source projects. This engine is packaged in some plugins for
Eclipse, Netbeans and IntelliJ.
It really rocks, since you're sur
I did notice namespaces for wicket javascript. I wonder what can be done to
namespace javascript associated with each component. "Nothing" is acceptable
answer, I think.
Alex
On 4/13/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
In case you didn't notice all wicket javascript (except for backward
I should also pointed out that I have implemented a DateTimeConverter, which
looks like this:
public class DateTimeConverter extends AbstractConverter {
/**
* The singleton instance for a DateTime converter
*/
public static final IConverter INSTANCE = new DateTi
In case you didn't notice all wicket javascript (except for backward
compatibility function aliases) is namespaced Wicket.
As for custom components, wicket can't parse your javascript and
namespace each identifier.
-Matej
On 4/14/07, Alexei Sokolov <[EMAIL PROTECTED]> wrote:
> It is not a big pr
It is a function of component to render itself. prependJavascript is a
method of ajax request target that evaluates javascript before
component is replaced. Those are two different things.
On 4/14/07, Alexei Sokolov <[EMAIL PROTECTED]> wrote:
> Here is a question: where should I put prependJavascr
It is not a big problem, because I can take care of namespaces myself in the
javascript (good example of using namespaces in javascipt - dojo or yui).
However, since the framework takes care of component resources, it can take
care of javascript namespaces as well. This has nothing to do with what
Here is a question: where should I put prependJavascript("whatever") ? in
onSomething(AjaxRequestTarget target) method of say AjaxLink? why? isn't is
a function of a component itself to render itself?
Alex
On 4/13/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
First you should realize that wicket
No but it does have:
public void setStarts(final DateTime starts)
Which is what I thought would be needed as the object I'm trying to save is
a DateTime object.
Johan Compagner wrote:
>
> does your session object has a setStarts(Date) ??
>
--
View this message in context:
http://w
I don't know about and , as I haven't head that there are
problems replacing those elements. But we have solid cross-browser
support for replacing and elements inside tables.
-Matej
On 4/13/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Adding tag is not browser safe?
>
> I'm not sure as
First you should realize that wicket is not about javascript
components. Wicket is about serverside components that can be
partially updated using ajax.
However, that doesn't mean that "javacript components" are not
possible. But to implement something like that you probably need a bit
deeper know
> Also, at the moment
> javascript files (and other resources) are nicely packages, but there are no
> mechanism for javascript namespaces (i'd like to see all component-related
> javascript to reside in its own private namespace on the client, so there
> are no conflicts).
How should that work th
> Adding tag is not browser safe?
I'm not sure as I haven't been involved in the recent Java script
support development much, but I thought this was all fixed in Wicket
1.3 and we don't rely on innerHtml anymore and replacing any element
should work. I could be wrong, but maybe Matej could explai
i'll just add my two cents here. I don't have a solution for you, but
i can tell you that wicket has helped me "kick ass" developing AJAX
heavy apps. The wicket API makes it extremely easy for me to get what
I need done.
It makes the easy things easy and the hard things possible. Looks
like you
This discussion is going nowhere.
Adding tag is not browser safe? First, it is not true; second - it's
not the point. Let's say i want to call 'addNewItemToMyList()' function on
the client instead. How should I do this so that my component is *reusable*
in both cases - when I update it from ajax
* Igor Vaynberg:
> our parser doesnt create the link of closetag->opentag until later in the
> chain, so you have to do it on both tags.
Igor,
I just checked the XML specification, we are not supposed to put
attributes in an End-Tag.
See http://www.w3.org/TR/xml/#sec-starttags
Can you explain
* Igor Vaynberg:
> then you have a global javascript failure hook you can
> implement. search the wiki and the list for details.
No, I don't think we implement Ajax timeout properly, which means
the failure handler will never be called. That's my experience at
least.
--
Jean-Bap
from the wiki:
"
What you typically want to do is to redraw the complete
part, because most browsers really don't appreciate when you replace
parts of a tag, especially when you are working with a .
"
just adding a line there with JS isnt browsersafe - you can however
still do it if you pro
Hi all,
how do you catch events triggered by radio choice changes? If you
simply add the ajaxformcomponentupdatingbehavior to the radiochoice,
the span which is wrapping the radios is instrumented instead of the
radios themselves:
Cheers,
Carlos
Oh, you want it for 2.0. Hold on.
On 4/13/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I just commited a fix for that. Can you test please?
>
> Eelco
>
> On 4/13/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> > Since nobody care about my complains for the
> > CryptedUrlWebRequestCodingStrate
I just commited a fix for that. Can you test please?
Eelco
On 4/13/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> Since nobody care about my complains for the
> CryptedUrlWebRequestCodingStrategy , i decide to do something for it.
>
> I notice the castexception is [Ljava.lang.String , so it me
Hello,
I'm attempting to test a panel that contains a SubmitLink. However, the
WicketTester.clickLink() method does not recognize the SubmitLink.
When I run the test, I get a stack trace stating:
wicket.WicketRuntimeException: Link testpanel:graph is not a Link, AjaxLink,
AjaxFallbackLink or A
I pasted your code in a 1.2.5 quickstart, and it works.
Can you create a quickstart that exhibits this behavior?
Martijn
On 4/13/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Actually, it works in my quickstart 1.3.
>
> But I'll see what happens in 1.2.5
>
> Martijn
>
> On 4/13/07, David Sno
Actually, it works in my quickstart 1.3.
But I'll see what happens in 1.2.5
Martijn
On 4/13/07, David Snowsill <[EMAIL PROTECTED]> wrote:
> I have been trying to get some code working and after struggling for a while
> I have narrowed it down to the following:
>
> public class Home2 extends WebP
Since nobody care about my complains for the CryptedUrlWebRequestCodingStrategy
, i decide to do something for it.
I notice the castexception is [Ljava.lang.String , so it means it's a String[]
not a String type for the cast.
I trace the method getParameter(final String key) of DecodedUrlReques
thomas,
i just dont have the time to look into this further. my hunch is that it
should work. there is nothing wrong with taking a componenttag and upgrading
it to a wickettag at any point in the chain. so do give it a try and see if
you really do hit a wall instead of playing the "what if" game.
That solution will replace element and all of its children, which is
not what I want.
I need something like one-time-use javascript behavior, which can be
attached to a component and then discarded after first rendering.
Alex
On 4/13/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
We had thi
If you don't provide a better message, then how can we solve your problem?
What is the exception? Do you use head of trunk, or some other
version? If you want us to help you, help us do that by providing the
correct information.
We have stated that we would fix bugs in 2.0, for as long we don't
h
Hi
AFAIK, 2.0 has been let down in favor of 1.3.0, so it's not a big
surprise things are broken in it, at least I think so.
BR,
ZedroS
On 4/13/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> and the customed error page also cannot work well. when i open a modal window
> by ajax link, it will ge
and the customed error page also cannot work well. when i open a modal window
by ajax link, it will generate some error. I has complained it for a long time,
but nobody care it. :( . 2.0 is really dead now.
at
wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy$DecodedUrlRequest.ge
On Thursday, 12 April 2007 02:40 am, Chris Colman escreveu:
> > Thanks, Igor, for taking the effort to answer my question. I so
>
> understand
>
> > that one of the core vision statements is separation of concerns. I am
> > evaluating Click but haven't ruled out Wicket - just that some aspects
>
>
Thanks, got the annotations approach working now :)
Turned out I did need to use the 1.2.4 version from Maven repository like
Martijn suggested as
I got an error at runtime with the 1.2.5 version from there.
Found the correct branches in svn with the example which was useful. Had
wrongly assu
I have been trying to get some code working and after struggling for a while
I have narrowed it down to the following:
public class Home2 extends WebPage {
private String resultSize = "100";
private List letters=Arrays.asList(new String[] { "10", "100", "1000"
});
public Home2() {
Matej Knopp wrote:
> Hi, it's is fixed in latest 1.x branch. Can you check if it works for you?
>
>
Hi! Yep, it works, thanks a lot! Wicket forever!!
--
Andrew Klochkov
-
Take Surveys. Earn Cash. Influence the Future of
Hi, it's is fixed in latest 1.x branch. Can you check if it works for you?
-Matej
On 4/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
> Matej Knopp wrote:
> > Second question, I assume you want to show inserted rows without
> > refreshing the entire listview? Well, this is possible to certain
Hi,
You can also consider a quick and dirty approach to getting hold of a spring
managed bean like this in the init() method of your wicket application, but
you do have to import a couple of Spring classes.
@Override
public void init() {
super.init();
ApplicationContext appli
Thanks again.
I update the wiki with it :)
++
ZedroS
On 4/12/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > However, I've one more question. What are the differences in
> > http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/ between :
> > 1.3-incubating-SNAPSHOT/
> > and
> >
does your session object has a setStarts(Date) ??
On 4/13/07, Doychi <[EMAIL PROTECTED]> wrote:
Hi Again,
The exact error message I'm getting is "WicketMessage: no set method
defined
for value: 2007-04-13T17:36:00.000+10:00 on object:
[EMAIL PROTECTED]" and the code was
accurate.
Any help is
You can quickly try this: enclose your TRs in a TBODY tag. I've run into
this IE nonsense before and this helped.
On 4/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
Matej Knopp wrote:
> Second question, I assume you want to show inserted rows without
> refreshing the entire listview? Well,
The 1.2.5 maven jars have been misplaced in some way. This will be
fixed with 1.2.6, but repository policies don't have much room for
replacing existing jars. Can't do much about that.
Wicket Spring 1.2.4 should work, as I haven't heard complaints with
those dependencies, and have been recommendin
Found the cause of the problem.
In wicket-spring-annot-1.2.5.jar the classes are packaged under
wicket.spring.injection.annot
I'd been looking at the source in svn where they are packaged under
wicket.spring.injection
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket-spring/src/main/j
Yes, but I got the same problem with
wicket-spring
1.2.4
wicket-spring-annot
1.2.4
besides, one wouldn't expect something to be in 1.2.4 but not in 1.2.5.
-Original Message-
From: [EMAIL PROTECTED] on behalf of Martijn Dashorst
Sent: Fri 4/13/2007 9:12 AM
So you're still using wicket-spring-1.2.5 :)
>
> wicket
> wicket
> 1.2.5
> compile
>
>
> wicket
> wicket-spring
> 1.2.5
> compile
>
>
> wicket
> wicket-spring-annot
> 1.2.5
> compile
>
M
Thanks for the quick reply, but wicket-spring 1.2.4 doesn't seem to have
wicket.spring.injection either.
Currently I have:
wicket
wicket
1.2.5
compile
wicket
wicket-spring
1.2.5
compile
wicket
wicket-spring-anno
Matej Knopp wrote:
> Second question, I assume you want to show inserted rows without
> refreshing the entire listview? Well, this is possible to certain
> degree, but requres some javacsript foo. You need to create the DOM
> element with appropriate id (in javascript) before adding the newly
> cre
Use wicket-spring 1.2.4 It is compatible with wicket 1.2.5.
Martijn
On 4/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Setting out with Wicket for the first time and looking for some advice on
> which version to use.
>
> Have started out with the latest release (1.2.5) but that
Hi Again,
The exact error message I'm getting is "WicketMessage: no set method defined
for value: 2007-04-13T17:36:00.000+10:00 on object:
[EMAIL PROTECTED]" and the code was
accurate.
Any help is appreciated.
--
View this message in context:
http://www.nabble.com/Converters-tf3568876.html#a99
Hi,
Setting out with Wicket for the first time and looking for some advice on which
version to use.
Have started out with the latest release (1.2.5) but that doesn't seem to
include the
wicket.spring.injection package needed for the annotation based approach to
Spring integration
described he
We had this question 2 days ago, solution is in wiki:
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
the List actions itself like add and delete are part of List and you just
would have to ListView.setList(yourListInHere) prior to repainting the
markupcontainer with ajax
Isn't a ComponentTag and a
WicketTag? Some WicketTags seem already to be processed in this chain, so
creating them later out of ComponentTags would not be a good solution.
Tom
On Thu, 12 Apr 2007 22:48:54 +0200, Igor Vaynberg
<[EMAIL PROTECTED]> wrote:
> it will not be wrapped into wick
60 matches
Mail list logo