Hi, can you recommend a workaround, someting...
We cannot go live with this bug!
Please give some advice. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4107392#4107392
Reply to the post :
I cannot find a JIRA issue about this?
Should I raise one? Can anybody confirm is a bug?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103577#4103577
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103577
anonymous wrote : We had a similar behavior after migrating to 2.0.0CR2. We
changed the scope of the DataModel to PAGE and the problems vanished.
I don't think PAGE context works if you have s:link or s:button in the page,
because they don't propagate the PAGE context.
View the original post
an alternate workaround would be to refresh the datamodel every time the page
loads, using a page action...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103754#4103754
Reply to the post :
JIRA issue raised:
http://jira.jboss.com/jira/browse/JBSEAM-2242
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103780#4103780
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103780
I am outjecting them alright, on the conversation scope. Normally they have not
null values when injecting them.
The problem only occurs when I call bean method(by clicking a button), BEFORE
the page that contains that button finishes to render in the browser.
I guess it is a sort of
Is there a workaround or a patch available for this? DataModels are practically
unusable due to this...
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103410#4103410
Reply to the post :
I am inside a long running conversation and I have a search page with a search
button that triggers myBean.search().
myBean has several conversation scoped variables, injected with @In.
While the search page is rendered in the browser, before the render finishes, I
click the search button that
can you confirm it's a bug? is there a workaround?
Do we need to rollback to 1.2.1 ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103249#4103249
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103249
Hello we have migrated from Seam 1.2.1 to Seam 2.0 and there is an annoing
behavior of DataModel - if the DatgaModel is on a long running conversation and
holds a list of database entities, the values of the entities are null after
the first display of the page.
To be more concrete:
The bean
What is the facelets version that comes with Seam?
(In the manifest it says Implementation-Version: ${release.version} :)
I am asking this because I am trying to fix this issue
(http://jira.jboss.com/jira/browse/ASPATCH-237) , and the last version of
facelets (1.1.12) does is not compatible
I have an entoty bean with a property that has a max 255 length. I want to
customize the default hibernate validator.length message, in order to display
only the max value, not the min value (default validator.length is defined as
'length must be between {min} and {max}').
So I have this
So if I understand correctly, when using SLSB, it is possible that the
container serves the same object, because of caching.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080734#4080734
Reply to the post :
Thanks.
Please note the following bug in the seam 2 documentation: in chapter
3.1.4(Conversation context), it says that:
anonymous wrote :
| Some conversations last for just a single request. Conversations that span
multiple requests must be demarcated using annotations provided by Seam.
|
Yes, redirect in pages.xml. I suppose it does a browser redirect that generates
a new http request.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080816#4080816
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080816
Hi,
I have a search button in a page, that executes an action in the EVENT scoped
component and then redirects to the same page.
If the component is a POJO, then Seam instantiates 2 components (one for
executing the action and one for displaying the page after redirect).
If the component is a
Hi,
I am injecting a component with @In, from Conversation scope(the componenet was
previously created). After modifying it in the action method (triggered from
xhtml), the modification is visible in view (i.e. component is outjected).
| @Stateless
| @Name(requestWizard_information)
|
Yes, it is clear to me that the modification can be seen in view because in
this case @In injects the reference to the object in the context.
I was expecting that @In to inject a copy of the object from the context...
Like in the case of EVENT scope. If I use the same code, but EVENT scope, the
Hi,
I need to design a page that has 2 submit buttons - each of them targeting
different controls. For all controls I use s:validate.
The natural design would be to have 2 different forms for it, but the problem
is that, from a rendering perspective(what the user sees) they must be nested
-
Is there an example of how to use Set as a @DataModel ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054224#4054224
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054224
___
Thanks, it works. Now I understand, @DataModel outjects a brand new object with
a new name (default variable name). This also means that the variable should be
created with @Factory (usually).
Now I don't understand why my initial approach worked with List and array :)
View the original post :
There is something weird how this @DataModel functions, maybe it can be
documented somewhere.
In my example the @DataModel exposes the Set of a hibernate entity(from
one-many relationship).
If the @DataModel is a property of a stateful bean (conversation scope), then
modifying the hibernate
Thank you all for the answers.
Can you please help me out - There still are some problems and searching on the
forum seemsto be bugs, but I am not sure. Can you please confirm.
Here are the problems:
1) Stateful component - Conversation scope; outjecting Set DataModel
(defaulting to
Hi,
I am trying to use java.util.Set as a @DataModel but it throws an exception
(javax.faces.el.PropertyNotFoundException Bean:
org.hibernate.collection.PersistentSet) when trying to display the xhtml.
Replacing Set with List or array works very well.
Here is the code:
The Hibernate
Is is possible to inject/outject an initialization parameter (defined with
context-param in web.xml), in a Seam EJB3 component?
Using @In(paramName) and @Out(paramName) does not work.
(I am more interested in outjecting it, since reading can be done via
facesContext)
View the original post
[EMAIL PROTECTED] wrote : What you are doing should work.
Does anyone have any idea why it actually doesn't work and throws that
exception?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049187#4049187
Reply to the post :
As the framework is designed right now, the embedded server starts for each
testing class that extends SeamTest (basically every class that has integration
tests using FacesRequest). This is done via SeamTest.init() which is annotated
with @Configuration(beforeTestClass=true).
Starting the
Looking in the source code for SeamTest.init() I see that it creates and
initializes a servletContext and also creates conversationViewRootAttributes.
I was thinking that recreating servletContext and
conversationViewRootAttributes might be nedded in order to clear some context
variables (that
I am unable to mock the Identity component (so that I can bypass
authentication and permission checking in testing).
I am using SeamTest and in the FacesRequest I am calling my ping component:
| public class PingTest extends SeamTest {
|
| @Test(groups = { dev })
| public
29 matches
Mail list logo