Hi everyone,
I have a ListView that displays a list of cars (say).
I have a small form on the page whereby they can add a new car using a
AjaxFallbackButton.
I can enter a new car and it updates the ListView
However I want to highlight the newly added item, and I just can't seemt to
figure out ho
Hi,
The item is already on your page so just use its html id in the
javascript script you use to highlight it.
Vitaly
On Sun, Aug 17, 2008 at 1:22 PM, Wayne Pope
<[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I have a ListView that displays a list of cars (say).
> I have a small form on
Hi,
But how do I get that target?
As the items are being rendered using a ListView - the only time I can get
access is during the populateItem - but thats a ListItem, I need a
AjexRequestTarget to append the javascript?
On Sun, Aug 17, 2008 at 1:28 PM, Vitaly Tsaplin <[EMAIL PROTECTED]>wrote:
My solution was to generate html ids according to some well defined
strategy like using a uniq product ids from a database plus a prefix.
So you will be able to reconstruct the html ids at any time if you
know an id of the object you have just been created. If I am right you
use the target objec
On Sun, 2008-08-17 at 13:36 +0200, Wayne Pope wrote:
> Hi,
>
> But how do I get that target?
>
> As the items are being rendered using a ListView - the only time I can get
> access is during the populateItem - but thats a ListItem, I need a
> AjexRequestTarget to append the javascript?
>
You cou
hi.
using DefaultDataTable, how to best apply css to the columns (in order
to size them, etc)
cu uwe
--
THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T + 49 761 3 85 59 0
F + 49 761 3 85 59 550
E [EMAIL PROTECTED]
www.thomas-daily.de
Geschäftsführer/Managing Directors:
Wendy
use AjaxRequestTarget.get()
Am 17.08.2008 um 15:36 schrieb Martin Grigorov:
On Sun, 2008-08-17 at 13:36 +0200, Wayne Pope wrote:
Hi,
But how do I get that target?
As the items are being rendered using a ListView - the only time I
can get
access is during the populateItem - but thats a Lis
If I do this with an IFormValidator do I need to return all of the
form components in getDependentFormComponents()?
IFormValidator formValidator = new IFormValidator() {
private static final long serialVersionUID =
-7090261277922171782L;
Hi,
if you add those components in getDependentFormComponents() it
probably won't work, because the validate method will only be called
if all of those components are valid. Which kinda renders your
validator useless :) So your approach with returning empty list is
probably right.
-Matej
On Sun,
Ah. That is enormously helpful. I misunderstood this line from the javadoc:
"These validators are added to the form and only executed if all form
components returned by getDependentFormComponents() have been
successfully validated before this validator runs."
and thought that it would enforce a
Hi,
I checked the markup for any preconfigured CSS styles. There are .odd
and .even for each row. Put them in your CSS Stylesheet, and change them as
you need.
I put each DefaultTable in a separate div and style the div container, that's
another possibility.
Regards,
Timm
Am Sonntag, 17.
Timm Helbig schrieb:
I put each DefaultTable in a separate div and style the div container, that's
another possibility.
sure, that´ll do. thx.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
hi uwe,
> using DefaultDataTable, how to best apply css to the columns (in order
> to size them, etc)
by using an IColumn implementing IStyledColumn: getCssClass()
best regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL PROT
Jan Kriesten schrieb:
using DefaultDataTable, how to best apply css to the columns (in order
to size them, etc)
by using an IColumn implementing IStyledColumn: getCssClass()
ouch. thx!
-
To unsubscribe, e-mail: [EMAIL PROTEC
14 matches
Mail list logo