Israel Fonseca

Greenhorn
+ Follow
since Aug 29, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Israel Fonseca

Supose the following situation:

class ObjectA

Integer id;
List<ObjectB> list;

How can i make a JPQL that retrives a list of ObjectA that have at least N ObjectB. N is variable number. Example:

table ObjectA
[id]
1
2
------------------
table ObjectB
[id] [fk_objectA]
1 1
2 1
3 2

My search method would be...

List<ObjectA> search(List<ObjectB> param){
return em.createQuery("from ObjectA o where o have at least these :param").setParameter("param",param).getResultlist()
}

If param is a list with ObjectB(id=1) it would retrieve: ObjectA(id=1), the same would be true if param was a list with [ObjectB(id=1),ObjectB(id=2)]

Off course that this query don't work, but i want to do something like that. Is it possible? Or do i have to make a lot of string concatenation?

Thanks!

Israel
Strange, my modals are working fine in FF. Could you post your modal code?
15 years ago
JSF
Is there any way to immediately end a conversation? I want to end it in an method invoked by an a4j:commandButton (using ajax) and after that reRendering my form, and consequently showing them empty (my values are binding a backingbean with conversation scope).
Did you try with the latest version, the 3.2.2 SR1?
15 years ago
JSF
I had an application using JSF 1.1 with JAAS on my JBoss AS 4.0.5. Now i want to move this application to the JSF 1.2, so I downloaded the JBoss AS 4.2.3, and tweaked my app (basically just removed the old jsf libs, because they already come with the 'new' jboss-as) to work with the new JSF 1.2.

The problem is:

Now my login is not working. And worst than this.. i dont get any message in the console to give me a clue about the problem. Does any one know about any migration issue with JAAS and JSF 1.2?
15 years ago
JSF
Thks for the tip. Maybe that's why i didnt find it. Anyway, i will search for it.
15 years ago
JSF
Well, the question is pretty simple.

Where can i find the source code of the HtmlCalendar? And yes, I downloaded the source package from the oficial site, but i CAN NOT find the source code of any Html..blabla class. It's strange...

---

And another question, what is the classes that render de UICalendar
15 years ago
JSF