A stateful bean cannot be accessed concurrently, but this is common to happen
if the use clicks on some button referencing a SFB. Is there any
seam-annotation that prevents subsequents access to some method?
thanks in advance.
View the original post :
http://www.jboss.com/index.html?module=bb&
The tomahawk faces library has examples on how to make tables with dynamic
columns.
For the selectOneMenu, you just need to bind it to a List
getxxxList() method.
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932380#3932380
Reply to the po
Thanks! I've use a.getClass().getSimpleName() and then derived the table name
from that, since all classes have the same nomenclature regarding the table.
But I will check the annotation retrieval method later :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
I use both idcall and embeddedid on entity classes but had no much
luck -- a "select table Table from Table table" having Table an idclass
annotation or using the embeddedid pattern, returned a list with the correct
number of entries, but all of them NULL
... then I abandoned that idea and use r
Hi,
is there a way to programatically obtain the name of the table that an @Entity
refers to?
thx in advance
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921201#3921201
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Gavin, thanks for you answer, I've only seen it now :-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920742#3920742
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920742
Correction:
HttpServletResponse res =
(HttpServletResponse)context.getExternalContext().getResponse();
| res.setHeader("Content-type", "application/...");
| ServletOutputStream os = res.getOutputStream();
| // write content on os
|
| context.responseComplete();
View the original pos
I have found a way that seems to work. Not SEAM related I guess, but JSF
dependent.
On a bean's method:
FacesContext context = FacesContext.getCurrentInstance();
| HttpServletResponse res =
(HttpServletResponse)context.getExternalContext().getResponse();
| ServletOutputStream os = res.getOu
Hi there.
As I understand, the basic seam+jsf operation consists on the beans to return
some tag, that is routed by the faces-config.xml to a proper page.
Is there a way to access directly to the response object from the bean? The
idea is to output a binary content on a "download file" button,
Thanks. I have already tried to set everything to DEBUG but the seam debug
messages don't appear.
I'm getting this warning: "[SeamVariableResolver] Seam component hides managed
bean with same name"
which is produced on src/main/org/jboss/seam/jsf/SeamVariableResolver.java and
I wanted to see wh
Hi,
Lets say I have an @Entity Foobar, that as either an EmbeddedId or @IdClass to
FoobarPk. When I do an entitymanager.createQuery("from Foobar") I get a list
with the correct number of entries, but all of them set no NULL.
As anyone encountered a similar situation like that, and how have fix
HI, is there a way to increase/decrease debug level on seam-only? Something on
seam.properties?
thx
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918400#3918400
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918400
Hi Max,
Well, there isn't a workable output, but the composite ids are generated. I was
thinking on reusing the @Entity and @Embeddable generated files and roll my own
actions. The problem is that I can't retrieve an @Entity that contains
@Embedded ids :-(
View the original post :
http://www.j
Hi all, I've been struggling to start a jboss+seam application. Everything
seems to be ok except a major stopper problem. Composite PKs appear to not work
at all, including the CRUD application that is automatically generated by
hibernate tools.
An example; I have this table PARAMETIZATION that
14 matches
Mail list logo