:
David, what is the best practice to specify the order of included resources?
Thank you!
David Bernard-2 wrote:
You could aggregate every type of resources.
Alex Objelean wrote:
Very interesting. Would be nice to have also aggregate css.
Regards,
Alex.
David Bernard-2 wrote:
If you want you
If you want you could use the yuicompressor-maven-plugin to minified (more
than just strip whitespace) at build time.
http://alchim.sf.net/yuicompressor-maven-plugin
Other features:
* aggregate js
* minified css
So you could test/run with minified in development and/or deployment mode
You could aggregate every type of resources.
Alex Objelean wrote:
Very interesting. Would be nice to have also aggregate css.
Regards,
Alex.
David Bernard-2 wrote:
If you want you could use the yuicompressor-maven-plugin to minified
(more than just strip whitespace) at build time.
http
Hi,
I started the wicketstuff-jquery project, currently there is no doc/wiki, only
the [source][1] is available and a demo application ([source][2], [war][3]).
For the communication with between client and server, I used the native Wicket API,
simpler than trying to write it in JSON (client
I try NB 6 some time ago with wicket and maven.
You don't need to mvn netbeans:netbeans, but you need to install NB
module/plugins to manage maven2 project.
ToolsPluginsAvailable plugins
Sort by category, select to install : maven in category java, and if you want
(optional) other plugin in
. I run the
Start.java but nothing happens...
Sorry for all these questions, I'm new to Netbeans (which I choose to
try out the UML part).
Thanks in advance
ZedroS
On 10/20/07, David Bernard [EMAIL PROTECTED] wrote:
I try NB 6 some time ago with wicket and maven.
You don't need to mvn
WARNself promotion/WARN
In the wicketstuff-jquery there is a date picker (based on jquery) that should
(not tested I'm on linux) work on IE7.
You could download the examples war at (quicker than svn co + build only for
test)
WARNself promotion/WARN
In the wicketstuff-jquery there is a sortable list (by DnD) (based on jquery).
You could download the examples war at (quicker than svn co + build only for
test)
http://alchim.sourceforge.net/download/wicketstuff-jquery-examples-0.1-SNAPSHOT.war
anita nichols wrote:
For a similar case, I override (in MyBehavior)
@Override
public final void respond(AjaxRequestTarget target) {
try {
Request req = RequestCycle.get().getRequest();
String param1 = req.getParameter(param1);
// to stuff
, e.g. i trigger the ajax
request by a link with AjaxEventBehavior on onclick event.
would you mind show me a simple example?
David Bernard-2 wrote:
For a similar case, I override (in MyBehavior)
@Override
public final void respond(AjaxRequestTarget target) {
try
('
+ getCallbackUrl(), null, null);
}
and you parse the parameters in the server side?
YES with the code sent ealier.
I think you have already given me good hints and I will continue work on
that, thanks very much
David Bernard-2 wrote:
Currently I have
Hi,
It's lot of easier to integrate JS lib with wicket, than with JSF.
I currently work on JQuery's widget. About integration with YUI or Scriptaclus,
take a look at wicketstuff.org (svn and wiki), there is already some project
about it.
Regards.
dukehoops wrote:
I'm a complete newbie to
If I understand right you use Apache as a front end ?
If it work when you access to resin via a direct call
(http://foo.bar.com:8080/app) then I don't think it a problem with resin but
with your apache front-end configuration.
What do you map from apache to resin (1)/app, (2)/app* or (3)/app/*
wrong , servlets' requests will not be processed
by resin, either.
But http://foo.bar.com/servlet/other.servlet just works fine. (No port
assign)
It means resin (2.1.7) seems doesn't intercept filter's requests.
I've also reported this issue to resin's maillist.
2007/10/2, David Bernard [EMAIL
Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf.
smallufo wrote:
2007/10/2, David Bernard [EMAIL PROTECTED]:
It depends of how you map/forward from apache to resin.
What is your apache configuration?
If it works when you access resin directly, what is done when you
Have you try to customise (ignore fragment1 and fragment2, or override matches
methods) the following class:
* org.apache.wicket.request.target.coding.IndexedParamUrlCodingStrategy
* or org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy
Or use a filter like urlrewrite
of 8080
* to create an empty dir app under your webapp, I know that Websphere failed if
a filter is not apply on a file or servlet.
Sorry.
smallufo wrote:
2007/10/3, David Bernard [EMAIL PROTECTED]:
Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf.
This is my partial
Have you try:
* to set port to 80 instead of 8080
Port 80 is listened by apache httpd.
I need apache httpd to serve large amount of static contents.
Yes, and resin.conf isn't run as part of Apache?
Apache (port 80) - srun(6802)
Sorry , no other idea, except may be create an dummyServlet
Short version of my experience, last year I created a project with
Seam+Facelets+JSF+EJB3/JPA+jBPM. I was optimist JSF is a standard with 2+ years
old, lot of providers,...
* JSF : I tried to mixed components from several provider, Trinidad, ADT,
MyFaces, Ajax4JSF,... it was a nightweird and
Hi,
What do you download exactly ?
in the .zip or .tar.gz from
http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/
* the source of org.apache.wicket.examples in under
apache-wicket-1.3.0-beta3/src/jdk-1.5/wicket-examples/src/main/java/
* the war under
apache-wicket-1.3.0-beta3/lib
/david
Hi,
A list of url, that could help you...
About Wicket vs JSF, there is some articles :
* http://ptrthomas.wordpress.com/2007/05/14/a-wicket-user-tries-jsf/ (from the
author of JTrac)
* a list of articles : http://cwiki.apache.org/WICKET/articles-about-wicket.html
About widgets :
* take a
Hi,
Have you try to extend NonCachingImage instead of Image (and comments
setHeaders(...))?
/david
Jason Mihalick wrote:
I am integrating JFreeChart into my application and I've followed the
JFreeChart example on the wiki. That works very nicely. I was impressed.
What I want to do now is
Why not add it to the wiki or the main site (and other presentations)?
It's a good support for internal/customer show.
I suggest a list with the following information :
* authors
* original target (ex: javazone 2007), first presentation date
* wicket version (1.3.0)
* attachament (slides,
Done,
I added
http://cwiki.apache.org/confluence/display/WICKET/Slides+and+presentations .
Xavier, could you check information. I create links to your presentations, but
may do you prefer to convert to attachement (part of the wiki).
/david
Gerolf Seitz wrote:
n 9/24/07, David Bernard
Hi,
In my previous project, it was done by configuring (rewrite rules) the http
front-end (apache, lighttpd,...).
It's an other solution, that avoid developper to deal certificate and all the
ssl machinery.
/david
Daniel Frisk wrote:
I'm trying to add a check to the constructor on one of our
Why not use a regular Button and the onSumit() method of the form if you want
to reload the page ?
/david
UPBrandon wrote:
I'm writing a Wicket app that makes pretty heavy use of the Wicket-Extensions
ModalWindow to present what is basically a dialog box where the user can
enter information
I started a wiki like application 2 month ago. Currently it's not ready for
publish. But may be I could help you.
What do you want exactly :
* user write in wiki syntax or html (may be with a Wysiwyg)
* for wiki syntax
* a renderer (convert a wiki syntax to html)
* which wiki syntax scope :
Welcome,
If you want to start a blank project, try:
$ mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.3.0-beta3
-DgroupId=com.mycompany
-DartifactId=myproject
$ cd myproject
$ more pom.xml
Hi,
May be, a solution for your case would be to use ivy ant tasks to manage/list
the dependencies of wicket. I don't use Ivy, but it could use maven's
repositories and pom.xml.
I'm not sur it help you, because I don't use it, like lot of, I like maven 2 (dependencies and conventions), and
Per,
To use apache as frontal, use the proxy mod of apache
see http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_apache.html
Security tips : I suggest you to change the configuration of jetty to only
accept request from apache.
/david
Per Newgro wrote:
Hi *,
is it possible to
Sorry, you're right, it's not removed.
I said it was removed, because I used it and I take a compilation error, and
eclipse no more find them.
I don't understand.
Sorry about the noice.
/david
Matej Knopp wrote:
Removed? They added it in 1.4.
-Matej
On 9/5/07, David Bernard [EMAIL PROTECTED
Right to use it, you provide readers, writers, an ErrorReporter and options
(line-break or not, munge or not, js warning or not,...).
But as Julien (authors of YUI-Compressor) wrote : the compressor is resource
consumming and not made to run on-fly.
/David
Johan Compagner wrote:
thats a
I agree. But currently using a custom compressor for javascript and CSS need to
change the source and replace JavascriptResourceReference by
CustomCompressedResourceReference (or somthing else).
Except if support of CustomCompressor is integrated into existing core Resource.
with wicket is that you don't know exactly where everything is
coming from..
They could be in all kinds of jars so if you want compression it should be
runtime else you need to go over
all the jars and code you use and repackage them.
On 9/4/07, David Bernard [EMAIL PROTECTED] wrote:
Right to use it, you
the component will make
ResourceReferences to its internal css and js files
and will be outputted as shared resources. Then all those urls should also
be redirected.
johan
On 9/4/07, David Bernard [EMAIL PROTECTED] wrote:
An other solution (stupid ?) :
* at build-time (of the war)
* scan all
On 9/4/07, David Bernard [EMAIL PROTECTED] wrote:
I didn't suggest to change the url of resources, in the code we always I
want .js. And the url to request the resource is the same.
I suggest to select the stream to return :
* select form cache, cache dir, jar,...
* select version (to allow
Hi,
I use a other approach for the same goal (http optimization), to avoid
minification and compression at run-time do it at compile-time.
It's what I try do, :
* I first implement the yuicompressor-maven-plugin.
* now I need to develop the ResourceSelector that choose the rigth file to
return
Hi,
To avoid runtime/on-the-fly compression (js minification/packing,... gzip
compression) of static resources (!= dynamic),
I do it at compile time (done via the yuicompressor-maven-plugin) and provide 3
formats (original, minified, minified+gzip)
But I need to choose the right at runtime.
38 matches
Mail list logo