Hello,
I have one server path folder. It contains .xls files. I want to check what
are the current updated xls file. and insert that xls file name into db.
for eg.
i have a folder FOLDER1, It contains sales.xls, report.xls. If I change and
save this file. Our program(file watcher) have to know
On 9/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
go to quickstart dir and run mvn package, that will create a war you can
deploy on any servlet container.
-igor
I tried to take your advice, but I didn't have any success. I'll spare
everyone the painful details. The end result is the
a bit more info: in wicket 1.3 (default with SLC) the change objects aren't
really used anymore
(they are not stored). They only cause an increment of the page version
number..
johan
On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
igor.vaynberg wrote:
On 8/23/07, Sam Hough [EMAIL
and in the mean time your code is obfuscated and hard to read/copy :)
On 9/3/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
Most of the good minification libraries do more than just stripping
comments. usual features include:
* strip comments
* rename local variables to save space (ex:
And if yui uses that one for there own then yes it works pretty good, code
is hardly readable anymore ;(
On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/1/07, Matej Knopp [EMAIL PROTECTED] wrote:
Well, I certainly didn't want to reinvent the wheel. But all existing
solutions I was
thats a pretty nice one, it also compresses CSS. It does depend on rhino and
another jar
so its a total of 3 jars so it should be outside the wicket core or
extentions (a project by itself?)
also all the examples that i see are with the command line and input
filenames
i hope it has a interface
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
On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Just go with overriding getLocale on your custom session object. If
you need to support just one locale, that's easy: just always let it
return that locale. Otherwise, you'll have to do some more work (e.g.
using request.getLocale()), but it
don't know if that is really feasible to do.
because then we have to scan through the complete classpath for resources
like js and css
and then compress them all and keep a reference to that compression all the
time thats could be quite a waste.
it all depends on how long it really takes
johan
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.
thats very odd if that is the case, looks like a tomcat bug to me.
On 9/4/07, Ghodmode [EMAIL PROTECTED] wrote:
On 9/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
go to quickstart dir and run mvn package, that will create a war you
can
deploy on any servlet container.
-igor
I
* Edi:
I have one server path folder. It contains .xls files. I want to
check what are the current updated xls file. and insert that xls
file name into db.
for eg. i have a folder FOLDER1, It contains sales.xls,
report.xls. If I change and save this file. Our program(file
Hi,
Cristi Manole wrote:
Hello,
I don't know if this is the right place to submit this and if it isn't i'm really sorry... please let me know...
Yes it is the right place to post this kind of question even if it is
more a Dojo problem than a wicketstuff-Dojo one ;)
When I click to
An other solution (stupid ?) :
* at build-time (of the war)
* scan all the jars and source to find js and css
* extract/minified/compress into a cache directory
* include the cache directory into the webapp
* at runtime
* when a resource is requested, it search into the cache directory
Thanks Johan and Eelco,
I'm going to consider the model as opaque as far as change tracking is
concerned. I just want an easy way to track dirty components so looks like
this is the way to go unless it is going away completely. Since so many
methods are final the only options I can think of are
Please give me some more details. It's useful for me
Jean-Baptiste Quenot-3 wrote:
* Edi:
I have one server path folder. It contains .xls files. I want to
check what are the current updated xls file. and insert that xls
file name into db.
for eg. i have a folder FOLDER1, It
hi,
wicket's watcher might be used for this, but you should consider using a
scheduler framework to do so (take a look at http://www.opensymphony.com/quartz/
- FileScanListener/FileScanJob).
regards, --- jan.
-
To unsubscribe,
i don't think that will work very easily 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
Jeremy Thomerson-3 wrote:
Is there a way to append an anchor to the URL generated for the
SubmitLink?
Try:
form.add(new AttributeModifier(action, null) {
protected String newValue(String currentValue,
String
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 management of version =
well its a home page banner ad and this is wicket 1.2.6 which i think has
nothing like a sessionless homepage?
On 9/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/3/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
great igor, thanks
On 9/4/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
On 9/4/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
well its a home page banner ad and this is wicket 1.2.6 which i think has
nothing like a sessionless homepage?
Nope, that is 1.3 (wich is pretty stable though)
Martijn
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket
In my small app I would like to browse a one table in my db which
contains a log messages. My log table have a 8-9000 rows.
For this I am trying to use DataView with PagingNavigator etc... But I
have some questions regarding this:
1) Is this a right setup for this feature ?
2) I would like to
you where talking about Apache and serving it as static resources
So then the urls should he rewritten because /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.
I believe I've finally solved my problem.
No doubt the original problem was double compression resulting from using a
homegrown compression filter on top of wicket's default compression. After
being forced to look at this issue again, which suddenly seemed to not only
be a problem with just IE
I would appreciate that there would be a way to use some similar method in
org.apache.wicket.authentication.pages.SignInPage as it now fails with the
following:
java.lang.UnsupportedOperationException: FormComponent class
org.apache.wicket.markup.html.form.PasswordTextField does not support
Looks like a bug to me. The default value of remember on SignInPanel is
true so I guess there is no other option then using previous beta2 until it
is fixed. Or the hard way is to write own SignInPanel...
strange since examples do work Ok. If I copy over the SignInPanel and
change it lie so:
On 9/4/07, Stojce Dimski [EMAIL PROTECTED] wrote:
In my small app I would like to browse a one table in my db which
contains a log messages. My log table have a 8-9000 rows.
For this I am trying to use DataView with PagingNavigator etc... But I
have some questions regarding this:
1) Is this
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
So then the urls should he rewritten because /resources/ is mapped to
wicket
johan
this has already been fixed in trunk i believe
-igor
On 9/4/07, Marko Taipale [EMAIL PROTECTED] wrote:
I would appreciate that there would be a way to use some similar method in
org.apache.wicket.authentication.pages.SignInPage as it now fails with the
following:
Hi all, I'm looking for a wicket developer to help me out on a hourly basis.
Work probably wouldn't take more than several hours a week.
I believe the things I'm trying to do are not that complicated- it's just
that I'm still trying to learn wicket and sometimes it takes me way too long
to do
Man, I came back from a long weekend and the updateFeedback() method was
gone! It appears that my code still works just peachy without it, so thanks
to whoever took care of that!
Chuck
ChuckDeal wrote:
I have a scenario where upon submitting the page, a feedback message is
added,
sort your data in the opposite direction so the first page shows your
last log statements
Is this the only way ? I would like to show last page if possible...
___
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
dataview.setcurrentpage(dataview.getpagecount());
-igor
On 9/4/07, Stojce Dimski [EMAIL PROTECTED] wrote:
sort your data in the opposite direction so the first page shows your
last log statements
Is this the only way ? I would like to show last page if possible...
On 9/4/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
well its a home page banner ad and this is wicket 1.2.6 which i think has
nothing like a sessionless homepage?
My remark was not about being session-less, but bookmarkable. The
difference is that a normal link won't work when a session is
On 9/4/07, David Bernard [EMAIL PROTECTED] wrote:
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
Hi,
I'm using the entire Wicket/Spring/Hibernate stack to build an
application, and I'm using AspectJ to do AOP stuff for me at load time
(LTW). I deploy on Tomcat 5.5 with the -javaagent:aspectjweaver.jar option.
However, the combination with this and the wicket-spring-annot
(@SpringBean)
On 9/4/07, Sam Hough [EMAIL PROTECTED] wrote:
Thanks Johan and Eelco,
I'm going to consider the model as opaque as far as change tracking is
concerned. I just want an easy way to track dirty components so looks like
this is the way to go unless it is going away completely. Since so many
Thanks Igor...
Just one more thing, If underlying table gets modified (insert/delete
rows) during the browsing session, do I have to refresh dataView in
some way or it gets refreshed automatically ?
___
L'email della prossima generazione? Puoi averla con
automatically
why dont you try it and see for yourself
-igor
On 9/4/07, Stojce Dimski [EMAIL PROTECTED] wrote:
Thanks Igor...
Just one more thing, If underlying table gets modified (insert/delete
rows) during the browsing session, do I have to refresh dataView in
some way or it gets
Thanks Eelco,
It is mainly navigation logic and I think its state can quite happily live
in the components...
I have the habit of having a fixUpTheStateOfThisWidget method (real name
changed to protect the guilty) that I'm starting to wonder if I can hook
this into marking components as dirty.
On 9/5/07, Gwyn Evans [EMAIL PROTECTED] wrote:
On Saturday, September 1, 2007, 8:49:15 AM, Ghodmode
[EMAIL PROTECTED] wrote:
...
Now you've got a working baseline, I'd really recommend trying to get
it running with Jetty, either with or without the archetype. For one
thing, Jetty's
I have the habit of having a fixUpTheStateOfThisWidget method (real name
changed to protect the guilty) that I'm starting to wonder if I can hook
this into marking components as dirty. So maybe I can get away with explicit
marking of components as dirty.
Or e.g. work with bean properties and
a war works on any container.
it is easier to develop on jetty, then when ready deploy on tomcat
-igor
On 9/4/07, Ghodmode [EMAIL PROTECTED] wrote:
On 9/5/07, Gwyn Evans [EMAIL PROTECTED] wrote:
On Saturday, September 1, 2007, 8:49:15 AM, Ghodmode
[EMAIL PROTECTED] wrote:
...
Now
This http://www.eweek.com/article2/0,1895,2176557,00.asp eweek article has
a small section on how LeapFrog are finding development with Wicket and why
they chose to use it.
Regards - Cemal
--
View this message in context:
http://www.nabble.com/More-real-world-Wicket-tf4379690.html#a12484527
Hi,
I have a page with feedback panel. As s button I use my own Panel -
LabelLink (Link+Label) but I don't get an error message in feedback, when
operation in onClick() get wrong. When I use another Panel LabelSubmitButton
I get this error. I also tried to change Link to AjaxLing in LabelLink and
Folks,
We've got a couple of nice talks lined up for the London Wicket User
Group meet-up tomorrow evening. There's still plenty of room left at the
inn.
Please don't be shy - come along and meet up with some other Wicket
users and developers and learn some cool tricks for the upcoming 1.3
Mr igor has this to say:
tbh it looks like a problem in cglib bytecode generation. i think i have
seen this once when i was writing salve, but i dont remember exactly what
caused it :|
if nothing he tries works you can always tell him to extract an interface
out of commentservice and use that -
I found what was wrong but I can not explain it
In markup of LabelLink I had
wicket:panel
button wicket:id=id id=idlabel wicket:id=id/label/button
/wicket:panel
When I changed button tags to a it was working, but I want my links to
look like buttons
wicket:panel
label
I guess it's not that appropriate to write a thank you note on this address,
but i just couldn't help myself.
What you guys did with this framework is trully amaizing. I've been ... playing
with it in the couple of weeks and it fits just like a glove. Not to mention
the support the users get
Why thank you! (made me blush)
On 9/4/07, Cristi Manole [EMAIL PROTECTED] wrote:
I guess it's not that appropriate to write a thank you note on this
address, but i just couldn't help myself.
What you guys did with this framework is trully amaizing. I've been ...
playing with it in the
you are welcome
-igor
On 9/4/07, Cristi Manole [EMAIL PROTECTED] wrote:
I guess it's not that appropriate to write a thank you note on this
address, but i just couldn't help myself.
What you guys did with this framework is trully amaizing. I've been ...
playing with it in the couple of
On 9/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
or he can use salve, works great with wicket :)
Salve being Igor's non-wicket, project found here: http://salve.googlecode.com
Martijn
(salve ~= slave? I suspect a hidden agenda here... we shall all become
minions of Igor, muhahahaha!)
--
Thanks for the tip. I liked the extract to interface idea, and now it
works. Wonder what aspectj does to break cglib though. :-)
Regards,
Sebastiaan
Johan Compagner wrote:
Mr igor has this to say:
tbh it looks like a problem in cglib bytecode generation. i think i have
seen this once when i
Hi Jean-Baptiste,
Thanks for the response.
Here is the jira entry
https://issues.apache.org/jira/browse/WICKET-929
Cheers
Oliver
Jean-Baptiste Quenot wrote:
* oliver.henlich:
Hi Jean-Baptiste, just wondering if you got a chance to look at this?
Hi Oliver,
I have identified the bug thanks
I agree Igor, this is a much better way to internationalize an attribute,
which keeps the model open for the component.
Thanks
Craig
igor.vaynberg wrote:
input type=button wicket:id=ajaxbutton value=preview
wicket:message=value:key/
i believe that is the syntax for internatianalyzing
Hey all,
I'm having issues with my current web host's poor customer service
(cwihosting.com, if you're curious). In addition, my requirements are
going up. Without going the dedicated server route, does anyone know
of a web host with good customer support that offers the following:
128MB
Ok, you're right, when I cast defaultButton to Component, the code
compiles.
Personally, I don't feel comfortable with this kind of cast, but I've
never been involved with creating the Wicket internals, so I'll go with
whatever you decide.
Should I send in the patch?
Cheers,
Dave
On Tue,
Try http://www.contegix.com/ or http://www.kattare.com/
On 9/4/07, Karl M. Davis [EMAIL PROTECTED] wrote:
Hey all,
I'm having issues with my current web host's poor customer service (
cwihosting.com, if you're curious). In addition, my requirements are
going up. Without going the
http://www.kgbinternet.com
I used to host with them till I have moved my host under stairs.
Konstantin Ignatyev
PS: If this is a typical day on planet earth, humans will add fifteen million
tons of carbon to the atmosphere, destroy 115 square miles of tropical
rainforest, create
yeah, i saw that last week. it's quite a statement. but i'm hearing this
kind of thing more and more. at my current workplace, i'm constantly
staggered when i mentally compare our development speed with past non-wicket
projects. even when i guess a little on the low side, i find i'm mostly
Yep, Wicket kicks ass. The book will help even more.
Am I the only one having so many issues trying to update to 1.3, though?
Was there such a big jump because of the move to Apache? Or is this kind
of growing pain to be expected for each new version, do you think?
On Tue, 2007-09-04 at
i don't really know. my new project is 1.3 and my old one will always be
1.2.
i have not found too much pain in the API changes myself. it's certainly a
lot less
drastic than what we started to do. in general, i would expect less and
less dramatic
change in the future as more and more people
looks like a propertymodel misbehaving somewhere.
set a breakpoint on that exception. when it is thrown you can walk up the
stack and see what model/component is causing this.
-igor
On 9/4/07, David Leangen [EMAIL PROTECTED] wrote:
Migrating from 1.2 to 1.3.
I've been trying to track down
On 9/4/07, Cristi Manole [EMAIL PROTECTED] wrote:
I guess it's not that appropriate to write a thank you note on this
address, but i just couldn't help myself.
What you guys did with this framework is trully amaizing. I've been ...
playing with it in the couple of weeks and it fits just
65 matches
Mail list logo