No problem. I'm glad to act as a scribe, my tiny contribution to the
community. As time permits I'll continue to capture some of the wisdom
from this list in the Wiki.
Marty
Igor Vaynberg wrote:
> hi marty, thank you for taking the time.
>
> wiki is too slow for me to be usable right now, if yo
hi marty, thank you for taking the time. wiki is too slow for me to be usable right now, if you have a sec could you edit the post and change thisgetDebugSettings()...togetDebugSettings().setSerializeSessionAttributes(false);
i didnt have the source with me when i answered and couldnt remember the
patches to javadoc are always welcome :) or a bug report so we wont forget. for core committers there are only so many hours in the day.-IgorOn 7/24/06,
Rice Yeh <[EMAIL PROTECTED]> wrote:
Thank you for your explanation. It is very clear. However, the javadoc is vague for me.Rice
On 7/25/06, Igor
Hello,
What is recommended way (Wicket 1.2.1, Ajax) to make table rows
editable? If table contains data:
[edit] 1 abc
[edit] 2 def
[edit] 3 ghi
[edit] 4 jkl
Should I have:
[edit] 1 abc
hiddenForm1
[edit] 2 def
formEditingItem2
[edit] 3 ghi
hiddenForm3
[edit] 4 jkl
hiddenForm4
Or is there way t
Done. Captured in the FAQ: http://www.wicket-wiki.org.uk/wiki/index.php/FAQs
Eelco Hillenius wrote:
> Yeah, that would make sense. We have one on the WIKI don't we?
>
> Eelco
>
>
> On 7/24/06, Frank Bille Jensen <[EMAIL PROTECTED]> wrote:
>
>> Perhaps it should be a FAQ?
>>
>>
>> On Mon, 2006-0
Thank you for your explanation. It is very clear. However, the javadoc is vague for me.RiceOn 7/25/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:ah, it was overridden in the older version. now we have support for special containers that can be transparent to the component hierarchy - which means com
Sounds great!On 7/24/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
I've just finished new (ajax based) tree (version for wicket 2.0 is insvn (/svnroot/wicket/trunk/wicket-sandbox/users/matej_k/tree) )It's about to be ported to wicket 1.2 and it will likely be a part ofwicket-extensions. It might help
It used to work, but now it doesn't since DatePicker uses an attribute
modifier to change the ID of its target text field. The updating
behavior's javascript is looking for the original ID, so you get a JS error.
Solution is to use AjaxFormSubmitBehavior if you can, since it doesn't
depend on the
link.add(new SimpleAttributeModifier("class", "myclass"));
or use AttributeModifier if you need more dynamic control.
Eelco
On 7/24/06, Pierre-Yves <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> I am struggling with a new problem : I need to programmatically set the
> class attribute of a html link (
use an attribute modifier, there are plenty examples on the list. woogle for it at http://woogle.billen.dk/search.link.add(new SimpleAttributeModifier("class","error")); for simple cases
-IgorOn 7/24/06, Pierre-Yves <[EMAIL PROTECTED]> wrote:
hi,I am struggling with a new problem : I need to progra
link.add(new SimpleAttributeModifier("class", "YOUR-CLASS-NAME"));
Frank
On Mon, 2006-07-24 at 11:20 -0700, Pierre-Yves wrote:
> hi,
>
> I am struggling with a new problem : I need to programmatically set the
> class attribute of a html link ( element). I tried to extends the Link
> element, b
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Use an AttributeModifier on the Link.
Pierre-Yves wrote:
> hi,
>
> I am struggling with a new problem : I need to programmatically set the
> class attribute of a html link ( element). I tried to extends the Link
> element, but unfortunately, th
hi,
I am now struggling with a new problem : I need to programmatically set
the class attribute of a html link ( element). I tried to extend the
Link element, but unfortunately, the onComponentTag method is final.
(for some reasons, I cannot use another clickable element). Any idea ?
Thanks,
hi,
I am struggling with a new problem : I need to programmatically set the
class attribute of a html link ( element). I tried to extends the Link
element, but unfortunately, the onComponentTag method is final. (For some
reasons, I cannot use another clickable element). Any idea ?
Thanks,
Pier
And to fix that particular problem, look for the second annonymous
class defined in
com.wsi.mm.ui.shippingrates.ShippingRateGroupSideBarPanel. Make sure
that is serializable so that if you would decide to run in clustered
mode some day, or e.g. you want to save sessions to be picked up after
a rest
And on wicketframework.org... Perhaps some links between them?
On Mon, 2006-07-24 at 22:09 +0200, Eelco Hillenius wrote:
> Yeah, that would make sense. We have one on the WIKI don't we?
>
> Eelco
>
>
> On 7/24/06, Frank Bille Jensen <[EMAIL PROTECTED]> wrote:
> > Perhaps it should be a FAQ?
> >
New version of eclipse plugin is available at
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench
There's no new features (compared to 0.2.9) just fixes and enhancements.
I also wrote a short tutorial on how to use launching features:
http://www.laughingpanda.org/mediawiki/index.php/Laun
Yeah, that would make sense. We have one on the WIKI don't we?
Eelco
On 7/24/06, Frank Bille Jensen <[EMAIL PROTECTED]> wrote:
> Perhaps it should be a FAQ?
>
>
> On Mon, 2006-07-24 at 11:12 -0700, Igor Vaynberg wrote:
> > are you in development mode?
> >
> > if so this is a debug feature to hel
Perhaps it should be a FAQ?
On Mon, 2006-07-24 at 11:12 -0700, Igor Vaynberg wrote:
> are you in development mode?
>
> if so this is a debug feature to help you find potential problems when
> your app will run clustered. it checks your component graphs to make
> sure everything is serializable a
Thanks. That solved my problem for now.
--
View this message in context:
http://www.nabble.com/Wicket-1.2.1-available-tf1992241.html#a5472704
Sent from the Wicket - User forum at Nabble.com.
-
Take Surveys. Earn Cash. Infl
are you in development mode?if so this is a debug feature to help you find potential problems when your app will run clustered. it checks your component graphs to make sure everything is serializable as it has to be for clustering
if you are not going to cluster you can turn this off by doing getDe
As soon as upgrading to the new version, I am getting these types of errors
all over the place:
WicketMessage: Internal error cloning object. Make sure all dependent
objects implement Serializable. Class:
com.wsi.mm.ui.shippingrates.ShippingRateGroupPage
Root cause:
java.io.NotSerializableExcep
ah, it was overridden in the older version. now we have support for special containers that can be transparent to the component hierarchy - which means components dont have to be added directly to them but instead to their parent.
border.setTransparentResolver(true);is the magic call that tells the
I think it's tied into how the border added to the
AuthenticatedWebPage's parent (the WicketExamplePage instance), which
I think means that anything added to a child page (or indeed to the
WicketExamplePage itself) will be added as child of the border.
/Gwyn
On 24/07/06, Rice Yeh <[EMAIL PROTECTE
No.On 7/24/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
is the homepage's add() method overridden?-IgorOn 7/24/06, Rice Yeh <
[EMAIL PROTECTED]> wrote:
Hi all, I get confused with the usage of Border in the library example. In the
Home.html, a non-wicket tag is in beween .. added to the border
Also, take note that IE doesn't allow you to replace individual table
rows using inner html and outer html. Such things should be done using
dom manipulation (aargh).
Martijn
On 7/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> but what happens if you have a row filled and the user adds anothe
Very instructive. I made one change in order to use the properties file for
that Enum class instead of this specific component and everything works fine
now. Thanks a lot.
protected IModel createLabelModel( IModel itemModel ) {
final IModel property = super.createLabelMode
is the homepage's add() method overridden?-IgorOn 7/24/06, Rice Yeh <[EMAIL PROTECTED]> wrote:
Hi all, I get confused with the usage of Border in the library example. In the
Home.html, a non-wicket tag is in beween .. added to the border automatically? But from the source code, the list view is
Only when we would cache the results.
Eelco
On 7/24/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> we only need to parse css resources and we only need to parse them once for
> this to work i think.
>
> -Igor
>
>
>
> On 7/24/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> >
> On 7/24/06, Igor
it is still the same as the TypeValidator we had before:"TypeValidator" + "." + Classes.simpleName(type)So TypeValidator.DoubleOn 7/24/06,
Renaut, Jonathan E CTR DISA GIG-CS <[EMAIL PROTECTED]> wrote:
I need to check that the entry in a text field is a double. I see that NumberValidato
Hi all, I get confused with the usage of Border in the library example. In the Home.html, a non-wicket tag is in beween .. added to the border automatically? But from the source code, the list view is added to the home page not the box border. Is not a borded content should be added to the border
we only need to parse css resources and we only need to parse them once for this to work i think.-IgorOn 7/24/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:On 7/24/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:> i think in this case we are talking about a contextpathprepender but for the> css, not
Title: Validation message using FormComponent.setType
I need to check that the entry in a text field is a double. I see that NumberValidator is deprecated, and that FormComponent.setType is the replacement. That works fine. However, I do not know, and can not find, how to specify a custom
On 7/24/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i think in this case we are talking about a contextpathprepender but for the
> css, not just a variable interpolator.
Yes, that's pretty obvious. I wasn't proposing 'just variable
interpolation', but just explaining what there is now to fix hi
I've just finished new (ajax based) tree (version for wicket 2.0 is in
svn (/svnroot/wicket/trunk/wicket-sandbox/users/matej_k/tree) )
It's about to be ported to wicket 1.2 and it will likely be a part of
wicket-extensions. It might help you because it works with TreeNode and
not DefaultMutable
something like this:new ChoiceFilteredPropertyColumn() { IModel createLabelModel(IModel itemModel) { final IModel property=super.createLabelModel(itemModel); return new AbstractReadOnlyModel() {
Object getObject(Component c) { // wi
i think in this case we are talking about a contextpathprepender but for the css, not just a variable interpolator.also while the texttemplate stuff works what it does is sinclude the css into the page, im talking about a resource so you can have all this stuff done once and served/cached through t
Hi,
My apologies if the following is simple, but I am relatively new to
Wicket (moving from Tapestry), and wasn't able to figure out an
elegant solution:
I would like to add an Enum property to the Contact class of the
wicket-phonebook application, say a Gender:
public enum Gender {
MA
The Wicket project has released the maintenance release Wicket 1.2.1. Wicket is a Java component based web application framework licensed under the open source Apache 2 license. Wicket allows Java developers to create highly dynamic web applications using plain Java and HTML.
This maintenance rele
Answers below.
On 7/24/06, James Cook <[EMAIL PROTECTED]> wrote:
> What is the best practice in 1.2 and 2.0 for developing a component that has
> different visual orientations depending on the developers purpose?
>
> For example, suppose I am writing a component to display advertising blurbs
> lik
What is the best practice in 1.2 and 2.0 for developing a component that has different visual orientations depending on the developers purpose? For example, suppose I am writing a component to display advertising blurbs like Google's Adwords. The component can have a vertical or horizontal layout.
ahh was that what i did..Undo(), Undo()hmm no effect.. should be perminant then.. sorryOn 7/24/06, Martijn Dashorst <
[EMAIL PROTECTED]> wrote:> getHttpRequest().getRemoveAdress()
Ah... that is what happened to my internet connection... you bastard!MartijnOn 7/24/06, Johan Compagner <[EMAIL PROTECT
> getHttpRequest().getRemoveAdress()
Ah... that is what happened to my internet connection... you bastard!
Martijn
On 7/24/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> something like this:
>
> ((WebRequest)RequestCycle.get().getRequest()).getHttpRequest().getRemoveAdress()
>
>
> On 7/24/06,
Consider getRemoteHost also. Check out javax.servlet.ServletRequest
from servlet api
Eelco
On 7/24/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> ((WebRequestCycle)RequestCycle.get()).getWebRequest().getHttpServletRequest().getRemoteAddr()
>
> Eelco
>
>
>
> On 7/24/06, JK <[EMAIL PROTECTED]> w
something like this:((WebRequest)RequestCycle.get().getRequest()).getHttpRequest().getRemoveAdress()On 7/24/06, JK <
[EMAIL PROTECTED]> wrote:Sorry, but I can't find out how to get remote IP address. Could
someone give example code? (Wicket 1.2)2006/7/4, Johan Compagner <[EMAIL PROTECTED]>:> remote
((WebRequestCycle)RequestCycle.get()).getWebRequest().getHttpServletRequest().getRemoteAddr()
Eelco
On 7/24/06, JK <[EMAIL PROTECTED]> wrote:
> Sorry, but I can't find out how to get remote IP address. Could
> someone give example code? (Wicket 1.2)
Sorry, but I can't find out how to get remote IP address. Could
someone give example code? (Wicket 1.2)
2006/7/4, Johan Compagner <[EMAIL PROTECTED]>:
> remote address can be get from the http request (of the WebRequest from the
> RequestCycle)
> The snoop servlet does this
>
> http://www.rawbw.co
Thanks Eelco for you quick support.
Jan
"Eelco Hillenius" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Override onComponentTag in your component and get the values with
> tag.getAttributes().
>
> In Wicket 2.0, you can even do getMarkupAttributes right in your
> component's const
Override onComponentTag in your component and get the values with
tag.getAttributes().
In Wicket 2.0, you can even do getMarkupAttributes right in your
component's constructor.
Eelco
On 7/24/06, jan_bar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a Panel and I want to change it's markup accord
Hi,
I have a Panel and I want to change it's markup according to values
specified at the tag using the panel:
The class MyPanel should read the attribute "myValues" and use the values as
model inside the panel, for instance show/hide some components inside that
panel.
How can I get the value o
For clarity, you could ask your component for it's markup id when it
is rendering like this: textField.getMarkupId();
So, it could look like this:
PopupSettings popupSettings = new
PopupSettings(PageMap.forName("popuppagemap")).setHeight(
500).setWidth(500);
PageParameters p = new
As you don't have to pre-register packaged resources anymore, you can
reference them if you know the URL, which for such resources always
has the same form:
/webapp/servletname/resources/some.package.SomeClass/theme.css
and even
/webapp/servletname/resources/some.package.SomeClass/some/sub/dir/t
52 matches
Mail list logo