Re: [Wicket-user] wicket:message for attributes?

2007-06-06 Thread shumbola

I wanted to localize both value and title attributes of input element, but
got an error, that there can not be two wicket:message elements.

example:
input type=button wicket:id=addSomething
wicket:message=value:button.add wicket:message=title:button.title

Is this supported or not?

Regards,
shumbola.


Juergen Donnerstag wrote:
 
 Please see the javadoc for WicketMessageTagHandler
 
 Juergen
 
 On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote:

 Is there something like wicket:message for localizing attributes like
 title
 tooltips?  I looked on the WIKI but there wasn't anything there.

 --
 View this message in context:
 http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 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/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10985147
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message for attributes?

2007-06-06 Thread shumbola

I'm sorry, I had to look into WicketMessageTagHandler first. ;)
Previous question should be ignored. Thanks


shumbola wrote:
 
 I wanted to localize both value and title attributes of input element,
 but got an error, that there can not be two wicket:message elements.
 
 example:
 input type=button wicket:id=addSomething
 wicket:message=value:button.add wicket:message=title:button.title
 
 Is this supported or not?
 
 Regards,
 shumbola.
 
 
 Juergen Donnerstag wrote:
 
 Please see the javadoc for WicketMessageTagHandler
 
 Juergen
 
 On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote:

 Is there something like wicket:message for localizing attributes like
 title
 tooltips?  I looked on the WIKI but there wasn't anything there.

 --
 View this message in context:
 http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 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/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10985149
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message for attributes?

2007-06-05 Thread Eelco Hillenius
See org.apache.wicket.markup.html.basic.SimplePageTest and
org.apache.wicket.markup.parser.filter.WicketMessageTagHandler.

From that test:

html xmlns:wicket
body
  wicket:message key=myKeyNotExstsDefault Text/wicket:message
  wicket:message key=myKeyDefault Text/wicket:message
  wicket:message key=myKeyNotExsts/
  wicket:message key=myKey/
  span wicket:message=attr-name:i18n-keytest 2/span
  span wicket:id=message2 wicket:message=attr-name:i18n-keytest 2/span
  input type=image src=test.giftest 2/input
  input type=image src=test.gif
wicket:message=attr-name:i18n-keytest 2/input
/body
/html


yields:

html xmlns:wicket
body
  wicket:message key=myKeyNotExstsDefault Text/wicket:message
  wicket:message key=myKeymyValue/wicket:message
  wicket:message key=myKeyNotExsts/
  wicket:message key=myKeymyValue/wicket:message
  span attr-name=my i18n key
wicket:message=attr-name:i18n-keytest 2/span
  span wicket:id=message2 attr-name=my i18n key
wicket:message=attr-name:i18n-keyhere it goes/span
  input type=image src=../test.giftest 2/input
  input type=image src=../test.gif attr-name=my i18n key
wicket:message=attr-name:i18n-keytest 2/input
/body
/html


Can someone please update the wicket:message part at
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html?

Eelco


On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote:

 Is there something like wicket:message for localizing attributes like title
 tooltips?  I looked on the WIKI but there wasn't anything there.

 --
 View this message in context: 
 http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message for attributes?

2007-06-05 Thread Juergen Donnerstag
Please see the javadoc for WicketMessageTagHandler

Juergen

On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote:

 Is there something like wicket:message for localizing attributes like title
 tooltips?  I looked on the WIKI but there wasn't anything there.

 --
 View this message in context: 
 http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:message for attributes?

2007-06-05 Thread Jonathan Locke

Is there something like wicket:message for localizing attributes like title
tooltips?  I looked on the WIKI but there wasn't anything there.

-- 
View this message in context: 
http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:message without escape

2007-03-07 Thread Ingram Chen

Hi,

  how do I turn off escape string in wicket:message ?
a typical use case is:

wicket:message key=copyright[Copyright here]/wicket:message
copyright=Copyright copy; 2005

I search the doc and source but nothing found...
It would be better one can add an attribute like

wicket:message key=foo escape=false

any suggestion ?

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
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  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message without escape

2007-03-07 Thread Igor Vaynberg

add a jira issue

-igor


On 3/7/07, Ingram Chen [EMAIL PROTECTED] wrote:


Hi,

   how do I turn off escape string in wicket:message ?
a typical use case is:

