Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-04 Thread Korbinian Bachl
thus im quite new, 2[x] as its the only way to have a preview wich works in WYSIWYG editors and wont be ** up (hopefully...) by your next designer who changed the text so it looks better... On 8/3/06, Dirk Markert [EMAIL PROTECTED] wrote: 2 [x] 2006/8/3, Eelco Hillenius [EMAIL

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-04 Thread Joni Freeman
On Fri, 2006-08-04 at 08:50 +0200, Korbinian Bachl wrote: thus im quite new, 2[x] be ** up (hopefully...) by your next designer who changed the text so it looks better... This a good point, with option 1 it is likely that designers touch the value-attribute. In option 2, it doesn't

Re: [Wicket-user] wicket -- JSR 168 Portlet -- WSRP ?

2006-08-04 Thread Martijn Dashorst
I assume you have checked out wicket-portal-examples? It hasn't received a release yet, but you can find it in SVN: https://svn.sourceforge.net/svnroot/wicket/branches/WICKET_1_2/ Martijn On 8/3/06, Christofer Jennings [EMAIL PROTECTED] wrote: Sorry if this question is off topic, but has

Re: [Wicket-user] problems migrating the application to the latestwicket

2006-08-04 Thread Dipu
Hi Eelco, Thanks very much for the reply, i assume the problem is some class path issue, because the same set of files works the way it is supposed to work on another machine. Regards Dipu - Original Message - From: Eelco Hillenius [EMAIL PROTECTED] To:

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-04 Thread Matej Knopp
1 [X] Btw. We are using ${key} everywhere (customized markup parsing) and it's much more convenient than wicket:message :-) -Matej Eelco Hillenius wrote: For localized attributes - so that you don't have to attach attribute modifiers all over the place for that sole reason - we have two

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-04 Thread Jean-Baptiste Quenot
1 [ ] 2 [X] input type=submit value=Default Value wicket:message=value:my_key/ If you want to express it without a default value, that would be written as: input type=submit value=my_key wicket:message=value/ And if Wicket is going to support multiple attributes: input type=submit

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-04 Thread Johan Compagner
But this:input type=submit value=my_key wicket:message=value/i really don't like.That is worsed of both worlds. You still don't have default/preview but you do have an extra input attribute to parse. Ok knowing that something must be i18n is easier.But you are right about that it looks neather

[Wicket-user] no-cache in development mode

2006-08-04 Thread Pierre-Yves Saumont
Hi, I like to have browser be automatically instructed not to cache anything when in Wicket development mode. (I can't count the times I did not remember to clear the cache after making some modification in a CSS and couldt not find why the changes were not visible). May be it's there and I

Re: [Wicket-user] no-cache in development mode

2006-08-04 Thread Korbinian Bachl
Hi, the only 100% way is to deactivate the cache in the browser itself - as i found out some versions dont count on that no-cache, if they get the data for the same connection within short time, they usually use the chunks in the 0-time cache, especially if its embedded (like CSS files). the

Re: [Wicket-user] RadioGroup getModelObject() null ?

2006-08-04 Thread Alex Parvulescu
hello,the code is like this ://final RadioGroup radioGroup = new RadioGroup(myValue);System.out.println(nat model: + radioGroup.getModelObject()); //this //outputs null everytime - that's my problemfinal ListString optLabelList =

[Wicket-user] Form-question

2006-08-04 Thread Mats Norén
Hi, I've got a form problem that I don't really now how to handle. I've got three entities Person, PersonProperty and PropertyType. A Person has a SetPersonProperty A PersonProperty has a reference to a Person, a PropertyType and contains a value. What I would like to do is to edit a users

Re: [Wicket-user] IBATIS (and Spring)

2006-08-04 Thread Gwyn Evans
Just to follow up on this, I'd flag the fact that there's a rather impressive code generation tool for iBATIS called Abator that can do a *lot* of the basic work needed if you've got a DB table to point it at! I might even have to go back branch wicket-phonebook to show it at some stage! /Gwyn

Re: [Wicket-user] RadioGroup getModelObject() null ?

2006-08-04 Thread Igor Vaynberg
final RadioGroup radioGroup = new RadioGroup(myValue);System.out.println(nat model: + radioGroup.getModelObject()); //this //outputs null everytime - that's my problemwhy wouldnt it output null? you havent set the model on the RadioGroup so it is null unless there is a compound model somewhere

Re: [Wicket-user] Form-question

2006-08-04 Thread Igor Vaynberg
yep this will indeed require model trickery which is not really that tricky.public class PersonPropertyModel extends AbstractModel { private final IModel person; private final IModel type; //imagine a constructor here// Object getObject(Component c) { Person p=person.getObject(c); PropertyType

Re: [Wicket-user] wicket -- JSR 168 Portlet -- WSRP ?

2006-08-04 Thread Julian Klappenbach
Thanks guys! On 8/4/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I assume you have checked out wicket-portal-examples? It hasn't received a release yet, but you can find it in SVN: https://svn.sourceforge.net/svnroot/wicket/branches/WICKET_1_2/ Martijn On 8/3/06, Christofer Jennings

Re: [Wicket-user] wicket -- JSR 168 Portlet -- WSRP ?

2006-08-04 Thread Eelco Hillenius
Still being worked on (by Janne, and possibly soon by Ate as well), so the more people that can test/ play with it, the better. Eelco On 8/4/06, Julian Klappenbach [EMAIL PROTECTED] wrote: Thanks guys! On 8/4/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I assume you have checked out

[Wicket-user] links in a DataTable

2006-08-04 Thread Decebal Suiu
I created a table with wicket (1.2.1) using a DataTable (DefaultDataTable) and a DataProvider (SortableDataProvider). My table has one column like PropertyColumn(new Model(name'), name, name). Is it possible to have a linkable name instead of a plain name? Here's the code: ListIColumn

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Alexei Sokolov
Well, for some reason I cannot render a page using MockupWebApplication. I get an exception saying that all components on the page failed to render. Log file, however, says that every one of them was rendered. I think that the problem lies inside ComponentRequestTarget.respond(final RequestCycle

Re: [Wicket-user] links in a DataTable

2006-08-04 Thread Joe Toth
Thats exactly what I did...here is how I implemented it. I use this a lot, maybe slap it in extensions?wicket:panela href="" wicket:id=linkspan wicket:id=labellink/span/a /wicket:panelpackage com.whatever;import wicket.extensions.markup.html.repeater.data.table.PropertyColumn;import

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Alexei Sokolov
One more roadblock... RequestCycle constructor current ThreadLocal variable. There is no way to alter value of current RequestCycle after it was set in the constructor, which means that I cannot suspend current request cycle, generate my page into a string, and then resume the original request

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Igor Vaynberg
yeah, the threadlocal context vars are prob going to be a problem. you can spin off a worker thread to do the render and wait for it.-IgorOn 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote: One more roadblock... RequestCycle constructor current ThreadLocal variable. There is no way to alter value

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Alexei Sokolov
You can introduce push/pop methods on RequestCycle in the next version of wicket.AlexOn 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:yeah, the threadlocal context vars are prob going to be a problem. you can spin off a worker thread to do the render and wait for it. -IgorOn 8/4/06, Alexei

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Igor Vaynberg
request cycle is not the only problem. we have application and session threadlocals as well.-IgorOn 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote:You can introduce push/pop methods on RequestCycle in the next version of wicket. AlexOn 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yeah, the

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Alexei Sokolov
For Application Session you have set() methods. So, you can backup current values and then restore them.AlexOn 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:request cycle is not the only problem. we have application and session threadlocals as well. -IgorOn 8/4/06, Alexei Sokolov [EMAIL

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Igor Vaynberg
we can add a set() to request cycle as well :)-IgorOn 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote:For Application Session you have set() methods. So, you can backup current values and then restore them. AlexOn 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote: request cycle is not the only

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Alexei Sokolov
And if you can do it in 1.2.2 it would be great.AlexOn 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:we can add a set() to request cycle as well :) -IgorOn 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote: For Application Session you have set() methods. So, you can backup current values and then

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-04 Thread Igor Vaynberg
add an rfe so it doesnt slip, or of course a patch would be welcome :)-IgorOn 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote:And if you can do it in 1.2.2 it would be great. AlexOn 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we can add a set() to request cycle as well :) -IgorOn 8/4/06,

Re: [Wicket-user] links in a DataTable

2006-08-04 Thread Gwyn Evans
Thanks, I've used that (and the way I do it) in a new page on the Wiki http://www.wicket-wiki.org.uk/wiki/index.php/Extensions:datatablelinks /Gwyn On 04/08/06, Joe Toth [EMAIL PROTECTED] wrote: Thats exactly what I did...here is how I implemented it. I use this a lot, maybe slap it in

Re: [Wicket-user] Form-question

2006-08-04 Thread Mats Norén
Thanks, I'll give it a try! On 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yep this will indeed require model trickery which is not really that tricky. public class PersonPropertyModel extends AbstractModel { private final IModel person; private final IModel type; //imagine a

[Wicket-user] html compression (whitespace removal)

2006-08-04 Thread Alexei Sokolov
Hi All,Is it possible to remove unnecessary whitespaces (end-of-line space characters) from wicket output without changing original templates? I'm sorry if this question was answered before...Alex - Take Surveys. Earn Cash.

Re: [Wicket-user] html compression (whitespace removal)

2006-08-04 Thread Eelco Hillenius
I think you're looking for IMarkupSettings#setCompressWhitespace Eelco On 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote: Hi All, Is it possible to remove unnecessary whitespaces (end-of-line space characters) from wicket output without changing original templates? I'm sorry if this