I feel the only reason why there are so many questions asked on this
list is because we can get so many and relevant answers. Nothing to do
with lack of documentation or Wicket being too difficult to use.
Pierre-Yves
Erik van Oosten a écrit :
Considering that Wicket's documentation is ok
Hello Erik,
I'm using wicket 1.2.
The pages themselves get the data from an object in the session every
time it's needed. There are quite a few panels though that use models
which in turn do have a reference to the object in the session. But I
don't see a possibility of changing that
Well, as long as the data is in the session and not outside, you should
be okay.
Still, after you tried Igor's idea (the log4j debug parameter), you may
want to take a look at the class LoadableDetachableModel. If you are
interested, I made a small variation on LoadableDetachableModel that
i don't know exactly when that property was made a setting now it is:
if (Application.get().getDebugSettings().getSerializeSessionAttributes())
but that is now quite sometime so when it was exactly changed i don't know
upgrade to the latest 1.2 then you can easily set that property.
johan
On
I'd also love to see some code and I'd like to offer my help, because
I'm working on a new Wicket project and was already looking for a Java
CMS that I could integrate into my project a Wicket CMS would be a
perfect fit!
- Johannes
Ted Roeloffzen wrote:
Hi all,
As some of you may
Is there way to not having parameters like ?wicket:interface=:4:: at the URL?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT
Hi all,
An example is described here:
http://cwiki.apache.org/WICKET/how-to-modify-an-attribute-on-a-html-tag.html
If have taken a look at the example given above, but it still doesn't work.
Wicket won't change the value of the class attribute.
Ted
Show us some of your code.
2006/12/1, Ted Roeloffzen [EMAIL PROTECTED]:
Hi all,
An example is described here:
http://cwiki.apache.org/WICKET/how-to-modify-an-attribute-on-a-html-tag.html
http://cwiki.apache.org/WICKET/how-to-modify-an-attribute-on-a-html-tag.html+
If have taken
list.add(new AttributeModifier(class, new Model() {
public Object getObject(final Component component)
{
String cssClass;
if(isHorizontal)
{
cssClass = menuItemsHorizontal;
} else {
cssClass = menuItemsVertical;
}
return cssClass;
}
}));
This is almost
And your html?
2006/12/1, Ted Roeloffzen [EMAIL PROTECTED]:
list.add(new AttributeModifier(class, new Model() {
public Object getObject(final Component component)
{
String cssClass;
if(isHorizontal)
{
cssClass = menuItemsHorizontal;
} else {
cssClass =
http://cwiki.apache.org/WICKET/obfuscating-urls.html
Dirk
2006/12/1, Carfield Yim [EMAIL PROTECTED]:
Is there way to not having parameters like ?wicket:interface=:4:: at the
URL?
-
Take Surveys. Earn Cash. Influence the
Hi Ted,
I see that the component is called 'list'.
If it is a ListView (or similar) you should also read the FAQ entry on
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html.
Regards,
Erik.
Ted Roeloffzen wrote:
list.add(new AttributeModifier(class, new Model() {
wicket:panel
ul wicket:id=menuItems class=menuItemsVertical
lia wicket:id=menuItem class=menuItemdiv wicket:id=menuItemLabel
/div/a/li
/ul
/wicket:panel
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
It is indeed a ListView.
Which is attached to an UL-tag
Ted
2006/12/1, Erik van Oosten [EMAIL PROTECTED]:
Hi Ted,
I see that the component is called 'list'.
If it is a ListView (or similar) you should also read the FAQ entry on
add the attribute modifier to the ITEM instead of the list.
Martijn
On 12/1/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
It is indeed a ListView.
Which is attached to an UL-tag
Ted
2006/12/1, Erik van Oosten [EMAIL PROTECTED]:
Hi Ted,
I see that the component is called 'list'.
If
Hi Vincent
This is an replacement for the recorder component that are used in the wicket
extensions. This recorder in order with a minor update of the palette(you need
to call the recreate function in the palette onmodelchanged function).
I'll be glad to put our full component up somewhere,
I'd like to see the alternative solution you mention if possible?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 1. december 2006 14:08
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Palette add selected option
Hi
Hi Nino,
Thanks for your reply, I m still don't find a solution, can you provide
me the full component, to see if it correspond to my need :)
Thanks for your help (I m a neebies in Wicket) :)
On Fri, 2006-12-01 at 14:08 +0100, Nino Wael wrote:
Hi Vincent
This is an replacement for the
Dear,
The problem is still there , this is a bug or it's a problem of
Firefox,etc...
On Thu, 2006-11-30 at 17:47 +0100, Vincent Renaville wrote:
Dear,
I use Ajax to assign data to Textfield dynamically when a user select a
value into a dropdownchoice :
firstname = new
Hi,
Can you create a bug report and attach a quickstart project that
demonstrates this problem?
Thanks,
-Matej
Vincent Renaville wrote:
Dear,
The problem is still there , this is a bug or it's a problem of
Firefox,etc...
On Thu, 2006-11-30 at 17:47 +0100, Vincent Renaville wrote:
Hello Erik, Johan and karthik,
Upgrading from Wicket 1.2 to 1.2.3 seems to have solved the problem. I
do think I still have a bit of optimizing to do, but at least I'm not
running into the OutOfMemoryError anymore.
Thanks for your help and time.
Greetings,
Arjan Zwaan.
However, the same or similar questions are asked frequently. We (the Wicket
users) should spend more time putting together FAQs.
On 12/1/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
I feel the only reason why there are so many questions asked on this list
is because we can get so many
I wouldn't say it's hard to use, but documentation can definitely
improve. Right now I learn most everything I need to know by looking
at example code, which isn't bad, but maybe it could be better.
Regardless, Wicket became my favorite framework in about a 24-hour
period, and I think it has a
your models shouldnt keep a reference to that object, they should know how
to retrieve it and do so when getobject() is called.
-igor
On 12/1/06, A. Zwaan [EMAIL PROTECTED] wrote:
Hello Erik,
I'm using wicket 1.2.
The pages themselves get the data from an object in the session every
On 12/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
your models shouldnt keep a reference to that object, they should know how
to retrieve it and do so when getobject() is called.
i.e. in your case:
class MyFinanModel extends Model {
public Object getObject(Component component) {
This is a nice solution, however, I noticed that if you are using this
feature and try to hack the encrypted URL, in other words you type if
skaldjflskdajflsd you get an exception that gets thrown back to the
container. It looks like the exception happens low enough where the default
or
I do not agree.
I think we (the Wicket users and Wicket website master) should spend
more time on making the existing FAQs more easily accessible.
:)
Erik.
Nick Heudecker wrote:
However, the same or similar questions are asked frequently. We (the
Wicket users) should spend more time
Could you please open up an issue for that then?
Thanks,
Eelco
On 12/1/06, craigdd [EMAIL PROTECTED] wrote:
This is a nice solution, however, I noticed that if you are using this
feature and try to hack the encrypted URL, in other words you type if
skaldjflskdajflsd you get an exception
I haven't following the whole apache move, is there where we are logging
issues now?
https://issues.apache.org/jira/browse/WICKET
Eelco Hillenius wrote:
Could you please open up an issue for that then?
Thanks,
Eelco
On 12/1/06, craigdd [EMAIL PROTECTED] wrote:
This is a nice
Yep.
On 12/1/06, craigdd [EMAIL PROTECTED] wrote:
I haven't following the whole apache move, is there where we are logging
issues now?
https://issues.apache.org/jira/browse/WICKET
Eelco Hillenius wrote:
Could you please open up an issue for that then?
Thanks,
Eelco
On
I'm using Wicket 2.0
AjaxRequestTarget.addComponent() is so much useful to me. But there was a
usecase wherein I had to update each of the components contained in my
wicket page, and I ended up with a numerous call to
AjaxRequestTarget.addComponent().
Is there a way (an easy way) for me to all
You only have to add the top-level component; all the children of the
component will be rendered as well. But if you just want to render the
whole page, why not just turn it into a normal request by calling
setResponsePage(...))? I'm not totally sure whether addComponent(page)
would work, you
I need to take advantage of AJAX that's why I can't turn it into a normal
page request.
addComponent(page) doesn't work, but it's a nice feature if it does (I
guess).
On 02/12/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
You only have to add the top-level component; all the children of the
33 matches
Mail list logo