How to insert ${...} literal in property file?

2009-03-30 Thread Heidi Burn
Hello, guys,

Please, help me to insert ${id} literal in a property file. Back
slashes don't work for me.
And how to tell PatternValidator to work differently for two fields in a form?

Heidi

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxSelfUpdatingTimerBehavior Once

2009-03-20 Thread Heidi Burn
Thank you very much, Kevin
May I ask why isTemporary is not working?

Heidi

On Thu, Mar 19, 2009 at 11:10 PM, Kevin Logue ke...@viableoptions.ie wrote:
 If you just want to stop AjaxSelfUpdatingTimerBehavior after a particular
 event(or one call even), you could always call the stop method on the
 AjaxSelfUpdatingTimerBehavior. No idea if this is the best practice but it's
 worked for me.

 Kevin

 Heidi Burn wrote:

 Hi, guys,

 I code AjaxSelfUpdatingTimerBehavior with isTemporary() {return true;}.
 After being called once I get

 ERROR - RequestCycle               -
 java.lang.NullPointerException
        at org.apache.wicket.request.

 target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:96)
        at
 org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
        at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1236)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1315)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1414)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:542)
        at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
        at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)


 What is my problem?
 Please, help me.

 Heidi

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 3948 (20090319) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com







 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AjaxSelfUpdatingTimerBehavior Once

2009-03-19 Thread Heidi Burn
Hi, guys,

I code AjaxSelfUpdatingTimerBehavior with isTemporary() {return true;}.
After being called once I get

ERROR - RequestCycle   -
java.lang.NullPointerException
    at org.apache.wicket.request.
target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:96)
    at 
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
    at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1236)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1315)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1414)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:542)
    at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
    at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)


What is my problem?
Please, help me.

Heidi

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org