wicket:message key=copyright[Copyright here]/wicket:message
copyright=Copyright copy; 2005

I search the doc and source but nothing found...
It would be better one can add an attribute like

wicket:message key=foo escape=false

any suggestion ?

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
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  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Jean-Baptiste Quenot
* Igor Vaynberg:

 personally
 
 input type=submit value=wicket:i18n:my_key/
 
 looks better to me

Do you really mean to embed a namespace prefix inside the
attribute value?  AFAIK there's no XML parser that can parse such
constructs without checking every attribute value manually.

Do you already have such constructs allowed in Wicket?
-- 
 Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Igor Vaynberg
well..this is what it would be...checking every attribute of every tag. this will be done only once when the markup is loaded into the cache so there wont be a performance hit.-Igor
On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Igor Vaynberg: personally input type=submit value=wicket:i18n:my_key/ looks better to meDo you really mean to embed a namespace prefix inside the
attribute value?AFAIK there's no XML parser that can parse suchconstructs without checking every attribute value manually.Do you already have such constructs allowed in Wicket?-- Jean-Baptiste Quenot
akaJohn Banana Qwertyhttp://caraldi.com/jbq/-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Juergen Donnerstag
that is correct. Which has the side effect that if the property files
(or db entry or whatever) changes, it will not be reflected in the
output generated. However this downside is a) only relevant for
development b) if the markup cache is cleared, than the markup will be
reloaded incl the new properties. Hence, even in prod there is no need
to restart the apps. But it is a manual process (until now. May be
worth an RFE?).

Juergen

On 8/3/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 well..this is what it would be...checking every attribute of every tag. this
 will be done only once when the markup is loaded into the cache so there
 wont be a performance hit.

 -Igor



 On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  * Igor Vaynberg:
 
   personally
  
   input type=submit value=wicket:i18n:my_key/
  
   looks better to me
 
  Do you really mean to embed a namespace prefix inside the
  attribute value?  AFAIK there's no XML parser that can parse such
  constructs without checking every attribute value manually.
 
  Do you already have such constructs allowed in Wicket?
  --
   Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/
 
 
 -
  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  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Juergen Donnerstag
see wicket:message. It exists a tag like wicket:message .. and as
attribute wicket:message. It is a first draft, not added by default (I
think), not needs some improvements to accomondate packaged refs etc.
as well. That is easily doable.

Juergen

On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 * Igor Vaynberg:

  well..this  is what  it would  be...checking every  attribute of
  every tag. this will be done only once when the markup is loaded
  into the cache so there wont be a performance hit.

 Attribute values  are arbitrary  strings.  I wouldn't  parse that.
 What if I put wicket:something on purpose?  I don't expect a weird
 exception to be throwed.

 Attribute names on the contrary  are normalized and you can safely
 add new constructs, as allowed by XML namespaces.
 --
 Jean-Baptiste Quenot
 aka  John Banana Qwerty
 http://caraldi.com/jbq/

 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Igor Vaynberg
my primary concern is making it easy for our users.we are not talking about just wicket: we are talking about wicket:i18n: and wicket:packaged: prefixes - what do you really think the odds are with a user collission?
i agree that it is not as clean/safe as a separate attribute, but it is quicker/easier to read.but i think we will walk in circles on this one so lets agree to disagree.the nice thing about wicket is that markup loading is pluggable, so i can write a filter that uses my scheme, and you can write a filter that uses yours. we make both of them available, and the users can choose which one they want to add :)
-IgorOn 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Igor Vaynberg: well..thisis whatit wouldbe...checking everyattribute of every tag. this will be done only once when the markup is loaded into the cache so there wont be a performance hit.
Attribute valuesare arbitrarystrings.I wouldn'tparse that.What if I put wicket:something on purpose?I don't expect a weirdexception to be throwed.Attribute names on the contraryare normalized and you can safely
add new constructs, as allowed by XML namespaces.-- Jean-Baptiste QuenotakaJohn Banana Qwertyhttp://caraldi.com/jbq/-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Eelco Hillenius
Time for a vote then? Does anyone see any potential problems with the
whole issue?

Eelco


