not if your change of the flag results in change to the page version.
try setversioned(false) on your component, if that doesnt help then
store your state outside a model in a field or in metadata.
-igor
On Tue, Jan 25, 2011 at 11:41 AM, Brown, Berlin [GCG-PFS]
wrote:
> "this still doesn't exp
"this still doesn't explain the need to switch it to disabled in
onafterrender... "
Because in my traffic light scenario, I want to return to the original
state/value after the component has been rendered. If it were a traffic light,
I guess once it turns red, it has to return to disabled.
Is
this still doesnt explain the need to switch it to disabled in onafterrender...
-igor
On Tue, Jan 25, 2011 at 11:19 AM, Brown, Berlin [GCG-PFS]
wrote:
> Here is a use-case for my request below:
>
> Let's say I am implementing a traffic stop light Wicket component. There are
> only two states,
Some Other Panel :
addAjaxLink() {
onClick() {
setDefaultModel(new Model("EnabledLight"));
target.addComponent(trafficLight);
}
}
-Original Message-
From: Brown, Berlin [GCG-PFS]
Sent: Tuesday, January 25, 2011 2:19 PM
To: 'users@wicket.apache.org'
Subject: RE:
Here is a use-case for my request below:
Let's say I am implementing a traffic stop light Wicket component. There are
only two states, on and off. The default state is off but I can manually
change the state to on. (E.g. some component like a link outside of the traffic
light wicket component
I am trying to use wicketstuyff.dojo , I saw the version available is 1.3
and it does not work with wicket 1.4.12 , please tell me if there is any
wicketstuff-dojo compatible with wicket 1.4.12 ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-dojo-tp
you didnt answer my question
-igor
On Tue, Jan 25, 2011 at 9:58 AM, Brown, Berlin [GCG-PFS]
wrote:
> If we can update the model object and changes its value without problem.
> Shouldn't we also be able to assign a new model?
>
> onBeforeRender() {
> ...
> this.setDefaultModel(new ReadonlyS
If we can update the model object and changes its value without problem.
Shouldn't we also be able to assign a new model?
onBeforeRender() {
...
this.setDefaultModel(new ReadonlyStaticModel("state1"));
}
onAfterRender() {
this.setDefaultModel(new ReadonlyStaticModel("state2-reset"));
whats the usecase?
-igor
On Tue, Jan 25, 2011 at 9:37 AM, Brown, Berlin [GCG-PFS]
wrote:
> I tried to do the following below but I got an error could not update
> component hierarchy.
> WicketMessage: Cannot modify component hierarchy after render phase has
> started (page version cant change th
I tried to do the following below but I got an error could not update
component hierarchy.
WicketMessage: Cannot modify component hierarchy after render phase has
started (page version cant change then anymore)
Is there an event method (like onAfterRender) that I could use without
error?
Componen
On Tue, Jan 25, 2011 at 11:14 AM, Matthias Keller
wrote:
> Hi List
>
> We've got the following scenario:
> After a user hopped through a wizard, he'll reach a confirmation page in
> our workflow. Now the session still needs to remain active but I want to
> prohibit going back into the wizard and r
Hi List
We've got the following scenario:
After a user hopped through a wizard, he'll reach a confirmation page in
our workflow. Now the session still needs to remain active but I want to
prohibit going back into the wizard and resend it again.
I experimented with Session.clear() and Session
On Tue, Jan 25, 2011 at 7:18 AM, MattyDE wrote:
> its not the
> wicket-way right?
>
It's *a* wicket way. I'd say it's better than Martin's suggestion of
copy-and-paste code. But, at the end of the day, it's up to your style
preference.
--
Jeremy Thomerson
http://wickettraining.com
*Need a CM
Any luck in resolving this problem? I'm unable to even look at the Source
Code.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-examples-very-slow-tp3234627p3236027.html
Sent from the Users forum mailing list archive at Nabble.com.
---
thanks it worked!
On Tue, Jan 25, 2011 at 2:46 PM, Martin Grigorov wrote:
> I guess this is Wicket 1.5
> Check the migration page. There is an entry for Border.addToBody()
>
> On Tue, Jan 25, 2011 at 2:39 PM, Christian Grobmeier
> wrote:
>
>> Hi,
>>
>> I could create a page which is rendered wit
I guess this is Wicket 1.5
Check the migration page. There is an entry for Border.addToBody()
On Tue, Jan 25, 2011 at 2:39 PM, Christian Grobmeier wrote:
> Hi,
>
> I could create a page which is rendered with in a border. But when I
> am following the Navomatic-example I failed when I added a com
Hi,
I could create a page which is rendered with in a border. But when I
am following the Navomatic-example I failed when I added a component
to the border itself.
In my NavBorder.html:
Page1
Page2
Page3
Navigation Link
Thanks for the fast reply. I thought about this also, but ... its not the
wicket-way right?
Martin Grigorov-4 wrote:
>
> On Tue, Jan 25, 2011 at 2:02 PM, MattyDE wrote:
>
>>
>> Everyone know what i want Byte 0 = False Byte 1 = True.
>>
>> But unfornately "getConverter" is final in Check
Can´t you just use a nested model like
public class ByteBooleanModel implements IModel {
private static final long serialVersionUID = 1L;
private IModel model;
public ByteBooleanModel(IModel model) {
this.model = model;
}
/* (non-Javadoc)
On Tue, Jan 25, 2011 at 2:02 PM, MattyDE wrote:
>
> Everyone know what i want Byte 0 = False Byte 1 = True.
>
> But unfornately "getConverter" is final in CheckBox so i cant place my own
> converter there.
>
> Any ideas?
>
Copy CheckBox to MyCheckBox and hack it however you want.
>
> Thanks
Everyone know what i want Byte 0 = False Byte 1 = True.
But unfornately "getConverter" is final in CheckBox so i cant place my own
converter there.
Any ideas?
Thanks :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Use-Byte-vor-CheckBox-instead-of-Boolean-tp
On Tue, Jan 25, 2011 at 11:18 AM, Mike Mander wrote:
> Thanks Martin.
>
> That would explain, why it's not working. So i will do it manually.
> What do you thing - is it making sense to open an RFE?
>
> Please do. With quickstart application.
With patch is even better.
>
> Mike
>
> -
Thanks Martin.
That would explain, why it's not working. So i will do it manually.
What do you thing - is it making sense to open an RFE?
Mike
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional command
I am not sure this is supported.
Only "component" resources are checked for locale/style/variation.
See ContextImage, ContextPathGenerator and ContextRelativeResource classes
and try to make it working but after brief look I think it wont work.
On Tue, Jan 25, 2011 at 10:52 AM, Mike Mander wrote
Hi Mathias,
it would be great if it would be that easy. But it isn't. It was my fault.
The spelling i've already checked (before complaining here :-)
I really look for branda (Take brenda as alias :-). And it isn't working :-(
Thanks anyway
Mike
Hello,
First you talk of branda, then brenda. Maybe a shot in the dark, but recheck
your spelling and watch out for case sensitivity.
Brgds,
Matthias
--
iPhone Mail
On 25.01.2011, at 09:02, Mike Mander wrote:
> Hi all,
>
> i try to load a variant of my main css file (wicket 1.4.15).
>
> T
Has no one made a wicketstuff of Alistars forms with flair project or
something similar?
-Nino
This is fixed in later Wicket 1.4.x and 1.5.x
On Tue, Jan 25, 2011 at 9:34 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> I suspect also bug with Page class. Sometimes our page stalls when
> user stays long time on page.
>
> /** Used to create page-unique numbers */
>
Hi!
I suspect also bug with Page class. Sometimes our page stalls when
user stays long time on page.
/** Used to create page-unique numbers */
private short autoIndex;
**
Martin
2010/11/15 Martin Makundi :
> Hi!
>
> We have a suspect for the cause of this bug. The Radio is using a
> SH
With
add(CSSPackageResource.getHeaderContribution(new
ResourceReference("_css/cust.css"), "screen"));
i get
resources/org.apache.wicket.Application/_css/cust.css
But this file is not existing and layout is demaged :-(.
Thanks
Mike
-
On Tue, Jan 25, 2011 at 2:02 AM, Mike Mander wrote:
> Hi all,
>
> i try to load a variant of my main css file (wicket 1.4.15).
>
> The file is located in a webapp-subfolder (src/main/webapp/_css).
> So i set the style of session to "branda". In the page i load the css like
> this
>
> add(CSSPac
Hi all,
i try to load a variant of my main css file (wicket 1.4.15).
The file is located in a webapp-subfolder (src/main/webapp/_css).
So i set the style of session to "branda". In the page i load the css
like this
add(CSSPackageResource.getHeaderContribution("/_css/main.css", "screen"));
32 matches
Mail list logo