I've got the download to work but installing it doesn't do anything.
If I use the beta update site it moans about dependencies.
Eclipse could do better by reporting which components are causing issues.
View the original post :
Ah, my bad, I thought I had uninstalled all the previous version but something
was lurking. It worky now.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4188701#4188701
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4188701
When using EntityHome what's a good way of implementing security so that only
certain users can create new records and others can edit them and also some
users can't even see certain records?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4115857#4115857
Reply
Ah, I think I know what the problem is (but not how to fix it).
Because the form isn't being submitted, the backing bean isn't getting
populated so clearing it down won't work (it doesn't exist yet).
The form is getting reRendered but not reset.
Looking at this :
I've got a form in a rich:modalPanel that appears when a user clicks the 'New'
button. However, if the user clicks cancel on the form so that the modal panel
closes, when the 'New' button is next clicked (without navigating away from the
page) the old form is shown, complete with any validation
No joy with that. Will have to keep trying differen things.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106473#4106473
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106473
___
Cheers, I thought I had tried that but I'll give it another go.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106454#4106454
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106454
I have my app configured to use the SeamFaceletViewHandler and I can pass
parameters successfully to action methods but this doesn't seem to work for the
rendered attribute of components. Am I trying to stretch things too far?
View the original post :
Try adding an equals method to either Uzman or Kullanici that tests against
the id field.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042322#4042322
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042322
If it works at least it will help to track down the problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042330#4042330
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042330
Tsk, that's pants.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042348#4042348
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042348
___
jboss-user mailing list
Here is my scenario. I have an entity bean 'Request' that has a list of entity
beans 'Detail'. I use the @OneToMany(cascade=ALL) annotation for the
relationship.
I have a page where I can edit 'Request' and add 'Detail' objects to it. If I
click 'save' then everything is saved perfectly. If I
If you are using Seam v1.2.1.GA or above you can use this instead:
| h:selectOneMenu value=#{itemManager.itemChosen} style=width:300px
| s:selectItems value=#{itemManager.itemList} var=item
|label=#{item.code} #{item.name} /
| s:convertEntity /
|
Also note that if you are using roles then there is a bug that doesn't clear
them down when Identity.login is performed. This is fixed in CVS but not (as I
am aware) in any release version. I think someone should make this more widely
known as there is a workaround for it and it could
I'm confused (having read the docs) over whether I should be using @In or
@PersistenceContext for a Seam managed persistence context. What's the
difference?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035646#4035646
Reply to the post :
That seems a massive overkill.
Why aren't you using the persistence context?
Then you can just do exactly as the tutorial says:
| public void delete()
|{
| messageList.remove(message);
| em.remove(message);
| message=null;
|}
|
em.remove(message) will
Either you've missed a step or two, or you are doing something unusual
somewhere in your code. You do not need to go to the lengths you are going to
just to delete something.
Do you have an @PersistenceContext annotation anywhere in your code?
Can you show us the entity bean code?
View the
I've got a one-to-many relationship in one of my beans and have never had any
trouble. This is from my entity bean:
ListRequest requests = new ArrayListRequest();
|
| @OneToMany
| public ListRequest getRequests()
| {
| return requests;
| }
| public void
Like I said, you need to use merge() if you are not using a seam managed
persistence context.
Using @PersistenceContext does not mean that it is a seam managed one.
From what I can gather, if you obtain your entity bean in one session bean and
then try and update it in another session bean
I think what you want to use is a nested conversation. This can be done either
by annotating the method with @Begin(nested=true), by adding
s:conversationPropagation type=nested/ to the h:commandLink, or by using
begin-conversation nested=true. in pages.xml.
Conversations are stack based.
Along with the new entry-point concept, will you be adding something to prevent
a user from jumping to a page out of sequence?
Currently I can easily skip to a page as long as I put the conversation id in
the URL, I then get a useless page but I fear that this might lead to security
holes.
It
[EMAIL PROTECTED] wrote : Use jBPM pageflows in Seam if you want a
statemachine controlling the navigation flow and preventing users from making
illegal transitions. The concept of entry/exit points also needs to be added to
this model though.
|
Does that stop me from fudging the URL
Fantastic! All I needed to do was to implement the equals method and it now
calls the action method correctly.
Many thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035266#4035266
Reply to the post :
I have this in my components.xml:
component name=org.jboss.seam.ui.entityConverter
| property name=entityManager#{em}/property
| /component
...and this in a session bean:
@PersistenceContext
| EntityManager em;
...and this on a page
h:form
| h:selectOneMenu
Ok, thanks for that? I've managed to find out how to configure the Seam managed
persistence context and now I'm not getting the error any more but now the
method attached to the action of the command button is not getting called and
I'm getting no errors whatsoever in the logs...
:(
View the
I added h:messages/ and now I get Validation error on the page but I've not
set up any validation for the form.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035020#4035020
Reply to the post :
JBoss 4.0.5.GA
Seam 1.2.1.GA
MyFaces 1.1.5
Java 5
Windows XP
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035025#4035025
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035025
Could this be a bug in MyFaces?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035056#4035056
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035056
___
jboss-user mailing list
This bit sounds useful:
anonymous wrote : Your component may not have been found (see another FAQ) or
the errors may be hidden. The JSF lifecycle consists of a number of phases; in
some of these phases errors can occur which don't cause an exception to be
thrown and logged (at least at the
Oh right, I already had a long running conversation that spans the list
creation and the form submission. I'm going to try and do some debugging.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035074#4035074
Reply to the post :
I've implemented my authenticator component as per the seam docs (section
12.3.2) and have come across a security flaw that I thought people should know
about or maybe point out what I've done wrong.
I have 2 user roles, 'admin' and 'user' and use these to determine which pages
to show.
If I
How do I remove all the roles in one go?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034592#4034592
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034592
___
jboss-user mailing
Which version is it fixed in?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033433#4033433
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033433
___
jboss-user mailing list
Do you have the code for UserManagerRemote?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033043#4033043
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033043
___
jboss-user
The variable (e.g. var) will belong (scoped) to the SFSB it is declared in but
it will be outjected or injected to/from the relevant context. I don't think
you can rely on it being the same object (it might well be) but it should have
the same value.
View the original post :
I suspect that you are getting an error on deployment that you have not seen.
Check the log files.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033080#4033080
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033080
Your bean class must have implements UserManagerLocal even though it
implements it through an abstract class.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033086#4033086
Reply to the post :
No idea. It could be part of the EJB3 spec. Just add the 'implements' clause to
your class.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033093#4033093
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033093
If you configure pages.xml with this:
| page view-id=/customer* action=#{bean.method}/
|
And then extract the rest of the URL from inside the method? That might work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033102#4033102
Reply to the post :
Are you asking how to get the page to display, how to populate the page with
data or how to find out which customer to find the details of?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033142#4033142
Reply to the post :
You either have the action method return DisplayCustomer.xhtml as a String or
configure pages.xml with a navigation rule and have the action method return
the appropriate String.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033180#4033180
Reply to the post
do you have seam.properties in the right place?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032654#4032654
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032654
___
jboss-user
Doing the fix at the container level isn't a valid solution.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032657#4032657
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032657
Don't you need an @Begin somewhere?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032691#4032691
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032691
___
jboss-user mailing list
Try adding @Begin(join=true) to the action method that is getting called
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032749#4032749
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032749
What's the question?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032759#4032759
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032759
___
jboss-user mailing list
Ah yeah, well spotted pete.
The name of the injected field has to match the declaration in @Name
Change the code to:
| @Stateful
| @Name(itemsCache)
| public class ItemsCacheBean implements ItemsCache, Serializable {
| ...
| @Stateful
| @Name(itemsmanager)
| public class
That worked a treat, thanks.
However, the docs for 1.2.0 are missing something: in section 5.1.1 it just
says TODO: translate struts action into page action
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032367#4032367
Reply to the post :
[EMAIL PROTECTED] wrote : You need to set your SFSB timeout longer than your
HTTP session timeout. This is in the FAQ, and we have already added it to the
reference documentation.
|
| I'm not sure how a simply config setting that is described in the FAQ, and
has been discussed in several
I have a page that contains a h:dataTable backed by a stateful session bean
with a List attribute.
The list is populated via an action but the trouble is that if the user clicks
on a link (calling the action) and then presses the refresh button in the
browser, the action doesn't get called
Are there any errors in the application server logs?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032097#4032097
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032097
___
You're not the only one. I get the same exceptions. Seam appears to have quite
a few flaws like this. I'm quickly losing confidence in it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031481#4031481
Reply to the post :
I've got a h:datatable like this:
| h:dataTable value=#{jobListHandler.jobList} var=jobStore
|
Nested inside are some h:column elements as you'd expect.
I want to include an s:link in one of the columns but before I did that I
noticed that 'jobListHandler.jobList' was getting called
Fixed my own problem. I should return null from the action method when I want
to stay on the same page. Oops!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031104#4031104
Reply to the post :
I tried @DataModel but this has other side effects that I don't want.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031129#4031129
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4031129
I've got a page with this piece of xhtml in:
| f:subview
| h:panelGroup id=findJobPanel
| a4j:include viewId=/findJob/search.xhtml/
| /h:panelGroup
| /f:subview
|
In the pages that are used by the a4j control, I have a h:form with a
h:inputText and corresponding
Is there a way of preventing a user manipulating the URL and accessing a page
that should only be accessed by the result of an action on a session bean?
For example, I have two pages of data entry followed by a pdf generated by the
iText component. If I am on page 1 or 2 then it is still
Sounds like the bean might not actually be in the conversation scope or maybe
the conversation has ended?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029721#4029721
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029721
Seems to work fine for me. Why not supply a bit of code we can look at?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029727#4029727
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029727
I don't have any of those configs and resource bundles work a treat.
In your h:selectOneMenu tag, you don't specify where it is supposed to store
the selected value.
Here is the code taken from the Seam v1.2 documentation:
| h:selectOneMenu value=#{localeSelector.language}
|
The locale ka(Georgian) is not supported by Java.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029805#4029805
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029805
___
61 matches
Mail list logo