On 8/3/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 my primary concern is making it easy for our users.

 we are not talking about just wicket: we are talking about wicket:i18n: and
 wicket:packaged: prefixes - what do you really think the odds are with a
 user collission?

 i agree that it is not as clean/safe as a separate attribute, but it is
 quicker/easier to read.

 but i think we will walk in circles on this one so lets agree to disagree.

 the nice thing about wicket is that markup loading is pluggable, so i can
 write a filter that uses my scheme, and you can write a filter that uses
 yours. we make both of them available, and the users can choose which one
 they want to add :)

 -Igor



 On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  * Igor Vaynberg:
 
   well..this  is what  it would  be...checking every  attribute of
   every tag. this will be done only once when the markup is loaded
   into the cache so there wont be a performance hit.
 
  Attribute values  are arbitrary  strings.  I wouldn't  parse that.
  What if I put wicket:something on purpose?  I don't expect a weird
  exception to be throwed.
 
  Attribute names on the contrary  are normalized and you can safely
  add new constructs, as allowed by XML namespaces.
  --
   Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/
 
 
 -
  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  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Johan Compagner
time for a vote? Which kind do we want now?i like the simple parsing one:input type=submit value=wicket:i18n:my_key/or if we want default values:
input type=submit value=Default Value wicket:message=value:my_key/both are fine by me and we could support both versions just fine.
johanOn 8/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Time for a vote then? Does anyone see any potential problems with thewhole issue?EelcoOn 8/3/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 my primary concern is making it easy for our users. we are not talking about just wicket: we are talking about wicket:i18n: and wicket:packaged: prefixes - what do you really think the odds are with a
 user collission? i agree that it is not as clean/safe as a separate attribute, but it is quicker/easier to read. but i think we will walk in circles on this one so lets agree to disagree.
 the nice thing about wicket is that markup loading is pluggable, so i can write a filter that uses my scheme, and you can write a filter that uses yours. we make both of them available, and the users can choose which one
 they want to add :) -Igor On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:  * Igor Vaynberg: 
   well..thisis whatit wouldbe...checking everyattribute of   every tag. this will be done only once when the markup is loaded   into the cache so there wont be a performance hit.
   Attribute valuesare arbitrarystrings.I wouldn'tparse that.  What if I put wicket:something on purpose?I don't expect a weird  exception to be throwed. 
  Attribute names on the contraryare normalized and you can safely  add new constructs, as allowed by XML namespaces.  -- Jean-Baptiste Quenot  akaJohn Banana Qwerty
  http://caraldi.com/jbq/   -  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  business topics through brief surveys -- and earn cash  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV  ___  Wicket-user mailing list  
Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user  -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Eelco Hillenius
I'll start another thead for voting.

Eelco


On 8/3/06, Johan Compagner [EMAIL PROTECTED] wrote:
 time for a vote? Which kind do we want now?

 i like the simple parsing one:

 input type=submit value=wicket:i18n:my_key/

 or if we want default values:

  input type=submit value=Default Value wicket:message=value:my_key/

 both are fine by me and we could support both versions just fine.

 johan



 On 8/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Time for a vote then? Does anyone see any potential problems with the
  whole issue?
 
  Eelco
 
 
  On 8/3/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   my primary concern is making it easy for our users.
  
   we are not talking about just wicket: we are talking about wicket:i18n:
 and
   wicket:packaged: prefixes - what do you really think the odds are with a
   user collission?
  
   i agree that it is not as clean/safe as a separate attribute, but it is
   quicker/easier to read.
  
   but i think we will walk in circles on this one so lets agree to
 disagree.
  
   the nice thing about wicket is that markup loading is pluggable, so i
 can
   write a filter that uses my scheme, and you can write a filter that uses
   yours. we make both of them available, and the users can choose which
 one
   they want to add :)
  
   -Igor
  
  
  
   On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Igor Vaynberg:
   
 well..this  is what  it would  be...checking every  attribute of
 every tag. this will be done only once when the markup is loaded
 into the cache so there wont be a performance hit.
   
Attribute values  are arbitrary  strings.  I wouldn't  parse that.
What if I put wicket:something on purpose?  I don't expect a weird
exception to be throwed.
   
Attribute names on the contrary  are normalized and you can safely
add new constructs, as allowed by XML namespaces.
--
 Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/
   
   
  
 -
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  business topics through brief surveys -- and earn
 cash
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   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  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 -
  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  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-03 Thread Nick Heudecker
