Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能在检票口中为 tabbedpanel 制作一个标签中的链接,例如“/subpath/tab1”、“subpath/tab2”。我可以使用 MountablePageLink 吗?
?
您可以将该 URI 的尾部作为 PageParameter。所以这将在 Application 类中完成,例如:
mountPage("/subpath/${activeTag}", Foo.class);
然后您可以根据 PageParameter 设置活动选项卡。然后,当您创建选项卡时,您可以根据默认值或传入的 activeTag 设置哪个是活动的。