Thanks. Your help is always appreciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001029#4001029
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001029
___
jboss-user mai
petemuir,
I tried:
action bean:
|@RequestParameter
| private String bar;
|
| @Begin(join=true)
| public void foo() {
| if(bar!=null)
| log.debug("set");
| }
|
xhtml:
|
|
|
|
pages.xml:
|
|
Thanks petemuir.
I have the following code:
actionBean
| @Begin(join=true)
| public void foo() {
| if(player!=null)
|log.debug("set");
| }
| public void setBar(String bar) {
| this.bar= bar;
| }
| public String getBar) {
|
I have a SFSB in conversation scope. But I want to have the option of passing
it request parameters.
So, for example:
|
|
Now, I need some way of telling the searchActionBean to use the
RequestParameter searchPattern instead of another one living in conversation
scope (they can
Just a note that I think this problem is more directly related to Trinidad +
A4J than it is to tomahawk.
I've read elsewhere that re-ordering the web.xml (to adhere to the spec) may
help but that has not resolved this issue.
Removing the following from faces-config.xml get's rid of the error, b
I'm getting these warnings in my server log:
15:44:14,858 ERROR [STDERR] Dec 22, 2006 3:44:14 PM
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl
verifyFilterIsInstalled
| WARNING: The TrinidadFilter has not been installed. Apache Trinidad
requires this filter for proper executi
thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994262#3994262
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994262
___
jboss-user mailing list
jboss-user@lists.jboss.
I get the following error in my server log:
10:29:20,195 ERROR [STDERR] Dec 15, 2006 10:29:20 AM
com.sun.facelets.tag.jsf.ComponentRule warnAttr
| WARNING: /WEB-INF/tags/nav.xhtml @185,170 propagation="none" Property
'propagation' is not on type: javax.faces.component.html.HtmlCommandLink
vie
Thanks very much!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994244#3994244
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994244
___
jboss-user mailing list
jboss-user@li
I have something like the following:
|
|
try {
|return bean.method();
| } catch (Exception e) {
| facesMessages.addFromResourceBundle("error");
| log.error("Error", e);
| }
The problem is I never see this message in the view. Actually, if th
Done, thanks:
http://jira.jboss.com/jira/browse/JBSEAM-566
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991736#3991736
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991736
It looks like this may be what I want (?)
if (...) {
| Conversation.instance().end();
| Conversation.instance().leave();
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991727#3991727
Reply to the post :
http://www.jboss.com/index.html?modul
I'd like a call to endNested1() to kill all 3 nested conversations if the if()
statement evaluates to true for all 3 methods.
What I find is happening though is that only the most nested (deepest)
conversation gets killed even though Conversation.instance().end(); is being
called 3 times.
Is t
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991692#3991692
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991692
___
jboss-user mailing list
jboss-user@lists.jboss.
Currently,
If I have a method:
@Begin
| public String startConversation() {
| return null;
| }
When this method is called a conversation is not started. If I change the
method to return non-null:
@Begin
| public String startConversation() {
| return "thispage";
| }
Then it
I'm curious if Seam will be moving away from A4J towards Icefaces. I don't mean
to state that support for the two is mutually exclusive - which it's not (to my
knowledge). I ask only because I noticed the latest booking example was ported
to Icefaces.
There is some overlap between the two in t
Am I correct in my understanding that the following two are effectively the
same? the property is outjected into event scope so it's called several times
during the JSF request processing lifecyle, and so is the the
actionBean.getProperty() method - and both have the same lifetimes?
ActionBean.
Been using seam with JSF RI 1.2 for a month or so with no real problems.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990156#3990156
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990156
__
I'm trying to iterate over a list and pass the index from each item in that
list to an actionlistener method. I've tried two methods - ui:repeat and
c:forEach, but both approaches have drawbacks.
Note, I also need to have an html "id" attribute assigned to each
(a4j:commandLink) dynamically -
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990138#3990138
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990138
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman
You could try moving facelets.jar to Jboss':
\deploy\jbossweb-tomcat55.sar\jsf-libs
and see if that helps.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988983#3988983
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39
Posted too soon, it seems this works now. Please disregard the previous post.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987967#3987967
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987967
_
I have a method annotated with @Unwrap that needs to add a FacesMessage error
under certain circumstances. I've found that I can only add a FacesMessage from
an action (listener) method and not from @Unwrap method. Is there a workaround
for this or is this not the expected behavior?
@Unwrap
I found something that works for me. I'm including it here in case it might
help someone else (or perhaps someone could suggest a better solution):
| @Stateful
| @Name("testAction")
| @Scope(ScopeType.CONVERSATION)
| public class TestActionBean implements TestActionLocal {
| @Logge
"[EMAIL PROTECTED]" wrote : If you took the scope off of the factory itself and
outjected the datamodel into page scope, then when the list changed in sort()
the results would show up. If you wanted it outjected on every access to the
page (not just ones that call sort) then use a page action.
"[EMAIL PROTECTED]" wrote : Maybe you could try a page action to refresh the
data?
Well, this would actually work great.
Is there a way to refresh a Page scoped list in an action method?
| private List list;
|
| @Factory(value="list", scope=ScopeType.PAGE)
| public List getlist() {
"petemuir" wrote : I suspect this was because although the context variable was
being refereshed, the java variable in your SFSB wasn't null, so the @Factory
wasn't being called. Did you have an @Out, or did you use @Factory("list",
scope=ScopeType.EVENT)?
You're right. I switched to using @Fa
petemuir, thanks for the suggestion. You're right that #2 is the way to go, but
I've tried that and got this exception:
java.lang.IllegalArgumentException: @DataModel scope must be
ScopeType.UNSPECIFIED or ScopeType.PAGE:
If I could @DataModel(scope=ScopeType.EVENT)
and If that means that this
Well, my temporary solution is that instead of outjecting a @DataModel I just
set the value of the DataTable to a method that always refreshs the list.
view:
...
SFSB:
private List sessions;
public String find() {
query();
return null;
}
public List g
I have what must be a fairly typical usecase.
1. User starts at search / list page.
2. Selects an object from list and modifies it
3. Returns to search / list page.
Now, I can get this to work with something similar to the Booking example.
SFSB
@DataModel
private List sessions;
@F
Works now, thanks very much!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985798#3985798
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985798
___
jboss-user mailing list
jb
Found the cause:
http://jira.jboss.com/jira/browse/JBSEAM-498
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985639#3985639
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985639
Solved that one by adding jboss-seam.jar to the .war (packaging the example as
as a seperate .war and .jar instead of an .ear).
Anyway, I now get the following (note, all i changed was subbing out myfaces
for the jsf ri):
14:33:21,853 INFO [Scanner] scanning:
/C:/jboss-4.0.5.GA/server/defaul
I'm trying to reproduce a problem I'm experiencing with Ajax4JSF and Seam so
I've started by trying to convert the Booking example to the JSF RI 1.2.03.
web.xml -- I switched from:
org.apache.myfaces.webapp.StartupServletContextListener
to:
com.sun.faces.config.ConfigureListener
Then i switched
I'm having a similar issue. only reRenders if I set
ajaxRendered="true"
Just tried a seam example from CVS and it looks to work so I'm a little lost
for a reason for my app not working.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985530#3985530
Reply to
Thanks Gavin, much appreciated!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985067#3985067
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985067
___
jboss-user mailing list
I noticed that the booking example isnt actually using ajax to rerender only a
portion of the view - the whole view is being rerendered.
The HotelSearchingAction session bean has
public String find()
{
page = 0;
queryHotels();
return "main";
}
I believe that the re
http://jira.jboss.com/jira/browse/JBSEAM-481
Thanks Gavin.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984349#3984349
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984349
___
Will do, thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984345#3984345
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984345
___
jboss-user mailing list
jboss-user@lis
Gavin,
It's the proper object:
[EMAIL PROTECTED]
The line that looks interesting in the trace is:
Caused by: java.lang.IllegalArgumentException: Could not set field value by
reflection: PlayerActionBean.selectedPlayerPlay on: com.example.SomeBean with
value: class com.example.model.PlayerPlay
I forgot to mention. Everything works as expected if I either: A) Get rid of
every @In annotation and keep the @EJB; or B) get rid of the @EJB injected
session bean and keep the @In annotated properties.
But, it doesn't work if I have both (and I need access to both - and i get the
same error
I'm in the process of porting (well, re-creating really) a web app with Seam.
It's been working great except that I get an Exception when using @EJB to
inject another session bean.
Until now, all my session beans had worked independantly of each other so I
hadn't noticed this.
I have a sessio
Thanks, that worked perfectly - and much more clean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983823#3983823
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983823
___
jb
Instead of using the SelectItems method as described in the examples I'd like
to have images that represent each country (flags) that when clicked will
change the locale.
This changes the locale but not the message bundle that is used. So, dates and
times are formated properly but the message.p
Gavin,
JSF RI 1.2.03
Facelets 1.1.11
JBoss AS 4.0.5
JBoss Seam-1.1.0.BETA1
Also, I noticed that the bookings example has:
but, the HotelSearching interface only has:
public String find();
but wouldn't the actionListener call find with an ActionEvent argument as well,
and therefore need th
Thanks Gavin, that solved both issues.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982468#3982468
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982468
___
jboss-user maili
"monkeyden" wrote : This sounds a lot like the valueChangeListener problem I
had the other day. It was trying to call a no-arg method, instead of creating
the ValueChangeEvent and then calling the method. I built Seam from CVS at
Gavin's suggestion and all better. May or may not work for you.
What I mean, is I have something similar and I get a 'no method found' error
because it's looking for find(ActionEvent) instead of find(). Which, given what
you mentioned earlier, sounds like there's something wrong on my end. Just not
sure what that is...
View the original post :
http://www.j
"petemuir" wrote : I think Gavin made it possible to call actionListeners with
no parameters
Hmm, so it sounds like I'm missing something or mis-configured then. Any ideas
what that could be?
Everything else seems to be working (remoting, bijection,etc).
View the original post :
http://www.j
Hi,
I tried following the hotel booking example (nightly) to create a table with
paging. I get an facelets EL evaluation error with the following though:
The example source has:
The error is:
com.sun.facelets.tag.TagAttributeException: /players/list.xhtml @61,84
action="#{visitManager.select
50 matches
Mail list logo