I think supporting both versions, while noble, is only going to confuse users. More importantly, it's going to confuse me. :)On 8/3/06, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
I'll start another thead for voting.EelcoOn 8/3/06, Johan Compagner [EMAIL PROTECTED] wrote: time for a vote? Which kind do we want now?
 i like the simple parsing one: input type=submit value=wicket:i18n:my_key/ or if we want default values:input type=submit value=Default Value wicket:message=value:my_key/
 both are fine by me and we could support both versions just fine. johan On 8/3/06, Eelco Hillenius [EMAIL PROTECTED]
 wrote:  Time for a vote then? Does anyone see any potential problems with the  whole issue?   EelcoOn 8/3/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:   my primary concern is making it easy for our users. we are not talking about just wicket: we are talking about wicket:i18n:
 and   wicket:packaged: prefixes - what do you really think the odds are with a   user collission? i agree that it is not as clean/safe as a separate attribute, but it is
   quicker/easier to read. but i think we will walk in circles on this one so lets agree to disagree. the nice thing about wicket is that markup loading is pluggable, so i
 can   write a filter that uses my scheme, and you can write a filter that uses   yours. we make both of them available, and the users can choose which one   they want to add :)
 -Igor On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:* Igor Vaynberg:
well..thisis whatit wouldbe...checking everyattribute of every tag. this will be done only once when the markup is loaded into the cache so there wont be a performance hit.
   Attribute valuesare arbitrarystrings.I wouldn'tparse that.What if I put wicket:something on purpose?I don't expect a weirdexception to be throwed.
   Attribute names on the contraryare normalized and you can safelyadd new constructs, as allowed by XML namespaces.--   Jean-Baptiste Quenot
akaJohn Banana Qwertyhttp://caraldi.com/jbq/ -
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share   youropinions on IT  business topics through brief surveys -- and earn
 cash  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user   
   -   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  business topics through brief surveys -- and earn cash   
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___   Wicket-user mailing list   
Wicket-user@lists.sourceforge.net   https://lists.sourceforge.net/lists/listinfo/wicket-user
 -  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  business topics through brief surveys -- and earn cash  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV  ___  Wicket-user mailing list  
Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user  -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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  business topics through brief surveys -- and earn cash

Re: [Wicket-user] wicket:message

2006-08-03 Thread Eelco Hillenius
We just don't tell you we support both. But I agree.

Eelco


On 8/3/06, Nick Heudecker [EMAIL PROTECTED] wrote:
 I think supporting both versions, while noble, is only going to confuse
 users.  More importantly, it's going to confuse me. :)


 On 8/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  I'll start another thead for voting.
 
  Eelco
 
 
  On 8/3/06, Johan Compagner [EMAIL PROTECTED] wrote:
   time for a vote? Which kind do we want now?
  
   i like the simple parsing one:
  
   input type=submit value=wicket:i18n:my_key/
  
   or if we want default values:
  
input type=submit value=Default Value
 wicket:message=value:my_key/
  
   both are fine by me and we could support both versions just fine.
  
   johan
  
  
  
   On 8/3/06, Eelco Hillenius [EMAIL PROTECTED]  wrote:
Time for a vote then? Does anyone see any potential problems with the
whole issue?
   
Eelco
   
   
On 8/3/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 my primary concern is making it easy for our users.

 we are not talking about just wicket: we are talking about
 wicket:i18n:
   and
 wicket:packaged: prefixes - what do you really think the odds are
 with a
 user collission?

 i agree that it is not as clean/safe as a separate attribute, but it
 is
 quicker/easier to read.

 but i think we will walk in circles on this one so lets agree to
   disagree.

 the nice thing about wicket is that markup loading is pluggable, so
 i
   can
 write a filter that uses my scheme, and you can write a filter that
 uses
 yours. we make both of them available, and the users can choose
 which
   one
 they want to add :)

 -Igor



 On 8/3/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  * Igor Vaynberg:
 
   well..this  is what  it would  be...checking every  attribute of
   every tag. this will be done only once when the markup is loaded
   into the cache so there wont be a performance hit.
 
  Attribute values  are arbitrary  strings.  I wouldn't  parse that.
  What if I put wicket:something on purpose?  I don't expect a weird
  exception to be throwed.
 
  Attribute names on the contrary  are normalized and you can safely
  add new constructs, as allowed by XML namespaces.
  --
   Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/
 
 

  
 -
  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  business topics through brief surveys -- and earn
   cash
 

  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 



  
 -
 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  business topics through brief surveys -- and earn
 cash

  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

  
 https://lists.sourceforge.net/lists/listinfo/wicket-user



   
   
  
 -
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  business topics through brief surveys -- and earn
 cash
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   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  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 -
  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 

