Tagged Questions
1
vote
1answer
3k views
I'm getting 'Duplicate id error' after adding 'binding' attribute
Here is JSF code:
<o:chart id="categoryLineChart" model="#{categoryReports.categoriesLineChart}"
view="line"
rendered="#{categoryReports.reportRendered}"
...
5
votes
3answers
16k views
exception in initializer error
I am using Netbeans. I did some things with bindings and now whenever I start my program, before it even intializes the form, it gives me an error
The exception in thread main is ocuring before ...
6
votes
3answers
3k views
Call Java method from PHP5
There used to be a PHP extension that could load Java libraries and call methods in them. That was for PHP 4.
Is there a way to do the same in PHP 5?
0
votes
0answers
343 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 ...
1
vote
1answer
4k views
How to bind a list of object to SpringMvc Controller?
I'm using the following action on a SpringMvc application:
@RequestMapping(value = "/test", method = RequestMethod.GET)
public ModelAndView test(
@ModelAttribute List<Group> groups
) {
...
13
votes
1answer
3k views
JGoodies Binding vs. JSR 295
What is the practical difference between JGoodies Binding and JSR 295, Beans Binding? They both seem to be intended for the same purpose and get their job done (with slightly different approaches). ...
2
votes
1answer
6k views
Spring Binding List<Object> to Form:checkboxes
I can't seem to get my form to bind to the checkboxes control. I read many posts on here and tried a few techniques but no luck. Maybe a fresh set of eyes will help.
my controller:
public String ...
0
votes
2answers
2k views
Binding more than one input field to a backing bean property by using Java Server Faces?
Suppose i have a month, day and year select. One select for each one. And now i need to bind them to a single backing bean property - java.util.Date. How do i get my goal ?
1
vote
1answer
177 views
ui:include using FaceletsContext
I'm using PrimeFaces and I have next jsf page:
<h:form id="form1111">
<p:commandLink value="Include Page" actionListener="#{dynaInclBean.includePage}" ...
1
vote
5answers
637 views
auto binding (type inference) of generic types by the compiler
the following code has compilation error in the line of t3:
public <E> List<E> getList()
{
return new ArrayList<E>();
}
public <T> void first()
{
List<T> ret = ...
5
votes
2answers
716 views
Java Binding Vs Manually Defining Classes
I have a XML schema that I will need to create Java classes for. It is not a particularly large schema, I'd say it will result in around 20 classes. I am trying to weigh up whether to use an automatic ...
2
votes
1answer
286 views
Do i always need to explicitly set sub objects while saving Hibernate main Object
I have Class Person
public Person() {
//passports = new AutoPopulatingList<Passport>(Passport.class);
passports = new AutoPopulatingList<Passport>(new PassportFactory(this));
}
...
2
votes
3answers
299 views
Can a value from a JTextField be forced into the ValueModel (JGoodies)
I have this code:
this.trigger = new Trigger();
this.presentationModel = new PresentationModel(this.personBean, this.trigger);
final ValueModel firstNameAdapter = ...
2
votes
2answers
2k views
JiBX: How do I keep using interfaces in my code?
How can I keep my using interfaces in classes I want to use JiBX binding with?
Example:
I have this very simple model in java:
public interface A {
B getB();
void setB(B b);
}
public ...
0
votes
1answer
2k views
JavaFX bidirectional binding not working with the control becoming not editable
Give a very elementary class (imports resolved into javafx packages):
public class T07 extends Application implements Initializable{
with some fields representing controls defined in an .fxml ...