In our company we are using Wicket since last year and I am working on the
second project with it. For the first project, client insisted on using
wicket and this was an opportunity to learn.
For the second project (fully ajaxified application), we had to choose
between GWT and Wicket, and
hope to use it for as many as possible projects in the future :).
Good to hear. I hope you and others will continue being part of the
community, making Wicket the best framework we can.
Cheers,
Eelco
-
This SF.net email
Jon Laidler wrote:
True separation of concerns is the mantra we should use when asked why
Wicket. Let web designers do their magic with web site design, and leave
Java coders handle the components.
I think Wicket sells itself short if it emphasises only the
designer-developer separation
big snip /
You know all technology aside... It should be clear even to a lay person
the value of the wicket community is tremendous.. Outside of a few well
deserved smart-a** comments you can always get help and or someone to
even go the extra mile to teach.. So thank you...
./C
Hi,
I have created a LoadableModel for my User object. Then I am able to
change its properties (e.g. name) within a form.
Now I want to change the permissions of the user. Those permissions are
saved in another class that can be resolved via getter.
I don't know how what model I should add
Got it :-)
I simply use
permissions.friend
Wicket is great...
Thanks
Johannes Schneider
Johannes Schneider wrote:
Hi,
I have created a LoadableModel for my User object. Then I am able to
change its properties (e.g. name) within a form.
Now I want to change the permissions of the user.
Hi All,
Is there a way i can get the Runtime Exceptions in the error page. I need to
log the exceptions for auditing.
Regards
Dipu
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of
I wanted to localize both value and title attributes of input element, but
got an error, that there can not be two wicket:message elements.
example:
input type=button wicket:id=addSomething
wicket:message=value:button.add wicket:message=title:button.title
Is this supported or not?
Regards,
I'm sorry, I had to look into WicketMessageTagHandler first. ;)
Previous question should be ignored. Thanks
shumbola wrote:
I wanted to localize both value and title attributes of input element,
but got an error, that there can not be two wicket:message elements.
example:
input
Well when the developers can help then i have made a hack to solve the
problem :)...
I am changing with wicket tag to become a span and then adding a onclick
method to
the span. Beware that this only works if the following flag is set to false.
getMarkupSettings().setStripWicketTags(false);
I did the following in the application class
protected IRequestCycleProcessor newRequestCycleProcessor()
{
return new DefaultWebRequestCycleProcessor()
{
@Override
protected IExceptionResponseStrategy
newExceptionResponseStrategy()
{
Hello,
You can do this through the ITreeState
(tree.getTreeState().getSelectedNodes ()). Also, you can register with
the TreeState as an ITreeStateListener and implement the
nodeSelected(TreeNode node) method.
best,
jim
On 6/6/07, NYSophia [EMAIL PROTECTED] wrote:
Thank you. That was very
I come across a very puzzling behavior in wicket-1.2.2.
I add a component to its container when the page is initialized, BEFORE
it is rendered and before page model finished to initialize.
if log4j is configured to enable wicket debug, the container toString()
is called.
This method invoked
here is the output from maven (copied from bamboo logs):
[INFO] Surefire report directory: /data/home/wicket/var/data/
bamboo/xml-data/build-dir/ WICKETSCRIPTACULOUS-TRUNK/target/
surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to
instantiate POJO
On Tue, Jun 05, 2007 at 09:40:33PM -0700, JonLaidler wrote:
I would be interested to hear how many companies are usng Wicket, and how
many of those companies switched to Wicket from other frameworks.
Here's my Wicket story. Our team is a small internal development group
inside a large bank.
On 6/5/07, James McLaughlin [EMAIL PROTECTED] wrote:
Hi Ryan,
I don't think you can test it like that unless you have a default
constructor, and even then I don't think it will work (I'm a bit
spotty on this). What I have always done is this:
tester.startPanel(new TestPanelSource () {
it seems I'm having the same problem here...
any hints on how and when to check the jsessionid cookie at deployment mode?
Jay, did you have any luck with this?
Thanks in advance,
Konstantinos
- Original Message
From: Jonathan Locke [EMAIL PROTECTED]
To:
Sorry but I cannot find what the problem is. I've search Nabble.
-
Hello every one, I have a page that uses a panel (code ahead) that has a
form with an AJAX button, it works fine, but some times I have to click on
the Search button 2 times to make it work. I
What does this error means? I got this error when I my webapp war into
another newer version of application server. I have been trying to figure
out the whole day finding what the root problem is, but still couldn't find
any. Help needed
Hi John,
John Krasnay wrote:
Amongst Wicket's many advantages, the following stand out for me:
- The ability to encapsulate UI components, including all required
markup, CSS, Javascript, and localization files, into shared JARs on
the classpath. Having a shared component library is key
I have a Filter which determines if a page is protected or not based of the
URI. If the page is protected and the user is not logged in then it will
redirect them to the login page. On a unprotected page (Request Account)
there is a form which submits their information for a new account. the
It's alright. I ve managed to solve it finally. The reason behind this error
was that, I had 2 version of wicket 1.2.4 and 1.2.6 being loaded up into the
appserver memory. Not sure which was the version that overrided one another
and hence taken by the appserver in the end. What odd is that, it
Hi guys, can I have some of your thoughts on the Click Framework?
f(t)
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just
Hi, i have an inner form that i want to modularize (the class and the
html), but the only way that came up to my mind to do this is creating a
new class that extends Panel, add the form to it (as inner too but this
time into the extended panel) and put in a html file my code inside
Hi Ryan,
This explains it:
http://www.jroller.com/page/gridhaus?entry=maven2_testing_madness
File it under Ways in which maven hates me... :)
If you put this stanza in your pom, your test will work:
build
...
plugin
groupIdorg.apache.maven.plugins/groupId
I think that forms and tables seem awfully verbose when you first
start Wicket. A wiki page or two taking an example of such through a
reasonable evolution to some short, tight code would be nice. I have
an old e-mail thread where Igor does exactly that, helping me. I'll
put it together into
I was an user of click.
I was fed up of self handling model data. click has no direct linking of
pagefields to modelfields.
I asked the developers, but they did not see the advantage of doing click
the model binding.
click uses velocity, wicket html.
I prefer the wicket way.
Francisco Diaz
THANK YOU!
I was pulling my hair out, and since this was my first time with the
WicketTester, i was totally thinking it was my use of the wicket
classes.
Now i'm back to kicking ass!
On 6/6/07, James McLaughlin [EMAIL PROTECTED] wrote:
Hi Ryan,
This explains it:
Nice work :). This would make a good contribution to wicket-minis.
After that, if you could whip up one with autocomplete instead of
refresh, that would be great too :)
best,
jim
On 6/6/07, Scott Swank [EMAIL PROTECTED] wrote:
I think that forms and tables seem awfully verbose when you first
Thanks, I also pointed out here that Click didn't use model binding.
But I am failing in the way to transmit the importance of that.
Because it is argued that from the form. you can do a one line:
form.copyTo(YourModel);
as long as the field names in your form matches the field names in the
The web developer toolbar for FireFox has nice functionality for this[1].
Eelco
[1] https://addons.mozilla.org/en-US/firefox/addon/60?id=60
On 6/6/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote:
it seems I'm having the same problem here...
any hints on how and when to check the
In Wicket 1.3 you can override onRuntimeException and even just
logRuntimeException in your custom request cycle class.
Eelco
On 6/6/07, Dipu Seminlal [EMAIL PROTECTED] wrote:
I did the following in the application class
protected IRequestCycleProcessor newRequestCycleProcessor()
{
Looks good. What version of wicket are you using? And the second time
you click DossierSearch, the time when no wicket ajax debug shows up,
do a view source and see if the proper wicket-ajax js files are in the
head section. Another thing I would suggest is using Bookmarkable
links in your menu
Right, I'll try that and tell you how it went.
f(t)
On 6/6/07, James McLaughlin [EMAIL PROTECTED] wrote:
Looks good. What version of wicket are you using? And the second time
you click DossierSearch, the time when no wicket ajax debug shows up,
do a view source and see if the proper
Hi, I had a strange problem with the CheckBox and ajax in the Internet
Explorer. First I created a CheckBox and then added an AjaxEventBehavior to
do some stuff. In Firefox it works fine, but in the explorer, the ajax is
only triggered after doing something else in the form. I mea, i clicked in
1. Why isn't toString() of Component a safe method ?
It should be, and later versions tweaked this. However, it's still
defaulting to the extended debug info, which is maybe not the best
idea. Can you open a JIRA issue for this please?
Thanks,
Eelco
I'm not sure the use case is common or consistent enough.
Too often I have two panels with two separate model objects that are both
backed by the same actual underlying object, so the code I wrote below will
fail anyway.
I actually think using a marker interface on Components might be more
cant you add a key listener to the textfield and if you see an enter
you call button.onclick() your self?
On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote:
I've got an autocomplete text field nested inside a larger form. When you
click add next to the field, it adds what you've completed to
aha! a simple solution. thanks.
Johan Compagner wrote:
cant you add a key listener to the textfield and if you see an enter
you call button.onclick() your self?
On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote:
I've got an autocomplete text field nested inside a larger form. When
It's not only about the binding. Form values - Form bean that's just
one part. The other is deciding where the bean is stored. In session?
Sure. But if you manually store it into session you are going to get
into troubles sooner or later.
Will you store it under a key? Great. But what if user
I think this message was not for me.
Either that, or I didn't understand you.
Wicket uses this storage and so far so good.
So does Seaside and I wouldn't expect ASP critics on this framework... :P
best regards,
f(t)
On 6/6/07, Matej Knopp [EMAIL PROTECTED] wrote:
It's not only about the
Not an easy one I'm afraid. The way you've described (creating a panel
with form) is actually a preferred one.
If you really need to have form with own markup, you'll probably have
to look at WebMarkupContainerWithAssociatedMarkup and Panel classes,
and add the functionality from those to your
Diego I have been encapsulating functionality of a Demo app into panels and
worked preaty good.
A Login panel can then be added wherever and whenever we needed.
f(t)
On 6/6/07, diego [EMAIL PROTECTED] wrote:
Hi, i have an inner form that i want to modularize (the class and the
html), but the
I'd guess that you've used the onchange event, whereas you should have
used the onclick (as AjaxCheckBox does). Or am I wrong? :)
-Matej
On 6/6/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote:
Hi, I had a strange problem with the CheckBox and ajax in the Internet
Explorer. First I created a
Its a pitty that we cant do this in FormComponentPanel:
/**
* @see
org.apache.wicket.markup.html.form.FormComponent#getConvertedInput()
*/
public abstract Object getConvertedInput();
then we force everybody to think about it..
But you can't do then super.getConvertedInput() :(
On 6/6/07, Johan Compagner [EMAIL PROTECTED] wrote:
Its a pitty that we cant do this in FormComponentPanel:
/**
* @see
org.apache.wicket.markup.html.form.FormComponent#getConvertedInput()
*/
public abstract Object getConvertedInput();
then we force everybody to think
Could anyone tell me the definitive status as to whether delayed session
creation will be supported in 1.3? As a relative newcomer to the community
is there a better place to go to get information regarding proposed feature
content.
Thanks
--
View this message in context:
Yep, that's been supported since a long time. See the stateless
example in wicket-examples and the migration guide for 1.2 - 1.3 here
http://cwiki.apache.org/WICKET/migrate-13.html
Eelco
On 6/6/07, mchack [EMAIL PROTECTED] wrote:
Could anyone tell me the definitive status as to whether delayed
I will check it out. I had what I thought was a completely stateless example
and it appeared that a session was getting created.
Mike
Eelco Hillenius wrote:
Yep, that's been supported since a long time. See the stateless
example in wicket-examples and the migration guide for 1.2 - 1.3
You can set a breakpoint in the bind method of
org.apache.wicket.protocol.http.AbstractHttpSessionStore to find out
when Wicket thinks it should 'bind' to the session.
Eelco
On 6/6/07, mchack [EMAIL PROTECTED] wrote:
I will check it out. I had what I thought was a completely stateless example
Yeap, you are right, I used the event onchange. Thanks
Gustavo
On 6/6/07, Matej Knopp [EMAIL PROTECTED] wrote:
I'd guess that you've used the onchange event, whereas you should have
used the onclick (as AjaxCheckBox does). Or am I wrong? :)
-Matej
On 6/6/07, Gustavo Yoshizaki [EMAIL
Sounds like I may have interpreted the data incorrectly. It looks like an
HTTP session is always created, but what you are saying is that Wicket won't
bind to the session until it is necessary.
Mike
Eelco Hillenius wrote:
You can set a breakpoint in the bind method of
On 6/6/07, mchack [EMAIL PROTECTED] wrote:
Sounds like I may have interpreted the data incorrectly. It looks like an
HTTP session is always created, but what you are saying is that Wicket won't
bind to the session until it is necessary.
No, Wicket should defer creating a http session until it
This was almost exactly my own reaction to the original assertion
that this team has very strong OOP skills. The criticism cited sounded
a lot more to me like reflex than any kind of thinking.
James McLaughlin-3 wrote:
Hi Florian,
To be honest, you should have titled this post My team did
Florian Hehlen-2 wrote:
-It will be easier to hire someone with Struts knowledge on top of the
fact that we have some in-house knowledge with it.
translation: we don't want to think
-Struts is the de-facto standard with a lot of
community/vendor/documentation support
translation:
Issued:
https://issues.apache.org/jira/browse/WICKET-622
Thanks,
Nili
Eelco Hillenius wrote:
1. Why isn't toString() of Component a safe method ?
It should be, and later versions tweaked this. However, it's still
defaulting to the extended debug info, which is maybe not the best
idea.
subscription
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No
On 6/7/07, Jonathan Locke [EMAIL PROTECTED] wrote:
Florian Hehlen-2 wrote:
-It will be easier to hire someone with Struts knowledge on top of the
fact that we have some in-house knowledge with it.
translation: we don't want to think
-Struts is the de-facto standard with a lot of
58 matches
Mail list logo