Re: [Wicket-user] wicket:message

2006-08-02 Thread Igor Vaynberg
personallyinput type=submit value=wicket:i18n:my_key/looks better to mei was also just thinking aboutimg src="">
which would autocreate image component with a packaged ref. not sure about resolution rules yet but this would def be helpful to inline images/css quickly-IgorOn 8/1/06, 
Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Igor Vaynberg: not from the markup no. we couldnt find any good syntax to specify the key and that the value should be internationalized.In Cocoon we use:input type=submit value=
my.i18n.key i18n:attr=value/The name of the attributeto internationalize is indicated by thei18n:attr attribute.The named attribute contains the i18n key.Note that the i18n:attrattributes accepts space-separated values
for multiple attributes.What we could imagine for Wicket:input type=submit value=my.i18n.key wicket:i18nattr=value/Is it the kind of syntax you were looking for?
-- Jean-Baptiste QuenotakaJohn Banana Qwertyhttp://caraldi.com/jbq/-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-02 Thread Martijn Dashorst
On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i was also just thinking about

 img src=wicket:packaged:foo.gif

  which would autocreate image component with a packaged ref. not sure about
 resolution rules yet but this would def be helpful to inline images/css
 quickly

Would this also do internationalization for the image also? i.e.

img src=wicket:packaged:foo.gif / could link to in a dutch page to
foo_nl_NL.gif?

Martijn

 On 8/1/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  * Igor Vaynberg:
   not from the markup no. we couldnt find any good syntax to specify the
 key
   and that the value should be internationalized.
 
  In Cocoon we use:
 
  input type=submit value= my.i18n.key i18n:attr=value/
 
  The name of the attribute  to internationalize is indicated by the
  i18n:attr attribute.  The named attribute contains the i18n key.
  Note that the i18n:attr  attributes accepts space-separated values
  for multiple attributes.
 
  What we could imagine for Wicket:
 
  input type=submit value=my.i18n.key wicket:i18nattr=value/
 
  Is it the kind of syntax you were looking for?
  --
   Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/
 
 
 -
  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  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-02 Thread Juergen Donnerstag
yes it should. the same way packaged refs would. You provide foo.gif
only to the packaged ref as well, right?

Juergen

On 8/2/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  i was also just thinking about
 
  img src=wicket:packaged:foo.gif
 
   which would autocreate image component with a packaged ref. not sure about
  resolution rules yet but this would def be helpful to inline images/css
  quickly

 Would this also do internationalization for the image also? i.e.

 img src=wicket:packaged:foo.gif / could link to in a dutch page to
 foo_nl_NL.gif?

 Martijn

  On 8/1/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
   * Igor Vaynberg:
not from the markup no. we couldnt find any good syntax to specify the
  key
and that the value should be internationalized.
  
   In Cocoon we use:
  
   input type=submit value= my.i18n.key i18n:attr=value/
  
   The name of the attribute  to internationalize is indicated by the
   i18n:attr attribute.  The named attribute contains the i18n key.
   Note that the i18n:attr  attributes accepts space-separated values
   for multiple attributes.
  
   What we could imagine for Wicket:
  
   input type=submit value=my.i18n.key wicket:i18nattr=value/
  
   Is it the kind of syntax you were looking for?
   --
Jean-Baptiste Quenot
   aka  John Banana Qwerty
   http://caraldi.com/jbq/
  
  
  -
   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  business topics through brief surveys -- and earn cash
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  -
  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  business topics through brief surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 --
 Download Wicket 1.2.1 now! Embed Wicket components in your portals!
 -- http://wicketframework.org

 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-02 Thread Johan Compagner
+1 for this. i don't like that other extra approachExcept when we say we wat that page to be displayed ok with default values:input type=submit value=Default Value wicket:message=value:i18n:my_key/
that could be a possibility for me.johanOn 8/2/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:personallyinput type=submit value=wicket:i18n:my_key/
looks better to mei was also just thinking aboutimg src="">
which would autocreate image component with a packaged ref. not sure about resolution rules yet but this would def be helpful to inline images/css quickly-Igor
On 8/1/06, 
Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:

