, Murat Yücel [EMAIL PROTECTED] wrote:
Hi All,
I have some problems when using StringResourceModel. It seems like it is
calling the IStringResourceLoader 3 times.
I am currently using wicket 1.3.0-incubator.
Here is an example:
CLASS: TestPage.java
public class TestPage extends WebPage
with a quickstart case
On 7/11/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi Johan
It is the same key and it is being called with the same component
instance everytime.
There are no locale added to the key.
/Murat
2007/7/10, Johan Compagner [EMAIL PROTECTED]:
is the string key 3 time exactly the same
Yes that is correct Eelco. The toString method is called getString, which
will fetch the
i18n message again. I havent looked at why the magic number is three instead
of two,
but it doesnt matter as long as the feature isnt a bug :)
2007/7/11, Eelco Hillenius [EMAIL PROTECTED]:
On 7/11/07,
Hi All,
I have some problems when using StringResourceModel. It seems like it is
calling the IStringResourceLoader 3 times.
I am currently using wicket 1.3.0-incubator.
Here is an example:
CLASS:TestPage.java
public class TestPage extends WebPage {
public TestPage() {
/Murat Yücel
-
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 data. Click to get it now.
http://sourceforge.net/powerbar/db2
';);
}
}
2007/6/5, Murat Yücel [EMAIL PROTECTED]:
Hi Juergen
You are probably right about the setEscapeModelString(false) in 1.3. I am
currently using 1.2.6.
If i use a a href tag then it will confuse the developers. Because it is
actually
not a link it is a i18n message that i want to display. Thats
a std
component like
a wicket:id=myLink href=# onclick=popup();
and use setVisible(boolean) to either switch it on or off depending
the user status.
Juergen
On 6/4/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi All
I have currently made a custom message resolver using the
IComponentResolver
. This way the business can change texts without me getting
involved :)...
The popup part is not a issue. I just have problems with both adding a Link
and a Label in a
Custom Message Resolver.
Hope that you can help
Kind regards
/Murat Yücel
Hi All
I had some problem with ajax when using wicket 1.2.6. I read the thread with
the following subject:
Problem with concurren ajax requests on page
Matej suggested that a upgrade to wicket 1.3 would solve the ajax problem.
So i upgraded the application
to wicket-1.3.0-incubating-SNAPSHOT.
if it is not.
Hope this helps.
best,
jim
On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi All
I had some problem with ajax when using wicket 1.2.6. I read the
thread with the following subject:
Problem with concurren ajax requests on page
Matej suggested that a upgrade to wicket 1.3
. Well i cant figure out how to retrieve them :)
Kind regards
/Murat Yücel
-
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
[EMAIL PROTECTED]:
* Murat Yücel:
Is it possible to test a panel that includes a form and make use
of ajax? If yes how is it possible and do you have an example
:)...
I am already using this method WicketTester.startPanel but i can
only test that the panel is rendered without any errors. I
[EMAIL PROTECTED]:
looks like you are passing int he wrong path to the form?
-igor
On 3/7/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi Jean
Yes i have tried tester.newFormTester(form). I get the following
error:
junit.framework.AssertionFailedError: path: 'form' does no exist for
page
AddressModel? Cant
you just use
a normal wicket Model or what is the purpose of the AddressModel?
Kind regards
/Murat Yücel
2007/2/28, Igor Vaynberg [EMAIL PROTECTED]:
why use a type converter? you are not converting types...
i would use a model to do this
class addrlinemodel implements
14 matches
Mail list logo