Re: [Wicket-user] Variable Interpolation within the HTML

2007-03-28 Thread James McLaughlin
Are you using mvn to build? I changed the wicket dependency in the
WICKET_1_2 branch from SNAPSHOT to 1.2.5, so maybe this will help you.
Let me know if it doesn't.

best,
jim

On 3/27/07, Andrew Berman [EMAIL PROTECTED] wrote:
 Can this only be built against version 1.3 of Wicket?  I'm unable to build
 it against 1.2.5  I also checked out the code form
 https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-velocity/
 and couldn't get it to build either.  How do I get this to work?

 Thanks.


 On 3/20/07, Andrew Berman [EMAIL PROTECTED] wrote:
  Cool, thanks guys, I'll check both options out.
 
 
 
  On 3/20/07, Eelco Hillenius  [EMAIL PROTECTED]  wrote:
   Alternatively, you could use post processing filters for that. Can't
   remember the exact name from the top of my head.
  
   Eelco
  
  
   On 3/20/07, James McLaughlin  [EMAIL PROTECTED] wrote:
On 3/20/07, Andrew Berman  [EMAIL PROTECTED] wrote:
 I have a use case where the text of the a page can change depending
 on the
 skin that is selected.  There is some dynamic text in the original
 text,
 such as website name, which also changes depending on skin.
 However,
 currently I have added a fixed number of Label objects to deal with
 the
 website name, but this doesn't really work because the text of the
 page
 might need more instances of the website name.  I can't dynamically
 add more
 Label objects, so I was wondering how I could do something like
 Velocity
 where I can put ${websiteName} in the HTML for a page or panel, set
 the
 variable in the page, and have it rendered properly.  I saw that
 Wicket
 includes MapVariableInterpolator but how do I do it with the HTML
 for the
 page?  I don't want to specify a filename because the filename is
 dependent
 on the style/skin.

   
wicket-contrib-velocity provides exactly what you want
   
you can get it here with subversion:
   
 https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity
   
   
 -
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] Variable Interpolation within the HTML

2007-03-28 Thread Andrew Berman

Awesome, builds now.

Thanks,

Andrew

On 3/28/07, James McLaughlin [EMAIL PROTECTED] wrote:


Are you using mvn to build? I changed the wicket dependency in the
WICKET_1_2 branch from SNAPSHOT to 1.2.5, so maybe this will help you.
Let me know if it doesn't.

best,
jim

On 3/27/07, Andrew Berman [EMAIL PROTECTED] wrote:
 Can this only be built against version 1.3 of Wicket?  I'm unable to
build
 it against 1.2.5  I also checked out the code form

https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-velocity/
 and couldn't get it to build either.  How do I get this to work?

 Thanks.


 On 3/20/07, Andrew Berman [EMAIL PROTECTED] wrote:
  Cool, thanks guys, I'll check both options out.
 
 
 
  On 3/20/07, Eelco Hillenius  [EMAIL PROTECTED]  wrote:
   Alternatively, you could use post processing filters for that. Can't
   remember the exact name from the top of my head.
  
   Eelco
  
  
   On 3/20/07, James McLaughlin  [EMAIL PROTECTED] wrote:
On 3/20/07, Andrew Berman  [EMAIL PROTECTED] wrote:
 I have a use case where the text of the a page can change
depending
 on the
 skin that is selected.  There is some dynamic text in the
original
 text,
 such as website name, which also changes depending on skin.
 However,
 currently I have added a fixed number of Label objects to deal
with
 the
 website name, but this doesn't really work because the text of
the
 page
 might need more instances of the website name.  I can't
dynamically
 add more
 Label objects, so I was wondering how I could do something like
 Velocity
 where I can put ${websiteName} in the HTML for a page or panel,
set
 the
 variable in the page, and have it rendered properly.  I saw that
 Wicket
 includes MapVariableInterpolator but how do I do it with the
HTML
 for the
 page?  I don't want to specify a filename because the filename
is
 dependent
 on the style/skin.

   
wicket-contrib-velocity provides exactly what you want
   
you can get it here with subversion:
   

https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity
   
   

-
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] Variable Interpolation within the HTML

2007-03-27 Thread Andrew Berman

Can this only be built against version 1.3 of Wicket?  I'm unable to build
it against 1.2.5  I also checked out the code form
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-velocity/and
couldn't get it to build either.  How do I get this to work?

Thanks.

On 3/20/07, Andrew Berman [EMAIL PROTECTED] wrote:


Cool, thanks guys, I'll check both options out.

