[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-12-07 Thread [EMAIL PROTECTED]
No, its not an easy fix :( I think the patch Vladimir posted should work (will 
need updating as its for old versions of Seam) but its a bit of a hack :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=480#480

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=480
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-12-06 Thread sonstone
Anyone have a workaround for this?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4111049#4111049

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111049
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF form - multi table update example?

2007-10-03 Thread dhinojosa
That's not really a jboss seam issue, it is a JPA (Java Persistence API) issue. 
 As long as your integration test works, so should it when you run with JBoss 
Seam.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091248#4091248

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091248
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-09-18 Thread nagypalg
Because nobody answered, I post the answer myself. Yes, it is a known bug:

http://jira.jboss.com/jira/browse/JBSEAM-666


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085513#4085513

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085513
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-09-13 Thread nagypalg
So, I upgraded to Seam 2 (latest nightly build), and the s:decorate problem is 
indeed gone. However, I still have problems with s:link.

If I include the following in a page, it works without any problems:

  | s:link action=#{homeAction.test} value=Test with s:link/s:link
  |h:formh:commandLink action=#{homeAction.test} value=Test with 
h:commandLink/h:commandLink/h:form

If I create a Facelet composite and include it in the page, the s:link does not 
work. I get the message: 

anonymous wrote : 13:19:14,390 ERROR [SeamPhaseListener] uncaught exception
  | javax.el.PropertyNotFoundException: Target Unreachable, identifier 
'backingBean' resolved to null

For reference, the test Facelet composite is the following:


  | ui:composition
  |  h:panelGrid columns=1
  |   s:link action=#{backingBean.test} value=Test with s:link/s:link
  |   h:form
  |h:commandLink action=#{backingBean.test}
  | value=Test with h:commandLink/h:commandLink
  |   /h:form
  |  /h:panelGrid
  | /ui:composition
  | 

Again: is it a well-known bug?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083881#4083881

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083881
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-09-11 Thread [EMAIL PROTECTED]
Known issue with 1.2.1, fixed in Seam2

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082912#4082912

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-09-11 Thread nagypalg
OK, thanks for the prompt response. Seems like I should upgrade to Seam 2...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082930#4082930

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082930
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SEAM + JSF custom components

2007-08-27 Thread alex_enache
For convenience, I will provide additional info:
JBoss AS 4.0.5
SEAM 1.2
JSF 1.1

I dont have any beans yet, so the beans jar is only present by name, it doesn't 
have anything to load.

pageflow.jpdl.xml
pageflow-definition 
  | xmlns=http://jboss.com/products/seam/pageflow;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/pageflow 
http://jboss.com/products/seam/pageflow-1.2.xsd;
  | name=test
  |
  |start-page name=displayTest view-id=/test.jspx
  |   redirect/
  |   transition name=quit to=quit/
  |/start-page   
  |  
  |page name=quit view-id=/quit.jspx
  |   redirect/
  |   transition name=yes to=bye/
  |/page
  |
  |page name=bye view-id=/bye.jspx
  |   redirect/
  |   end-conversation/
  |/page
  | /pageflow-definition

web.xml
?xml version=1.0 encoding=UTF-8?
  | 
  | web-app version=2.5
  | xmlns=http://java.sun.com/xml/ns/javaee;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
  | 
  | listener
  | listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  | /listener
  | 
  | filter
  | filter-nameSeam Filter/filter-name
  | filter-classorg.jboss.seam.web.SeamFilter/filter-class
  | /filter
  | 
  | filter-mapping
  | filter-nameSeam Filter/filter-name
  | url-pattern/*/url-pattern
  | /filter-mapping
  | 
  | listener
  | 
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class
  | /listener
  | 
  | context-param
  | param-namejavax.faces.STATE_SAVING_METHOD/param-name
  | param-valueclient/param-value
  | /context-param
  | 
  | context-param
  | param-namejavax.faces.DEFAULT_SUFFIX/param-name
  | param-value.jspx/param-value
  | /context-param
  |   
  | servlet
  | servlet-nameFaces Servlet/servlet-name
  | servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  | load-on-startup1/load-on-startup
  | /servlet
  | 
  | servlet-mapping
  | servlet-nameFaces Servlet/servlet-name
  | url-pattern*.seam/url-pattern
  | /servlet-mapping
  | 
  |   session-config
  | session-timeout10/session-timeout 
  |   /session-config 
  | 
  | /web-app

pages.xml
?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE pages PUBLIC
  |   -//JBoss/Seam Pages Configuration DTD 1.1//EN
  |   http://jboss.com/products/seam/pages-1.1.dtd;
  | pages
  | page view-id=/test.jspx
  | begin-conversation pageflow=test/
  | /page
  | /pages

faces-config.xml
?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE faces-config 
  | PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN
  | 
http://java.sun.com/dtd/web-facesconfig_1_0.dtd;
  | 
  | faces-config
  | 
  | lifecycle
  | 
phase-listenerorg.jboss.seam.jsf.SeamPhaseListener/phase-listener
  | /lifecycle
  | 
  | /faces-config

components.xml
?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  |   http://jboss.com/products/seam/core
  |http://jboss.com/products/seam/core-1.1.xsd
  |http://jboss.com/products/seam/components
  |http://jboss.com/products/seam/components-1.1.xsd;
  | 
  | component name=org.jboss.seam.core.init
  | property name=debugtrue/property
  | /component
  | 
  | component class=org.jboss.seam.core.Jbpm
  | property name=pageflowDefinitions
  | valuepageflow.jpdl.xml/value
  | /property
  | /component
  | 
  | component class=org.jboss.seam.core.Microcontainer 
  |installed=@microcontainer@/
  | 
  | /components

application.xml
?xml version=1.0 encoding=UTF-8?
  | application xmlns=http://java.sun.com/xml/ns/javaee; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd;
  |  version=5
  |  
  | display-nameProject Manager/display-name
  | 
  | module
  | web
  | web-uriprojectmanager.war/web-uri
  | context-root/projectmanager/context-root
  | /web
  | /module
  | module
  | ejbpmbeans.jar/ejb
  | /module
  | module
  | javajboss-seam.jar/java
  | /module
  | module
  | javajbpm-3.1.4.jar/java
 

[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-06-01 Thread RobJellinghaus
No, go ahead and jump in.  I will be working on landing the actual updates to 
the GWTJSF integration kit in Ajax4JSF's SVN repository in the next week or 
two, now that GWT 1.4RC1 is out.  I'll also work on some additional 
documentation of what the library is and how it functions.

Then I will likely be setting it aside -- it is at a good stopping place, and 
the newly announced Google Gears is a quicker path to my original destination.  
So people who are interested, please contact me so we can establish who might 
be a logical next maintainer of the project :-)

Cheers!
Rob

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4050419#4050419

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050419
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-05-30 Thread stu2
Thanks for such a thorough writeup and example on this Rob.

I'm exploring using this now that gwt 1.4RC is out, using the latest seam from 
cvs.  Any updates or other things those of us exploring using your approach 
should be aware of before I jump in?  

Thanks :-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049639#4049639

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-05-01 Thread RobJellinghaus
OK, well how about this?

http://unrealities.com/gwtjsf/20070501/

Note the article link:

http://unrealities.com/gwtjsf/20070501/article_0.2.html

I have iterated on the article content once with Michael Yuan.  All additional 
feedback is more than welcome!  Also, the demo itself is a lot nicer now -- 
please give it a try :-D

Cheers!
Rob

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042025#4042025

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-05-01 Thread RobJellinghaus
Fudge, sorry for the non-clickable URLs.  Darn quick post box.
http://unrealities.com/gwtjsf/20070501
http://unrealities.com/gwtjsf/20070501/article_0.2.html
There you go.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042027#4042027

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042027
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread petemuir
Pretty cool!

I think it needs some explanation about *what* makes it different from a 
Seam+JSF app, and how you've gone about adding GWT widgets in.  Perhaps also an 
intro to how gwt4jsf works would be good (I'm coming at this knowing Seam, 
knowing a bit of a4j, and nothing about GWT/gwt4jsf).

Here are a couple of things that will ease adding it into Seam:

* Make the example run on AS 4.2 (1.3.0.GA will be targeting AS 4.2.0.GA)
* Write up some documentation using docbook.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041364#4041364

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041364
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread RobJellinghaus
Yer, absolutely.  Right now it is definitely not a very compelling use of GWT 
in a Seam context.

Gavin told me last month that he was a complete [expletive deleted] when it 
comes to documentation and support :-)  So, yes, I will definitely make sure 
that the feature set, the build process (under Tomcat and JBoss), and the 
documentation are all up to the very high Seam standard before I submit this 
for real.  I think the docs may need both a GWT for Seam developers section, 
and a Seam for GWT developers section

Think of this as a preview build.  There are some people working with this 
stack already and they want all the examples they can get, ASAP.  But I will 
certainly polish it up a lot before it's Seam-worthy.

Cheers!
Rob

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041424#4041424

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041424
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread [EMAIL PROTECTED]
Rob,

This sounds really cool. Would you mind if I mention it (or even run a short 
demo) in my JavaOne talk?

cheers
Michael

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041526#4041526

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041526
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread RobJellinghaus
Um, well, actually, no, Michael, I wouldn't mind at all :-D  I will send you an 
email momentarily.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041556#4041556

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041556
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread RobJellinghaus
Hm, it would seem your email is not easily discernable.  Drop me a line at 
rjellinghaus at gmail dot com and we'll discuss details?  Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041563#4041563

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041563
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread RobJellinghaus
Quick question for Pete and Michael:  Any tips on docbook authoring?  It looks 
like doing some quick docbook documentation might be the fastest way to both 
enhance this example for Seam, and to explain to Michael how it works so he can 
present it at JavaOne :-)  

What's the fastest way to spin up on docbook?  Should I snarf the documentation 
build targets out of the Seam distribution?  Are there any recommended 
authoring tools?  

Any clues you can give will shave a couple of hours off my learning curve, 
which given my available time could double or triple the amount of 
documentation I can do by JavaOne

Thanks!  Cheers, Rob

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041599#4041599

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread [EMAIL PROTECTED]
I think this could potentially become a Seam GWT integration chapter in the 
Seam reference doc. However, before we start to mess with the Seam official 
docs (and have Gavin yell at us), perhaps you can write it up like an article? 
You can discuss why it is a challenge to integrate JSF/Seam with GWT and how it 
is done in your solution.

This way, you can use whatever editor you are comfortable with. If we decide to 
include it in the official docs, I can help you with the docbook conversion. It 
is pretty easy.

cheers
Michael

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041600#4041600

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041600
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread [EMAIL PROTECTED]
Plus, we can also try to publish the article on other Java sites or jboss.org 
-- they will all be very interested in this subject. :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041601#4041601

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041601
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-04-27 Thread RobJellinghaus
Roger that.  Michael Neale of Redhat already contributed some remoting-style 
GWT integration to the head of CVS, but I don't know if he documented it.  I'll 
check.  I guess I'll find a decent HTML editor and write it that way, can't go 
wrong with that

I wasn't planning to mess with the Seam official docs, I was just following 
Pete's suggestion of contributing example documentation in docbook format.  (I 
was maybe going to import the docbook build targets to my example's build.xml.) 
 But I can noodle with that later.  Form follows content

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041602#4041602

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041602
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam/JSF thinks action method to be property...

2006-12-18 Thread eiswind70
HI i got the same problem. Did you have any solutions ?
Tom

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3994725#3994725

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam/JSF thinks action method to be property...

2006-12-18 Thread [EMAIL PROTECTED]
Probably just a bad message from JSF.

Do you have the method on your local interface?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3994737#3994737

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam jsf desgin question

2006-12-06 Thread petemuir
I use (3) but it is a personal choice :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991570#3991570

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991570
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam JSF question

2006-12-06 Thread [EMAIL PROTECTED]
anonymous wrote : Is Jboss pushing JSF and if so are they making it easier for 
developer to work with this framework over the others??

Yes, we thing JSF is good, but we are improving usability and adding some 
missing features by developing Seam.

anonymous wrote : Have they any feature in there Application server that favour 
JSf over the other

Not exactly. JSF is a required feature of Java EE 5, so JBoss has JSF built in. 
But as for us favoring JSF, we favor it in Seam, not so much in the AS.

anonymous wrote : Inside the JBoss App server is it a level playing field for 
all frameworks

Of course. And on a level field, no other framework can beat Seam, naturally ;-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991689#3991689

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam jsf desgin question

2006-12-06 Thread Holger Prause
Sigh ^^

Well, ok that means u have  

-model  
-view

package in every module, did i understood you right?

I have to decide between 2 and 3, if u say solution 3) works good for you , ill 
adopt it.


Thank you very much,

Holger





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991720#3991720

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam jsf desgin question

2006-12-05 Thread Holger Prause
You'll run into problems if you try to put the action methods on entities (e.g. 
Seam annotations have no effect). 


Oh i see, so i really have to split actions and model(entity) bean (like it is 
now)


shouldnt this difference be reflected in your package structure or would u put 
all into the same package

for example:

1)
de.mycompany.groups
-Group.java //entity bean
-ManageGroup.java //action interface
-ManageGroupAction.java //action interface implementation

i noticed when i put actions and beans into the same package and that package 
contains, lets say 6 entity classes - u will have 18 classes
(6*3 [1 for the entity , 1 for the action interface, 1 for the action 
implementation]) in one singly package, its gets too huge very quick.


Should i make a subfolder action in every package or do it this way ?

or just like this way 
2)
de.mycompany.model.group
-Group.java

de.mycompany.view.group
-ManageGroup.java
-ManageGroupAction.java


or this way
3)
de.mycompany.group.model
-Group.java

de.mycompany.group.view
-ManageGroup.java
-ManageGroupAction.java
 
or finally this way
4)

de.mycompany.group
-Group.java
   
de.mycompany.group.view
-ManageGroup.java
-ManageGroupAction.java

waht solution would u choose ?

I prefer 2) but i am not sure anymore, can u help please?

Bye,
Holger



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991501#3991501

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991501
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF

2006-11-28 Thread [EMAIL PROTECTED]
Do you actually need anything from the h:form that h:commandButton would 
require?  If not, why not try Seam's s:button?   

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989349#3989349

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989349
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF

2006-11-28 Thread lara
Thanks for replying..
Well this is my JSF page:


  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  |  template=templates/admin.xhtml
  |   
  |   ui:define name=content
  | f:view
  | f:loadBundle basename=messages var=msg /
  | 
  | head
  |  title
  | h:outputText value=#{msg.pageTitleModifyActor} 
rendered=#{!actorEditor.new} /
  | /title
  | /head
  | 
  | body
  | 
  | div class=pageTitleh:outputText value=#{msg.pageTitleModifyActor} 
rendered=#{!actorEditor.new}//div
  | 
  | h:form enctype=multipart/form-data
  | 
  | table class=tableProperties
  | 

  | tr
  | td
  |  h:outputLabel value=#{msg.name}/h:outputLabel
  | /td
  | td
  | h:inputText value=#{actorEditor.instance.name} id=name 
required=true rendered=#{actorEditor.new}/
  | h:outputText value=#{actorEditor.instance.name} 
rendered=#{!actorEditor.new} class=viewText/
  | /td
  | /tr
  | 
  |  /table
  | 
  | 
  | div style=padding-left:10px
  | span h:commandButton type=submit value=#{msg.Update} 
action=#{actorEditor.update} rendered=#{! 
  |  actorEditor.new} / /span
  | /div  
  | 
  | /h:form
  | 
  | 
  | 
  | h:form rendered=#{!actorEditor.new}
  | 
  | 
  | table class=tableProperties
  |  tr
  | tdh:outputLabel value=New 
Password/h:outputLabel/td
  | td
  |   h:inputSecret 
value=#{updatePasswordAction.password} id=password required=true/
  |  
  | /td
  | /tr
  | /table
  | 
  | div style=padding-left:10px
  |   h:commandLink type=submit value=Apply 
action=#{updatePasswordAction.UpdatePassword}
  |   f:param name=name value=#{actorEditor.instance.name}/
  |f:param name=actorId value=#{actorEditor.instance.id}/ 
  |   /h:commandLink
  | /div  
  | 
  | /h:form   
  | /body
  | /f:view
  |   /ui:define
  | /ui:composition
  | 


In this JSF page, I showed the main code. There are two forms:
the first form contains the name of the actor to be edited  and the bean in 
question is actorEditor bean
the second form contains the password field to be edited and the bean in 
question is updatePasswordAction

Inside the second form there is the following code:


  |  h:commandLink type=submit value=Apply 
action=#{updatePasswordAction.UpdatePassword}
  |   f:param name=name value=#{actorEditor.instance.name}/
  |f:param name=actorId value=#{actorEditor.instance.id}/ 
  |   /h:commandLink
  | 

I am passing as parameters the name and id of the actor inside the f:param 
using h:commandLink
How can do the same assuming that I have a button Apply instead of a link and 
knowing that I am getting the value of the parameters from the other form? 

Regards,
Lara

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989367#3989367

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF

2006-11-28 Thread [EMAIL PROTECTED]
Try using a Seam page parameter.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989477#3989477

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989477
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF

2006-11-28 Thread lara
Thx for replying but could you be more specific and give me a simplified 
example? 
The parameter as I already mentioned in not constant.

Regards,

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989583#3989583

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF

2006-11-28 Thread [EMAIL PROTECTED]
http://docs.jboss.com/seam/1.1BETA2/reference/en/html/events.html#d0e3178

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989585#3989585

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam+JSF - File Download through HttpServletResponse pro

2006-11-22 Thread reinhard.behrens
Note : I am testing with a static pdf from filesystem to debug, will use pdf 
later.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987817#3987817

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3987817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam+JSF - File Download through HttpServletResponse pro

2006-11-22 Thread petemuir
You need to call facesContext.responseComplete() after os.flush() otherwise the 
JSF lifecycle will continue as normal.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987836#3987836

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3987836
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam+JSF - File Download through HttpServletResponse pro

2006-11-22 Thread reinhard.behrens
Thanks !!! Solved the problem. Completely overlooked it ;-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3987845#3987845

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3987845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-24 Thread sherkan777
[EMAIL PROTECTED] wrote : anonymous wrote : I'm currently using Seam 1.1
  | 
  | Are you sure? You are using a build from CVS? Seam 1.1 was not yet 
officially released.
  | 

sorry, i have 1.0.1:P

But I still can't resolve my problem. I think best idea is to use Synchronizer 
Token Pattern, on java side.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3980271#3980271

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-24 Thread [EMAIL PROTECTED]
Like I said, this stuff is solved in 1.1.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3980329#3980329

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-24 Thread sherkan777
[EMAIL PROTECTED] wrote : Like I said, this stuff is solved in 1.1.

Maybe it's time to change Seam 1.0.1 - 1.1:P
beacuse this problem is very painful for me...could you give here link to the 
documentation (whats new in 1.1v) those Seam beta version ,and link where can I 
download?

Regards!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3980352#3980352

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-23 Thread sherkan777
[EMAIL PROTECTED] wrote : I serialize concurrent requests in the same 
conversation scope. Seam 1.1 is designed to support a high level of concurrency 
in a session, like you get with AJAX clients.

I'm currently using Seam 1.1. Could U show me an example code, how to protect 
application from users double-click?

It's very hard to me, to resolve  this problem...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979940#3979940

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-23 Thread [EMAIL PROTECTED]
anonymous wrote : I'm currently using Seam 1.1

Are you sure? You are using a build from CVS? Seam 1.1 was not yet officially 
released.

1.1 != 1.0.1

anonymous wrote : Could U show me an example code, how to protect application 
from users double-click?

No, because you havn't shown any of the code that fails, nor even a stack 
trace. Please don't post here without taking the time to include enough 
information about your problem.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979987#3979987

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-20 Thread chane
[EMAIL PROTECTED] wrote : Use Seam 1.1 (currently available only in CVS).

How do you protect against double clicks in Seam 1.1?  We are experiencing this 
in our testing and this would be enough of a reason to move to using Seam 1.1.

Forgive me if this is in the documenation. I have not keep up to date with Seam 
development as we are trying to get our first release out the door and settled 
on Seam 1.0.  However, depending on what happens in Seam HEAD, I might be 
willing to give it a try (looking around tonight, there looks to be a lot of 
new things in Seam 1.1 that I am looking forward to trying out).

Thanks, 
Chris

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979681#3979681

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-20 Thread [EMAIL PROTECTED]
I serialize concurrent requests in the same conversation scope. Seam 1.1 is 
designed to support a high level of concurrency in a session, like you get with 
AJAX clients.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979699#3979699

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-19 Thread [EMAIL PROTECTED]
Use Seam 1.1 (currently available only in CVS).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3979399#3979399

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user