RE: Has anybody integrated Sitemesh+JSF/Tomahawk?

2007-12-19 Thread Garner, Shawn
/14/07, Garner, Shawn [EMAIL PROTECTED] wrote: I don't think I ran any ant files. I just unzipped the source into my project source directory probably, unzipped the view handler into my source, resolved any compilation errors by adding sitemesh dependency jars, then you have to rengister

RE: design question regarding converters - who is responsible for building hibernate converted object

2007-12-17 Thread Garner, Shawn
It is my opinion that the UI should not concern itself with the persistence layer. The UI should delegate to the service layer which should delegate to persistence. IMO a converter should only do object to object conversions. What you are talking about I've seen done in the getter method of the

RE: design question regarding converters - who is responsible for building hibernate converted object

2007-12-17 Thread Garner, Shawn
the lookup of address object from persistence before assigning to customer should reside.. In the converter or the managed bean for customer. MRather Garner, Shawn wrote: It is my opinion that the UI should not concern itself with the persistence layer. The UI should delegate to the service layer

RE: Has anybody integrated Sitemesh+JSF/Tomahawk?

2007-12-14 Thread Garner, Shawn
? Then, how hard is to use Facelets? Is it easy to integrate in a JSF application. De: Garner, Shawn [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, December 12, 2007 8:41 AM Para: MyFaces Discussion; MyFaces Development Asunto: RE: Has anybody integrated

RE: Has anybody integrated Sitemesh+JSF/Tomahawk?

2007-12-14 Thread Garner, Shawn
to be made to the build.xml? Or have I gone down the wrong path altogether? If I move the climbingrose stuff into the sitemesh/src/java directory I get compile errors... Any words of wisdom for me? Thanks, Bobby De: Garner, Shawn [mailto:[EMAIL PROTECTED] Enviado el

RE: Has anybody integrated Sitemesh+JSF/Tomahawk?

2007-12-12 Thread Garner, Shawn
I've gotten JSF to work in sitemesh decorators before. I like the idea of sitemesh but feel it has not been designed/used extensively for JavaServer Faces. Also what erks me about sitemesh is it doesn't use commons-logging and writes to the sytem out. I'd recommend Facelets if starting

RE: Has anybody integrated Sitemesh+JSF/Tomahawk?

2007-12-12 Thread Garner, Shawn
Check this out if you want to use sitemesh: http://jira.opensymphony.com/browse/SIM-201 From: Garner, Shawn Sent: Wednesday, December 12, 2007 7:41 AM To: MyFaces Discussion; MyFaces Development Subject: RE: Has anybody integrated Sitemesh+JSF/Tomahawk

RE: Has anybody integrated Sitemesh+JSF/Tomahawk?

2007-12-12 Thread Garner, Shawn
I've used the tiles 2 viewhandler with tiles 2.05 from https://issues.apache.org/jira/browse/TOMAHAWK-1115 and it works fine. Says it is in the Tomahawk 1.1.7 nightly snapshot release. Anyone know when Tomahawk 1.1.7 will be released GA? Shawn -Original Message- From: Simon Kitching

JSF 1.1 question

2007-12-04 Thread Garner, Shawn
When I do the following what scope does it get, request, session? I don't have myBean defined in the faces-config.xml facesContext.getApplication().createValueBinding(#{myBean}) valueBinding.setValue(facesContext, MyBean); Shawn -Message Disclaimer- This e-mail message is

RE: tiles 2

2007-11-02 Thread Garner, Shawn
to TOMAHAWK-1115 (see [1]). That doesn't really introduce a huge dependency for your project. Maybe you want to try it on your own, till MyFaces / Tomahawk ships it ? -M [1] https://issues.apache.org/jira/browse/TOMAHAWK-1115 On 11/1/07, Garner, Shawn [EMAIL PROTECTED] wrote: Can you let me know when

tiles 2

2007-11-01 Thread Garner, Shawn
I was just wondering if there were plans to update the JspTilesViewHandlerImpl to work with the Tiles 2 official 2.0.5 GA release. Shawn -Message Disclaimer- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain

RE: tiles 2

2007-11-01 Thread Garner, Shawn
To: MyFaces Discussion Subject: Re: tiles 2 We currently dicussing this on the dev-list. Looks like it will endup in Sandbox . -M On 11/1/07, Garner, Shawn wrote: I was just wondering if there were plans to update the JspTilesViewHandlerImpl to work with the Tiles 2 official 2.0.5 GA

sandbox and faclets

2007-09-03 Thread Garner Shawn
I configured the taglib file but my fieldset is still not being rendered. It writes out s:fieldset I have this in the top of my xhtml file: xmlns:s=http://myfaces.apache.org/sandbox; and I have this in my web.xml context-param param-namefacelets.LIBRARIES/param-name

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
to this. Plus, many renderkits (like trinidad) use the Severity in order to render messages on their components, so changing them will break these renderkits. Scott Simon Kitching wrote: Garner, Shawn wrote: I need to create a custom message severity. I wanted to create a confirmation

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
, they will be generally confused. Scott Garner, Shawn wrote: I used the warn level since I'm already using the error and info level. I just don't like using warn instead of my own custom one. I saw the ordinal and ordering in the source code. I don't see any reason why you couldn't override

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
to you. MyFaces is doing the correct thing. Scott Garner, Shawn wrote: The problem comes in the fact that there are defined constants in FacesMessage. Redeclare the constants that are declared in FacesMessage. If these weren't final then you could re-declare them and initialize the map and list

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
spec, more power to you. MyFaces is doing the correct thing. Scott Garner, Shawn wrote: The problem comes in the fact that there are defined constants in FacesMessage. Redeclare the constants that are declared in FacesMessage. If these weren't final then you could re-declare them

FacesMessage Serverity

2007-05-08 Thread Garner, Shawn
I need to create a custom message severity. I wanted to create a confirmation message severity but Severity has a private constructor? Shouldn't this be public so you can add your own? Shawn

RE: redirect / and FacesMessage problem

2007-04-24 Thread Garner, Shawn
So I don't need to register a PhaseListener or anything? Shawn -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 2:40 AM To: MyFaces Discussion Subject: Re: redirect / and FacesMessage problem Hi! I was checking out the RedirectTracker

RE: redirect / and FacesMessage problem

2007-04-23 Thread Garner, Shawn
You can have application level messages and validation level messages. If you create a message in your application method you would expect it to display on the next page regardless of which page you navigate to. This is in contrast to a validation message which it must pass the validation phase.

RE: redirect / and FacesMessage problem

2007-04-23 Thread Garner, Shawn
required=true either since we allow fields to be null and all we do is display the null values of the previous page. It's weird I know but well sigh therefore we do the validation on the event method and build the Messages there as we redirect the user to the next page. -Steve Garner, Shawn

RE: redirect / and FacesMessage problem

2007-04-23 Thread Garner, Shawn
I was checking out the RedirectTracker documentation. Is there any installation/usage documents other than the javadoc? Shawn -Original Message- From: Steve Torrefranca [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 3:40 PM To: MyFaces Discussion Subject: Re: redirect / and

RE: AUTO_SCROLL

2007-04-20 Thread Garner, Shawn
/browse/MYFACES-1589 on this issue. On 4/19/07, Garner, Shawn [EMAIL PROTECTED] wrote: We are seeing extra white space on the page as a result of AUTO_SCROLL being rendered between two buttons. This is not desired. Is there any way for the rendered AUTO_SCROLL hidden field to be put

RE: f:attribute in phaselistener

2007-04-20 Thread Garner, Shawn
the MyFaces version. Thanks. Ernani Garner, Shawn-2 wrote: I upgraded to 1.1.5 and now my phase listener can no longer get my f:attribute attribute on a component (eg: h:inputText). I iterate over the client IDs with messages by doing FacesContext.getClientIdsWithMessages(); I get

AUTO_SCROLL

2007-04-19 Thread Garner, Shawn
We are seeing extra white space on the page as a result of AUTO_SCROLL being rendered between two buttons. This is not desired. Is there any way for the rendered AUTO_SCROLL hidden field to be put at the beginning of the form instead of right next to the button? Shawn

RE: f:attribute in phaselistener

2007-04-17 Thread Garner, Shawn
in phaselistener Garner, Shawn wrote: I upgraded to 1.1.5 and now my phase listener can no longer get my f:attribute attribute on a component (eg: h:inputText). I iterate over the client IDs with messages by doing FacesContext.getClientIdsWithMessages(); I get the component by UIViewRoot.findComponent

RE: f:attribute in phaselistener

2007-04-17 Thread Garner, Shawn
Alright, I looked at the source and it is creating a value binding for it. But in my phaselistener I call the getValue(facesContext) on the value binding it returns null. Any solutions? Shawn -Original Message- From: Garner, Shawn Sent: Tuesday, April 17, 2007 3:05 PM To: 'MyFaces

f:attribute in phaselistener

2007-04-16 Thread Garner, Shawn
I upgraded to 1.1.5 and now my phase listener can no longer get my f:attribute attribute on a component (eg: h:inputText). I iterate over the client IDs with messages by doing FacesContext.getClientIdsWithMessages(); I get the component by UIViewRoot.findComponent(clientID) and then try to get

Re: javax.faces.el.PropertyNotFoundException: Base is null

2007-03-26 Thread Garner Shawn
A non-primitive member variable is null. Check your objects in your managed bean and make sure you create a new one. public class MyManagedBean { private MyInnerClass inner = null; getInner... setInner.. } You will get this if you do #{myManagedBean.inner.something}. I believe if

java.lang.NoClassDefFoundError: org/apache/myfaces/custom/dojo/DojoWidget

2007-03-14 Thread Garner Shawn
I added the sandbox jar to my project and now I'm getting this. I just wanted the SecurityContext part so I don't know why I should need a DojoWidget. Anyone know what I can do to fix this? There another JAR to download? Shawn

security and jsf

2007-03-06 Thread Garner Shawn
What are you using for security with JSF for user roles and login? JSF Security, ACEGI, or something else? I just want to know what the options are and what works best. Shawn

Re: sitemesh and jsf

2007-02-28 Thread Garner Shawn
Alright I found a solution here: http://jira.opensymphony.com/browse/SIM-201 Can somebody please add this to the MyFaces Wiki under the topic Sitemesh? Shawn On 2/27/07, Garner Shawn [EMAIL PROTECTED] wrote: I did post on the Sitemesh users list. I haven't heard anything back yet. This list

Re: sitemesh and jsf

2007-02-28 Thread Garner Shawn
Yeah, I tested it on one page. I'll be working on the rest of my pages at a later date. On 2/28/07, Titi Wangsa [EMAIL PROTECTED] wrote: have you tested it? i'm going to download it and test it

Re: sitemesh and jsf

2007-02-27 Thread Garner Shawn
in Sitemesh decorators. Ricardo. On 2/26/07, Garner Shawn [EMAIL PROTECTED] wrote: I'm trying to use sitmesh with JSF and am getting the following exception: This is my template decorator page and has a f:view page. Is there something I have to do with this to initialize the FacesContext

Re: sitemesh and jsf

2007-02-27 Thread Garner Shawn
, as Facelets accomplished all the templating I needed. Would switching to Facelets be an option for you ? On 2/27/07, Garner Shawn [EMAIL PROTECTED] wrote: Why not, you can have JSF if you use tiles? Tiles does the same sort of thing. Should be able to do something to have Sitemesh allow

Re: sitemesh and jsf

2007-02-27 Thread Garner Shawn
. On 2/26/07, *Garner Shawn* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I'm trying to use sitmesh with JSF and am getting the following exception: This is my template decorator page and has a f:view page. Is there something I have to do with this to initialize

Re: sitemesh and jsf

2007-02-27 Thread Garner Shawn
post the solution here (or add a page to the wiki) for anyone who encounters this in the future. Regards, Simon Garner Shawn wrote: I tried this and it didn't work but am unsure why: ExternalContext.dispatch to execute the jsp servlet for processing its template so maybe it's just as simple

sitemesh and jsf

2007-02-26 Thread Garner Shawn
I'm trying to use sitmesh with JSF and am getting the following exception: This is my template decorator page and has a f:view page. Is there something I have to do with this to initialize the FacesContext for the decorators/templates? javax.faces.FacesException: Faces context not found.

sitemesh with JSF

2007-02-25 Thread Garner Shawn
I'm trying to use sitmesh with JSF and am getting the following exception: This is my template decorator page and has a f:view page. Is there something I have to do with this to initialize the FacesContext for the decorators/templates? javax.faces.FacesException: Faces context not found.

RE: ajax4jsf, checkbox, and reRender

2007-02-02 Thread Garner, Shawn
ajaxRendered= Defines, whether the content of this component must be (or not) included in AJAX response created by parent AJAX Container, even if it is not forced by reRender list of ajax action. Ignored if component marked to output by Ajax action. default false Garner, Shawn wrote: h:panelGroup

RE: ajax4jsf, checkbox, and reRender

2007-02-01 Thread Garner, Shawn
know they are mapped correctly. Shawn From: Adrian Mitev [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 10:16 AM To: MyFaces Discussion Subject: Re: ajax4jsf, checkbox, and reRender Whats your issue? Please paste your code. 2007/2/1, Garner

preprocessing static email link params before view

2007-01-18 Thread Garner, Shawn
I need the users to click on a link sent in an email to the user and go to a JSF view. However prior to serving the view I need to process a parameter in the link, look up some information the DB based on the parameter, and send them to one view or another. I see in the WIKI there is a redirect

RE: preprocessing static email link params before view

2007-01-18 Thread Garner, Shawn
search, you'll find dozens of examples for this very question. Another way is using an actionListener, of which Tomahawk and JSF 1.2 offer different approaches. Or is your question really something more complicated than this? Tim From: Garner, Shawn

RE: [OT?] Where can I find the Facelets taglib.xml file for htmLib ?

2006-07-14 Thread Garner Shawn
I always have to look in the source code for the component type and renderer values. Shawn

panelNavigation2

2006-07-09 Thread Garner Shawn
I found the problem. navigationMenuItems does NOT work when embedded inside another navigationMenuItem tag It does however work if it is only inside the panelNavigation2 tag. Doesn't this menu system support embedded menu items? If it is suppose to support it then can somebody report this as a

Embedded navigationMenuItem not rendering

2006-07-08 Thread Garner Shawn
I get the outer one but the inner one isn't rendered. I've rendered the values in a dataTable so I know the_product has values. t:panelNavigation2 id=navItemClass itemClass=navItemClass openItemClass=navOpenItemClass

navigationMenuItem dynamic getting java.lang.IndexOutOfBoundsException: Index: 2, Size: 1

2006-07-08 Thread Garner Shawn
t:navigationMenuItem id=productsLink2 action=products value=Products t:navigationMenuItems value=#{AppSetupBean.navigationList}/ /t:navigationMenuItem public ListNavigationMenuItem getNavigationList() { ArrayListNavigationMenuItem navList = new

dynamic sidemenu

2006-07-08 Thread Garner Shawn
I'm having troubles generating a side menu with the following: t:panelNavigation2 t:navigationMenuItem id=productsLink2 action=products value=Products t:navigationMenuItems action=#{ProductNavBean.navigate} actionListener=#{ProductNavBean.processAction}

tomahawk-1.1.3 release notes

2006-06-15 Thread Garner Shawn
Is there any release note as to what bugs were fixed and what was changed?

Re: Re: commandLinks don't work on Tomcat 5.5.17

2006-06-09 Thread Garner Shawn
MyFaces Core 1.1.3 Binary Distribution MyFaces Tomahawk 1.1.2 Binary Distribution Faceletes 1.1.4 I had the same war working on JBoss but when I switched to Tomcat 5.5.17 my commandLinks stopped working. If you figure out why the autoscroll stuff doesn't work let me know.

Re: Re: Problems with commandLinks not working in Tomcat 5.5.17

2006-06-09 Thread Garner Shawn
I say this because I had the exact same ware deployed on JBoss and had no problems. Sure you want to see faces-config.xml? If so then what do you want to see? I assume you mean web.xml instead, that is where most of the stuff for my application are. Shawn Originial

Problems with commandLinks not working in Tomcat 5.5.17

2006-06-08 Thread Garner Shawn
Maybe this problem is related to me not having a backing bean action bound to the action and it is just the outcome of the action (see below)? It might work with an action bound to a backing bean method but I don't have any of those right now. h:commandLink action=productsProducts/h:commandLink

Re: Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-08 Thread Garner Shawn
The only difference I can see is there is an autoscrolling section in the one that doesn't work. I'm not familiar enough with what the autoscrolling does to tell what would fix it. Maybe turning autoscrolling off in your web.xml would do it. I'm having the same problems. Where are you getting

commandLinks don't work on Tomcat 5.5.17

2006-06-08 Thread Garner Shawn
I set the following param-value to false and now my command links work now. Why isn't the autoscroll stuff working? context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuefalse/param-value description

Re: commandLinks don't work on Tomcat 5.5.17

2006-06-05 Thread Garner Shawn
I got my commandLinks to work by adding the JSP-API.jar that came with facelets to my /web-inf/lib directory instead of the one in the tomcat/commons/lib directory. However this gives me another problem where my JSP forward isn't working. Seems to be some incompatibilty somewhere. I'm getting fed

RE: Re: commandLinks don't work on Tomcat 5.5.17

2006-05-31 Thread Garner Shawn
I'm using facelets and never had to do it when I was using JBoss. I will try it out. Shawn - From: Matthias Wessendorf [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Date: Wed, 31 May 2006

Re: Re: commandLinks don't work on Tomcat 5.5.17

2006-05-31 Thread Garner Shawn
Added the forms around the links. No changes, still not working. Not getting a javascript error anymore. Just does nothing. - From: Matthias Wessendorf [EMAIL PROTECTED] To: MyFaces Discussion

commandLinks don't work on Tomcat 5.5.17

2006-05-30 Thread Garner Shawn
I recently switched to Tomcat 5.5.17 and my commandLinks don't work anymore. I have the followign jars: commons-beanutils.jar commons-codec.jar commons-collections.jar commons-digester.jar commons-lang.jar commons-validator.jar jakarta-oro.jar portlet-api.jar struts.jar jsf-facelets.jar

Re: Re: [help] blank index.jsp on Tomcat 5.5.9

2006-05-27 Thread Garner Shawn
/jsp-property-group /jsp-config !-- Welcome files -- welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list /web-app -- Forwarded message -- From: Garner Shawn [EMAIL PROTECTED] To: users@tomcat.apache.org Date: Fri

problem with panelTabbedPane on winXP and IE6

2006-04-04 Thread Garner Shawn
My active tab has been renderring as a button. I went to the example site at http://www.irian.at/myfaces/tabbedPane.jsf and the active tab there has the active tab renderred as a button also. I read a website and this seems to be an winXP and IE6 specific issue and figured out I can fix it by

Re: Re: problem with panelTabbedPane on winXP and IE6

2006-04-04 Thread Garner Shawn
, Gerald On 4/4/06, Garner Shawn [EMAIL PROTECTED] wrote: My active tab has been renderring as a button. I went to the example site at http://www.irian.at/myfaces/tabbedPane.jsf and the active tab there has the active tab renderred as a button also. I read a website and this seems

timeline to new binary distribution

2006-04-03 Thread Garner Shawn
Is there a timeline with milestones or something for a new binary distribution of myfaces? If there was such a thing I would probably check it once in a while. I tried the myfaces website but I couldn't find anything. Shawn

[help] t:panelTabbedPane height

2006-03-14 Thread Garner Shawn
I would like the t:panelTabbedPane to take up the entire height of the table td that it is in.When I specify a styleClass it renders two class attributes and mine is second see below:I don't know how to get rid of the class=myFaces_panelTabbedPaneIt seems to be wanting to use some

[tomahawk + panelNavigation2 + Facelets] getting empty UL tags

2006-03-07 Thread Garner Shawn
Thing is if I used panelNavigation and commandNavigation everything is fine but if I use anelNavigation2 and commandNavigation2 then all I get is an empty UL/UL tag rendered and no links.Any help? I have the following code.xhtml filexmlns:t=http://myfaces.apache.org/tomahawkt:panelNavigation2

t:panelNavigation

2006-03-06 Thread Garner Shawn
I have a panel navigation.The structure of the links ist:panelNavigation id=panelNavigation1 ...t:commandNavigation id=productLink2 action="" value=Software Products t:commandNavigation id=exampleProductLink2 action="" value=Example Product t:commandNavigation id=exampleProductDownloadLink2

RE: [HELP] t:dataScroller

2006-03-05 Thread Garner, Shawn
Nevermind, I figured it out with the help from this page. http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk I would think since the JAR is in the classpath that it should be able to find it from the TLD in the JAR. Shawn -Original Message- From: Garner, Shawn To: 'users

[HELP] t:dataScroller

2006-03-04 Thread Garner, Shawn
I'm having trouble getting the t:dataScroller to work. I'm using facelets/myfaces/jboss. I don't get anything displayed for the datascroller. The data for my h:dataTable displays fine. I've looked at the examples I could find and can't see what I'm doing wrong. Any help? My code is below.

RE: [OT] Facelets JSP Scriptlets

2006-03-01 Thread Garner, Shawn
] Facelets JSP Scriptlets Shawn, This should be directed to the Facelets list; but I'll answer it here: no, Facelets doesn't support JSP scriptlets, and is extremely unlikely to ever do so. -- Adam On 2/28/06, Garner, Shawn [EMAIL PROTECTED] wrote: Is there any chance that facelets supports JSP

RE: facelets compilation

2006-02-28 Thread Garner, Shawn
, etc. The only significant advantage JSPs have over Facelets is better tool support. -- Adam Winer JSF EG On 2/27/06, Garner, Shawn [EMAIL PROTECTED] wrote: If you go with the facelets approach don't you loose your advantage of having a pre-compiled JSPs? As far as initial load time

RE: String concatenation in EL

2006-02-28 Thread Garner, Shawn
Try this maybe.  Not sure on this one. c:set var="myPageTitle" scope="request"   c:out value="${page.name}"/c:out value=".title"/ /c:set then later do h:outputText value="#{bundle[myPageTitle]}"/     Shawn From: Frank Felix Debatin

[OT] Facelets JSP Scriptlets

2006-02-28 Thread Garner, Shawn
Is there any chance that facelets supports JSP Scriptlets? I know it supports jstl and el but sometimes I still like to use scriptlets even though I know it should be converted to a tag. I just don't want to take the time to convert everything to tag libraries. Mostly for function

facelets compilation

2006-02-27 Thread Garner, Shawn
If you go with the facelets approach don't you loose your advantage of having a pre-compiled JSPs? As far as initial load time and just regular overhead of serving the page? Shawn This email may

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Garner, Shawn
the title and body content in this JSP body. Can anybody help me piece (pun intended) this together? Shawn -Original Message- From: Garner, Shawn Sent: Thursday, February 23, 2006 12:51 PM To: 'MyFaces Discussion' Subject: RE: [JSF] Tiles and Reusable Template I looked at Clay

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Garner, Shawn
-Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 12:51 PM To: 'MyFaces Discussion' Subject: RE: [JSF] Tiles and Reusable Template I looked at Clay and it looks like it will work but I want to examine facelets more first. The facelets

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Garner, Shawn
- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 10:38 AM To: 'MyFaces Discussion' Subject: RE: [JSF] Tiles and Reusable Template Somebody posted that page but I don't quite get how it works. Shawn -Original Message- From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Garner, Shawn
r Name:"../h:inputText id="UserName" .../ ... h:commandButton .../ /clay:symbol /clay:clay Shawn From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 11:57 AM To: MyFaces Discussion Subject: RE: [JSF] Tiles and Reusable Te

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Garner, Shawn
/html Then your home.jsp file is a regular JSF file that fits into the layout specified above. - Brendan -Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 11:33 AM To: 'MyFaces Discussion' Subject: RE: [JSF] Tiles and Reusable Template I've

RE: [JSF] Tiles and Reusable Template

2006-02-23 Thread Garner, Shawn
Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, February 22, 2006 6:44 PM To: users@myfaces.apache.org Subject: Re: [JSF] Tiles and Reusable Template Garner, Shawn wrote: I tried using tiles with JSF and found it does not work very well. You end up

RE: [JSF] Tiles and Reusable Template

2006-02-23 Thread Garner, Shawn
, 2006 2:49 PM To: MyFaces Discussion Subject: RE: [JSF] Tiles and Reusable Template See http://forum.java.sun.com/thread.jspa?forumID=427threadID=540153on how to define a central tiles dispatch page - Brendan -Original Message- From: Garner, Shawn [mailto:[EMAIL

[JSF] Tiles and Reusable Template

2006-02-22 Thread Garner, Shawn
I tried using tiles with JSF and found it does not work very well. You end up having to define every page in the tiles.xml file that you want to use the template for. Are there any other approaches to creating a reusable template that uses multiple jsp pages? Seems like I should be able

[JSF] multiple beans and binding stage

2006-01-19 Thread Garner, Shawn
The only examples I've seen are binding one managed bean's values to form controls. Can you use values from multiple managed beans in controls on the same form? Can an you stop the form from binding the values to the beans after they press submit if the values are invalid for whatever

Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
I'm trying to hardcode the action to "college" which is in the linkPage request scope variable. I think it's trying to resolve it as a bean action or something instead of an outcome. Can somebody help me with how to do this. linkPage: h:outputText value=#{linkPage}/br h:commandLink

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
that evaluates to a String. So if you need the action target to be variable, you need to write java code to perform this logic. Possibly you could use some kind of JSP EL expression instead of a JSF EL expression, but I wouldn't recommend this approach. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
- From: Garner, Shawn Sent: Tuesday, January 17, 2006 10:29 AM To: 'MyFaces Discussion' Subject: RE: Problem hardcoding commandLink action outcome How about using the f:attribute tag for name=action? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
: Garner, Shawn Sent: Tuesday, January 17, 2006 10:39 AM To: 'MyFaces Discussion' Subject: RE: Problem hardcoding commandLink action outcome Damn, get an exception with f:attribute. I thought that should work. To do h:commandLink action=college/ I would have to do a choose/when condition checking

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
)facesContext.getApplication().createValueBinding(#{param.linkPage} ).getValue(facesContext); return action; } } h:commandLink action=#{YourBean.actionForLinkPage} value=#{linkText}/ On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: Damn, get an exception with f:attribute. I thought that should work

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
outcome It doesn't need to. The value is resolved during render time. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: Can you explain what this is actually doing? How does it know how to resolve (#{param.linkPage}) after the page is rendered? Shawn -Original Message- From

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
could pass the value as an f:param if you're using a link and not a button. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: So the bean's action method is evaluated during render time and not after they click on the link? Shawn -Original Message- From: Mike Kienenberger [mailto

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
in an recommended better solutions, though :) On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: Yeah, sounds good but this code is in a loop and each few iterations has different values for linkPage. Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday

RE: Problem hardcoding commandLink action outcome

2006-01-17 Thread Garner, Shawn
outcome Right, but it'll render the original request value as the parameter value, it will then assign the old value (college) to a new request value (the parameter key) on the next page. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: That f:param thing just prints out the value at the end

another commandLink problem

2006-01-17 Thread Garner, Shawn
I've noticed my commandLinks don't go to the page the first time. It seems to reload the page and then if I click on it again it goes to the next view. Anyone know what is causing this, how to fix it? Shawn

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
and the UIData model isn't preserved across requests (t:saveState on request-scoped data). On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: I've noticed my commandLinks don't go to the page the first time. It seems to reload the page and then if I click on it again it goes to the next view

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
ancestors, you can eliminate that. If there's a UIData component in the ancestors, that's the likely cause -- you need to preserve the backing data model between requests. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: Well I'd say it's definitely know to the navigation handler because it finds

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
. On 1/17/06, Garner, Shawn [EMAIL PROTECTED] wrote: I don't get what the problem is then? Shawn -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 2:27 PM To: MyFaces Discussion Subject: Re: another commandLink problem Right

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
:55 PM To: MyFaces Discussion Subject: Re: another commandLink problem From: Garner, Shawn [EMAIL PROTECTED] I've noticed my commandLinks don't go to the page the first time. It seems to reload the page and then if I click on it again it goes to the next view

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
I don't think it's meaningful: javax.faces.FacesException: Unhandled exception thrown from /context07/personal.jsp:16 at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl etExternalContextImpl.java:421) at

RE: another commandLink problem

2006-01-17 Thread Garner, Shawn
: Garner, Shawn [EMAIL PROTECTED] I don't think it's meaningful: javax.faces.FacesException: Unhandled exception thrown from /context07/personal.jsp:16 at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl etExternalContextImpl.java:421

RE: commandLink

2006-01-16 Thread Garner, Shawn
for that with the remoting. But since Shale doesn't seem to run right on JRun I'm going back to straight JSF and am unsure how to do this. Shawn -Original Message- From: [EMAIL PROTECTED] To: MyFaces Discussion Sent: 1/15/2006 11:25 PM Subject: Re: commandLink On 1/15/06, Garner, Shawn [EMAIL

JSF version of html:rewrite

2006-01-16 Thread Garner, Shawn
What would be the JSF version of struts' html:rewrite tag? Shawn This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor

myfaces seperate context for faces-config.xml

2006-01-16 Thread Garner, Shawn
I have a seperate faces-config.xml file for a seperate context for example faces-subcontext.xml However it seams the from-view-id and to-view-id are not context relative and I have to put /subcontext/view.jsp everytime. I would think since it was in the faces-subcontext.xml that it would assume

  1   2   >