* Igor Vaynberg: not from the markup no. we couldnt find any good syntax to specify the key and that the value should be internationalized.In Cocoon we use:input type=submit value=
my.i18n.key i18n:attr=value/The name of the attributeto internationalize is indicated by thei18n:attr attribute.The named attribute contains the i18n key.Note that the i18n:attrattributes accepts space-separated values
for multiple attributes.What we could imagine for Wicket:input type=submit value=my.i18n.key wicket:i18nattr=value/Is it the kind of syntax you were looking for?
-- Jean-Baptiste QuenotakaJohn Banana Qwertyhttp://caraldi.com/jbq/
-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-02 Thread Eelco Hillenius
Yeah, that's the nice thing about Cocoons approach: it doesn't screw
up previewability.

Eelco


On 8/2/06, Johan Compagner [EMAIL PROTECTED] wrote:
 +1 for this. i don't like that other extra approach

 Except when we say we wat that page to be displayed ok with default values:

 input type=submit value=Default Value
 wicket:message=value:i18n:my_key/

 that could be a possibility for me.

 johan



 On 8/2/06, Igor Vaynberg [EMAIL PROTECTED]  wrote:
 
  personally
 
  input type=submit value=wicket:i18n:my_key/
 
  looks better to me
 
  i was also just thinking about
 
  img src=wicket:packaged:foo.gif
 
  which would autocreate image component with a packaged ref. not sure about
 resolution rules yet but this would def be helpful to inline images/css
 quickly
 
 
  -Igor
 
 
 
 
 
  On 8/1/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 
   * Igor Vaynberg:
not from the markup no. we couldnt find any good syntax to specify the
 key
and that the value should be internationalized.
  
   In Cocoon we use:
  
   input type=submit value= my.i18n.key i18n:attr=value/
  
   The name of the attribute  to internationalize is indicated by the
   i18n:attr attribute.  The named attribute contains the i18n key.
   Note that the i18n:attr  attributes accepts space-separated values
   for multiple attributes.
  
   What we could imagine for Wicket:
  
   input type=submit value=my.i18n.key wicket:i18nattr=value/
  
   Is it the kind of syntax you were looking for?
   --
Jean-Baptiste Quenot
   aka  John Banana Qwerty
   http://caraldi.com/jbq/
  
  
 -
   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  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 
 -
  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  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-02 Thread Igor Vaynberg
i dont know, the default value is worth it sure, but i really like wicket:message and wicket:packaged, etc. its a consistent way to modify tags attributes.so maybe even value=wicket:message:key:default, you lose the ability to use : for defalt but i think thats ok. the preview is not the greatest either :)
-IgorOn 8/2/06, Johan Compagner [EMAIL PROTECTED] wrote:
+1 for this. i don't like that other extra approachExcept when we say we wat that page to be displayed ok with default values:input type=submit value=Default Value wicket:message=value:i18n:my_key/
that could be a possibility for me.johanOn 8/2/06, Igor Vaynberg
 [EMAIL PROTECTED]
 wrote:personally
input type=submit value=wicket:i18n:my_key/
looks better to mei was also just thinking aboutimg src="">
which would autocreate image component with a packaged ref. not sure about resolution rules yet but this would def be helpful to inline images/css quickly-Igor
On 8/1/06, 
Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:

* Igor Vaynberg: not from the markup no. we couldnt find any good syntax to specify the key and that the value should be internationalized.In Cocoon we use:input type=submit value=
my.i18n.key i18n:attr=value/The name of the attributeto internationalize is indicated by thei18n:attr attribute.The named attribute contains the i18n key.Note that the i18n:attrattributes accepts space-separated values
for multiple attributes.What we could imagine for Wicket:input type=submit value=my.i18n.key wicket:i18nattr=value/Is it the kind of syntax you were looking for?
-- Jean-Baptiste QuenotakaJohn Banana Qwertyhttp://caraldi.com/jbq/
-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash


http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list

Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-01 Thread Janos Cserep
you can use an attribute modifier to do this though.
I usually put a StringResourceModel on the button like this:new Button(buttonid, new StringResourceModel(key_in_properties_file, this, null)) {public void onSubmit() {...}
}
-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-01 Thread Jean-Baptiste Quenot
* Igor Vaynberg:
 not from the markup no. we couldnt find any good syntax to specify the key
 and that the value should be internationalized.

