I get a nullpointerexception when i move the select box back to the item that
is noSelectionLabel. When I select a valid entry inside the drop down, it
works OK. But when we go back to resetting it by selecting the
noSelectionLabel, it pops the following error.
Is this a bug?
|
ok Thanks cyberanto
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125838#4125838
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125838
___
jboss-user mailing list
|@PersistenceContext
| private EntityManager entityManager;
| private ListCorpCustomers existingData;
| public void fillExistingData()
| {
| existingData = entityManager.createQuery(select c from CorpCustomers c
where
Please refer to http://jira.jboss.org/jira/browse/EJBTHREE-665
We are facing the same issue.
When we call a method inside the constructor, and that method has a
entitymanager.createQuery or anything with entitymanager, it returns
nullpointerexception. It never gets initialized.
Is there
Just override the hashcode and equals on the id of the entity. and when you
submit the form you will need to catch the entity id. which you will get .
those few errors you got are the exact errors we were banging our head against.
View the original post :
i think tomahawk tabs had the ability to set a particular tab you want active
to be activated. i am not sure about richfaces.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4120303#4120303
Reply to the post :
Try using this instead of @In with em
@PersistenceContext
EntityManager em;
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113304#4113304
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113304
Can i get any pointers to integrate paypal into my seam application please?
Thanks,
-saeed
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113340#4113340
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113340
How would i do this in seam/jsf, for example i have this in a regular html form
that redirects me to the url in the action in form
form action=https://www.paypal.com/cgi-bin/webscr;
|method=post
So users can go on that page and put their payments etc. I know how to call
POST using
Try changing the top one to ScopeType.SESSION as they have in the booking
example
@Stateful
| @Name(hotelSearch)
| @Scope(ScopeType.SESSION)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113273#4113273
Reply to the post :
Please try using the setParameter(s) instead. see if the query works then. It
probably doesnt see the params at all.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113274#4113274
Reply to the post :
I have the same issue. I disabled validation for now.
Pete this isnt a hibernate issue, i think its a seam issue because the mapping
is saved in a seam reverse engineering xml file but it doesnt pick up the
mapping. why?. Please help!!
View the original post :
i am having a similar problem.
I think 2.0.1 has a fix for it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113134#4113134
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113134
I am having a similar issue.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113135#4113135
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113135
___
jboss-user mailing list
I am wondering is this issue due to using jsf ri 1.2 compared to previously
using myfaces? because our applications worked fine in 1.2 and now in 2.0 they
are broke on SelectOneMenu :(
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113136#4113136
Reply to the
I fixed my issues by implementing
public boolean equals(Object obj)
and public int hashCode()
in the entity bean
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113143#4113143
Reply to the post :
I have the following reRender tag on the button
a4j:commandButton action=#{speedDial.InsertNewRecord} value=Save
reRender=dataEntry /
In the stateful bean it actually modifies the value of the list but this form
element inside
a4j:outputPanel id=dataEntry
does not update the values to
Here is the thing, the data in my code comes from my database so i dont think i
can have the code out to test. But i can explain as best as possible.
For the list that my action method populates or updates it is defined as
follows: -
@Out(required=false)
| private List String
Hi Chen,
This looks interesting. I'll check it out :) By the way please email me at
saeedcs (at) gmail (dot) com , I would like to try to contribute to your
project as well. I love seam by Jboss Gavin as well as appfuse by Matt Raible
-saeed
View the original post :
seems like a good intuitive idea, how do we get our apps to show session
expired message?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104429#4104429
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104429
So how did you get around it in the java code?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4102455#4102455
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102455
___
jboss-user
I am not good at this either, but i see at one point you call it statusId and
the other one you just call it id , is this a typo?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4092825#4092825
Reply to the post :
in the examples that come with seam, which ones use EntityHome and what ones
use EntityController? I would like to take a look at their implementations.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091788#4091788
Reply to the post :
Thanks Matt I appreciate your help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091805#4091805
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091805
___
jboss-user mailing list
exactly what was causing me alot of waste of time and frustration. Something
that works in the examples should also work in our projects. whats up with that?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091807#4091807
Reply to the post :
JSF backing bean methods/getters can be called unlimited times. there is no set
limit. Ofcourse its not only one time because we have experienced 4-6 times
ourselves. So live with it and maybe do what we did. put a condition statement
to check if the property was already set. otherwise return
seam-gen for me has been buggy so i use this now
http://chiralsoftware.com/master-sauce/ Master Sauce
for mysql connection in the resources folder in the **ds.xml i have this
?xml version=1.0 encoding=UTF-8?
|
| !DOCTYPE datasources
| PUBLIC -//JBoss//DTD JBOSS JCA Config 1.5//EN
|
I am getting this exception
Exception during request processing: javax.servlet.ServletException:
/createTicket.xhtml @29,71 value=#{createTicket.tickets.subject}: Target
Unreachable, 'tickets' returned null
tickets is an entity bean as defined like this
@Entity
| @Name(tickets)
|
seam version 1.2.1 is not the latest version. i am pretty sure 2 is the latest
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4088250#4088250
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088250
oops sorry now i see. you mean GA version
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4088251#4088251
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088251
___
jboss-user
[EMAIL PROTECTED] wrote :
|
| I will put together a wink if you like? people could add in winks for other
IDE's like IntelliJ, NetBeans etc.
|
| Please advise.
Tony yes please anything would be great.
View the original post :
Tony could you please post a tutorial on how you do all that? I dont have
myeclipse i would rather try doing that using redhat studio.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085528#4085528
Reply to the post :
i am facing similar issue
XML Parsing Error: mismatched tag. Expected: .
Location: http://localhost:8080/seam-blog/seam/index.xhtml
Line Number 37, Column 13:Okie dokke
^
please help resolve this. whats the point of having a text box when it cannot
parse special characters.
thanks
Here is the string i put in a blog post to reproduce the error ..
lets see if we can test this thing. I(* D23= ' ' ' /a sdrfd
Okie dokke
-
Please fix this Jboss Seam Team!!! looks bad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083195#4083195
http://jira.jboss.org/jira/browse/JBSEAM-1914
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083198#4083198
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083198
___
jboss-user
I am thinking of putting this method to save the day. Would you guys let me
know what would be the best place to put it in ?
public static String stripNonValidXMLCharacters(String in) {
| StringBuffer out = new StringBuffer(); // Used to hold the output.
| char
In the blog example, inside post.xhtml, we have commandButton without action or
any other property but value.
Can somebody explain how the post works with this code please?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082456#4082456
Reply to the
did you install jboss as using the installer?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=405#405
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=405
___
jboss-user
On April 27th, there was this news piece here
http://labs.jboss.com/blog/jbosside__jbosstools__rhds__and_exadel telling us
about the RedHat Developer Studio. It mentioned a subversion link and links to
these forums. The sticky's and announcements in this forum are quite old. I
think there is a
I guess everybody is busy preparing for JavaOne. I had a similar issue few days
back but didn't get much helpful replies either. You know what why dont you
join me camp right next to JBoss booth in JavaOne and get all our seam issues
resolved.
View the original post :
what is the scope? what are you using? the rendered tag?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042012#4042012
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042012
___
No that did not work unfortunately.
I think i may need to do that first option i said have a new form inside this
code block in the same .xhtml page
s:div rendered=#{reportActivity.value == null}
| PUT THE FORMS HERE
| /s:div
What do you think? or just say that click
Most of the examples i have seen use s:div's rendered tag. I may try something
new myself. Thanks Pete
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041734#4041734
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041734
cja987 wrote : ... prefer to have all CRUD actions go through the session
bean that simply injects the EntityHome itself. TMTOWTDI.
|
what are you saying?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041619#4041619
Reply to the post :
In my simple application that i am writing, now i can edit records if a single
resultset exist in database, pull it in the form and edit it and click save to
modify the contents fine.
Now the problem is that when nothing is returned from that database, for
example an activity record for that
Well that ActivityEdit.xhtml file is the one that creates a row in database
(auto generated by seam-gen with entity)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041621#4041621
Reply to the post :
Hello
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041673#4041673
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041673
___
jboss-user mailing list
jboss-user@lists.jboss.org
My guess would be it is the default type. now what is the default type?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040831#4040831
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040831
[EMAIL PROTECTED] wrote :
| Now the book has finally come out. We will have it in JavaOne bookstores.
|
free giveaways? please say yes
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040698#4040698
Reply to the post :
get well soon Gavin. Are you bringing any goodies for us at Java one? Thats one
thing i look forward to at the pavilion.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040359#4040359
Reply to the post :
Amazing. I'll give it a shot. Congratulations for this in advance.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040360#4040360
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040360
petemuir wrote : s:selectItems expects a ListSex rather than a
ListSelectItem. Take a look at the ui example for some sample usage.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040375#4040375
Reply to the post :
my concern is the technical jargon in it. can you break it down for us peter?
please
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040390#4040390
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040390
was it this one?
http://www.jboss.com/index.html?module=bbop=viewtopict=106971postdays=0postorder=ascstart=10
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040392#4040392
Reply to the post :
Problem
Now one problem was fixed that it picked up stuff from database. But if the row
does not exist, and then when i put stuff in the form and say save/submit ...
it saves blank values. nothing null
This is what my xhtml page has at the bottom. Basically it was all generated by
seam-gen
Thanks for the information and you are right. I was putting the action logic
into EntityHome. Quite funny now i realize. I did a new-form and it created the
class i may want to put my stuff in and new-query.
I guess i dont want to put my action logic in entityhome, i'll keep it separate
as
Thanks Captain and Peter. I'll read it again and make sure I understand what
you said
Well how do i know if an object is not a Seam Component? The answer could be
apparent to many people but i am not shy to ask what i am not sure of.
View the original post :
I see what you are saying Captain and very well said, for this sort of
information we need to have new books coming out :) !
Anyway thanks Cptn and Peter for your valuable help. Cptn how is your weekend
so far? what are you doing next weekend maybe we could meet at coffee.
View the original
Hey guys,
I have been trying to learn this stuff in a fast pace lately and much of it
makes good sense. I was able to create a project in seam-gen some entities from
database crud, and some actions. Also modifying the xhtml pages and some
configuration to learn Seam.
Anyway now i have this
Oh sweet. I will try that and let you know. I remember seeeing @Factory in one
of the files.
Question for you. What do you think is appropriate place for this based on what
I'm doing. In the action bean or in the entity ? Any recommendation on scope?
Thanks
View the original post :
CptnKirk wrote :
|
| For the most part though, if I'm simply going to initialize a variable that
I'll use later within a controller's action method, putting the @Factory on a
method within the controller is the way I go.
Where would you initialize the variable? In the same object right?
Awesome it worked first time i tried.
OK i have a suggestion or just brainstorming for what was produced initially by
seam-gen in my code.
For example in the xhtml it had this
s:decorate id=entryaDecoration template=layout/edit.xhtml
| ui:define name=labelentrya/ui:define
shane you coming to java one? who will come from jboss seam team?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039487#4039487
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039487
If we are going to use Eclipse as primary development ide for JBoss/Seam
applications, then what is the point for Micheal Yuan's talk in Java One called
Rapid Seam Application Development with the NetBeans IDE ?
How much of Exadel would be mentioned in that talk? I am kind of confused here.
I guess i found somewhat here . when you run seam-gen you also see
[input] Do you want to drop and recreate the database tables and data in
import.sql each time you deploy? [n] (y,n,)
n
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4037201#4037201
Reply to
Thanks for the info. Can we have an existing project that has import.sql for
example dvd store .. and we make it an empty file in order to avoid database
creation/deletion. would the application complain?
View the original post :
i am going to have a blank import.sql file once the objects are created in the
database.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4037263#4037263
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037263
After the suggestion from Matt Raible, i am moving back to Seam from Spring now
i guess the documentation has improved. Gavin what happened to the trainer you
guys hired to create courses? Also the wiki is missing the lab for 1.2 here
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeamLabs
I
Gavin: Thanks for the information. Just wondering who would be there from the
jboss team. and what's the informal plan.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023894#4023894
Reply to the post :
was that stuff generated from seam-gen? because i've not seen that code in my
entityhome. whats going on?
why do you have @In for the row data in there? isnt that supposed to be set in
the serializable class? atleast thats how my seam-gen made it. dont know how to
proceed anyway :P
View the
seam-gen is confusing i need help
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018546#4018546
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018546
___
jboss-user mailing list
I saw that after modifying some of the seam-gen generated xhtml files jsf code
and deploying it right after the other after 3-4 times. Is that normal?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018558#4018558
Reply to the post :
I'm glad I shared this information with you guys. Is it safe to use JRockit
with Seam?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018604#4018604
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018604
hey how are you using debugger with jboss AS ? are you using the wtp version of
eclipse? feel free to email me saeedcs ...at... gmail dot com
thanks!
-saeed
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018606#4018606
Reply to the post :
Hey Guys while you are at the bug. Can you please report this if its not done
already. when running seam generate-entities , i get the following error which
refers to the file list.xhtml.ftl line 30 which is
| #if property.value.typeName == string
[hibernate] INFO: Hibernate Tools
i just used eclipses built in cvs rep. to download jboss-seam folder from the
head section in the repository. is that the one with new template files? or
was it the version section?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018340#4018340
Reply to the
How do i get rid of this error
operator == is undefined for the argument type(s) int
on these lines (!getMembersId().getId() == null)
I tried doing .intValue() but no go.
Annoying problem in the method isIdDefined
View the original post :
Correction. the above error is this
operator == is undefined for the argument type(s) int,null
why does it consider null when we explicitly state the return value to be not
null like here
@Column(name = id, nullable = false)
| @NotNull
| public int getId() {
|
i concur, this seems to be fixed now in the cvs build i downloaded.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018379#4018379
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018379
thats what seam-gen gave me.
anyway i';ll get back to playing with seam
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018380#4018380
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018380
compile was successful. but eclipse is showing the red dot i now think i should
ignore that
Buildfile: C:\devhome\workspace\pproject\build.xml
init:
compile:
BUILD SUCCESSFUL
Total time: 656 milliseconds
View the original post :
reference document is ancient :) i am trying to stop following it but its hard
not to look at it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017791#4017791
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017791
just wondering if we can make a project through seam-gen on AS and then port it
over to TC ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017158#4017158
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017158
Just wondering aloud.. Hey agori you may have a solution here. Make it in Jboss
AS and port it over to tomcat ? run both servers on different ports.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017160#4017160
Reply to the post :
I haven't done that myself yet but the place i would start is look at the
build.xml file in the root folder of seam distribution, it has deploy and
deploytomcat. that's how i would pack.
But you bring up a good topic to write a document on. Maybe I should play with
seam-gen and porting it to
I haven't done this myself but I would go into tomcat manager and make sure the
component that has helloAction is started and restart the server.
Its either not seeing it or helloAction is not running
View the original post :
what section# in doc talks about that?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017218#4017218
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017218
___
jboss-user mailing
did you confirm if the *connector*.jar file was not missing?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017241#4017241
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017241
Some pointers of the same problem
http://forum.java.sun.com/thread.jspa?threadID=691687messageID=4020886
http://www.opensubscriber.com/message/users@cocoon.apache.org/1407968.html
http://forum.hibernate.org/viewtopic.php?t=945739
let me know what if any of that fixes the problem please
I second that. its helpful to see it in the documentation please.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017245#4017245
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017245
Yes i think hibernate is looking for it somewhere else. in that other site they
said shared/lib folder, but i dont know where in seam. I would try putting that
connector in a few other folders and restart the AS and try again.
Gavin could help point out exactly what to do.
View the original
off the top of my mind 3 places i can think of putting that connector.jar in
1) jboss as/server/default/lib
2) seam/lib/
3) seam/seam-gen/lib/
bounce the server and try. let us know
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017269#4017269
Reply to the
well do you have the connector jar in the correct place for oracle database?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017449#4017449
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017449
interesting..
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016725#4016725
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4016725
___
jboss-user mailing list
Thanks Tony. I'll try Jason's advise too
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016750#4016750
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4016750
___
jboss-user mailing
all the best team!
All I would ask is keeping the document (reference manual + api) updated with
new features. since I'm just learning Seam and developing a personal project in
it for now. Forums are very nice help as well.
View the original post :
I would suggest go ahead and open the source code. Look into the resources
folder and you will see a file called numberguess.drl . Examine that and then
look at the source code.
Contents are
package org.jboss.seam.example.numberguess
import org.jboss.seam.drools.Decision
global Decision
oh Mr. Bean i forgot to say the above stuff was the
seam(distribution)/examples/drools/ . I learned the functionality from that
example, which is pretty good. Personally i'm not using drools for now. Dont
want to get tangled into alot of new stuff.
View the original post :
Correct me if i am wrong. Isn't the functionality requested the same as seam
generate-entities ? or maybe i misunderstood it. data model
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016001#4016001
Reply to the post :
what example is it ? i want to test too
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016005#4016005
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4016005
___
jboss-user mailing
1 - 100 of 123 matches
Mail list logo