On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote:
Hi,I'm starting a new development where I will use MyFaces together with Shale and Spring. I've been reading the documentation regarding the integration between Spring and Shale, in terms of the delegating VariableResolver. Furthermore,
Hello
Im am trying to use tree2 with checkboxes, and have made everything work,
except for one tiny detail. Each node in the tree has a selectManyCheckbox.
My problem is that if I expand a node, check some of the checkboxes in the
children, and hide the children again, the values from the
On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote:
Craig,So in the documentation at the web site regarding Shale-Spring integration, when you show this example:or as a Spring bean in /WEB-INF/applicationContext.xml:
bean id=domains
Umm, I see.I found something like this in one post, but seems that for Spring 2.0 is no longer valid:
bean id=newWidget class=model.Widget singleton=false jsf:scope=request/Any idea?On 7/5/06,
Craig McClanahan [EMAIL PROTECTED] wrote:
On 7/4/06, Enrique Medina Montenegro
[EMAIL PROTECTED] wrote:
FirstI have a design issuse about which i want to have experts opinion.It involvs POJO entity bean,dependency injection and view objects that are consumed at the presentation layer. I'm thinking of the approach regarding how we will do the mapping between the domain object and the view objects.
I think the problem is using outputLink instead of commandLink components.outputLink simply generates an a tag.. and it is intended for building links that go outside of the JSF scope (a link to another website or to a file on disk, for example). Are you using outputLink for some particular
On 7/5/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote:
Umm, I see.I found something like this in one post, but seems that for Spring 2.0 is no longer valid:
bean id=newWidget class=model.Widget singleton=false jsf:scope=request/Any idea?Hmm ... sounds like a good question to ask on the
Found this thread in the Spring forum:http://forum.springframework.org/showthread.php?t=26302highlight=scope
On 7/5/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 7/5/06, Enrique Medina Montenegro
[EMAIL PROTECTED] wrote:
Umm, I see.I found something like this in one post, but seems that for
Hi Steven,Actually UISelectMany has the same behaviour, it checks whether the local value(converted version of the submitted value) is in the selectitems list or not.UISelectOne is the parent of classes like HtmlSelectOneMenu, HtmlSelectOneRadio, HtmlSelectOneListbox. UISelectOne includes the
In the example here :
http://wiki.apache.org/myfaces-data/attachments/WorkingWithLargeTables/attachments/myfaces-cars.zip
there is a method wich fill and create a datamodel:
protected PageableData createPageableData() {
ListSimpleCar cars = new ArrayListSimpleCar();
for(int i = 0; i
But if I just define my beans with scope=request or scope=session, then I get an IllegalStateException :-(org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gestorMenuBean' defined in class path resource [com/sabini/librisuite/sabiniContext.xml]: Initialization
The spring-jsf project is
an outdated alternative to achieve what you want. Im saying from memory, but
Spring 2 introduces what you really need, the DelegatingVariableResolver. The
rest that spring-jsf provides is a bidirectional reachability, that allows you
to reach JSF beans from
Hi!
I am not sure, if it is really required to separate the entities and the
view model. We use hibernate too, but directly use the entities in the view.
This means, if one changes some data, we use the transparent mechanismn
of the persistence framework to have them persisted.
For sure, this
Hi all,
I'm using Myfaces, Tomahawk and Sandbox 1.1.5 Snapshot with JBoss
AS/Seam. I get the following Exception when using some Tomahawk
components on my page, for example
t:commandButton value=s /
exception
javax.servlet.ServletException:
FYI I managed to work round this by changing the
PortletExternalContextImpl.encodeNamespace to return null when called during an
action request, instead of throwing an IllegalStateException.
My page now works, and it appears that the componenets still get assigned id's
during the render stage.
Is this possible at all?
/ldr_
--
View this message in context:
http://www.nabble.com/Customized-image-with-%3Ct%3AinputDate%3E-tf1872857.html#a5178317
Sent from the MyFaces - Users forum at Nabble.com.
Hello everyone!
I have a t:dataTable (tomahawk's) and a t:dataScroller to paginate it.
There is a link for editing each line (which corresponds to a short resume
of a bigger DB record),
and clicking it I can go to another page which implements it's editing.
There are two buttons on
that
Hello,
On Wed, 2006-07-05 at 10:06 +0200, Mario Ivankovits wrote:
For this there is e.g. JBoss Seam, or, if you would like to use a
lightweigt approach, the conversation tag in tomahawk sandbox.
The conversation tag sounds interesting. Could you describe it on
It was in previous versions. The hole TLD changed. (see
http://www.irian.at/myfaces/calendar.jsf)
Kind regards
Holger
ldr [EMAIL PROTECTED] schrieb am 05.07.2006 11:11:15:
Is this possible at all?
/ldr_
--
View this message in context: http://www.nabble.com/Customized-
In case I wasn't clear enough about the problem, here is an example...
I have a tree root. It is not expanded. It has a checkbox, which is not
checked.
[+][ ] root
Then I expand the root, which reveals 2 children. The children too have
checkboxes that are not checked.
[-][ ] root
|
-
When I use IE the menu items doesn't appear correctly we can see an
image with a cross, when refreshing the page the trouble is solved.
Regards
that is for the inputCalendar and not inputDate..
correct me if im wrong.
/ldr_
--
View this message in context:
http://www.nabble.com/Customized-image-with-%3Ct%3AinputDate%3E-tf1872857.html#a5179965
Sent from the MyFaces - Users forum at Nabble.com.
Dear All,
We have an XForm + JSF combination where the is a JSF Tree2 of the left
of the page the XForm on the right.
Tree2 has it's own scrolling function built in in Javascript to set the
position of the tree back to the point where you clicked on a TreeNode
after a refresh.
e.g.:
Hi!
For this there is e.g. JBoss Seam, or, if you would like to use a
lightweigt approach, the conversation tag in tomahawk sandbox.
The conversation tag sounds interesting. Could you describe it on
http://wiki.apache.org/myfaces/MyFacesComponents?
Yes, I am aware that documentation
Same here with tomcat 5.5.17.
Looking at the 1.1.5 API, the shared_tomahawk subtree dissapeared, thats
the cause but i have no idea how to solve this.
kind regards
Am Mittwoch, den 05.07.2006, 10:08 +0200 schrieb Axel Karst:
Hi all,
I'm using Myfaces, Tomahawk and Sandbox 1.1.5 Snapshot
Adam wrote:
Never mind, I hooked the form scrolling code into the onload event
alles ist gut.
Adam
Dear All,
We have an XForm + JSF combination where the is a JSF Tree2 of the left
of the page the XForm on the right.
Tree2 has it's own scrolling function built in in Javascript to set
Rob,
I think I can answer part of your question. The dropdown component that you're creating programatically retains its value on subsequent requests because all components retain their prior submitted values until the component valuesare cleared, which happens in the UPDATE_MODEL phase. It
Using forceId=true with a extended dataTable still gives me the
generated one - the id is not forced.
t:panelGroup with forceId works.
According to the docs it should work with all t: components, bug or got
anyone forceId working with a t:dataTable?
kind regards
Torsten
-- Press every key to
Hi,
I don't want that the the InputCalendar loads the
images from the resources directory using the ExtensionsFilter.
So I added the imageLocation attribute and copied all
the calendar images into my image directory.
The generated image links in the html code contain
the
Sorry, I mixed inputDate and inputCalendar...
Instead of the button, I can use an image for the popUp using these attributes
popupButtonImageUrl=images/calendar.gif renderPopupButtonAsImage=true
But how to change the images _inside_ the popUp calendar? I mean the close,
left, right and down
I had the same issue with the javascript location. No matter what I
did, it always referred to the extensions resources.
-G
On 7/5/06, Michael Heinen [EMAIL PROTECTED] wrote:
Hi,
I don't want that the the InputCalendar loads the images from the resources
directory using the
Hello,
one question in this context:
How do you add content to the tabs? Programmatically, or do you refer in the
JSP page (in case JSP is used) to the created tabs?
Best regards
Jan
--
View this message in context:
I need to write my own table component and I need your advice to start it.
Do I need to extend an existing class ?
Wich step I've to follow ?
thx for your advice
A simple way would be to create a container such as a h:groupPanel for each
tabbed pane in the JSP and use a binding to it in a backing bean, then add
to the panel from the backing bean.
-Original Message-
From: janw [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 10:33 AM
To:
Hi Folks,
Is MyFaces 1.1.3 actually compatible with WebSphere 5.1.2?
I'm developing under RAD and targetting a 5.1 application server. To
get a test application to load in the test application server, I have
to include a jsp-2.0.jar in the WEB_INF/lib path. This is not too
surprising,
Hello.
I've got 2 components, watching one backing bean value:
h:selectOneMenu value=#{tableData.country}
onchange=submit()
immediate=true
valueChangeListener=#{tableData.countryChanged}
f:selectItems
Title: RE: writing is own HtmlDataTable
I had to make a custom extension of HtmlDataTable for a recent project. To do that I extended MyFaces HtmlDataTable:
//...
import org.apache.myfaces.component.html.ext.HtmlDataTable;
import org.apache.myfaces.component.UserRoleAware;
// ...
public
The example jsp code I am using from http://www.irian.at/myfaces-sandbox/inputAjax.jsp.sourcerenders
an ajax-aware input box.
However, when I set the value and the
backing-bean-validator updates, nothing happens to my form.
The Pulse icon rotates and rotates and my log file
simply says:
hmm, I'm not clear about how to do this...
putting a h:panelgroup around the tabbedPane? Is there an example
somewhere or some code snippets?
Jan
--
View this message in context:
http://www.nabble.com/Dynamically-adding-tabs-to-t%3ApanelTabbedPane-tf1785535.html#a5184332
Sent from the MyFaces
Hi Torsten,
You mention that the last rendered component is the value that is used.
Would a hidden component at the end of the form, which is set to the
changed value work for you?
Failing this you could use JavaScript to make sure that both selectOne
values are changed when one changes.
HTH,
Javascript maybe an option - but i would prefer to find another
solution.
Hidden component - i dont get in my mind how to do this - a hidden
component, how should i set the value which comes from the event to it,
problem X is still there - so i dont really know the correct value -
only the event
On 7/5/06, John Singleton [EMAIL PROTECTED] wrote:
FYI I managed to work round this by changing the
PortletExternalContextImpl.encodeNamespace to return null when called during an
action request, instead of throwing an IllegalStateException.
My page now works, and it appears that the
Torsten-
there is an example on [1] where dataTable is shown with
forceId/forceIdIndex and without. You might check that?
-Matthias
[1] http://irian.at/myfaces/forceId.jsf
On 7/5/06, Torsten Krah [EMAIL PROTECTED] wrote:
Using forceId=true with a extended dataTable still gives me the
Hi All
I would like announce the twentieth birds-of-a-feather (BOF 20) of
the Java Web Users Group. The event will take place at
Oracle City Of London
One South Place
London,
England
EC2M 2RB.
The feature speakers:
Emmanuel Okyere
I am looking for a JSF-based way to detect when a session is expiring
and run some code before it dies. Specifically, I am writing a
myfaces/tomahawk web application, and wish to save some user state
information to the database when the session expires. When they next log
in, they will have
Hi,
Has any one done any
comparison between ADF Faces and Tomahawk? I
started prototyping using the tree2 component. Now I noticed that the ADF
tree menu offers more options that I can use. For example, link tree nodes
to action and set the initial expand level.
Many
thanks for your
All
I am also trying to use both trinidad and tomahawk
together.
Can you please let me know the steps you did for
configuration , like web.xml faces.config.xml or anything else special you did
to get things work
Right now i have a working tomahawk component project with
me. Is there any
Hello
I have a list of art works in a gallery. Everybody can see all works
(admireWork action), but only an author of a specified work is allowed to
edit it (editWork action). I want the [edit] link to appear only for the
authors, next to their works. I'm using rendered=#{workBean.allowEdit},
Do you have the extension filter hooked up properly? Check the wiki
and/or the simple examples to see how this is done.
Sean
On 7/5/06, Kasturi Mudulodu [EMAIL PROTECTED] wrote:
Hi,
When I moved to the new version of Myfaces 1.1.3 (and Tomahawk), Tree2
component stopped working. I get a
Hi Sean,
Thank you! My ExtensionsFilter is hooked up properly. I checked it
again. Here are the entries from my web.xml. It used to work in previous
version without any problems what so ever. What else could have changed
in this version?
!-- Faces Servlet --
servlet
What about the ExtensionsFilter being mapped to /faces/* so it can insert
appripriate Tomahawk 'stuff' of which Tree2 should be a part of? You only
listed this mapping, not /faces/*:
filter-mapping
filter-nameMyFacesExtensionsFilter/filter-name
url-pattern*.faces/url-pattern
/filter-mapping
There have been some important changes so check the wiki for details.
I suspect you are no longer getting the javascript and that would be
related to the extension filter not working.
Sean
On 7/5/06, Kasturi Mudulodu [EMAIL PROTECTED] wrote:
Hi Sean,
Thank you! My ExtensionsFilter is hooked
The default implementation for getScrolling() that gets added by the extensionsfilter does a window.scrollTo() call to set the scrolling position.This only works for the case where tree2 is set in the window, not withing another container like a scrolling div (where overflow=auto).Is there a way
Hi Mario! =)
Also relevant may be the Web Beans JSR (299) that Jboss is leading for
integrating EJB3 with JSF.
Separating concerns is important if the persistence/EJB layer is
(potentially) serving many view tiers. Many projects are using transport
objects to move data between the EJB layer and
I'll investigate if bypassing the UPDATE_MODEL phase could be the issue.
--
View this message in context:
http://www.nabble.com/Setter-not-called-for-value-binding-tf1887301.html#a5191741
Sent from the MyFaces - Users forum at Nabble.com.
Hi,
I am a newbie in myfaces. I am trying to download the
myfaces-1.1.3-examples.zip file, but i cant find it
anywhere. So can anyone help.
From website : http://www.irian.at/myfaces.jsf,
there are working demos, but i want get a one that i
can try out on my localhost.
thanks!
ch
As javadoc describe that commandSortHeader default immediate=true,
If I want to set it to false. I still can not get updated value from
page.
Anyone who has successful on this component?
As for default behavior, I have two column a, b. Each time click
column, it will request my backingbean
Look at the source code there - same problem there.
forceIdIndex works - but forceId on the dataTable not - take a look.
kind regards
Torsten
Matthias Wessendorf schrieb:
Torsten-
there is an example on [1] where dataTable is shown with
forceId/forceIdIndex and without. You might check that?
When I click sortHead, DataTable set sort column as previous not
current clicking column head, Is this correct?
What I suppose is click on which column, sorting on that one
On 7/6/06, Anthony Hong [EMAIL PROTECTED] wrote:
As javadoc describe that commandSortHeader default immediate=true,
If I
Looking at the source code, not the generated one also showed up, that
forceId for the dataTable Tag is not used:
t:dataTable value=#{forceIdBean.choices} var=choice
h:column
t:inputText id=widget value=#{choice}
On 6/29/06, David Friedman [EMAIL PROTECTED] wrote:
I just added Tomahawk 1.1.3 to my Maven2 build with:
dependency
groupIdorg.apache.myfaces.tomahawk/groupId
artifactIdtomahawk/artifactId
version1.1.3/version
/dependency
And it suddenly added Struts-1.2.8 to my .war
Spring web flow is a also a good alternative to the conversation system
you are describing...
for some reasons I prefere the Shale / ADF dialog on that.
It is closer to JSF than the Spring one.
-Matt
62 matches
Mail list logo