You may be able to acheive what you want to using the web services support, but
it isn't something I have experience using.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117714#4117714
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
isn't user a sql keyword in mysql?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040036#4040036
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040036
___
jboss-user mailing l
Lindsay,
Have you tried using the seam-gen tool that comes with seam. That will
generate mu ch of what you need to get you moving, especially idf you are new
to seam. That coupled with the exadel plug in works reasonably well, and best
with the latest seam release. Seam-gen is imho the quicke
If you haven't already done this, try adding the following to your eclipse.ini
configuration file
-vmargs
-Xms128m
-Xmx512m
-XX:PermSize=128m
-XX:MaxPermSize=256m
It made a big difference to my experience with exadel studio.
Regards,
Andy.
View the original post :
http://www.jboss.com/index.ht
Hiya,
Sorry, project isn't currently critical so I'm holding on until seam-gen can do
the work. My fix would be to add the annotation, as you suggest. The other
thing is to check the persistent configuration. I think mine ended up with
validate in one of the properties in persistence.xml, whic
I've just come across something similar. I'm using fabForce DBDesigner4 to
generate a model and then export to a database. If I use a many to many
relationship DBD4 models it with a table representing the relationship with
only two foreign keys and generate-entities then uses @ManyToMany. I a
Thanks Gavin and Max.
I'm looking at seeing how I can design the sight around what you generate
without tweaking the generated stuff, java and xhtml. That way it should make
changes to the datamodel as painless as possible.
Andy.
View the original post :
http://www.jboss.com/index.html?module=
Hi,
Usng the new-entity switch for seam.bat generates an entity with the above
annotation on the id field. However I don't seem to be able to get the same
behavior with generate-entities. Is there something I should do in the
database schema for this to happen? Currenly using mysql 5 and the
Setting @ActiveConfigParam minPoolSize to something greater than one seems to
make the problem worse, as of course more beans need to be created when first
invoked. Keeping this to the default of 1 seems to be the best option at the
moment. I'll take a look at the message queue specs to see if
Guys,
I have an app that is using mdbs. The mdbs process messages and return a
response, ultimately through networking protocols. They must response within a
finite amount of time, which they do - but not on the first call, since this
seems to be when the mdb is first created. Is there a way
Thanks Gavin - got that working now. I do like this feature - saves a lot of
coding. Can get back to focusing on real application logic.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985922#3985922
Reply to the post :
http://www.jboss.com/index.htm
Ah!! so the magic is revealed.
Thanks Gavin.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985910#3985910
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985910
___
j
Ok, I see components.xml and understand how the EntityHome and EntityQuery
configs work. But the contactlist example doesn't have a pages.xml file?? or
do you mean my calling page?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985904#3985904
Reply to the p
So here is my ordeal.
I've taken a look at the contactlist code and am trying something similar in my
app. So a list of items is presented on my main page with an s:link tag in the
name column as so, using ui:repeat and table tags, just like the contactlist.
...
I have ordered the book and am waiting its arrival- apparently January :-(.
Can you tell me if it covers Seam 1.1 or 1.2 features?
Thanks,
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985785#3985785
Reply to the post :
http://www.jboss.com/index.html?
How about running 2 instances of JBoss on the same machine, one for your EAR
and the other for your WAR? Just a thought.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984844#3984844
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
Thanks,
I'll give it a try later this week and post my findings.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983431#3983431
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983431
As part of my project I will need to create a new text based file, similar in
csv format, from the results of work done under a conversation in seam and
based on data stored in the underlying database. I'm trying to figure out how
to go about this.
As a starting point, would an one do this f
Stan,
I'm not using StartupServletContextListener in the portlet configuration.
Without Ajax4JSF, all is working fine.
However, without Ajax4JSF, the exception above is still thrown, even though
everything works. So, clearly, something still isn't quite right, even though
everything "works".
Stan,
I'm trying to understand why the StartupServletContextListener exception is
thrown in a Portal setup. With JBoss 4.0.5GA, MyFaces 1.1.4, Portal 2.4, Seam
1.1beta Facelets and Ajax4JSF we are seeing problems again. It looks to me
that this is triggered by the exception below. Without the
I may be wrong, but this so looks like a classloader issue to me. I've tried
putting myfaces and dependency jars into my EAR, but no difference.
Code from FactoryFinder (MyFaces 1.1.5 -- assuming simlar code here) and log
below. It would seem that there is no Map of factoryClassNames at the
Ok thanks - happens to be what I'm trying at the moment. I have your booking
example in the midst of being converted to a portlet with ear deployment. To
me it seems currently that the problem may tie up with the
StartupServletContextListener exception that is thrown when MyFaces sees it is
n
Gavin,
Just to clarify, are you saying that we will not currently be able to use
Ajax4JSF support with Portal on JBoss4.0.5?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980565#3980565
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
Sure,
Checkout the following wiki pages. Subject that is a must to avoid headaches
with jar versions, etc.
Andy.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
View the original post :
http://www.jboss.com/ind
Sorry - should have previewed before posting. Added some spaces in the tags to
get it all in the post.
Andy.
< application xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.4"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://
Suggest you look at deploying in an ear file.
I put all jars/wars into the root of the EAR and then reference them in
META-INF/application.xml.
i.e.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.4"
xsi:schemaLocation="http://java.sun.com/
Added slight change to init() as follows:
---
super.init();
getPortletContext().setAttribute("org.apache.myfaces.SERIAL_FACTORY", new
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
());
And I can confirm I now have it working with facelets w
Just one other thought - is it safe to use the JBoss 4.0.5GA installer with
Portal option? I was reminded by another post that for 4.0.4GA we had to use a
"special" build of the installer.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980299#3980299
It seems to be tied up with when using facelets in a portal environment, as
Gavin has the example seam portlet working - but that doesn't use facelets. I
have just got a portlet+facelets version of the booking example to work with
JB4.0.4GA Portal install. That was failing on JB4.0.5GA+Portal
Ok, the SERIAL thing in my previous post was a red herring. I got an error in
the log file and it made no difference when I removed it from web.xml, as I
hadn't compiled and installed the included java.
What did fix it for me was adding StartupServletContextListener as a listener
in web.xml.
Take a look at this to see if it helps.
Andy.
http://wiki.jboss.org/wiki/Wiki.jsp?page=UTFactoryLookupFailed
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980216#3980216
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Found out about this at
http://wiki.apache.org/myfaces/Performance
I'm a little unsure as I haven't buuild the reference classes. Either this has
already been added somewhere, or something strange is happening that I don't
quite understand yet.
View the original post :
http://www.jboss.com/i
Should of course be the usual listener tags around the listener-class tag - got
stripped by the forum.
Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980208#3980208
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3
Just manager to get things working by adding the following to web.xml
org.apache.myfaces.webapp.StartupServletContextListener
org.apache.myfaces.SERIAL_FACTORY
org.apache.myfaces.JbossSerialFactory
Andy.
View the original post :
http://www.jboss.com/index.html
The MyEclipse publish is pretty good.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980174#3980174
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980174
___
jboss-user mailin
Stateful.
I think I made a little more progress last night - just having a go at it again
now. I don't think my config files were quite there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980014#3980014
Reply to the post :
http://www.jboss.com/index.html?
No worries- I'm working with Portal aswell, which adds its own flavour of
problems. I have a similar issue, but ok with a commandLink. If I can get
this lot working with Portal, it'll be a really cool solution!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
Try changing it to a commandLink and see what happens.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979889#3979889
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979889
__
Has anyone got the above combination working? Thats the SelectItems DataBinder
from the seam wiki.
I'm getting a "no concurrent calls on stateful beans" and just copied the code
into my app from the simple example included.
Thanks,
Andy.
View the original post :
http://www.jboss.com/index.ht
Cool, thanks Roy. I'm very new to portal but am having fun with it at the
moment trying it out for a home project with seam and hopefully ajax/seam
remoting support in time. I'm really impressed so far and the 2.6 feature list
is looking pretty impressive as well.
Andy.
View the original po
Hi,
Is it possible to specify images for the names of pages on the page tabs,
currently (2.4)? If not, it would be good to be able to specify a number of
images with support formhover, etc.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975377#3975377
Thanks Gavin will do. By the way, I'm impressed with how Seam has come along
in the last year. you guys have something to be proud about.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974306#3974306
Reply to the post :
http://www.jboss.com/index.ht
Ok, so usually no response would indicate either no-one knows, I'm being an
idiot or the question has been answered somewhere else. If anyone has an
answer (which is pretty well leaving myself open to being called an idiot, I
know) I'd be grateful for a pointer, as this is somewhat eluding me
Ok, so I have something working now, but I have problems accessing images in a
portlet WAR file. I see some of the JSF based portlets in the main portal
deployment include a call to getContext() to merge the front of the URL to the
image name. Any idea how you view images with facelets i a por
No matter, my bad, I must have had an old version of seam around. found it in
1.0.1 GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973660#3973660
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973660
_
thanks, I'll try it out. Having problems finding SeamFaceletViewHandler. Is
this in cvs head?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973652#3973652
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973652
__
If you mean the the Exception in PhaseListener problem - the main subject of
this thread - check that you do not have StartupServletContextListener listed
in web.xml. The last error I saw was in the cookie crum code as specified
above and I got around it by making it an absolute reference, as s
Time to give up this evening - Thanks Chuaky. I have managed to get a good
part of it working. Still some errors when searching for hotels, but I think
that could be a database issue, with luck.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972070#3972070
Ok, found the problem. The template.xhtml file contains
Welcome #{user.name}
| Search
| Settings
| Logout
this needs to change to
Thanks chuaky.
Tried this and now got it working to the point of registering in the app
apparently ok. I have also upgraded to portal 2.4.0GA.
When logging in with the new account I get
2006-09-16 01:12:46,767 DEBUG [org.jboss.seam.Component] instantiating Seam
component: org.jboss.seam.core.m
Ok, got mine going a little further. I'm currently just using the 2.4BETA
portlet version that comes with the installer (1.2BETA). The following may
possibly not show up in 2.4.0GA.
Check that you have definately commented out the myfaces
StartupServletContextListener in web.xml as chuaky sug
I'm just going through things here - will let you know where I get to shortly
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972039#3972039
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972039
_
Fantastic!
Many thanks for your help - busy evening later giving it a go.
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971943#3971943
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971943
__
Hi Chuaky,
That is exactly what I am trying to achieve. Have you modified one of the
examples to get it working? I was trying to modify the Blog example into a
portlet. As I understand, it shouldn't be much more than adding the portlet
config files, but not got it going as yet. Could you pos
Just to add, I am using the Portlet version of the PhaseListener
Andy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971146#3971146
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971146
___
Guys,
I have been working with this for a few days to try and get it working. I have
added portlet config files to the seam blog example to try and simulate the set
up that I was hoping to use for a project. Have installed using the 1.2.0BETA
JbossAS installer and selected the Portal profile.
I'm getting the same error. Have had the seam 1.0.1GA portal example running
(booking port), but that is seam + jsf no facelets. Next thing I'm planning to
try is to migrate the example to facelets and see what happens - just the front
page first.
Andy.
View the original post :
http://www.
57 matches
Mail list logo