In Cocoon we use:

input type=submit value=my.i18n.key i18n:attr=value/

The name of the attribute  to internationalize is indicated by the
i18n:attr attribute.  The named attribute contains the i18n key.
Note that the i18n:attr  attributes accepts space-separated values
for multiple attributes.

What we could imagine for Wicket:

input type=submit value=my.i18n.key wicket:i18nattr=value/

Is it the kind of syntax you were looking for?
-- 
 Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-01 Thread Juergen Donnerstag
At least I like it better than any other idea we came with so far.

Juergen

On 8/1/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 * Igor Vaynberg:
  not from the markup no. we couldnt find any good syntax to specify the key
  and that the value should be internationalized.

 In Cocoon we use:

 input type=submit value=my.i18n.key i18n:attr=value/

 The name of the attribute  to internationalize is indicated by the
 i18n:attr attribute.  The named attribute contains the i18n key.
 Note that the i18n:attr  attributes accepts space-separated values
 for multiple attributes.

 What we could imagine for Wicket:

 input type=submit value=my.i18n.key wicket:i18nattr=value/

 Is it the kind of syntax you were looking for?
 --
 Jean-Baptiste Quenot
 aka  John Banana Qwerty
 http://caraldi.com/jbq/

 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-01 Thread Eelco Hillenius
Second that. If someone would care to issue a feature request for that
(or even include a patch, that would rock!) we can see whether we
could implement such a thing.

Eelco



On 8/1/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 At least I like it better than any other idea we came with so far.

 Juergen

 On 8/1/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  * Igor Vaynberg:
   not from the markup no. we couldnt find any good syntax to specify the key
   and that the value should be internationalized.
 
  In Cocoon we use:
 
  input type=submit value=my.i18n.key i18n:attr=value/
 
  The name of the attribute  to internationalize is indicated by the
  i18n:attr attribute.  The named attribute contains the i18n key.
  Note that the i18n:attr  attributes accepts space-separated values
  for multiple attributes.
 
  What we could imagine for Wicket:
 
  input type=submit value=my.i18n.key wicket:i18nattr=value/
 
  Is it the kind of syntax you were looking for?
  --
  Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/
 
  -
  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  business topics through brief surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-08-01 Thread Juergen Donnerstag
should be simple to implement. Just modify the handler (IMarkupFilter)
which handles wicket:messages. No change to core required at all. It
is all plugplay. If someone wants to give it a try I'm more than
happy to support.

Juergen

On 8/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Second that. If someone would care to issue a feature request for that
 (or even include a patch, that would rock!) we can see whether we
 could implement such a thing.

 Eelco



 On 8/1/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
  At least I like it better than any other idea we came with so far.
 
  Juergen
 
  On 8/1/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
   * Igor Vaynberg:
not from the markup no. we couldnt find any good syntax to specify the 
key
and that the value should be internationalized.
  
   In Cocoon we use:
  
   input type=submit value=my.i18n.key i18n:attr=value/
  
   The name of the attribute  to internationalize is indicated by the
   i18n:attr attribute.  The named attribute contains the i18n key.
   Note that the i18n:attr  attributes accepts space-separated values
   for multiple attributes.
  
   What we could imagine for Wicket:
  
   input type=submit value=my.i18n.key wicket:i18nattr=value/
  
   Is it the kind of syntax you were looking for?
   --
   Jean-Baptiste Quenot
   aka  John Banana Qwerty
   http://caraldi.com/jbq/
  
   -
   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  business topics through brief surveys -- and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
  -
  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  business topics through brief surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 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  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:message

2006-07-31 Thread Jean-Philippe Toupin
Hi everybody,
I would like to know if there is a way to do localisation like 
wicket:message but inside tags.

IE:

input type=submit value=my localized message/

Thanks,

-- 
Jean-Philippe Toupin
[EMAIL PROTECTED]
NetUltim / Ultimation s.e.n.c.
www.netultim.com


-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:message

2006-07-31 Thread Igor Vaynberg
not from the markup no. we couldnt find any good syntax to specify the key and that the value should be internationalized. you can use an attribute modifier to do this though.in your specific example - if you attach a button to that input tag the button's model is used to feed the value attribute, so you can use a resourcemodel to i18n the value attr of a button.
-IgorOn 7/31/06, Jean-Philippe Toupin [EMAIL PROTECTED] wrote:
Hi everybody,I would like to know if there is a way to do localisation likewicket:message but inside tags.IE:input type=submit value=my localized message/
Thanks,--Jean-Philippe Toupin[EMAIL PROTECTED]NetUltim / Ultimation s.e.n.c.www.netultim.com-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:message

