Can anyone help me?, please.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042157#4042157
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042157
___
jboss-user mailing list
jb
Hi.
I run into one problem when I use overridden methods in a class that extends
from a parameterized class. If I declare in the superclass one method, then I
override such method in the specific type subclass, and then I use this method
as an action, I get this exception:
| javax.faces.el.
I use a @Factory method to fill a list (search result), and what I have as page
action is a method which refresh the list (set as null), then the @Factory will
make its work and ensure the query is not called twice or more times.
View the original post :
http://www.jboss.com/index.html?module=b
"petemuir" wrote : Have you tried using FlushMode=MANUAL? - by default with
EJB3 there is an implicit flush at the end of a method invocation (even when
the method is on an entity...) - this is a nightmare with AJAX.
Thanks a ton Pete, this works like a charm.
Yes, I'm agree with you with this:
Hi Folks.
After several days trying to found a reason to the problem I will describe here
I gave up.
Maybe someone here had a similar problem or can see WTF I'm doing wrong.
I have a seam application and I'm using Ajax4JSF to perform some validations
using a4j:support. I took as base the booki
| @Entity
| @Name("contact")
| @Role(name="contact1")
| @Table(name = "CONTACT")
|
| public class Contact implements java.io.Serializable {
|
| private Long id;
|
| private String firstName;
|
| ..
| }
|
| @Stateful
| @Scope(SESSION)
Just try:
|
| lower(firstName) like lower(
concat(#{exampleContact.firstName}, '%' ))
| lower(lastName) like lower(concat(
#{exampleContact.lastName}, '%' ))
|
|
That should work in MySQL.
View the original post :
http://www.jboss.com/index.html?m
Did you see:
http://www.jetbrains.com/teamcity/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037966#4037966
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037966
___
jboss-u
So, I think the MessageFactory class you have is not needed. You can use Seam
org.jboss.seam.core.FacesMessages class instead.
Below you can see an example I have:
|
| @Name("converters")
| public class Converters {
|
| @Transactional
| public Converter getRoleConverter()
Actually, you should have this in your component:
|
| @DataModel
| List strings;
|
| @Factory("strings")
| public void makeStrings() {
| strings = new List();
| strings.add("Name1");
| strings.add("Name2");
| }
|
|
And this in your page:
|
Oops, typo, the problem not only was an 's' it was namespace URL at all
(https://).
This sometimes happen ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037420#4037420
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
"alexg79" wrote : According to my research, Ajax4JSF + Facelets = bust.
I disagree with you here. Facelets is a great technology to build the view on
JSF applications, And Ajax4JSF is another one to AJAXify a JSF application.
I know sometimes when something does not work like we want, we look f
"petemuir" wrote : Can you put this tip on the wiki?
It's done.
http://wiki.jboss.org/wiki/Wiki.jsp?page=AutomaticLoginRedirection
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036850#4036850
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Yes, you can fire an action before render.
I resolved a similar problem as follows:
|
|
|
|
|
|
|
|
|
|
|
|
|
The authenticator.checkIfLooged
This is weird . But you can see the Booking Seam example which uses Ajax4JSF,
and check what you have different.
By instance in that example you have aregister.xhtml page and you can change
this part:
|
|
|
to this one:
|
|
|
|
That should work.
I took a look that ex
Code you post shows the Bean, is it possible to see the view source (.xhtml).
BTW, I don't know what could be the reason for the last exception you post, but
try to remove the and check if you are getting the same
error.
Another thing different of my code is that I was using "Integer" (for the
Could you post some code to see it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035805#4035805
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035805
___
jboss-user mailing
I had the same problem with Seam enhanced EL method expressions. I'm waiting
the solution.
But in the meantime I did something like:
|
|
|
|
|
page must be an variable with its respective setter (void setPage(int v)), and
jumpPage non-arg method (void jumpPage()).
And it i
Thanks for your answer.
I need to keep up my component in the session scope because doing this I can
have the UIData preserving the page index to be displayed, then with that page
(getFirst() in UIData) I can execute the list every time the view is accessed
(page action reload) in the respectiv
Hi.
I have extended EntityQuery and defining that component as SESSION scope. Then
I defined a page action which will call the super.refresh() in order to clear
the result data and execute the query every time the view is accessed (only one
time because I'm using @Factory). But, the query is ex
This is one of the reason I love Seam :-) It really makes your life funny!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033419#4033419
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033419
I don't know if Seam makes some nice tricks to support others Collections than
common JSF does not allow, if so that's really nice. However you are not using
@DataModel in your sample code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033417#4033417
Reply
DataTable works with DataModels...and DataModels only supports:
* java.util.List
* Array of java.util.Object
* java.sql.ResultSet (which therefore also supports javax.sql.RowSet)
* javax.servlet.jsp.jstl.sql.Result
* Any other Java object is wrapped by a DataModel instance with a single row.
(The
Hi smithbstl,
Because I was wondering about the weird problem, I tried to reproduce your code
in my SEAM application, using @DataModel and filling it after a search criteria
is entered. And all works fine.
Also I check what debug page returns and I get:
|
| class class org.jboss.s
Just wondering what could be wrong.
Some suggestions:
- Try a simple , maybe the error is throw by tr:dataTable
component.
- This sounds silly, but tr:dataTable id="addresses" and value="${addresses}"
could be causing some troubles? Try putting another id to the table (this shame
me, but it is
This sample works. Maybe you can see (try) what is different with your code.
| @Stateful
|
| @Scope(SESSION)
|
| @Name("messageManager")
|
| public class MessageManagerBean implements Serializable, MessageManager
|
| {
|
|
|
|@DataModel
|
|private Lis
Did you use @Factory("addresses") on your findAddresses() method?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033351#4033351
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033351
Maybe you can use URL Rewrite Filter http://tuckey.org/urlrewrite/
You should take a look at this:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89359
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033179#4033179
Reply to the post :
http://www.jb
You can use Components.getInstance("SeamComponentName");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032096#4032096
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032096
__
Simply, if you want to add your custom messages (in any locale) for
authentication or whatever in Seam and you don't like (or you don't need)
messages Seam adds as default, you should add in your resource bundle an empty
key (Seam key message) in order to avoid that message be rendered.
In the
Sorry, there was some typos in my last post.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031443#4031443
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031443
___
jboss-user
You can find out Wiki example in getting Seam from CVS.
Seam 1.2GA does not contain that example, I think this will be part of the
1.2.1 release. So wait next release or get Seam from CVS.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031442#4031442
Rep
See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101074
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031059#4031059
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031059
___
org.jboss.seam.NotLoggedIn
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030353#4030353
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030353
___
jboss-user mailing list
jbo
I think the 1 approach it is ok.
I have working something similar:
|
|
|
|
As you can see I get the property value for role.description on the fly using
the messages.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029279#4029279
Hi everyone.
I was using Seam 1.2.0PATCH1 with IceFaces 1.5.3 and all was working fine.
Today (1 hour ago), I get the CVS version of Seam (to try the s:convertEntity).
What I did was, get CVS version, to build the project, to replace my current
seam .jars with the generated ones, and after I de
One idea could be to extend the Identity class in order to return a custom
outcome (public String login()) based in your roles and then use it in the
pages.xml.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028556
View the original post :
http://www.jboss.com/index.html?module=
Supposing your component id is "confirmPassword", you can do:
| FacesMessages.instance().addToControl("confirmPassword", "Passwords do not
match");
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028180#4028180
Reply to the post :
http://www.jboss.
I have a sample running in tomcat (a simple one), I'll send you to the mail you
provide me right away.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027522#4027522
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027522
I never seen an exception like that, I don't know the reason. But can I take a
look to your complete log (since starting components up to final exception
stack trace)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027385#4027385
Reply to the post :
http://
Maybe I'm wrong, but it could be because you have the same name for
jta-data-source (java:/omegaDatasource) and also the same one for
jboss.entity.manager.factory.jndi.name (java:/omegaDatasource).
Try changing the name of jboss.entity.manager.factory.jndi.name
(persistence.xml) to java:/omeg
You don't need to add application specific configuration to
embedded-jboss-beans.xml. app/MET-INF/jboss-beans.xml are for that.
If you still have the problems, can we see your jboss-beans.xml and
persistence.xml content?
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
Ok, I will describe what I have in my configuration files when I deploy to
Tomcat.
1.- My components.xml
|
|
|
2.- My persistence.xml
|
| org.hibernate.ejb.HibernatePersistence
| java:/myappDatasource
|
|
|
|
|
Just curious, where is your "msgs" defined? Seems like "msgs" is null or the
property you trying to access not exist.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027173#4027173
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
It seems you need the next line in you components.xml
|
|
HTH.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027164#4027164
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027164
__
In order to load data on demand you can take a look at:
Using Seam Framework:
http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/framework.html#d0e5791
Using custom DataModel
http://wiki.apache.org/myfaces/WorkingWithLargeTables
HTH.
View the original post :
http://www.jboss.com/index.htm
I have a Seam application running in tomcat 5.1.17.
In order to get Seam running in Tomcat the key is to deploy EJB Embedded
microcontainer into Tomcat.
If you can see in the booking example, when the application (.war) is deployed,
you can have a look the mc-conf.jar (among other ejb jars), wh
Ups, it seems like the title was truncated.
Title was: "scheme=http when https is not used nowhere"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024761#4024761
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024761
___
I deal with that problem time ago. It is not a Seam issue, please check below
link for workaround:
http://forum.hibernate.org/viewtopic.php?t=969355
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024679#4024679
Reply to the post :
http://www.jboss.com/ind
Hi everyone.
I have a question (maybe trouble) related to new scheme attribute in the
pages.xml.
What should it happen if I specify
|
|
for an application which does not have https support (only http)?
The reference doc. says:
"Of course, if none of the pages in your application use HTT
Could you paste your Authenticator class code.
I got the same error time ago, I would like to see if the code you have is
similar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022407#4022407
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
It absolutely was my fault. Even 3.2.1. section of the book says it to me:
"They may be used as JSF action listeners, but cannot provide properties to JSF
components for display."
Sorry :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022126#4022126
Rep
Hi everyone.
I'm having troubles (maybe my bad or anything else) realated to Stateless Seam
component.
I have a stateless session bean marked as @Stateless and also I wrote
@Scope(ScopeType.STATELESS) (this is redundant according the docs.), this
component is used to populate a @DataModel to
Yep, I knew it. This change was recently done. I'm sure with Seam 1.1.7 RC1
will work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021665#4021665
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021665
___
I'm not sure. Just try it out, and tell us.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021655#4021655
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021655
___
jboss-user
Sure you can do it.
1.- Make sure you are using Seam 1.1.7RC1.
2.- Add an empty property (without value) to your messages.properties for:
| org.jboss.seam.loginSuccessful
|
3.- That's all.
Seam guys:
I think it would be a very good idea to add the predefined messages which Seam
adds as fa
Here there's a similar point and even a solution:
[url]
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100825
[/url][/url]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021348#4021348
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Ttry with this:
| @In(create=true)
|private EntityManager entityManager;
|
Or
Do you have configured the persistence context in your components.xml, like
this:
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021226#4021226
Reply to th
This is not a Seam stuff, but I'll give you some hints to figure out (maybe you
should read more about JSF ).
It depends what you have configured in your web.xml.
By instance, if you are using facelets, you should have this:
|
| javax.faces.DEFAULT_SUFFIX
| .xhtml
|
Sure, there is a way.
|
|
|
| #{messages['Security.accessDenied']}
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020355#4020355
Reply to the post :
http://www.jboss.com/index.html?module=bb&
"KoniKoni" wrote : I want to displa follow output on the page:Friday,
19.01.2007
Well, if you wanna display the current date, you only need to do this:
|
|
|
|
If you wannna display the Date property of any backing bean, you sould do this:
|
|
Sorry, my last message was my bad to add it to this topic ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019605#4019605
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019605
_
I know, I can add the full name in a separately session variable, but this will
not part of the identity as well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019604#4019604
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
I know, I can add the full name in a separately session variable, but this will
not part of the identity as well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019602#4019602
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
Well, I think overwriting the login message will work only to display the
message immediately the user has logged in.
But by instance I wanna display the user full name in the top of the page all
the time the user is working in its session. ¿What to do in this case?
View the original post :
ht
Well, I think overwriting the login message will work only to display the
message immediately the user has logged in.
But by instance I wanna display the user full name in the top of the page all
the time the user is working in its session. ¿What to do in this case?
View the original post :
ht
Currently Seam Identity class does not have a "Name" property. It coud be nice
if Seam guys add this property in the future. I think sometimes we need to
display the user who is logged in, currently I can only show the username, but
it would be better display the full name.
At this time the on
Hi.
I want to deploy the seamspace sample (deploy.tomcat ant target), but when I
try to access http://localhost:8080/seam-space/ I get exceptions:
| 20-feb-2007 11:17:24 com.sun.facelets.FaceletViewHandler
handleRenderException
| GRAVE: Error Rendering View[/home.xhtml]
| org.jboss.seam.
My faces-config.xml:
|
|
| messages
|
com.icesoft.faces.facelets.D2DSeamFaceletViewHandler
|
org.jboss.seam.jsf.SeamVariableResolver
|
|
|
|
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener
|
|
|
I have security configuration using Seam 1.1.6GA with ICEFaces 1.5.3.
I only have one know issue (also reported in both forums. When I want to logout
I get exceptions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019127#4019127
Reply to the post :
http://
In the pages.xml add the page configuration for the first page you want to
access (usually login.xhtml or home.html) and execute the login before
rendering the page.
Somthing like:
|
|
|
|
|
|
|
|
The above exa
Where are you trying to use the injected (@in) sessionContext?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018992#4018992
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018992
Gavin,
After I spent a lot of time trying to make this works (changing examples, from
1.1.6, CVS, debugging Seam code and so on), I found the reason:
The problem was that I was using the el-ri.jar which comes with ICEFaces 1.5.3
distribution.
I change back to el-ri.jar from Seam distribution
I tried with both. And neither null or Outcome.REDISPLAY works.
"fernando_jmt" wrote :
| In the both cases (a, b) after userManager.create() returns null or
Outcome.REDISPLAY the current page is not redisplayed, I always get the
list.xhtml page.
|
I'll try with a recent C
I tried with both. And neither null or Outcome.REDISPLAY works.
"fernando_jmt" wrote :
| In the both cases (a, b) after userManager.create() returns null or
Outcome.REDISPLAY the current page is not redisplayed, I always get the
list.xhtml page.
|
I'll try with a recent C
"[EMAIL PROTECTED]" wrote : The docs are correct, are you sure you are really
observing this?
Yes, I am sure.
I have this in pages.xml
|
|
|
|
|
|
|
|
And this in my create method:
| public String create()
Yes, adding from-outcome works. I also did that before posting here.
So, this means we need to add a rule even for null outcomes?
I had seen in the seam reference (1.1.6GA), page 87, this:
"Null outcomes are a special case in JSF. The null outcome is interpreted to
mean "redisplay the page". The
Hi.
I am just changing all navigation rules from faces-config.xml to pages.xml.
Then when my action returns a null outcome it does not redisplay the current
page.
I have this method in my component:
| @Stateful
| @Name("userManager")
| public class UserManagerAction {
| ...
| public
Some corrections for the last sample source code:
|
|
|
|
|
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017645#4017645
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
I'm not sure, but I don't know if using BLOB (I suppose is a SQL type class) as
bean property is the right way.
Maybe you can try changing it by:
| @Lob @Basic(fetch = FetchType.LAZY)
| byte[] contents= null;
|
or
| @Lob @Basic(fetch = FetchType.LAZY)
| InputStrem
JIRA request added.
http://jira.jboss.org/jira/browse/JBSEAM-849
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016679#4016679
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016679
_
"[EMAIL PROTECTED]" wrote : Right. Add the feature request to JIRA and I will
implement it.
Before adding the request to JIRA I wanna know if what I wrote in my last post
is possible.
Do you mean this structure of web contents should work?:
| webapp/
| sales/
| pages.xm
"petemuir" wrote : I think that /path/to/my/pages.xml is a good idea (similar
to /my/package/components.xml). If you like this, please add a feature request
to JIRA (Gavin may say no, but we can see ;) )
Maybe I am not understanding so well how this works.
I have no problem with /my/package/co
"[EMAIL PROTECTED]" wrote : path/to/my/viewId.page.xml
Suppose I have an application with thousands of .xhtml pages (which is true for
an existing app. we have in struts and we are thinking to upgrade to Seam), it
seems if I wanna configure them in Seam I should have thousands of
viewId.page.x
It seems ok for components.xml (my/package/name/components.xml ).
But, what about pages.xml?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015982#4015982
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015982
Hi.
I have the following doubt:
I wanna have pages.xml and even components.xml arranged by module (application
specific of course), having as example this distribution:
| WEB-INF/
| + components.xml (general Seam components)
| + components-contacts.xml (Contact module components)
| +
JIRA issue reported.
http://jira.jboss.org/jira/browse/JBSEAM-818
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014679#4014679
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014679
"petemuir" wrote : You can use:
|
| FacesMessages.instance().addFromResourceBundle(getClientId(facesContext),
severity, key, params);
I tried what you suggest me before posting the message here. But it does not
work.
This because the ValidatorException has this signature when creating it
Hi everyone.
I just developing JSF converters and JSF validators and you are noticed that
both of them have a way to add a FacesMessage when throwing the Exception
(ConverterException and ValidatorException respectively).
I saw static method FacesMessages.createFacesMessage(..) which returns a
I think an empty message will generate the also renders an empty
message.
I think it would be better detects if "org.jboss.seam.loginSuccessful" is in
the messages.properties, if it exists then add the message, if doesn't exist,
don't add the message.
View the original post :
http://www.jbos
The messages you should add to your .properties file are
org.jboss.seam.loginSuccessful = Welcome, #0
and
org.jboss.seam.loginFailed = Login failed
In case of login fails it is natural to add the message (which I can configure
as I want), but in the case of the login is successfully not all
"[EMAIL PROTECTED]" wrote : @Factory(scope=EVENT|STATELESS)
Related to this I have some troubles, maybe you can help me.
I have this code:
| @Statefull
| @Name("userList")
| @Scope(ScopeType.SESSION)
| public class UserList {
|
| @DataModel
| private List users;
|
| @Factory(
Making "(Object) user.getFullName()" it seems a silly solution, because String
instance is always an Object.
will that mistake be solved in future versions?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012761#4012761
Reply to the post :
http://www.jboss.c
Hello.
I have this in my .properties file:
| Common.message.deleted = #0 was deleted successfully.
|
Then in my action component I did the following:
| facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_INFO,
| "Common.message.deleted", user.getFullName());
What I did was to add somthing like this:
And in the resetList() I am reseting the list, in order to refresh the data
using the @Factory which updated the list for the respective @DataModel
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012427#4012427
I also have the same problem related to NotLoggedInException
Using the non CVS version I had:
| #{messages['User.notLoggedIn']}
|
And it was working well, a message was shown in the login page.
But it seems there's a problem with the CVS version, because now I can't get
the message in the
The authentication way was changed in the CVS version.
You should use it as follows sample:
| ...
| @In
|private Identity identity;
|
|public boolean authenticate()
|{
| try
| {
| Member member = (Member) entityManager.createQuer
You can try defining a new different role for the second DumbUser.
First you need to modify your dumbClass like this (adding a new role):
| @Name("dumbUser")
| @Role(name="dumbUser1")
| public class DumbUser {
|
| private String name;
|
| public DumbUser()
Because your attribute DumbUser is a plain class (not injected), you sould
initialize your class manually,
| private DumbUser dumbUser = new DumbUser();
|
|
Try above, I think it will work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011935#4
After I tried all things you comment here, I was geeting the same error.
But, 4 hours later I tried to enter the same URL using Internet Explorer. And
it works like a charm.
Then I understood that the problem was the FireFox cache. Because the first
time I deployed the application index.html re
101 - 200 of 209 matches
Mail list logo