What about the few other cases where it's not button for a hyperlink?
Maybe there a simple title="" is enough though, I did not try

Of course I guess you noticed
http://svn.apache.org/viewvc?view=revision&revision=1340376
http://svn.apache.org/viewvc?view=revision&revision=1340374
Anyway still easy to change in a way or another by a S/R

Jacques

From: "Paul Foxworthy" <p...@cohsoft.com.au>
Hi Christian,

I see your point.

How about a rule that field won't display a prompt if its content is a
single hyperlink, unless a title is explicitly defined? A little arbitrary,
but easy to implement.

Cheers

Paul Foxworthy


Christian Geisert wrote

Paul Foxworthy schrieb:
If the intention is to override the default behaviour, wouldn't it be
clearer
to add an attribute to the widget  along the lines of

showTitle="false"

or perhaps

useFieldNameForTitle="false"

instead of fighting with a fake title that's not really a title at all?

The default value out of the schema for the attribute would, of course,
be
"true".

What do people think?

It's a little bit less hackish, but still a workaround ;-)

Let's go another step back.

In all the cases I had a closer look the field with CommonEmptyHeader
was an additional button (Cancel/Delete) to the default Submit button
(Create/Save etc.). I guess this is modeled after HTML.

So I think the best thing would be to add a button as another field type
to Forms.

Christian



-----
--
Coherent Software Australia Pty Ltd
http://www.cohsoft.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/

--
View this message in context: http://ofbiz.135035.n4.nabble.com/Re-svn-commit-r1338836-in-ofbiz-branches-release12-04-framework-base-dtd-framework-base-src-org-ofbi-tp4631741p4632477.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to