If you want to maintain existing classes, you'd better use:
item.add(new AttributeAppender(class, new Model(foo), ));
Erik.
Igor Vaynberg schreef:
item.add(new SimpleAttributeModifier(class, foo));
-Igor
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
Thanks for the hint, Igor. I will have a look at channels. I don't
remember seeing any information about these when I started my
application (with Wicket 1.1). However, I suppose using channels does
not prevent the user clicking on a regular link while an Ajax request is
processed ?
No, refreshing the page in Firefox yields the Page Expired message.
The tabbed panels don't work at all with IE. IE has the same Page
Expired problem.
Everything works well in Safari.
The page includes several embed type=audio/x-wav ... / tags. The
first two are properly painted with the
fantastic , thats really cool !!!
Cheers
Dipu
- Original Message -
From:
Igor
Vaynberg
To: wicket-user@lists.sourceforge.net
Sent: Tuesday, October 17, 2006 7:45
PM
Subject: Re: [Wicket-user] Ajax refresh
feedback
there is really nothing to itsomewhere
As part of the move to Apache, the Wicket WIKI has moved to a new home
on the Apache Confluence site, and can now be found at:
http://cwiki.apache.org/WICKET/
Notes on the move are at http://cwiki.apache.org/WICKET/wiki-move.html
Many of the pages have been converted, but a number do remain!
While building wicket-extensions 2.0, i didn't notice the commons-logging dependency in pom.xml. May be you can verify if that is indeed the case in the trunk and update it.dependency groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId version1.0.4/version typejar/type
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote:
While building wicket-extensions 2.0, i didn't notice the commons-logging
dependency in pom.xml. May be you can verify if that is indeed the case in
the trunk and update it.
dependency
groupIdcommons-logging/groupId
This isn't your average medieval knights and horses story - for a start,
due to a shortage in the kingdom, all the horses have been replaced by
servants clopping coconuts together! Shrek and Princess Fiona return
from their honeymoon to find an invitation to visit Fiona's parents, the
King
Hi, i have a curious problem.
I have a form with a submit button. If i click the submit button the
onSubmit method of the button is called so is the onSubmit method of the
form.
And also inside the page i have a button to which i added
final Button ajaxButton = new Button(ajaxButton);
The behavior wont work on button. Why don't you use AjaxSubmitButton
instead?
-Matej
drakonis wrote:
Hi, i have a curious problem.
I have a form with a submit button. If i click the submit button the
onSubmit method of the button is called so is the onSubmit method of the
form.
And also
Hi Matej,
Well i have no problem with the ajax request. It is processed and the two
textfields are being displayed.
I I would not want to send the form so i cannot use AjaxSubmitButton. My
problem was that the default submit button no longer executes the onSubmit.
I will try AjaxLink as a
hellofriendsdoes wicket support UTF-8 setting by default,but it doesn't work in oracle application server .and also on tomcat?
WebResponse webres = (WebResponse )getResponse();
HttpServletResponse hsr =
hello
friends
does wicket support UTF-8 setting by default,
but it doesn't work in oracle application server .
and also on tomcat?
WebResponse webres = (WebResponse )getResponse();
HttpServletResponse hsr = webres.getServletHttpResponse();
Systsem.out.println(**+hsr
Correction. The last two embed ... tags display the *Quicktime* icon
rather than the audio controls.
Michael Welter wrote:
No, refreshing the page in Firefox yields the Page Expired message.
The tabbed panels don't work at all with IE. IE has the same Page
Expired problem.
Please read this:
http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html
Regards,
Erik.
ketan gote schreef:
hello
friends
does wicket support UTF-8 setting by default,
but it doesn't work in oracle application server .
and also on tomcat?
WebResponse webres =
And of course make sure that your browser does not request the
information in ISO-8859-1 formatting.
Juergen
On 10/18/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
UTF-8 is default for Wicket. The issue is usually with Tomcat and
Oracle settings. Please search the mail archive for
Title: Add an event to DataTable.setCurrentPage(int)?
I'd like to fire an event every time the page on my datatable changes, but I can't overwrite setCurrentPage because it's final. Is there a way to do this without changing the .jar file?
Uhhm, yes you are right. I'm not sure why its not building on my machine without the commons-logging dependency.I just domvn -Dmaven.test.skip=true installand I have maven 2 installed on my machine.
D:\software\java\Wicket\svn-latest\wicket\trunk\wicket-extensionsmvn -Dmaven.test.skip=true
Hi tried this
HeaderContributor.forCss(xyz.class,
/+((WebRequest)getRequest()).getHttpServletRequest().getContextPath()
+/style/abc.css)
where xyz.class is my webpage in com.ma.itg.test.app directory,
i am getting error
wicket.WicketRuntimeException: Unable to find package resource [path =
Hi, Im trying to create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect, modify the data and the table updates the table content.My problem is that the column in question display a text "cell" and i want to
If i test this (on tomcat) for example in the RequestCycle.detach() method the result is: UTF-8johanOn 10/18/06, ketan gote
[EMAIL PROTECTED] wrote:hello
friends
does wicket support UTF-8 setting by default,
but it doesn't work in oracle application server .
and also on tomcat?
WebResponse webres
I have my .css file in web context directory i.e webapp/style/abc.css since
this .css is used by plain html and wicket , i can't place it in my wicket
webpages directory.
I want to access this .css file in my webpage. i know , we can access is
using HeaderContributor.forCss(Class scope,String
aha.. but not always.. we seem to have a bug somewhere. will investigate.johanOn 10/18/06, Erik van Oosten
[EMAIL PROTECTED] wrote:Please read this:
http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.htmlRegards,Erik.ketan gote schreef: hello friends does wicket support UTF-8
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote:
and ofcourse they go away the moment I add the commons-logging dependency.
Any idea why it doesn't work for me?
Nothing specific - Things to check would be the wicket pom involved,
e.g. the wicket\wicket\2.0-SNAPSHOT\wicket-2.0-SNAPSHOT.pom
If you use HeaderContributor.forCss(String), you can refer files
relative to the context path (or absolute if you want).
If you use HeaderContributor.forCss(Class, String), the class should
be in the same package as where the resource you want to reference is.
This will generate urls like:
if you build the path yourself you dont need the headercontributor to create the url...wasnt that the whole point that you wanted?-IgorOn 10/18/06,
wicketmarsh [EMAIL PROTECTED] wrote:
Hi tried
By supplying the Class parameter, you tell Wicket to search for it on
the classpath. You need the single parameter version, which
automagically prepends the context path.
HeaderContributor.forCss(style/abc.css);
please file a jira issue.-IgorOn 10/18/06, Renaut, Jonathan E CTR DISA GIG-CS [EMAIL PROTECTED]
wrote:
I'd like to fire an event every time the page on my datatable changes, but I can't overwrite setCurrentPage because it's final. Is there a way to do this without changing the .jar file?
what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how PropertyColumn works...but instead of a label you add your panel that contains the image-Igor
On 10/18/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote:
Hi, Im trying to create a
http://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html
On 10/18/06, Gwyn Evans [EMAIL PROTECTED] wrote:
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote:
and ofcourse they go away the moment I add the commons-logging dependency.
Any idea why it doesn't work for me?
Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a panel or a fragment for that?MarcOn 10/18/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how
the problem is that the markup is span wicket:id=item/span ... you cannot attach an image to a span tag, you need markup with an img tag.-IgorOn 10/18/06,
Marc-Andre Houle [EMAIL PROTECTED] wrote:
Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a
You don't need it, but it saves you writing the link tag. Unless
you're putting it in a page, in which case you don't need any Wicket
code, but can just put it in the HTML.
Eelco
On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
if you build the path yourself you dont need the
Thanks for the reply. You suggest that "what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment."Ok, i understand that, but the column don't read my own markup in a panel.I only get Markup with path '' not found in fragment: cellCan show me an
Thanks,
HeaderContributor.forCss(style/abc.css) this worked with wicket 1.2.2 , i
had 1.2 earlier
but absoulte path didn't work..
marsh
Eelco Hillenius wrote:
I have my .css file in web context directory i.e webapp/style/abc.css
since
this .css is used by plain html and wicket , i can't
polygon electrician tinkle familiar
Check A R S S right now, stockjobbers drop the price, it's time to get in
and get profit!
athlete's foot state distinctively pagan
-
Using Tomcat but need to do more? Need to support web
Thanks!On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
the problem is that the markup is span wicket:id=item/span ... you cannot attach an image to a span tag, you need markup with an img tag.-Igor
On 10/18/06,
Marc-Andre Houle [EMAIL PROTECTED] wrote:
Why not adding directly an Image or a
I forget to mention that I'm using 2.0-SNAPSHOT
On 18-10-2006, at 13:25, Manuel Alejandro de Brito Fontes wrote:
Thanks for the reply.
You suggest that what you do is extend AbstractColumn and provide
your own markup via either a panel or a fragment.
Ok, i understand that, but the column
I have a particular component that needs to generate some CSS on the fly. What would be the easiest way to have this component register a link tag with the head (assuming HeaderContributor) that points back to a POJO to do the work?
-js
If you generate the CSS in Java: add(new
TextHeaderContributor(generated)); or look at wicket-extension's
TextTemplateHeaderContributor.forCss
Eelco
On 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
I have a particular component that needs to generate some CSS on the fly.
What would be the
Wonderful! Exactly what I was looking for!-jsOn 10/18/06, Eelco Hillenius [EMAIL PROTECTED]
wrote:If you generate the CSS in Java: add(newTextHeaderContributor(generated)); or look at wicket-extension's
TextTemplateHeaderContributor.forCssEelcoOn 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
Hi Igor,
No that didn't work. You have just added a new constructor signature, but
not fixed the real problem. The problem is that when Palette is constructed,
it tries to make a new RecorderComponent which reads the model at
construction time. Since I am using the 1.x wicket, Palette does not
same applies-IgorOn 10/18/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED]
wrote:I forget to mention that I'm using 2.0-SNAPSHOTOn 18-10-2006, at 13:25, Manuel Alejandro de Brito Fontes wrote:
Thanks for the reply. You suggest thatwhat you do is extend AbstractColumn and provide your own
All,
Some of you might have noticed that the http://wicketframework.org url
didn't respond yesterday and today.
This was an issue with Sourceforge and is currently solved (it works for me).
From the sf.net status page:
(2006-10-18 10:03:12 - Project VHOST Service ) 2006-10-18:
Currently,
I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The
I think this is similar to what I'm trying to do. Are there any details of this implementation?http://www.wicket-wiki.org.uk/wiki/index.php/Forms_with_dynamic_elements
Cheers,-jsOn 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
I'm a UI developer on a team of about 10 and are in the evaulation
I wrote that page. What do you want to know about the implementation? I can sell you my survey code. :)On 10/18/06, Jonathan Sharp
[EMAIL PROTECTED] wrote:I think this is similar to what I'm trying to do. Are there any details of this implementation?
Greetings,
I am not certain as to whether this post will end up being a bug
report or a feature request but hopefully one of you may have some
advice.
Ultimately I am trying to invoke ajax calls as a result of capturing
onkeypress events fired by the document object. I have successfully
Seems something is done with your pages after the page has been
rendered. Typical causes might be the browser generating a new request
to the same page after the page has been rendered, or somehow the page
getting removed from the PageMap after getting displayed.
If it should be related to the
you can encapsulate a great deal of markup and css into the components, however unless you go to extremes some basic knowledge of html is still needed. wicket doesnt use layout managers so you have to provide some basic html - at least span tags to position the components.
in some cases if the
I've searched the wiki email list to no avail. Does Wicket provide
any APIs for manipulating cookies?
Thanks once again.
--
Scott Swank
reformed mathematician
-
Using Tomcat but need to do more? Need to support web
51 matches
Mail list logo