:
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
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
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
Disclam
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 a
manage to have it running. 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 wick
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.
Tools>Plugins>Available plugins
Sort by category, select to install : maven in category java, and if you want
(optional) other plugin in
I've develop this for a previous project where we replace JMS (MQ-Serie) queue
by homemade system.
After some benchmark, ehcache was the winner. But when it's not stopped cleaned,
then data/index are correpted and reset at the next start => loosing data :-(
At the end we develop a queueing syste
self promotion
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:
I tried t
self promotion
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)
http://alchim.sourceforge.net/download/wicketstuff-jquery-examples-0.1-SNAPSHOT
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 wic
return getCallbackScript("wicketAjaxGet('"
+ 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
request?
i can add custom js to the wicket ajax javascript, but how can I pass the
some dynamic js state into that ajax request, 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
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
super.respond(
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
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 resin.conf , thanks in advanced.
...
...
4096
30
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 (http://tu
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 wh
goes 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.
20
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/*
Have you the same result if you try /app/ ?
try to add :
wicket
/app
wicket
/app/*
/david
smallufo wrote:
Hi :
I am upgrading an small project from wicket 1.2.6 to 1.3-b3
After some string replacing and package renaming , and edit web.xml ,
changing wicket servlet t
everyone, I'm going to win the framework war from the grass roots.
I'll keep everyone posted. If all else fails, I'll have to take the
managers out for some pints of Guinness to change there mind.
- rm3
David Bernard-2 wrote:
Short version of my experience, last year I created a pr
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 ti
If you want to use Winstone instead of Jetty'Start : you could do like me for
wicketstuff-jquery-examples:
extract from
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery-examples/src/test/java/org/wicketstuff/RunWebApp.java
public static void main(String
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,
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
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 look
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
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
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, src..
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 in
SharedResourceRequestTargetUrlCodingStrategy.
Regards.
Leszek Gawron wrote:
David Bernard wrote:
Hi,
You can mount with a coding strategy in Application.init, something
like .. (I do it for attachment)
mount(new MyMixedParamUrlCodingStrategy("/images",
Page.class, new String[] { &
Hi,
You can mount with a coding strategy in Application.init, something like .. (I
do it for attachment)
mount(new MyMixedParamUrlCodingStrategy("/images", Page.class, new String[] {
"id", "move" }) {
@Override
public IRequestTarget decode(RequestPara
Hi,
If you use if or switch, put at the top the most used.
Using if/else could seem longer than reflection, but in the case of reflection
you need to write 50+ properties.
Regards.
darrengreer wrote:
I'm going to give it a go with the switch statement, thanks to both of you.
I'll let you kno
Hi,
First I suggest you to create a factory class in charge of converting string to
instance :
Panel MyFactory.newComponent(String panelType, String id);
To implement the method, I see 2 ways:
1/ a list of if/else
if ("up".equals(panelType)) {
return new UserPanel(id);
}
if( "xx".equ
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
t
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 : i
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 mor
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
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 integrat
Hi,
The 'trace' log level is removed from the last version of slf4j.
In my project, I replaced trace(...) and is isTraceEnabled() by debug(...) and
isDebugEnabled().
I also use logback :
* "successor" of log4j
* slf4j native interface
* allow configuration from xml
* allow test and run configura
Sorry I would say : I did a mistake. Oupss
David Bernard wrote:
I didn't a mistake, it's not "a possible advantage".
But what is your opinion about a source stream selector ?
/david
Johan Compagner wrote:
you where talking about Apache and serving it as static resources .
is mapped to
wicket
johan
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 di
asily because 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
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:
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.
https://issues.apach
Yes simpler and automatic if all run fine.
I like to avoid late compilation/interpretation like JSP.
Is it possible to do it at start-up time (force the compression and caching) of
the webapp and to stop the start if something break ?
Eelco Hillenius wrote:
I use a other approach for the same
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 prett
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.
i
49 matches
Mail list logo