Email Client

Share business templates, ideas, experiences, etc with fellow Servoy developers here

Postby pbakker » Mon Oct 18, 2004 12:10 pm

Is there a way to turn the ScrollBars off on the DBTreeBean? Because now you get double ScrollBars: both the bean starts to show scrollbars and the form starts to show them, if you move the splitpane to the left and not the entire text can be shown.

Paul
pbakker
 
Posts: 2821
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Harjo » Mon Oct 18, 2004 12:13 pm

Make the bean small and use anchors to grow to all sides!
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4273
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby ROCLASI » Mon Oct 18, 2004 12:21 pm

HJK wrote:Make the bean small and use anchors to grow to all sides


When you use the dbtree view in a splitpane the bean already grows with it.
As for the scrollbar, this reacts on the data inside the tree, not the bean width/height itself.

So having an option to enable/disable this like other fields have would be a plus.
Not sure why you would want that though...

Paul?
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5225
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby Harjo » Mon Oct 18, 2004 12:44 pm

ROCLASI wrote:Also is it possible to expand/collapse certain nodes through code?
If not consider this a feature request. :D


Yes, is this possible? for instance a default selection?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4273
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby pbakker » Mon Oct 18, 2004 12:51 pm

When using the Tree bean in a splitpane, making the splitpane smaller than the size of the bean on the form where it's placed would result in the showing of two scrollbars on the bottom, which I do not prefer.

Fixed this now by making the bean element very small (5 by 5 pixels). Now I get only 1 scrollbar on the bottom (the SplitPane scrollbar), so I guess there's a workaround for this.

While trying this, I noticed that its not possible to update the size or the location of the Bean element on a form through the property editor. should that work?

Paul
pbakker
 
Posts: 2821
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby ROCLASI » Mon Oct 18, 2004 1:04 pm

pbakker wrote:When using the Tree bean in a splitpane, making the splitpane smaller than the size of the bean on the form where it's placed would result in the showing of two scrollbars on the bottom, which I do not prefer.


I don't see that here. I can make my treebean as large as I want the scrollbars won't appear untill the data inside the tree is larger then the view.
Maybe it's platform related. I use Mac OS X.

pbakker wrote:While trying this, I noticed that its not possible to update the size or the location of the Bean element on a form through the property editor. should that work?


Only the beans properties are shown in the properties editor. Anchor properties are not part of a bean.
However you can set the anchors of a bean with the (right-click) contextual menu.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5225
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby pbakker » Mon Oct 18, 2004 1:09 pm

Maybe platform related, but making the element small solves it anyway...

As for the properties: In the bean element property editor, there's location and size, but they are not editable. That's what I mean. I'd think that, if they are there, they should be editable, right?

Paul
pbakker
 
Posts: 2821
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Harjo » Mon Oct 18, 2004 1:31 pm

Also, if there are no nodes under a specific entry, you still see the '+' sign!
Can this be changed?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4273
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby pbakker » Mon Oct 18, 2004 1:34 pm

Also notices that the hight of each "row" gets changed when clicking the row, altering betwee "+" and "-".

Could this be changed as well?

Paul
pbakker
 
Posts: 2821
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby ROCLASI » Mon Oct 18, 2004 9:11 pm

I assigned a column dataprovider as tooltip text provider in my init method but I can't seem to make it appear.

Code: Select all
DBtreeViewBean.bindNodeTooltipTextDataProvider('mbx_tooltip')

Anyone had any success with this?

Mac OS X 10.3.5, Java 1.4.2-38 (Developer)
SuSE 9.1, Java 1.4.2_03-b02 (client)
Windows XP Proff. SP2, java 1.4.2_05-b04 (client)
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5225
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby patrick » Mon Oct 18, 2004 10:04 pm

same here; doesn't seem to work, currently.
patrick
 
Posts: 3622
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby willieseabrook » Tue Oct 19, 2004 7:53 am

Looks great!

How did you do the message preview window? It's not just an htmlpane is it?
willieseabrook
 
Posts: 27
Joined: Wed Jul 28, 2004 10:26 am

Postby Harjo » Tue Oct 19, 2004 9:22 am

Those are two parts

the upper part is a calculation of fields, presented in html in a label
the lower part is just an text area.

If there is html in the mail, than I save it as html file on the disk and open it in the default browser. I do this, because the html-are is real nightmare!
I hope (as Johan, suggested) they will make a new bean/plugin soon, that does a better job.

Nine of ten emails (with html, especially outlook html) shows up as completly empty in a html-area. You can do some substitue things like lower case, etc.. but than again, it is still very ugly!
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4273
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby willieseabrook » Wed Oct 20, 2004 12:43 am

well there shouldn't be a problem finding a good html+ css *renderer* (there are heaps about both commercial and open source)

Its finding a good wysiwyg html+css editor that is the problem. The best price/value point is sferyx @ ~ $1200 and the next is $8000 for editlive I think it is called.

http://today.java.net/pub/a/today/2004/ ... l-pt1.html for renderers

(there are more but there's a start)
willieseabrook
 
Posts: 27
Joined: Wed Jul 28, 2004 10:26 am

Postby ROCLASI » Wed Oct 20, 2004 9:33 am

jdic looks promising.
Because it is a wrapper for mozilla you will have a hell of a render engine.
Ofcourse I wonder how crossplatform this all is since it uses native code (i.e. mozilla has to be installed on the workstation).

Something that can be distributed through Java webstart?

Just some random thoughts.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5225
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

PreviousNext

Return to Sharing Central

Who is online

Users browsing this forum: No registered users and 1 guest