2006-04-05 Thread Marieke Vandamme

Hello, 

I get an error while using wicket:message
in my html. Did you forget to add 'message' to the wellKnownTagNames or
do I need to do this myself?
thanks!

stacktrace :
Root cause:
java.text.ParseException: Unkown tag
name with Wicket namespace: 'message'. Might be you haven't installed the
appropriate resolver?
   at wicket.markup.parser.filter.WicketTagIdentifier.nextTag(WicketTagIdentifier.java:104)
   at wicket.markup.parser.filter.TagTypeHandler.nextTag(TagTypeHandler.java:83)
   at wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:86)
   at wicket.markup.parser.filter.WicketRemoveTagHandler.nextTag(WicketRemoveTagHandler.java:70)
...

Complete stack:
wicket.markup.MarkupException: Unkown
tag name with Wicket namespace: 'message'. Might be you haven't installed
the appropriate resolver?
[markup = file:/C:/jproject/qs6-wicket/QS6/WEB-INF/classes/com/tvh/qs/app/Index.html,
index = 29, current = [Raw markup]]
   at wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:349)
   at wicket.markup.MarkupParser.readAndParse(MarkupParser.java:191)
   at wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:243)
   at wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:312)
   at wicket.markup.MarkupCache.getMarkup(MarkupCache.java:189)
...



MARIEKE VANDAMME


ATTENTION !!

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. 
If you are not the intended recipient of this message you are hereby notified that any use, distribution or reproduction of this message and any files is prohibited. 
If you have received this email in error please notify the system manager by sending this email to [EMAIL PROTECTED]
Any views expressed in this email are those of the  individual sender and may not necessarily reflect the views of TVH - Group Thermote & Vanhalst.

This footnote also confirms that this email message has been swept by our virus-scanning software for the presence of computer viruses.



Re: [Wicket-user] wicket:message

2006-04-05 Thread Juergen Donnerstag
yes, and it is already fixed in SVN trunk.

Juergen

On 4/5/06, Marieke Vandamme [EMAIL PROTECTED] wrote:


 Hello,

 I get an error while using wicket:message in my html. Did you forget to add 
 'message' to the wellKnownTagNames or do I need to do this myself?
 thanks!

 stacktrace :
 Root cause:
 java.text.ParseException: Unkown tag name with Wicket namespace: 'message'. 
 Might be you haven't installed the appropriate resolver?
 at 
 wicket.markup.parser.filter.WicketTagIdentifier.nextTag(WicketTagIdentifier.java:104)
 at 
 wicket.markup.parser.filter.TagTypeHandler.nextTag(TagTypeHandler.java:83)
 at wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:86)
 at 
 wicket.markup.parser.filter.WicketRemoveTagHandler.nextTag(WicketRemoveTagHandler.java:70)
 ...

 Complete stack:

 wicket.markup.MarkupException: Unkown tag name with Wicket namespace: 
 'message'. Might be you haven't installed the appropriate resolver?
 [markup = 
 file:/C:/jproject/qs6-wicket/QS6/WEB-INF/classes/com/tvh/qs/app/Index.html, 
 index = 29, current = [Raw markup]]
 at wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:349)
 at wicket.markup.MarkupParser.readAndParse(MarkupParser.java:191)
 at wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:243)
 at 
 wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:312)
 at wicket.markup.MarkupCache.getMarkup(MarkupCache.java:189)
 ...



 MARIEKE VANDAMME
 

 ATTENTION !!

 This email and any files transmitted with it are confidential and intended 
 solely for the use of the individual or entity to whom they are addressed.
 If you are not the intended recipient of this message you are hereby notified 
 that any use, distribution or reproduction of this message and any files is 
 prohibited.
 If you have received this email in error please notify the system manager by 
 sending this email to [EMAIL PROTECTED]
 Any views expressed in this email are those of the individual sender and may 
 not necessarily reflect the views of TVH - Group Thermote  Vanhalst.

 This footnote also confirms that this email message has been swept by our 
 virus-scanning software for the presence of computer viruses.
 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user