On 3/20/07, Eelco Hillenius [EMAIL PROTECTED]  wrote:

 Alternatively, you could use post processing filters for that. Can't
 remember the exact name from the top of my head.

 Eelco


 On 3/20/07, James McLaughlin [EMAIL PROTECTED] wrote:
  On 3/20/07, Andrew Berman  [EMAIL PROTECTED] wrote:
   I have a use case where the text of the a page can change depending
 on the
   skin that is selected.  There is some dynamic text in the original
 text,
   such as website name, which also changes depending on
 skin.  However,
   currently I have added a fixed number of Label objects to deal with
 the
   website name, but this doesn't really work because the text of the
 page
   might need more instances of the website name.  I can't dynamically
 add more
   Label objects, so I was wondering how I could do something like
 Velocity
   where I can put ${websiteName} in the HTML for a page or panel, set
 the
   variable in the page, and have it rendered properly.  I saw that
 Wicket
   includes MapVariableInterpolator but how do I do it with the HTML
 for the
   page?  I don't want to specify a filename because the filename is
 dependent
   on the style/skin.
  
 
  wicket-contrib-velocity provides exactly what you want
 
  you can get it here with subversion:
 
 
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity
 
 
 -
  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] Variable Interpolation within the HTML

2007-03-20 Thread Andrew Berman

I have a use case where the text of the a page can change depending on the
skin that is selected.  There is some dynamic text in the original text,
such as website name, which also changes depending on skin.  However,
currently I have added a fixed number of Label objects to deal with the
website name, but this doesn't really work because the text of the page
might need more instances of the website name.  I can't dynamically add more
Label objects, so I was wondering how I could do something like Velocity
where I can put ${websiteName} in the HTML for a page or panel, set the
variable in the page, and have it rendered properly.  I saw that Wicket
includes MapVariableInterpolator but how do I do it with the HTML for the
page?  I don't want to specify a filename because the filename is dependent
on the style/skin.

Thanks for any help,

Andrew
-
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] Variable Interpolation within the HTML

2007-03-20 Thread James McLaughlin
On 3/20/07, Andrew Berman [EMAIL PROTECTED] wrote:
 I have a use case where the text of the a page can change depending on the
 skin that is selected.  There is some dynamic text in the original text,
 such as website name, which also changes depending on skin.  However,
 currently I have added a fixed number of Label objects to deal with the
 website name, but this doesn't really work because the text of the page
 might need more instances of the website name.  I can't dynamically add more
 Label objects, so I was wondering how I could do something like Velocity
 where I can put ${websiteName} in the HTML for a page or panel, set the
 variable in the page, and have it rendered properly.  I saw that Wicket
 includes MapVariableInterpolator but how do I do it with the HTML for the
 page?  I don't want to specify a filename because the filename is dependent
 on the style/skin.


wicket-contrib-velocity provides exactly what you want

you can get it here with subversion:
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity

-
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] Variable Interpolation within the HTML

2007-03-20 Thread Eelco Hillenius
Alternatively, you could use post processing filters for that. Can't
remember the exact name from the top of my head.

Eelco


On 3/20/07, James McLaughlin [EMAIL PROTECTED] wrote:
 On 3/20/07, Andrew Berman [EMAIL PROTECTED] wrote:
  I have a use case where the text of the a page can change depending on the
  skin that is selected.  There is some dynamic text in the original text,
  such as website name, which also changes depending on skin.  However,
  currently I have added a fixed number of Label objects to deal with the
  website name, but this doesn't really work because the text of the page
  might need more instances of the website name.  I can't dynamically add more
  Label objects, so I was wondering how I could do something like Velocity
  where I can put ${websiteName} in the HTML for a page or panel, set the
  variable in the page, and have it rendered properly.  I saw that Wicket
  includes MapVariableInterpolator but how do I do it with the HTML for the
  page?  I don't want to specify a filename because the filename is dependent
  on the style/skin.
 

 wicket-contrib-velocity provides exactly what you want

 you can get it here with subversion:
 https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity

 -
 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] Variable Interpolation within the HTML

2007-03-20 Thread Andrew Berman

Cool, thanks guys, I'll check both options out.

On 3/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Alternatively, you could use post processing filters for that. Can't
remember the exact name from the top of my head.

Eelco


On 3/20/07, James McLaughlin [EMAIL PROTECTED] wrote:
 On 3/20/07, Andrew Berman [EMAIL PROTECTED] wrote:
  I have a use case where the text of the a page can change depending on
the
  skin that is selected.  There is some dynamic text in the original
text,
  such as website name, which also changes depending on skin.  However,
  currently I have added a fixed number of Label objects to deal with
the
  website name, but this doesn't really work because the text of the
page
  might need more instances of the website name.  I can't dynamically
add more
  Label objects, so I was wondering how I could do something like
Velocity
  where I can put ${websiteName} in the HTML for a page or panel, set
the
  variable in the page, and have it rendered properly.  I saw that
Wicket
  includes MapVariableInterpolator but how do I do it with the HTML for
the
  page?  I don't want to specify a filename because the filename is
dependent
  on the style/skin.
 

 wicket-contrib-velocity provides exactly what you want

 you can get it here with subversion:

https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity


-
 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