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 thi
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. I
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;
>
>
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 exte
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, A
This is exactly what I needed. Thanks!
--- 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 extensions?
>
>
> wicket:id="label">link
>
>
>
> package com.whatever;
>
> import
>
wicket.extensions.markup.htm
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
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 p
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 PRO
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
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 Soko
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 val
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 cy
Thats exactly what I did...here is how I implemented it. I use this a lot, maybe slap it in extensions?link
package com.whatever;import wicket.extensions.markup.html.repeater.data.table.PropertyColumn;import wicket.extensions.markup.html.repeater.refreshing.Item;import wicket.markup.html.basic.Lab
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 r
instead of using a property column you have to implement your own column that creates a panel/fragment with the link and text-IgorOn 8/4/06, Decebal Suiu
<[EMAIL PROTECTED]> wrote:
I created a table with wicket (1.2.1) using aDataTable (DefaultDataTable) and a DataProvider(SortableDataProvider).My
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:
List projectColumn
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 o
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 Je
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
Wicket provides the following:
Override configureResponse in WebPage is one, where this is the default:
/**
* @see wicket.Page#configureResponse()
*/
protected void configureResponse()
{
super.configureResponse();
final We
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 s
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
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 Set
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 dynamic properties
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 List optLabelList = Ar
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 best
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 co
But this: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 when with multiply attributes.But this should also work
1 [ ]
2 [X]
>
If you want to express it without a default value, that would be
written as:
And if Wicket is going to support multiple attributes:
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
--
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
>
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:
Sent: Thursday, August 03,
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 an
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 doe
33 matches
Mail list logo