On Thu, Jul 23, 2009 at 2:01 AM, Ryan McKinleyryan...@gmail.com wrote:
why not just a YUI menu? (not a context menu)
Do you mean to use menu (not menu2) with permanently visible single
menubar's item and pull down associated menu on click and resign on
mouse over functinality?
Given the fact that there is already wicket-jquery in wicketstoff-core,
I wonder how come it is simply possible to add another JQuery
integration to wicketstuff. What are the rules for adding stuff there?
Can committers just do whatever the like? Doesn't there have to be some
voting on the
Can you please send me the sample codes of your implementation for Images ?
I also want dynamic images to be displayed on my web page.
Thanks,
Farhan
From: Michael O'Cleirigh michael.ocleir...@rivulet.ca
To: users@wicket.apache.org
Sent: Wednesday, July 22,
Got it! Thanks!
Jing
-Original Message-
From: Johan Compagner [mailto:jcompag...@gmail.com]
Sent: Mittwoch, 22. Juli 2009 19:42
To: users@wicket.apache.org
Subject: Re: should the IRequestLogger implement Serializable?
you shouldnt store those kind of objects (services or application
Hi,
If you don't want to use xml you can configure your beans in pure Java.
See Spring Java Configuration Project: http://www.springsource.org/javaconfig
--
Daniel
On Thu, Jul 23, 2009 at 3:40 AM, Dane Lavertydanelave...@gmail.com wrote:
Due to the fact that nearly every substantial sample
Spring gives flexibility in your services layer (whatever you call it).
Making things transactional, adding memoization, talking to remote
interfaces, configuring Hibernate and JMX beans, all that kind of stuff is
easy with Spring and often unbelievably hard without.
As said, Spring has no value
For automated classpath scanning, with limited XML, see
http://wicketinaction.com/2009/06/wicketspringhibernate-configuration/
Martijn
On Thu, Jul 23, 2009 at 3:40 AM, Dane Lavertydanelave...@gmail.com wrote:
Due to the fact that nearly every substantial sample Wicket app is
Spring-based, I
I will vote NO.
Why? Because YAGNI.
**
Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
What is the correct way to redirect to a login page from within a
constructor. This is wicket 1.3.5 and the code below just doesn't redirect.
All my pages inherit from AuthPage().
public AuthPage() {
super();
add(new MainMenuPanel(mainmenu, this));
add(new
Hi all,
I do not know, how to override/customize CSS styles
of 3rd party component, in this case YUI menu.
It seems to me they are loaded from packaged resource with URL
resources/org.wicketstuff.yui.inc.YUI/2.7.0b/menu/assets/menu.css,
which is embedded in yui.jar.
I tried to make a local copy
Sorry, I sound illiterate to myself here. To start again, it seems that I
cannot get redirectToInterceptPage to work correctly in my constructor for
the AuthPage class which all my pages inherit from.
Any ideas on how to do this? I find using requestcycle's redirecTo to tell
me that I can only
Johannes Schneider schrieb:
It's the better Spring ;-)
agreed!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
maybe you can get it from the update manager if you are using Eclipse.
http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=1378
http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=1378
--
View this message in context:
On Wed, Jul 22, 2009 at 8:40 PM, Dane Lavertydanelave...@gmail.com wrote:
Due to the fact that nearly every substantial sample Wicket app is
Spring-based, I imagine that there's something awesome about using Spring.
In fact, Wicket is what has finally gotten me to start learning Spring.
http://fiber-space.de/wordpress/?p=1016
2009/7/23 Uwe Schäfer schae...@thomas-daily.de:
Johannes Schneider schrieb:
It's the better Spring ;-)
agreed!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
On Thu, Jul 23, 2009 at 11:45 AM, Mathias
Nilssonwicket.program...@gmail.com wrote:
You could extends the component, create own markup and css.
Really: there is the getCssClass() method supplying class name of style...
Thanks for prompt reply.
You can also just look at the css and then in
That's odd. I works for alot of components I use.
I don't exactly know which component you are trying to implement but what
about.
add( new YUIMenu( id ){
@Override
protected void onBeforeRender() {
super.onBeforeRender();
// Add css reference here or something else
}
});
throw new Redirect.Exception() instead
Martijn
On Thu, Jul 23, 2009 at 11:44 AM, pieter claassenpie...@claassen.co.uk wrote:
Sorry, I sound illiterate to myself here. To start again, it seems that I
cannot get redirectToInterceptPage to work correctly in my constructor for
the AuthPage
On Thu, Jul 23, 2009 at 12:26 PM, Mathias
Nilssonwicket.program...@gmail.com wrote:
I don't exactly know which component you are trying to implement but what
about.
add( new YUIMenu( id ){
@Override
protected void onBeforeRender() {
super.onBeforeRender();
// Add css reference
Ok,
You might want to google for YUI skins and take a look at
YuiHeaderContributor
--
View this message in context:
http://www.nabble.com/How-to-customize-override-.CSS-of-3rd-party-component-tp24622417p24623391.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi Tauren,
wich Eclipse plugin for maven do you prefer? m2eclipse or IAM (q4e)? I
have commit acces and now I'm starting over with development.
Current steps:
1. Add keypressed detection
2. Separate the Project into small pieces
Stefan
You might want to google for YUI skins and take a look at
YuiHeaderContributor
OK. Thanks for hint - I'll probably use YuiHeader Contributor.
Petr
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
Thanks Martijn. This worked best:
throw new RestartResponseAtInterceptPageException(LoginPage.class);
P
On Thu, Jul 23, 2009 at 12:41 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
throw new Redirect.Exception() instead
Martijn
On Thu, Jul 23, 2009 at 11:44 AM, pieter
Does anybody have this knowledge? Thank you!
--- On Wed, 7/22/09, Peter Ertl pe...@gmx.org wrote:
From: Peter Ertl pe...@gmx.org
Subject: Re: Member variables in WebApplication are not serialized, correct?
To: users@wicket.apache.org
Date: Wednesday, July 22, 2009, 7:21 PM
correct - they
I am working on creating Dynamic StyleSheets in wicket, and i found an example
of similar behaviour in Wicket Examples
http://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html but
it is not working. When i place the following code in my CSS file (style.css),
it generates
The $ is used to replace the variable (interpolated value). It's the same
technique used in properties files to replace some text. This sample works
fine. if you look at the css it has been generated according to the load()
method.
It must be you IDE that complains about this. maybe you can shut
Hi Igor,
I did it as you said.
I took the code from AjaxFallbackButton and I copied it to an own class.
In the constructor I overwrite the getCallbackUrl() method of the
AjaxFormSubmitBehavior.
I added the value https://localhost:8443/projectname/ as a prefix to
super.getCallbackUrl().
By the
On Thu, Jul 23, 2009 at 1:24 AM, Reinhard
Nägelereinhard.naeg...@mgm-tp.com wrote:
To me wicketstuff presents itself as some inofficial playground with lots of
badly documented things in it.
It is. Wicketstuff is open for anyone to join and basically do
whatever they want with it - so long as
If you are using load balancer, than here is the solution:
http://www.satyakomatineni.com/akc/servlet/DisplayServlet?url=DisplayNoteMPURLreportId=1711ownerUserId=satya
Recently I had exactly same issue, now I solved it using this approach.
Alex Objelean
TahitianGabriel wrote:
Hi,
Did you
I am using netbeans IDE 6.5, but i dont think this is the problem of the IDE.
It throws error of Unexpected Symbol found ($). Can you please provide me the
working code of using variables in css ?
From: Mathias Nilsson wicket.program...@gmail.com
To:
I use Eclipse and all I have to do was copying and pasting the code from the
url you supplied.
I'm no Netbeans user so maybe someone else could answer this.
--
View this message in context:
http://www.nabble.com/Need-Help-in-Dynamic-CSS-generation-tp24623639p24624432.html
Sent from the Wicket
Ok thanks,
If any user of netBeans IDE have checked this example
http://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html, then
he must encountered this problem. Please help me out to resolve it ?
--Farhan--
From: Mathias Nilsson
Hi Matej,
I finally found the bug.
When you are using a DefaultDataGrid it adds a PagingToolbar. PagingToolbar
overrides isVisible. In isVisible the total row count is determined, this
will cache the query result for this request. However, isVisible is called
/before/ the ajax listener is
Sorry, please ignore my previous e-mail. The behavior I saw was due to a
DropDownChoice I added to the toolbar. During a submit Wicket verifies
whether the ddc is visible. Unfortunately this leads to a call to
PagingToolbar.isVisible.
Back to square 1.
Regards,
Erik.
On Thu, 23 Jul 2009
I have a collection of Panels that are switched via an AjaxTabbedPanel
Component. One of the panels has an AjaxSelfUpdatingBehaviour attached
which works fine. However, if I switch to another panel the self
updating behaviour is stopped because the component is no longer visible
(a precondition
javascript invokes the url you give it, so it looked like it should
work. you might have to trace deeper to see whats going on.
-igor
On Thu, Jul 23, 2009 at 4:41 AM, Arthur Leigh
Allenarthurleigh.al...@yahoo.de wrote:
Hi Igor,
I did it as you said.
I took the code from AjaxFallbackButton
cant you add the behavior directly to the panel?
-igor
On Thu, Jul 23, 2009 at 7:24 AM, Doyle, Markmark.do...@logica.com wrote:
I have a collection of Panels that are switched via an AjaxTabbedPanel
Component. One of the panels has an AjaxSelfUpdatingBehaviour attached
which works fine.
here one more concern i did not mention before .
lets say total records per page is 20 and the query fetched 2 items and
each item has 10 bids, so sql query will have 20 records and result
transformer will reduce it to two records and user will see just 2
records instead of 20 per page ?
I have used .properties and .xml files in all of my Wicket projects and it
has worked great.
However, quite often someone in the translation team wants to changes some
text, image or something else that is localized in the properties files. Has
anyone moved propeties to database with success?
Well I was adding this behaviour in the constructor of the Panel, i.e.
this.add(new AjaxSelfUpdatingBehaviour(...));
which I assumed resulted in the same effect.
I have just changed it to the following (see below) and now get a null
pointer when the behaviour tries to update the panel after I
I get my localized data from the database. I do that by creating a class
that subclasses
org.apache.wicket.resource.loader.ComponentStringResourceLoader. My
subclass interacts with the database through a dao.
Then in the init-method of my Application, I register my implementation
through a
hm, not really sure. maybe you can try rolling your own behavior and
customize it to your exact needs.
-igor
On Thu, Jul 23, 2009 at 8:09 AM, CrocodileShoesmark.do...@logica.com wrote:
Well I was adding this behaviour in the constructor of the Panel, i.e.
this.add(new
Hi,
Also take a look at this thread:
http://www.nabble.com/AjaxSelfUpdatingTimerBehavior-and-ModalWindow-to22202102.html
I don't mean it's a correct or better solution, but so far it works for
me.
Hth,
Daniel
CrocodileShoes wrote:
Well I was adding this behaviour in the
Hi All,
I am finding that the SerializableChecker is throwing an exception of for
the transient variable SoftReference in
CompressedPackageResource.CompressingResourceStream
Is this a mistake on the checkers part or am I possibly doing something
wrong?
cheers
CD
wicket 1.3.3 on Linux
Stefan,
I'm using m2eclipse. But it can take a little getting used to. I also
think it causes an occasional eclipse crash. However, I'm still glad
to have it. Never tried the other one.
Once m2eclipse installed, go to your SVN Repositories perspective,
browse the wicketstuff-core project.
Hi all,
I was wondering if there is a way to change a panel's or page's markup or even
class when it is disabled. I have two versions of some of my panels and pages:
a XXXViewPanel/Page and a XXXEditPanel/Page. The view-only version has labels
instead of dropdown menus and text fields. Based
Hi all ;
I can't use WicketSessionFilter maybe because I am using Apache Shiro (old
name is Apache Kİ).
In fact Fernando's solution works; Now I can reach and use Session inside
UploadRequestTarget which implements IRequestTarget.
But then I realized that I reach a different Session object in
Looks good to me. I'm looking forward to seeing your efforts!
I will hopefully be getting to adding DND to my project soon. Once I
do that, I'm planning to create a new example or update the existing
example to make it more attractive looking.
No offense, but when I first tried out the
Could you show to us the whole code? I mean, the page or panel that upload
the files as well the IRequestTarget class you have implemented?
On Thu, Jul 23, 2009 at 10:31 AM, Altuğ B. Altıntaş alt...@gmail.comwrote:
Hi all ;
I can't use WicketSessionFilter maybe because I am using Apache Shiro
Hi All,
I really need to enable GZip compression for HTML in my app, I see in Jira
that there is a bug fix for this but its not released in the stable build.
In the comments it suggest he following code snippet
class GZipBufferedResponse extends BufferedResponse
{
public void close()
{
When it is disabled you might want to set invisible it and set visible the
another panel?
On Thu, Jul 23, 2009 at 10:24 AM, Zhubin Salehi zhubin.sal...@route1.comwrote:
Hi all,
I was wondering if there is a way to change a panel's or page's markup or
even class when it is disabled. I have
I think this is a better idea that using two different pages. I can use both
editable and non-editable panels in the same page and make one of them
invisible. Thanks!
Zhubin
-Original Message-
From: Fernando Wermus [mailto:fernando.wer...@gmail.com]
Sent: Thursday, July 23, 2009 2:06
Ok thanks,
have you implemented some sort of cache for this, because we don't want to
get every value from database all the time.
--
View this message in context:
http://www.nabble.com/Localizing-thru-database-lookup-tp24627686p24631887.html
Sent from the Wicket - User mailing list archive at
I don't know much about that piece, but I'd file this as a JIRA with a
stack trace.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jul 23, 2009 at 12:06 PM, Chris Davischris.da...@hullomail.com wrote:
Hi All,
I am finding that the SerializableChecker is throwing an exception of
I have a form with two submit buttons. Is there any way to selectivelly
bypass some validation on one of these buttons? I want to validate just
two fields if I click on the button1 and I want to validate all fields
when I click on button2
tx,
carlson
setDefaultFormProcessing(false)
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/Button.html#setDefaultFormProcessing(boolean)
--
Jeremy Thomerson
http://www.wickettraining.com
2009/7/23 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
I have a form
See
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/Button.html#setDefaultFormProcessing(boolean)
-Original Message-
From: carlson weber filho - Master CIM Informática
[mailto:cwe...@mastercim.com.br]
Sent: Thursday, July 23, 2009 3:31 PM
To: users@wicket.apache.org
Hi Everyone,
I'm evaluating wicket for a new project for my company. I started looking at
the wicket-examples and dropped the wicket-examples-1.3.6.war into the jboss
deploy directory. It deployed fine and I went through some of the examples.
My problem is that I left jboss running, and the
what are the files/dirs created in that tmp dir?
-igor
On Thu, Jul 23, 2009 at 12:34 PM, Laura Gforgoodorforawes...@yahoo.com wrote:
Hi Everyone,
I'm evaluating wicket for a new project for my company. I started looking at
the wicket-examples and dropped the wicket-examples-1.3.6.war into
It looks like Wicket caches the string when it has been loaded ones. Is this
correct?
--
View this message in context:
http://www.nabble.com/Localizing-thru-database-lookup-tp24627686p24633121.html
Sent from the Wicket - User mailing list archive at Nabble.com.
I already tried using setDefaultFormProcessing, but I want to actually
process the form without validating it, on one of these buttons but
using this method, I can't update my data, . Let me explain better. I
have a master-detail form, supose I have fields M1, M2 and M3 on
master-side and D1,
yep, you can clear the cache by calling localizer.clearCache()
-igor
On Thu, Jul 23, 2009 at 12:42 PM, Mathias
Nilssonwicket.program...@gmail.com wrote:
It looks like Wicket caches the string when it has been loaded ones. Is this
correct?
--
View this message in context:
you should use embedded forms.
make a form for M1
inside it add another form D1
a button in D1 form will only process D1 form, a button in M1 form
will process both.
-igor
2009/7/23 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
I already tried using
Isn't invalid to nest forms inside forms?
Igor Vaynberg escreveu:
you should use embedded forms.
make a form for M1
inside it add another form D1
a button in D1 form will only process D1 form, a button in M1 form
will process both.
-igor
2009/7/23 carlson weber filho - Master CIM
Wicket takes care of that for you - you can do it in Wicket.
--
Jeremy Thomerson
http://www.wickettraining.com
2009/7/23 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
Isn't invalid to nest forms inside forms?
Igor Vaynberg escreveu:
you should use embedded forms.
Inside the /tmp directory is another directory called vfs-nested.tmp.
Inside that is a ton of jars. It looks like it's copying them over and over:
000209d4_wicket-extensions-1.3.6.jar
0008ddb0_wicket-datetime-1.3.6.jar
000f9baa_wicket-guice-1.3.6.jar
001782a9_wicket-extensions-1.3.6.jar
Google vfs-nested.tmp - returns what looks like some valid results for you.
http://www.google.com/search?q=vfs-nested.tmp
http://ourcraft.wordpress.com/2009/01/05/plague-of-jar-files/
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jul 23, 2009 at 2:51 PM, Laura
This is sounding like a Chuck Norris joke -- Wicket doesn't create invalid
code -- it roundhouse kicks the rules until they submit!
On Thu, Jul 23, 2009 at 12:48 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Wicket takes care of that for you - you can do it in Wicket.
--
Jeremy
Ok thanks,
that would clear the whole cache. is there already a method to clear just
one localized message.
here is the thing, I want the administrator to be able to update a key,
value. I don't want to clear the whole cache just the one key connected to
the cache.
--
View this message in
maybe there should be methods to clear a part of the cache.
Like getLocalizer().clearKey( key ); and getLocalizer.clearKeys(
ListString keys );
--
View this message in context:
http://www.nabble.com/Localizing-thru-database-lookup-tp24627686p24633675.html
Sent from the Wicket - User mailing
you are more then welcome to add an rfe, however it is not a simple fix.
the cachekey currently contains a lot more information then just the
propertykey and its all sandwiched into a single string, it contains
the whole path. remember, in wicket components can inherit properties
form their super
Well, I almost got what I want, but there's a problem. When I submit the
inner form, on the onSubmit I want to check some values of the master
form, and the model doesn't get updated... Any hints here?
tx
carlson
Dane Laverty escreveu:
This is sounding like a Chuck Norris joke -- Wicket
you said you do not want to process the outer form.
without validation you cannot update the model. eg if you put aa
into an integer field how do we push that into an integer model? what
you can do is call formcomponent.getinput() to get at the raw values
of those components.
-igor
2009/7/23
Wow, this post generated a short burst of heat but not much light!
I think the problem is your question conflates dependency injection,
XML-based configuration, and the Spring framework. IMHO you have to
consider these separately to understand their relative merits.
Dependency injection is
Yes, I don't want to process it, but I want to do some processing based
on the form values. But I got the point, If I don't validate form, I
won't get my model updated. Now my problem goes back when I wanted to
validate only parts of my values, so let's supose the folowing scenario
Master
Hi Farhan,
Can you please send me the sample codes of your implementation for Images ?
I also want dynamic images to be displayed on my web page.
I tried to condense what I did into an email but that grew too big.
I've put up the important classes onto the Wicket Wiki here:
M1.processInput();
if (M1.isValid()) { value=M1.getModelObject(); } else { handleerrror }
-igor
2009/7/23 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
Yes, I don't want to process it, but I want to do some processing based on
the form values. But I got the point, If I
you're the man!
tx a lot
carlson
Igor Vaynberg escreveu:
M1.processInput();
if (M1.isValid()) { value=M1.getModelObject(); } else { handleerrror }
-igor
2009/7/23 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
Yes, I don't want to process it, but I want to do some
There we go, that's the kind of information I was looking for! Thanks John.
What got me started with Spring initially was its JDBC templates, but then
everything I read basically said, Yeah, Spring has JDBC templates, but you
won't really need them since you should be using ORM instead. However,
Couldn't the String getCacheKey(final String key, final Component component)
be used?
--
View this message in context:
http://www.nabble.com/Localizing-thru-database-lookup-tp24627686p24635015.html
Sent from the Wicket - User mailing list archive at Nabble.com.
the point is that there can be more then one component that use the
property key.
-igor
On Thu, Jul 23, 2009 at 2:31 PM, Mathias
Nilssonwicket.program...@gmail.com wrote:
Couldn't the String getCacheKey(final String key, final Component component)
be used?
--
View this message in context:
I'm trying to design a joda time based DateTime field. There are two reasons
- I use joda time only
- I have to wire tree components - start date, finish date and duration, so
I have to add
I managed to get it working but I'm concerned about the approach I took. So
please critics are welcome.
Ok maybe there is a lot of work for this issue. It isn't a problem when using
wicket ComponentStringResourceLoader is just a problem if we need to access
the database all the time for a string and clear the entier cache if the
database is updated.
when looking at the source for
class B extends A
class C extends A
A.properties { foo=bar }
Component b=new B();
Component c=new C();
b.getString(foo);
c.getString(foo);
someone edits A.properties in the database
ui calls clearkey(foo,b) == does not clear the cache used by (c),
need to call clearkey(foo, set of all
Yes I get you point.
What about assigning clearing strategies that can be added and implemented.
let's say it's sufficient for me to just clear the cache if the component is
not a subclass of another component. I can implement my own strategy for
clearing the cache or key/keys.
I will post my codes. But now i catched a very very strange position in
WicketSessionFilter . Let me explain :
I used WicketSessionFilter and a Simple UploadServlet as Igor said.
I tested my application using Firefox 3. It gives :
java.lang.IllegalStateException: you can only locate or create
Hi all,
Does anyone have access to the javadocs for the ext-js
implementation at http://code.google.com/p/wicket-ext/ ? When I
attempt to download them with maven I get an empty archive that says
'not-available'.
On that note, does anyone (Paolo?) know if the Grid supports inplace
cell
I forgot to say : I am using Wicket 1.3.6 + Tomcat + java 6 maybe it
gives a clue
2009/7/24 Altuğ B. Altıntaş alt...@gmail.com
I will post my codes. But now i catched a very very strange position in
WicketSessionFilter . Let me explain :
I used WicketSessionFilter and a Simple
I agree that Wicket, although it's really 'only' a view framework, could do with
a couple of straightforward examples in this area, because:
- A view framework without any persistence going on isn't typically very useful;
- It's important, if only to learn where, how and with what to hook
into
I Think menu2 can do what you want as Ryan said. You can override the
getCssClass() to return your own class name, because the default is
yui-skin-sam which will span the width of yui-menu to the whole of the
containing box.
final YuiMenuBar mb = new YuiMenuBar(menuBar)
{
there is only one correct way to clear the cache, so i do not see why
that needs to be externalized.
-igor
On Thu, Jul 23, 2009 at 3:47 PM, Mathias
Nilssonwicket.program...@gmail.com wrote:
Yes I get you point.
What about assigning clearing strategies that can be added and implemented.
Hi
I have a Form with fields marked with various validators.
F1 = required
F2 = length 4
F3 = required
F4 .
And I also have 2 submit links, save and search. When I click on save,
the normal default form processing happens. But when I click on search I
want to bypass all required validators.
92 matches
Mail list logo