Re: [dba-dev] embedded images in form controls

2008-09-04 Thread Noel Power
Hi Frank
On Mon, 2008-09-01 at 11:53 +0200, Frank Schönheit - Sun Microsystems
Germany wrote: 
> Hi Noel,
> 
> > It seems to work (but.. /me is not very unfamiliar with gui things ) I
> > made it so the SvURLBox thingy now accepts an externally defined
> > placeholder ( I hope where I defined the resource for use with the
> > formcontrol browser is acceptable ), if the placeholder is displayed,
> > the first keypress results in the placeholder getting selected, this
> > should ensure it gets immediately replaced with what you type.
> 
> looks good to me. Well, sufficiently good - cursor traveling through the
> field is not possible with this approach (since a change in selection
> implicitly changes the cursor position), but I'd say this is negligible.
sure, the effort in providing that kinda behaviour doesn't seem worth it
( in this case ) 
> You enable the "Link" check box the wrong way 'round - it must be
> enabled when there is *no* field, since if and only the control is bound
> to a field, then the image will be stored in the database, anyway.
 that's why I didn't like not being able to test it, but still I
shouldn't have made that mistake
> It's correct to not leave early, since there might be listeners which
> are interested in the event. However, the correct way for
> aNormalizedValue is the current property value then, *not* the place
> holder (which is a display value for the user's convenience only,
> nothing to be propagated to listeners).
> 
right, I knew you would know :-)
> One other nit In ImageControl.cxx, handleNewImageURL, asking
> GraphicAccess::isSupportedURL *once* is enough :)
dumb substitution, carelessness through exhaustion I think
> Assuming that you fix the two items (enable the link check box if there
> is *no* bound field; and using the proper NormalizedValue in ::Commit),
> I'm fine with the patch. Do you want to commit, or should I?
I would be really happy ( and grateful ) if you committed as I don't
have any cws anywhere near 'Ready For QA' 


I have made the changes above and will attach the latest version to the
issue.

Thanks again

Noel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dba-dev] Formula in Sun-Report-builder ("DateDiff360")

2008-09-04 Thread Ocke Janssen

Moin Mechtilde,

sorry for the long delay.

Mechtilde wrote:

Hello,
*I try it again*

I want to create a report for a calculation with data from database.

there I need a funktion which calculate the different between the actual
datum and the datum from the entry before (you know it as date diff).

The special Problem is that I need it with the 360 day method (so call
in Germany) for interest calculation.

Can anyone give me a hint to find more information about such things?
  
Currently the days360 function is not supported by the report engine. 
The formula engine is developed outside from Pentaho. So best would be 
to submit an issue and assign it to me. I'll contact the owner and may 
be create a patch for it.


Best regards,

Ocke


The informations in the wiki doesn't help me futher.

In Calc there is such a funktion. But it is not an effective way to do
it there. It is not pacticable to print 18 colums on a page also in
landscape.

In the sun-Report-Builder allows me to put a record in more than one row.

Regards

Mechtilde

  



--
Ocke Janssen  Tel: +49 40 23646 661, x1
Dipl. Inf(FH) Fax: +49 40 23646 550
Sun Microsystems Inc.
Nagelsweg 55 mailto:[EMAIL PROTECTED]
D-20097 Hamburg   http://www.sun.com/staroffice

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, 
D-85551 Kirchheim-Heimstetten

Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]