Questions tagged [vaadin7]

Vaadin 7 is a legacy version of Vaadin, an open-source Java web application framework. EOL Feb 2019, extended maintenance commercially available until Feb 2029.

Vaadin 7 is a legacy version of Vaadin, an open-source Java web application framework. Free support for Vaadin 7 ended in February 2019, extended maintenance commercially available until February 2029.

Last free release: 7.7.17 (2019-03-11) (Release Notes)

1418 questions
5
votes
2 answers

Horizontally centering a popup window in Vaadin

I have added a popup window to my main UI as follows: Window component = new Window(); UI.getCurrent().addWindow(component); Now, I want my popup to be centered horizontally and e.g. 40 pixels from the top of the screen. As far as I can see Vaadin…
5
votes
2 answers

Anchor-like functionality in Vaadin to jump/scroll to a certain point

Is there a way in vaadin to scroll or jump to a certain point (e.g. a Label) inside a view (e.g. a Panel)when a button or link component is clicked? Similar to the anchors functionality on a website? I'm using Vaadin 7.5.9 EDIT: I have a…
st.huber
  • 1,481
  • 2
  • 24
  • 45
5
votes
1 answer

How to increase the Vaadin notification/warning time?

How to increase the Vaadin notification/warning time? I am using Vaadin Valo theme. Nothing from the Book of Vaadin Notifications page helps.
5
votes
1 answer

Vaadin Grid custom TextArea editor is not being fully shown

I have defined a custom editor for my Vaadin 7 Grid longColumn.setEditorField(getTextArea()); where getTextArea() is: private Field getTextArea() { TextArea ta=new TextArea(); ta.setWidth("300px"); ta.setHeight("200px"); return…
Yampeku
  • 583
  • 1
  • 4
  • 21
5
votes
1 answer

Vaadin Grid: Show all rows

How do I make the new Grid widget in Vaadin 7 show all the rows of data (rather than scrolling)?
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
5
votes
2 answers

Update Grid with a fresh set of data, in Vaadin 7.4 app

In the new Vaadin 7.4 release, the new Grid widget debuted as an alternative to the venerable Table. After getting a Grid displayed, I later want to replace the entire set of data with fresh data. Rather than update the individual rows, I want to…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
5
votes
2 answers

How to create different Themes on top of Valo in Vaadin?

Now vaadin 7.3 has came out and it has the very nice Valo Theme . But I don't know how to import it to my project? Now I am using a default theme with my custom scss files. I would like to taste Valo . Please somebody help me how to import valo…
Cataclysm
  • 7,592
  • 21
  • 74
  • 123
5
votes
1 answer

Vaadin 7 Session Id

Does Vaadin 7 offer some kind of session identifier? I want to track some usage by each session. I looked at the doc for VaadinSession but did not notice any. I suppose I could roll my own by generating a UUID and attaching it to the VaadinSession…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
5
votes
0 answers

Tooltip for Vaadin Table column header

Can I add a tooltip to a column header in a Vaadin Table? Motivation Table columns are often abbreviated to fit the width of their rows’ content. It would be nice for the user if the full-length version the column title could be presented as a…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
5
votes
3 answers

How to format table values in vaadin?

If I have an object with BigDecimal property, I want to display it in a Table with a specific formatting: 2 fractions, and a "+" or "-" sign according to the amount. Eg: +10.50, -3.20 How can this be achieved in a vaadin table? There is a method…
membersound
  • 81,582
  • 193
  • 585
  • 1,120
5
votes
2 answers

@PreserveOnRefresh - Purpose and need?

I have a doubt regarding the purpose of @PreserveOnRefresh annotation. What is the purpose of this particular annotation and what are the scenarios in which it has to be used? What are the effects of using/not using this annotation? Thanks, Daniccan…
Daniccan
  • 2,755
  • 1
  • 18
  • 27
5
votes
1 answer

Vaadin 7 Combo Box - how to populate and dropdown when text is typed?

I have an app that has editors for various database records. These records are referencing each other. I'm developing a new custom data-aware component that is based on ComboBox: public abstract class CustomDbLookupField extends CustomField
nagylzs
  • 3,954
  • 6
  • 39
  • 70
5
votes
1 answer

BeanFieldGroup with ComboBox?

I'm trying create a ComboBox component using BeanFieldGroup in my application, but still can't do this works. I tried create a combobox first and after add this combobox in buildAndBind but doesn't work also. I'm trying this: /** person's bean…
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
5
votes
3 answers

Vaadin - download the file / save as

I try to add button with function to download the file from external resource Button saveAsButton = new Button(); private FileDownloader fileDownloader; fileDownloader = new FileDownloader(new…
PDS
  • 562
  • 3
  • 13
  • 27
5
votes
2 answers

Need locking when call VaadinSession getAttribute in Vaadin 7

I know that it is necessary when call setAttribute (link), but what about getAttirbute? Is this correct? public Object getMyAttribute() { return VaadinSession.getCurrent().getAttribute("myAttribute"); } Or need locking? public Object…
Krayo
  • 2,492
  • 4
  • 27
  • 45