Hello,
i am using the commons file upload api in a servlet to upload files.
I noticed when declaring the seam filter in web.xml
| filter
| filter-nameSeam Filter/filter-name
| filter-classorg.jboss.seam.web.SeamFilter/filter-class
| /filter
|
|
Hello , i am using the rich:calendar tag.
I noticed the day and week strings are localized (good)
but the today String on the bottom is not.
How can i archieve this?
If i have to customize the calendar to do this, can you please tell me where to
start (in what java class and/or resource file)
Hello,
first of all ill explain what i want to do and then let me ask if its possible
with seam
look at the following code, it displays an error message for an input field
| h:inputText id=myInput required=true value=#{TestBean.value}
errorStyle=color:red /
| h:message for=myInput /
|
I am using the js implementation coming with jboss-4.0.5.GA ()
i specified the label attribute on the inputText, still same behaviour.
Well guess ill try to update the jsf implementation libs on my jboss server
I realized that the newest myfaces implemenations are horrible slow so i tried
to
Hello i update to the newest myfaces jar , same behaviour, i am currently
trying to upgrade to jsf-1.2_04-b07
but i get the error message
java.lang.IllegalStateException: Application was not properly initialized at
startup, could not find Factory: javax.faces.context.FacesContextFactory
I
If u want to upgrade to jsf 1.2 too, take a look here:
http://www.jboss.com/index.html?module=bbop=viewtopict=94738
I am switiching to last jboss server, i let u know if i get it (finally) to
work.
View the original post :
well i try also to get tomahawk working together with jsf ri.
wish me luck - good night
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093578#4093578
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093578
Now i finally upgraded everything the behaviour is slightly better, but still
not like expected:
I am using latest jsf ri implementation and jboss-4.2.1.GA
in my messages.properties
| myInput=Label for my Inputfield
|
in my facelets page
| h:inputText id=myInput required=true
I dont think u got it right, my message properties file is just as it should,
the
entry that should be used as label is there and configured.
Its just the h:message tag in combination with the h:inputText tag that just
dont work together.
The code i posted (the 2 lines) are so simple, well
Well finally i found out how to(semi dirty workaround in my opinion)
Dont override the required message in your messages.properties
It will take effect for all your input fields where required is specified
When u got an internet application with just 1 form field thats maybe an
solution
Well first of all sorry to all for the confusion.
First of all 1 thing:
1) its working like expected (upgrade to jsf 1.2 and use label attribute )
I was so sure that my message template(generated from redhat developer studio)
was the same like in the jsf implementation and that i am doing
Hello,i have problems with my logoff action, i need to set the user object to
null.
The code below dont works (i also made sure theres no seam component with name
user)
| @Stateless
| @Name(logoff)
| public class LogoffAction implements Logoff {
|
| @In
|
| rule if-outcome=loginsuccess
| out name=detailViewId value=/details.xhtml /
| render view-id=/welcome.xhtml/
| /rule
|
Hello, i noticed in the rule tag u can sepcifiy an out tag, i want that this
out tag to output a constant string value (no el expression), how can i do
i noticed the same problem occurs if u use params, u cant output a constant
string(u can only use el expression which will be evaluated), i am really
getting crazy/ mad on this , why o why?
Such a simple thing and i am stuck on it, pls help.
View the original post :
Hello in need urgent help for this problem or at least a comment on this
http://www.jboss.com/index.html?module=bbop=viewtopict=99753
Sorry for any cross posting but i really need an answer / reaction on this
(didnt got any)
View the original post :
finally found out how to uotput a constant string for example use : use
| out name=name value=#{'yourstring'} /
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005538#4005538
Reply to the post :
Halo, thx for the answer i have 2 questions on this.
1)
Why the seam developers decided to introduce a new workflow config file
(pages.xml) instead using the jsf approach (faces-config.xml), are there any
real advantages on this ? (i have about 50 navigation rules in
faces-config.xml, would
thx for the tip, ill put some time on it and take a look at it right now.
If i got any problem, can i post in this thread again?
thx very much(this is really the only bulletin board where ppl understand what
i want and help me),
Bye,
Holger
View the original post :
Hello i a curently trying to migrate the naivagation rule but somehow i making
a mistake but cant see it(rule has no effect).
rule from faces-config.xml (working)
navigation-rule
navigation-case
i have to correct the code above the code in pages.xml is:
!DOCTYPE pages PUBLIC
-//JBoss/Seam Pages Configuration DTD 1.1//EN
http://jboss.com/products/seam/pages-1.1.dtd;
!-- login --
rule if-outcome=loginsuccess
redirect
Oh ok, i didnt knew.
(Didnt even noticed seam 1.1.1 is out, from public donwload area your cant
donwload http://labs.jboss.com/portal/jbossseam/download/index.html)
Well ill try to udate to Seam 1.1.1.
In the case i dont post here in this thread again, i got it working.
Thx very much,
Holger
Hello, i also had the same idea, giving the page element a view id in my case
/index.xhtml
I tried the code u posted ,but it still has no effect.
I am using jboss-seam-1.1.0.GA, the pages.xml is deployed correctly (like in
the examples), somewhere i got a log no events.xml defined , i hope it
ok i found potential mistake change to code blow -still no effect
(have problems posting xml code)
-
pages
page
navigation
!-- login --
rule if-outcome=loginsuccess
redirect view-id=/welcome.xhtml /
/rule
ok the navigation rule defined in pages.xml take effect!
Great!
Only 1 final problem
how can i inject that component?
Thx,
Holger
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005111#4005111
Reply to the post :
Ah ok :-)
Its also in the api if one can read ^^
| @Name(value=org.jboss.seam.core.pages)
|
and again thx very much, everything is working now :-)
Bye,
Holger
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005115#4005115
Reply to the post :
Oh i got 1 final question, i can get access to the rule i need to know,
but i need to get the target viewId redirect view-id=/welcome.xhtml/
How can i archieve this (i am stuck at this point)
| rule if-outcome=loginsuccess
| redirect view-id=/welcome.xhtml/
| /rule
|
java code
Hello i noticed a nice feature in the rule element u can specify out tag, that
would be just perfect!
I only got 1 problem how can i specify a constant string expression to be
outjected: like
| rule if-outcome=loginsuccess
| out name=detailViewId value=/details.xhtml /
| render
Hello,
i need to access the navigation-cases defined in faces-config.xml
in my application (a java bean has to do that).
I need that becourse i am writing an own wizard (for my case a4j:include is not
the right way).
Is there any predefined component what does this (like messages) ? or any
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 :
Hello,
i just posted on the myfaces mailing list on jsf application design and package
structure
The most people the use this approach:
1)
The managed bean (seam component) contains the action methods for itself
(explanation course they are tied together)
I noticed the seam example
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
Well as far as i understand it works like this:
first, seam looks if a object for this variable exists, in all scopes, if none
was found, seams looks if a component with such a name exists -
(the code u posted) if yes , it will be created.
currentUser would only be never null when u write
Hello,
i have a site where the uses can select TaskItems (entities from the database)
and set it to a task.
I use a OneToMany relationship (a task hast many taskitems)
When i set the TaskItems to the task and save it, everything will be ok.
But when i save another task whith the same
Hello
anonymous wrote :
| It sounds like you want a ManyToMany relation. If Tasks can have many
TaskItems and a TaskItem can be associated with more than one Task this is a
ManyToMany relation, not a OneToMany.
|
Hmm but the TaskItem dont have any information about the task it owns
(no
Hello,
i wrote a register wizard bean where u can register member.
How can i tell @Out that it should only export values into context when the
value is not null?
I found out that @Out always export a value even when null.
//export the tester as our logged in user
[EMAIL PROTECTED] wrote : If you really _have_ to have transparent lazy
fetching of data off of the user, combined with caching of that data then
create a session-scoped managed persistence context.
|
| There are a couple of ways to do this, but the easiest is to use Seam 1.1
CVS build and
Hello,
well thats strange, i somehow remember this error but i dindt get it anymore
for 1 day,maybe u deploy the jars u copied to $JBOSSSERVERHOME/default/lib
with your application? (look at build.xml)
If all dont helps, try cleaning up/reinstalling everything, sorry i couldnt
help
Hello,
after spending 3 days with trying to integrate ajax framworks with jboss seam i
finally get a integration with ajax4jsf working
1) first download ajax4js https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/
2) copy the following jars to $JBOSSSERVERHOME/default/lib
el-api.jar
el-ri.jar
38 matches
Mail list logo