Hello,
i moved my project to seam-2.0.0.BETA1, because of great new jboss-el
PROBLEM:
i am looping over conversation scoped array and generating links with action
with integer parameter:
|
|
|
|
where util is application scoped object:
| @Name("util")
| @Scope(APPLICATION)
I think it is clear from original post: which works fine until i change
h:commandLink to s:link
|
|
|
|
or this example shows the problem best:
|
|
|
|
|
h:commandLink works fine, s:link not, like i described before
View the original post :
http://www.jboss
Thx for link, so the results are:
- try @DataModel
- try f:param
But i still dont understand why such case is possible with h:commandLink and is
not with s:link, which is strange because s:link should be something more
sophisticated than h:commandLink.
That is why i am thinking that there is bu
But it should be direct replacement. I am forced to use s:link, because of
right conversation management and i am not lucky if i have reduced
functionality with s:link.
Anyway, thanks for answers, i will try different ways in my problem.
View the original post :
http://www.jboss.com/index.html
Ok, i should learn better ;)
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072607#4072607
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072607
___
jboss-user mailing
Hi,
I have very simple Seam application:
numberGuess.jspx:
|
|
|
|
|
NumberGuess.java
| @Name("numberGuess")
| @Scope(ScopeType.EVENT)
| public class NumberGuess implements Serializable {
|
|private String input;
|
|public String getInput() {
|
I forget my configuration:
jboss-seam-2.0.0.BETA1
jboss-4.2.0.GA
facelets-1.1.13
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074282#4074282
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074282
__
Thank you for answer Pete
So you think that loading data from database should be done inside action
method (here doSomething)?
What about first page load, where no action was fired?
first page load - getData
action load - getData, action, getData
For information - this is event scoped seam com
It works, thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074403#4074403
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074403
___
jboss-user mailing list
jboss-u
I configured captcha by myself inside CaptchaImage.java:
|@Create
|public void create()
|{
|DefaultManageableImageCaptchaService serviceTmp = new
DefaultManageableImageCaptchaService();
|DefaultGimpyEngine engine = (DefaultGimpyEngine)
serviceTmp.getEngine(
What about to have fragment identifier in pages.xml, I can imagine something
like smart help page which gives you the right chapter according to page where
you are:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If this is not bug, please let me know how to solve it with h:commandLink, my
app is waiting for solution ;)
Thx
msznapka
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104341#4104341
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
Hello I have following code:
| #{utils.bug(null)}
|
| public String bug(String s) {
| log.debug("Bug:" + (s == null) + "," + ("".equals(s)));
| return "";
| }
|
| Bug:false,true
|
As you see, the argument from EL is passed as empty string and not as a null
value
13 matches
Mail list logo