[EJB 3.0] - Can't create EJB 3.0 project ?
by kaisaab
I have installed jboss AS 4.0.4 GA and I am using the JBoss Eclispe IDE 2.0 Beta 2 bundle on Win XP SP2. When I attempt to create a EJB 3 Project, it willl ask me for a project name and after it wants me to select JBoss Configuration, I select JBOSS 4.0 and select create JBoss server option. It then gives me the option to select the host name and server run time and then I get to choose the ip address (127.0.0.1) since this is local to my machine, the port no (8080) and when I select next or finish it takes me back to jboss instance configuration option so my only options now is to "cancel "or "back" thus not allowing me to create the EJB 3 project. Can anyone shine some light as to what's happening here? I am able to create J2EE Project without any problem. Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033566#4033566
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033566
17 years, 9 months
[JBoss Seam] - EntityHome request parameter
by seammm
Hi- I am having trouble receiving a different request parameter other than what is generated by seam-gen..
I have the following code in the XXXHome.. eventId comes in just fine but the parentId is null..
@RequestParameter
Long eventId = null;
@RequestParameter
Long parentId;
Here is the XXXlist. xhtml fragment that calls that code..
<h:column>
<f:facet name="header">Title</f:facet>
<s:link id="event" value="#{event.title}" view="/event.xhtml">
<f:param name="eventId" value="#{event.id}"/>
</s:link>
</h:column>
<h:column>
<f:facet name="header"></f:facet>
<s:link id="event" value="Add Sub Event" view="/event.xhtml">
<f:param name="parentId" value="#{event.id}"/>
</s:link>
</h:column>
Above, first link works and eventId param is passed but the parentId param is not passed..
So the question is how can I pass the event.id as a request parameter with a different name into XXXHome?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033563#4033563
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033563
17 years, 9 months