DerMas, thanks for help.
I'm afraid what I'm looking for is actually not supported. Dynamic interception
won't help 'cause I have to reflect aspectized classes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197589#4197589
Reply to the post :
http://www.jbo
I'd like to add mixins to all the classes annotated with:
@Mixins(value={Mixin1.class, Mixin2.class})
public class TargetClass {
}
My understanding is that I have to define 2 aspects for Mixin1 and Mixin2
classes. But I can't work out pointcuts for them. Could anybody help me?
View the origina
xhtml - JSF facelets page
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167988#4167988
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167988
___
jboss-user mailing list
jboss
Ctrl+Space in style="" gives a list of #{} expressions.
I'like to see a list of CSS styles and their possible values.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167984#4167984
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
I have the same problem described in the topic
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100594&postdays=0&postorder=asc&start=10
How can I fix that with newest JBoss Tools?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167849#4167849
Reply
anonymous wrote : 1.) Does seam support dynamic forms?
| I want to generate the form from the database.
AFAIK it doesn't. If it did I would have employed them. I saw some applications
that provide extensionable entities (look for instance at JIRA - it's possible
to configure additional proper
"Remember me" hasn't worked for me as of 2.0.1 CR1.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124299#4124299
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124299
___
jb
Can I make use of it before 2.1 somehow?
If negative when 2.1 is issued?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124284#4124284
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124284
__
"vladimir.kovalyuk" wrote : 1. Does JPA persistence context propagation rules
work for Seam-managed conversation-scoped Beans?
"[EMAIL PROTECTED]" wrote :
| No, they are different. JPA persistence context propagation rules are
complex. SMPC propgation is simple. You will
As long as Seam scans classpath in order to build list of components I'm
wondering whether it's possible to get involved into the process instead of
introducing third one (in addition to EJB and Seam).
Ideally I'd like to get feedback for each class.
View the original post :
http://www.jboss.
At the time of starting new project I used POJO beans with ease. At some point
simple things ceased to work and got to work only after moving toward SFSB.
When I employed EntityHome I obtained "stale object" exception. If I understand
correctly it happened because persistence context was not pro
When application environment/configuration is corrupted the @Startup component
should report failure and stop loading application.
How to gracefully cancel loading of Seam based application?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123331#4123331
Reply
Interesting ...
In fact setting breakpoint on RemoveInterceptor helps to figure out the root
cause.
How to figure out who eats the exception (using Eclipse debugger for instance)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120169#4120169
Reply to the pos
Ok, another side:
isFacesContextActive() returns false when handling JSF request (and active
Faces context exists).
Given source code is an excerpt from Seam 2.0.1 CR1 build.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119927#4119927
Reply to the post :
| public class FacesExpressions extends Expressions
| {
|
|protected boolean isFacesContextActive()
|{
| return FacesContext.getCurrentInstance()==null;
|}
|
The result is true when there is no active faces context. Is it ok?
View the original post :
htt
Christian, did Seam Team have a chance to implement entry/exit points?
I'm looking for the common soluiton where "Close" button returns user to the
previous page regardless whether it was long running transaciton or not.
View the original post :
http://www.jboss.com/index.html?module=bb&op=vi
A hundred of interceptors are involved into the EL expression evaluation for
each "enterprise_bean.property" construction.
I believe you need to "outject" your data into "request scope" before profiling
in order not to mix EL and interceptors contribution into the result.
View the original post
Pete,
I fixed it by implementing my own version of
org.jbpm.persistence.db.DbPersistenceServiceFactory and properly configuring
jbpm.xfg.xml. In my case jBPM persistence is configured to use
EntityManagerFactory, I use sessionFactoryJndiName property to point to it.
Original DbPersistenceServic
I mean EJB3. Currently it's not easy to even make it work with Hibernate
EntityManagerFactory.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078106#4078106
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078106
__
Is jBPM Persistence supposed to be EJB componenet somewhen?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078105#4078105
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078105
___
It seems that Hibernate does not allow to derive custom TaskInstance as EJB3
entity. And jBPM queries its own TaskIntanceS, so we have to derive from
TaskInstance. My guess is I won't succeed with that.
Nevertheless how to get my custom TaskInstance beeing EJB3 entity or
referencing another EJB
I'd like to extend TaskInstance. In particular customised task instance has to
keep references to other EJB3 entities (to be used in queries for instance).
How it could be implemented/configured?
P.S. I use Hibernate as JPA implementation
View the original post :
http://www.jboss.com/index.htm
My login.page.xml looks like
|
| http://jboss.com/products/seam/pages";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="http://jboss.com/products/seam/pages
http://jboss.com/products/seam/pages-2.0.xsd";
| scheme="https">
| ...
|
|
w
I'd like to something like the following:
| class Authenticator {
| boolean authenticate() {
| User user = em.createQuery(...);
| ...
| Identity.instance().addRole(string);
| for(UserRole role:user.getRoles())
| for(String permission:role.getPermissions())
Milli
please check out dvdstore example that is shipped with seam 2.0beta1.
I remember seeing that it was configured in persistence.xml.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074968#4074968
Reply to the post :
http://www.jboss.com/index.html?module=
is it possible to start a JBPM process and update entity as an atomic operation?
SFSB creates a process and saves its id as a property of an entity. I see
changes in jbpm tables when entity hasn't been changed yet.
How can I make jbpm use transactions while seam says:
jBPM transaction management
My understanding is different.
For instance once the author of a document completed with draft it might ask
somebody to review the document. And the process of reviewing would be a normal
business process. As the result of reviewing the document could be promoted to
the next state. But, when it
The question is "Can Seam+jBPM help with implementing entity's lifecycle?"
Let's consider Document as an example of entity that has lifecycle. The states
are as follows: Draft, Pending Verification, Pending Approval, Archived.
>From my perspective lifecycle is a graph with states and actions (tra
Dkane, probably Lifecycle would meet your requirements.
>From my perspective Lifecycle can be defined by jPDL. But I still in research
>how Seam contexts could help.
I'm going to create a new topic.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072105#4072
It seems that simple validation (related to entity itself) is completely
covered by Seam, except custom hibernate validators.
AFAIK hibernate validator is supposed to work without hibernate itself, for
instance it should work with Kodo.
Complex validation (how entity correlates to the other enti
Does Icefaces 1.5.3 support Seam debug page and request parameters?
I remember exceptions.
It's great news that two teams have intentions to make two technologies working
well together.
Is it a time to inspect Icefaces compatibility with Seam once again? Or we
should wait for a while?
View the
May I propose some extensions for registration functionality for the Booking
example?
1. Implement Hibernate custom validator for checking password and re-entered
password equality.
Actually reference manual refers Hibernate custom validators, but there is
no example.
2. Perform custom val
Christian, the problem is in the fact that Seam provides me with a lot of
possibilities of designing JSF<->EJB interchanging. Now I have to try out
several approaches on my own and work out my best practices. And someone have
to do the same on his/her own.
I don't know whether Seam book have a c
A little bit more ...
http://jcp.org/en/jsr/detail?id=299
anonymous wrote :
| ...JBoss has submitted JSR 299 - Web Beans to the JCP for review. "The goal
of this work is to enable EJB 3.0 components to be used as JSF managed beans,
unifying the two component models and enabling a considerable
If DB issues are considered to be so serious why not to make one more seam with
db4o? http://www.db4o.com
Christian, I feel a little bit confused. The log contains single SQL statement
that is not related to the tree, due to the fact that tree model is kept in
SFSB (visible nodes only).
Aaaah!
Christian, I'm not guessing. Here is my persistence.xml:
|
|
| org.hibernate.ejb.HibernatePersistence
| java:/codenameDatasource
|
|
|
|
|
|
|
|
There is single SQL statement in the log th
Christian, thanks a lot for hints. It's interesting topic.
Being impressed by long SQL statements generated by Hibernate and understanding
that most of them are not required I decided that I need to try an idea of SFSB
as backing bean. I annotated all the relations among entities as fetch=lazy. S
It seems that I do.
There are menu with pop-up sub-menus on the top, tree with context menus on the
left panel, and list of contents on the right panel. You can see that sort of
design in Windows Explorer for instance.
Usually the page is rendered (starting from second attempt) immediately, I mea
Although I didn't find anything about Seam in JIRA JBIDE
I hope eventually JBOSS IDE will be shipped with Seam plugins.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008093#4008093
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
To be honest the latter.
If I were able to perform true performance tests I'd provided you with figures.
I thought you already have them.
I just wanted to draw attention to the fact that contents of callstack between
caller and callee is a very long journey and must cost a lot, even not taking
in
Gaving, just to make sure, I understand that the next release of upload
component will be capable of streaming the file to disk at the time when it is
receiving bytes from the client side? And it will consume memory only by the
size of intermediate buffer?
View the original post :
http://www.
And I don't find it convenient when I need to scroll a hundred lines in stack
trace or Threads Window in order to find out what is the caller of my method.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007975#4007975
Reply to the post :
http://www.jboss.co
I'm concerned about impressive stack traces.
Considering SFSB as backing beans for JSF we need to take into account a lot of
interceptors introduced by EJB3 (JBOSS implementation) and Seam.
So I'd like to raise question about possible optimization on that matter. I
believe that hundred calls cost
As far as I understand the content of file is part of POST request.
So I'm wandering whether it possible to upload very large files.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007926#4007926
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
I would cool if JSF supported java.lang.Iterable as well.
(It's importance can't be estimated without C#'s "yield return" statement
though)
Anyway custom DataModels for those interfaces are welcome in Seam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005983
I realized that when user is accessing a page when it is not logged in, the
first thing that is happening is JSF lifecycle due to the error in
SeamSecurityFilter:
| if (!checkSecurityConstraints(hRequest.getServletPath(),
hRequest.getMethod(), ident))
| hResponse.sendRedirect(Str
Is is possible to start a new conversation with @Begin and leave the current
one untouched? As result there will be two sibling conversations.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003849#4003849
Reply to the post :
http://www.jboss.com/index.html?
Bad news :(
I don't want to rewrite UiValidateAll, but it seems that it is the only way.
I haven't realized yet how to build the expression. Probably I will need to
access to private field "orig" in some class. It keeps the original expression.
It won't be difficult to traverse all the ASF class
I fixed some lines in that class got NPE.
I realized that validate() takes script component tag parameters instead of
evaluated expression. I debugged a lot JSF RI 1.2 and EL and realized that EL
defers evaluation. Thus by calling valueBinding.getExpressionString() in
ModelValidator.validate() S
I was impressed by
http://www-128.ibm.com/developerworks/web/library/j-facelets2.html
I tried to implement similar approach but I got StringOutOfRangeException.
That was the first problem with Validators class. It is in the following string:
String modelExpression = propertyExpression.substring(0
I've tried it out. It works.
But it requires some effort for working out an approach of returning the user
to the requested page after he successfully logged in.
Is it planned for seamspace example?
Shane, I'm looking forward for that release. Especially for authorization based
on Rules.
View
I realized that jbpm_processdefinition table grows every start of application.
New versions of processes are installed.
Is it ok for non-in-memory databases?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002420#4002420
Reply to the post :
http://www.jbos
Consider the following scenario:
There is an entity in the system, say Document. It can be displayed on the
front page of the application (non-conversational state). It can be displayed
as an attachment in the pageflow related to the assigned task (conversational
state). In both states user is a
I forgot to say that there is no any file corresponding to the fake page in
pages.xhtml.
What I don't like in that design that I don't read from pages.xml that Seam
will redirect me to the real page after invoking page action. All the implicit
logic is a field where bugs are coming from.
View
I tried the following scenario:
Page /object_details.xhtml is designed to show details of my particular object.
I tuned pages.xml to map request parameters (such as objejctId) to properties
of my SFSB backing the page. And my custom page action was marked as @Begin.
I realized that in spite wheth
While debugging the configuration from the documentation
|
|
| Secure Page
| /secure/*.seam
|
|
| admin
|
|
|
I realized that the problem is in SecurityConstraint.matchPattern(String path,
String pattern)
I replaced
/secure/*.seam
with
I downloaded the latest Seam Build and tried to incorporate Seam Security as
it's explained in Chapter 21.
I didn't manage to make security filter work.
Probably a simple example would help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001928#4001928
Reply
57 matches
Mail list logo