Tagged Questions
0
votes
0answers
13 views
Update jface table when specific field changed
I have small Job and JobManager domain classes:
public class Job extends ModelObject {
private String name;
private String state;
public State getState() {return state;}
public void ...
0
votes
0answers
51 views
How can change the validators of textbox depending on radiobutton selection?
I want to change the textbox validatrs depending on radio button selection.In 1st selection i want the text field to be 16bits long in 2nd selection it should be 32bits long.So thats why i have tried ...
0
votes
0answers
152 views
Spring MVC returning Data into Multiselect listbox
I have two html list boxes which i am populating from the database a single select box and a multi select box. I am unable to return a list object into the multi select list box instead i am getting ...
0
votes
2answers
51 views
Is it possible to create an object from XML file using DOM?
I use DOM parser to read data from XML file. I know how to read, modify and write back the data. However, I would like to know if it is possible to create an object from an XML file.
I have an XML ...
-1
votes
1answer
88 views
Changing attribute type - data bind Spring MVC Form
Let's say I have the following:
Hibernate:
@Entity
@Table(name = "users")
public class Users implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
...
1
vote
1answer
88 views
How can i disable a button when the model is not updated?
In my UI i have 2 text field and and 2 buttons .I am using jface data binding to bind the text field and i am doing the validation and depending on the validation success the model is updated other ...
2
votes
1answer
229 views
<form:select> objects binding through Converter in Spring MVC
I try to use Converter to organize form binding in Spring MVC, like it described here: Spring form binding how to do it ? Cannot convert value of type [java.lang.String] to required type, but I miss ...
0
votes
0answers
11 views
Cannot update JGoodies binding while dragging the mouse
I have a marker that I am dragging in my plot that extends JComponent. While dragging I fire a property change listener event. It calls a setter on a bean bound with JGoodies that updates the ...
1
vote
1answer
137 views
How to bind two string parameters from a request into one field type during data binding in a spring controller?
Let be my custom type (note that there is NO setters because this is an Immutable Value Object):
class CustomType extends ValueObject {
private String value;
@NotNull
public String ...
0
votes
0answers
320 views
SpringMVC how to Bind A Multi Select Option Element
I have four select option list two are populated with data form the database and two are multi selects which are bind to the POJO. I then use java script to add options form the database select option ...
0
votes
1answer
148 views
JFace TableViewer should react on changing list
We have the following scenario: an Eclipse 4 RCP-Application should write a log-output. These logs are bound via an OSGi-Service and should be displayed using a JFace TableViewer.
This works well for ...
0
votes
2answers
29 views
Converting radio button selections to data
In my Java "restaurant menu" GUI application for my class we have to allow users to select their food from a menu then order it. Right now you can select from a few different foods on radio buttons. I ...
1
vote
1answer
103 views
Generated dynamically a jsf form issue
i am trying to render dymanically a form using jsf and a back bean which generates the form elements.
This is the code of the back bean:
@ManagedBean(name = "reviewReportBean")
@SessionScoped
public ...
0
votes
2answers
415 views
Using @RequestParam for multiple POST-Parameters
I have a very similiar problem solved in this thread: click
To make a long story short:
I'm generating form elements dynamically with jQuery and in the result it looks like this:
<div ...
-6
votes
1answer
119 views
Data sharing between java web application and Mainframes
Hi we are developing a SaaS application, technology stack of Java Struts2, Oracle 11G, Amazon Web Services. Issue i am facing is, one of our client would like to integrate the database of ours into ...