0

Tab look and feel

asked 2006-04-28 11:30:23 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3705550

By: nobody

Hello,
Is the only look you can get for tabs the 3d look and feel? if not what attribute do you need to edit to change the look and feel.

delete flag offensive retag edit

14 Replies

Sort by ยป oldest newest

answered 2006-04-28 14:08:52 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3705792

By: tomyeh

Its appearance can be totally different as long as providing another mold. Sorry no document yet, but it won't be too hard by sutdying the source codes:)

link publish delete flag offensive edit

answered 2006-04-28 15:17:59 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3705933

By: nobody

but setting the mold doesnt change the look of tabs, it only changes the behaviour of the tabs (currently you can only set mold to default or accordion). what am actually after is a different look. for example if you go to the following website for XulFaces, you will see that the tabs look different.

http://xulfaces.sourceforge.net/screenshots.html


To my knowledge a tab only has the 3d look and the question am asking is, is it possible to make it look different (for example a simpe plane tab like on the page above or any other look).



link publish delete flag offensive edit

answered 2006-04-28 16:22:17 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3706021

By: tomyeh

I didn't mean there is a mold fit for your requirement. Rather, ZK is designed to separate the view and codes for a component. For your requirement, a new mold has to be implemented and then add this new mold to the component by use of language addon.

A mold is actually a DSP file, which similar to a JSP. You could use JSP too if you like. However, there is no document yet. You have to study how the current implement (the mold called default) is done first.


link publish delete flag offensive edit

answered 2006-05-09 14:29:36 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3720675

By: krynn_cl

It would please me to know like doing that the Tabs, single is loaded at the time of mostrarce, and not that carque complete all the Abatis when loading tabbox

thx :D

link publish delete flag offensive edit

answered 2006-05-09 15:26:32 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3720765

By: henrichen

Can you rephrase your question? I cannot quite catch what you want.

/henri

link publish delete flag offensive edit

answered 2006-05-09 16:36:29 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3720869

By: krynn_cl

:P, yes

Actually:
1.- I have a Tabox
2.- I visit the page and all Tabs are chargue.

I would like the next:
1.- I have a Tabbox.
2.- I visit the page, but only the First Tab (a) is chargue.
3.- if click other tab (b) in the tabbox the tab (b) is Chargue.
4.- if click the tab(a) this is reload.

this is the example. Sorry for my english :(

link publish delete flag offensive edit

answered 2006-05-10 01:22:02 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3721620

By: nobody

Do you mean something like "load on demand"?

Use "onSelect" event to do that.

Search "Create-on-Select" in Developer's Guide. There is an example there.

/henri

link publish delete flag offensive edit

answered 2006-05-11 16:25:24 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3724496

By: krynn_cl

thx

link publish delete flag offensive edit

answered 2006-05-11 20:36:28 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3724876

By: krynn_cl

A problem with the mold normal!!
the example work fine with mold acordion but, it's deform with normal!
it's a BUG?

link publish delete flag offensive edit

answered 2006-05-12 07:31:48 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3725378

By: henrichen

I test it and it works ok. The example is from the developer's guide. I simply take out the mold="accordion". There is not a mold named "normal" though.

<tabbox id="tabbox" width="400" onSelect="load()" > <tabs> <tab label="Preload"/> <tab label="OnDemand"/> </tabs> <tabpanels> <tabpanel> This panel is pre-loaded.
</tabpanel>
<tabpanel>
</tabpanel>
</tabpanels>
<zscript><![CDATA[
void load() {
Tabpanel panel = tabbox.getSelectedPanel(); if (panel != null && panel.getChildren().isEmpty()) new Label("Second panel is loaded").setParent(panel); } ]]></zscript> </tabbox>


link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-04-28 11:30:23 +0800

Seen: 192 times

Last updated: Dec 28 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More