JSP tag in JSF tag, how?

2007-02-07 Thread Jeffrey Porter
This is what I'd like to do... But I can't do this, I just get the following error message... javax.faces.FacesException: ServletException in 'index1.jsp': ServletException in '/index1.jsp?LoopID=1': not a valid binding: #<%=request.getParameter("LoopID")%> Anyone have any ideas?

RE: Null values not allowed problem with myfaces nightly 1.1.5

2006-12-01 Thread Jeffrey Porter
On 12/1/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > Hi Mattahias, > > No, not quite. I get the following ... > > I'm using... > myfaces-api-1.1.5-SNAPSHOT.jar > myfaces-impl-1.1.5-SNAPSHOT.jar > > tomahawk-1.1.5-SNAPSHOT.jar > tomahawk-sandbox-1.1.5-SNAPSH

RE: Null values not allowed problem with myfaces nightly 1.1.5

2006-12-01 Thread Jeffrey Porter
zedVie wInServletSession (JspStateManagerImpl.java:493) at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedVie w(JspStateManagerImpl.java:332) ? On 12/1/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > I too am getting this problem with the nightly build from 1/12/06. ver. > 1.1

RE: Null values not allowed problem with myfaces nightly 1.1.5

2006-12-01 Thread Jeffrey Porter
I too am getting this problem with the nightly build from 1/12/06. ver. 1.1.5 I get it when trying to use this jsp code... f:selectItems value="#{tagMoverManager.workerItems}"/> And when I hit the 'Done' button. Can anyone give me some advice? Jeff Porter -Original Messag

RE: How to change calendar colour?

2006-11-08 Thread Jeffrey Porter
So does anyone have any ideas on this?   i.e. how to change the CSS setting for a calendar colour? / why mine does change?   Jeff porter   From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 10:26 To: MyFaces Discussion Subject: How to change calendar

How to change calendar colour?

2006-11-07 Thread Jeffrey Porter
Hey all,   I have the following JSP tag for my calendar…   t:inputCalendar id="searchAfterDateSet2" monthYearRowClass="xyearMonthHeaderx" weekRowClass="xweekHeaderx"   currentDayCellClass="xcurrentDayCellx" value="#{theSessionSearchBean.createdAfterB}" renderAsPopup="true" po

RE: pop up - or \n : what to get a new line?

2006-06-23 Thread Jeffrey Porter
I’m an idiot.   <h:outputText escape="false" value="#{session.sessionItemExtra.usersPath}"/>   -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 11:58 To: MyFaces Discussion Subject: pop up - or \n : what to get a

pop up - or \n : what to get a new line?

2006-06-23 Thread Jeffrey Porter
  Hello all,   I’m using     It’s all on the same line though?   Does popup do multi line ?   Thanks Jeff

RE: can't parse argument number o

2006-06-15 Thread Jeffrey Porter
15.06.2006 13:45:33,024 - can't parse argument number o That is the letter 'o' not a zero '0' o letter 0 digit O capital letter. -Original Message- From: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 12:58 To: MyFaces Discussion Subject: Re: can't parse argument n

RE: problems Lucene + jsf

2006-06-15 Thread Jeffrey Porter
What is the exception?   What is Lucene?       -Original Message- From: Alberto Marquÿe9s [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 11:09 To: users@myfaces.apache.org Subject: problems Lucene + jsf   Then if it is called directly to Lucene in they do not managed-bea

dataTable containing dataTable's OR passing parameters... how?

2006-06-15 Thread Jeffrey Porter
  Hello again,   It’s been a few months since I’ve posted (off on other projects); anyway I’m back and have a few questions. J   I’m pretty sure that you can’t pass parameters from a JSF to a bean. Such as passing in “top”…   1: RE: Forms inside Forms - is it possible?
1: I've solved the problem by just using one form tag. 2: "FacesException: expr" was due to a "h:outputLabel" with no "for='problemCause'" section. 3: Thanks for the help Mike. :-) -----Original Message- From: Jeffrey Porter [mailto:[EMAI

RE: Forms inside Forms - is it possible?

sException: expr > > error. > > > On 2/27/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > > > > > > You're correct Mike, > > > > I seem to be having a "slow brain" moment. :-) > > > > I now going to try changing > &g

RE: Forms inside Forms - is it possible?

possible? It's unclear to me why you need a second form. Maybe you just need to put "immediate=true" on your file-upload-related controls? Or maybe look at the sandbox subform component if you need different validation on each submit.... On 2/27/06, Jeffrey Porter <[EMAIL PROTECTED]

RE: Forms inside Forms - is it possible?

t supported by HTML. This is not a limitation of the server side ( JSF, ASP.net , etc. ). Dennis Byrne >-----Original Message- >From: Jeffrey Porter [mailto:[EMAIL PROTECTED] >Sent: Monday, February 27, 2006 11:48 AM >To: 'MyFaces Discussion' >Subject: Forms inside Forms - i

Forms inside Forms - is it possible?

  Hello all again…   I have the situation where I have a myfaces page, but inside it I want to have a second form for file upload.   The outer object doesn’t contain the files, hence it not part of that object.   Anyway, when the user clicks on the button to upload the file my method

Is the word "Test" special for some reason?

  Hello all again,   I’m about to build a test case, but before I do, can someone answer this ..   I have 2 identical web pages. 1 called “Test.jsf” 1 called “TestX.jsf” (this is a copy of Text.jsf)   This page contains a > element.   When I click on an edit button on this page

tabbedPane - style question?

  Does anyone know of any examples of using a t:tabbedPane and changing the look and feel of them?   Thanks Jeff  

RE: myFaces - servlet redirect.

I just wanted to say thanks to Udo, Volker and Matthias. I've now got my NonFacesRedirectServlet working in my main project. I owe you guys a beer or two! Thanks Jeff. -Original Message- From: Udo Schnurpfeil [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 13:35 To: MyFaces Discuss

RE: myFaces - servlet redirect.

TW: the download url just points to a frameset, i need to extract the correct download url from the html source. Regards Volker Jeffrey Porter wrote: > > Firstly I'd like to thank Matthias & Volker for there help so far with this! > > Ok, I've stripped out all the

RE: myFaces - servlet redirect.

Firstly I'd like to thank Matthias & Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running... http://localhost:8080/servred

RE: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?

> Regards, > > Volker > > > > [1]: > > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src /main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java ?view=markup > > > > Jeffrey Porter wrote: > > > > > > > > > Hell

RE: easiest way to get a jsf page as pdf download

Actually I've just noticed. Birt uses iText. :-) -Original Message- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 09:57 To: MyFaces Discussion Subject: Re: easiest way to get a jsf page as pdf download I'm just looking ... and getting convinced :-) Simon Ki

RE: easiest way to get a jsf page as pdf download

I'm torn between jasperreports & birt. Both look better than iText I'm using. Well, it would be good to have a GUI creator. http://www.lowagie.com/iText/ -Original Message- From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 09:57 To: MyFaces Discussion Subject:

RE: "Validation Error "_id89": Value is required" in dataTable

  You can use the “for” label on a outputLabel so that this code…   for="rackNumber" value="Rack Number:" />     id="rackNumber" value="#{backingBean.rackNumber}" maxlength="10" size="20"  />   Will result in the error message…   Validation Error with Rack Number: Value is requir

RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

r > > [1]: > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src /main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java ?view=markup > > Jeffrey Porter wrote: > > > > > > Hello all. > > > > > > > > I have

RE: How to make Client Side JS validation working on form submission?

ple validation. Can you explain more on what MyFaces great validation framework?   Thanks for your help! Emily   On 1/13/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote: What is the validation you want to do in your _javascript_?   MyFaces provides a very good automatic v

RE: How to make Client Side JS validation working on form submission?

What is the validation you want to do in your _javascript_?   MyFaces provides a very good automatic validation of forms framework.   Jeff   -Original Message- From: Emily Gu [mailto:[EMAIL PROTECTED] Sent: 13 January 2006 16:52 To: users@myfaces.apache.org Subject: How to ma

RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

r > > [1]: > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src /main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java ?view=markup > > Jeffrey Porter wrote: > > > > > > Hello all. > > > > > > > > I have

RE: abt how to locate jsp file and the syntax of myfaces-config.xml

resovle this using myFaces. Best Regards! --- Jeffrey Porter <[EMAIL PROTECTED]> wrote: > Why do you have the yyy.jsp under WEB-INF ? > > > > > -Original Message- > From: wch zll [mailto:[EMAIL PROTECTED] > Sent: 13 January 2006 12:50 >

RE: abt how to locate jsp file and the syntax of myfaces-config.xml

Why do you have the yyy.jsp under WEB-INF ? -Original Message- From: wch zll [mailto:[EMAIL PROTECTED] Sent: 13 January 2006 12:50 To: myfaces Subject: abt how to locate jsp file and the syntax of myfaces-config.xml Hi, I have a standard web application, it's arranged in very normal

RE: How can I redirect from a servlet to a JSF page (that isbacked by a bean)?

> > > > [1]: > > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src /main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java ?view=markup > > > > Jeffrey Porter wrote: > > > > > > > > > Hello all. > > > >

RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

for calculating the navigation) similar to public String methodBackToCommandButto(){ //do something return ("pageToShow"); } -Matthias On 1/11/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > > I'm just looking at doing that now. > > Any idea's on what the method "

RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

y tobago related stuff. No big deal ;) -Matthias On 1/11/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > not in MyFaces' core. > > Since tobago is a subproject, yes... :-) > > > > On 1/11/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > > > > S

RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

So does anyone know if there is such a NonFacesRequestServlet in the MyFaces implementation? I can see one in the Oracle & Sun implementations. JP -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 11 January 2006 19:06 To: MyFaces Discussion Subject: RE:

RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

in tomahawk, could be a > candidate for commons.jar. > > Regards, > Volker > > [1]: > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java?view=markup > > Jeffrey Porter wrote: > &

How can I redirect from a servlet to a JSF page (that is backed by a bean)?

  Hello all.   I have the situation where I want to send a URL out in an email for a person to click on, so that they can then see a page in my system.   Normally I’d have a backing servlet that takes the parameters in and redirects to the page I want the user to view. But since I’m u

RE: selectOneRadio / f:selectItem in different table cells.

ubject: Re: selectOneRadio / f:selectItem in different table cells. I guess that's all - at least in the open source world... you could bug Thomas Spiegl for some more explanation, he is the author of the beast. regards, Martin On 12/5/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote: >

RE: selectOneRadio / f:selectItem in different table cells.

nents where you really want them to be. regards, Martin On 12/5/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > > > > So has anyone used a selectOneRadio with the selectItem in different HTML > table cells? > > > > JP > > > > -Original Message

RE: selectOneRadio / f:selectItem in different table cells.

So has anyone used a selectOneRadio with the selectItem in different HTML table cells?   JP   -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 02 December 2005 15:56 To: MyFaces Discussion Subject: h:selectOneRadio / f:selectItem in different table cells

h:selectOneRadio / f:selectItem in different table cells.

I’m trying to put radio buttons in different cells of a table, but they don’t appear.   Do I have to use a selectOneRadio for each radio button? Even though I want the buttons to be part of the same group.   Does anyone have an example?   Thanks Jeff. (almost home time J  )     C

RE: possible bug:

ndows now. But this afternoon, if no one provides a patch before (everyone's welcome), I will try to fix that... Regards, Bruno 2005/11/25, Jeffrey Porter <[EMAIL PROTECTED]>: > > Firefox: > > It works fine in the respect that it doesn't let the components behind >

RE: possible bug:

081/simple/popup.jsf 2005/11/25, Jeffrey Porter <[EMAIL PROTECTED]>: > > That seems to make no difference. > I've changed the background colour of the panelGroup, but this seems to > be ignored. i.e. I've set it to pink, and no pink get shown. > > > The docs on the web

RE: possible bug:

any ideas? -Original Message- From: Bruno Aranda [mailto:[EMAIL PROTECTED] Sent: 25 November 2005 10:13 To: MyFaces Discussion Subject: Re: possible bug: If you use the style in panelGroup does this get fixed? example: Bruno 2005/11/25, Jeffrey Porter <[EMAIL PROTE

RE: possible bug:

November 2005 09:57 To: MyFaces Discussion Subject: RE: possible bug: To me it seems that the background of the popup is half-transparent. Maybe it's working as designed by the browsers or an issue with css? Have you tried with different browsers? hth Alexander ________

RE: HTTP re-post - another question.

Anyone?   -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 21 November 2005 12:06 To: MyFaces Discussion Subject: HTTP re-post - another question.     Hello all,   I know similar things have been asked before, but I’ve not seen a conclusive conclusion

HTTP re-post - another question.

  Hello all,   I know similar things have been asked before, but I’ve not seen a conclusive conclusion.   Problem:   I have a page with a bean on, when the page is submitted; the back end saves the bean & binds a new instance of the bean to the page. So that the fields are re-displa

DataTable. rowspan?

  Hello all,   I’d like to have a data table that instead of just showing columns of data, uses row span.   The aim is to create a table like…   http://www.porter.eu.com/jeff/table.JPG   Is this possible with h:dataTable ?   Thanks Jeff <>

RE: MYFACES-569 - anyone have a work around (onload/calendar)

round-position-x:0%;background-position-y: 50%'><span style='font-size:10.0pt;font-family:"Courier New";color:#007F00; background:white'> tab1</span></span></font><font size=2 color=black face="Courier New"><span style=&

New bug in nightly build - t:inputCalendar + javscript(tabList) = page hang.

  Hello all,   I started with the bug of t:calendar and onload not working in release 1.1.1 I then moved on to the nightly release 20051107.   New bug…   If I have a page with and   language="_javascript_1.3"> function messWithMyHead() {   for (var i=0; i i++ ) {  

RE: MYFACES-569 - anyone have a work around (onload/calendar)

ayed.   Any ideas?             -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 09:05 To: MyFaces Discussion Subject: BUG: MYFACES-569 - anyone have a work around (onload/calendar)     Hello all,   I’ve got a page with a tabbed pane (

BUG: MYFACES-569 - anyone have a work around (onload/calendar)

  Hello all,   I’ve got a page with a tabbed pane (made using _javascript_), to setup this pane I make a call in the onload method of body. e.g. onload='setupPanes("container1", "tab1");'>   Calling onload though, causes t:inputCalendar to stop working.   See bug 569 http://myfa

RE: myFaces & Tiles - Illegal to flush within a custom tag

It’s Friday. It’s my only excuse.   Solved by…   page="/test.jsp" flush="false"/>   (don’t know how I missed that – blonde moment.)   sorry jeff   -Original Message----- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 04 November 2005 16:20

myFaces & Tiles - Illegal to flush within a custom tag

    Hello all again,   This may not be the right place to ask, but I will anyway.   I’ve got some pages that are JSF/MyFaces pages & I want to use some Tiles insert statements.   When I do I get the error…   javax.servlet.ServletException: Can't insert page '/test.jsp' : Illegal t

RE: selectOneListbox - onclick?

onentId, Object newValue) { HtmlInputText input = (HtmlInputText) view.findComponent(componentId); input.setValue(newValue); } Regards, Yee 2005/10/31, Jeffrey Porter <[EMAIL PROTECTED]>: > > > > Not sure if it's possible, can someone comment. &g

selectOneListbox - onclick?

  Not sure if it’s possible, can someone comment. Can you register for events when a list is clicked on?i.e. onclick, or valueChangeListener so that other data on the page can be rendered depending on what list item is selected.  I tried valueChangeListener, & onclick but with no success. Tha

RE: selectOneListbox - does not contain Objects of type SelectItem?!?

My fault.   Has the MyFaces-api.jar in both my WAR & HAR.       -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 31 October 2005 14:25 To: MyFaces Discussion Subject: selectOneListbox - does not contain Objects of type SelectItem?!?    Hello

selectOneListbox - does not contain Objects of type SelectItem?!?

 Hello all again, I presume that I’m having another blonde moment (a moment of stupidity).I’m getting the following exception, but I can’t see why. I’m giving it an ArrayList of SelectItem objects, but still it fails. Anyone got any ideas? Thanks againJeff.   javax.servlet.ServletException: C

RE: Help still needed with valueChangeListener

: 1) display a page 2) change an Input component to a new value without triggering any other validation, model updates, or actions. 3) redisplay the page with other dependent components updated based on the value of the Input component. On 10/26/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote:

RE: Help still needed with valueChangeListener

an = new Bean()". ValueBinding binding = FacesContext.getCurrentInstance().getApplication().createValueBinding("# {bean}"); org.iarc.ebusiness.model.Bean bean= (org.iarc.ebusiness.model.Bean)binding.getValue(FacesContext.getCurrentI nstance()); On 10/26/05, Jeffrey

RE: Help still needed with valueChangeListener

i got a ClassNotFoundException: org.apache.myfaces.examples.servlet.SourceCodeServlet Jeffrey Porter wrote: > > > I've complied my code into an example ear. > > http://www.jeffreyporter.pwp.blueyonder.co.uk/ebusiness.ear -- Don't answer to From: address! Mail to this account are drope

RE: Help still needed with valueChangeListener

n. During rendering an old tree the previoly submitted value takes precedence over the bean value. regards Volker Jeffrey Porter wrote: > Hi Stefan, > > > > This is what I'm trying at the moment. > > > > This though doesn't change the value displayed o

RE: Help still needed with valueChangeListener

ive operation and for other lawful business purposes. Communications using this system will also be monitored and may be recorded to secure effective operation and for other lawful business purposes.   British Telecommunications plc. Registered office:  81 Newgate Street London EC1A 7AJ   Registered

Help still needed with valueChangeListener

    I have the code that calls my ValueChangeListener implementation. That part works, the bit I’m having trouble with is setting the new a value on page.   JSP… id="partNumber" value="#{nonConformingMaterial.partNumber}" required="true"    immediate="true"   onchang

RE: valueChangeListener - inputText - Which method is correct?

f you want to change the value of the other inputText when the first changes, you need to submit the form (technique #1). Otherwise, you can use _javascript_ if it is an option to you (if you don't have to process the form). Hope it is clear now, Bruno 2005/10/25, Jeffrey Porter <[EMAIL

RE: valueChangeListener - inputText - Which method is correct?

://wiki.apache.org/myfaces/SubmitPageOnValueChange using the inputText instead of the selectOneMenu. It should work. Or if you want to play with javascript you can take a look at http://www.irian.at/myfaces/jslistener.jsf to see how the jslistener works, Regards, Bruno 2005/10/25, Jeffrey Porter

valueChangeListener - inputText - Which method is correct?

I’ve seen 3 different examples of using the “valueChangeListener” attribute.   I’ve seen…   Example 1:   JSP   CODE public class MyValueChangeListener implements ValueChangeListener {  public MyValueChangeListener() {  }   public void processValueChange(ValueChangeEvent vce) thr

RE: Value binding - exception: can somone explain?

sure but aren't you mixing up "firstName" and "surname" maybe..? Geeta "Jeffrey Porter" <[EMAIL PROTECTED]> wrote on 10/21/2005 11:47:45 AM: >   > Hello all again, >   > I’ve got the following tag in my JSP. “UserController.user.surname” &g

Value binding - exception: can somone explain?

  Hello all again,   I’ve got the following tag in my JSP. “UserController.user.surname” is a string.   id="enteredByUID" value="#{UserController.user.surname}" maxlength="20" size="20" required="true" />   But I get an exception when I try to save the page.   javax.faces.el.Eval

RE: IF statement..?

works? i think not, but never tested. > > Martin Marinschek wrote: > > Try using > > > > #{ > > > > instead of > > > > {# > > > > ;) > > > > regards, > > > > Martin > > > > On 10/21/05, Volker Weber <[E

RE: IF statement..?

operation and for other lawful business purposes.   British Telecommunications plc. Registered office:  81 Newgate Street London EC1A 7AJ   Registered in England no:  180 size=2 width="100%" align=center tabindex=-1> From: Jeffrey Porter [mailto:[EMAIL PROTECTED] S

RE: IF statement..?

tags get rendered, no matter what  is returned by the method.   I can get other values from the user bean.   e.g. this works… value="#{UserController.user.firstName}" />         -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 October

IF statement..?

    Does MyFaces contain an IF statement?   Something like…   user.admin == true > value="ADMIN" /> value="NOT ADMIN" />     I would put my IF statement in JSP. But this doesn’t seem to work.   For example   <%=user.admin%>    

RE: User Management - advice needed.

ncipal( ) in every bean, also at first page. Jeffrey Porter wrote: > > I've messed about and got my action method to make a call to a > SessionBean. > Which then looks up the current user via the SessionContext. > The bean I create is then passed into the page via a t:saveSta

RE: User Management - advice needed.

n our faces-config.xml file.   - Brendan -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 7:39 AM To: MyFaces Discussion Subject: User Management - advice needed.   Hello again.   My question is this.   I want when a JSF pa

RE: User Management - advice needed.

lay them from within the JSF-page... hth Alexander ________ From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 2:39 PM To: MyFaces Discussion Subject: User Management - advice needed. Hello again. My question is this. I want when

RE: error download myFaces

I get the same. JP -Original Message- From: Bogdan Sava [mailto:[EMAIL PROTECTED] Sent: 20 October 2005 13:43 To: MyFaces Discussion Subject: error download myFaces I cannot download myFaces Binary Distribution from http://myfaces.apache.org/binary.cgi . It returns 500 Internal Server E

User Management - advice needed.

  Hello again.   My question is this.   I want when a JSF page is displayed, to look up the current user and display some information on them. For example…   <% Principal principal = request.getUserPrincipal();   String userName = principal.getName();   User user = SomeUs

RE: commandButton - how to set to ignore required Validation?

cel button...   regards Alexander   From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 11:45 AM To: MyFaces Discussion Subject: RE: commandButton - how to set to ignore required Validation? immediate="true"   Add the immediate="true"

RE: commandButton - how to set to ignore required Validation?

immediate="true"   Add the immediate="true" value to the commandButton tag.         -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 10:33 To: MyFaces Discussion Subject: commandButton - how to set to ignore

commandButton - how to set to ignore required Validation?

    Is there a way I can set a command button to ignore the validation required on the page?   I.e. To create a “cancel” button on a page   Thanks Jeff                                                                  

RE: FacesContext/VariableResolver to get bean - how to set a bean?

n the page. binding.setValue(FacesContext.getCurrentInstance(), newNCMObject); Faces Config nonConformingMaterial org.me.NCM request Jeff. -Original Message----- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 09:00 To: MyFaces Discussion S

RE: FacesContext/VariableResolver to get bean - how to set a bean?

ut why now. I do know that if I remove the t:saveState attributes, things no longer work, so there is a reason. Maybe someone else can jump in. Or you can just use it, and figure out why it works later, like I'm now doing. :) On 10/17/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote: >

RE: FacesContext/VariableResolver to get bean - how to set a bean?

); return ("showBeanAContents"); -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 17:38 To: MyFaces Discussion Subject: RE: FacesContext/VariableResolver to get bean - how to set a bean? So if I have JSP-A with a button on, this links to an action. T

RE: FacesContext/VariableResolver to get bean - how to set a bean?

e on the next page. I'm not certain that you can do this if you use a tag in your navigation rules, so you'd have to use some other method to preserve them (session-scoped bean, maybe, or change to server-side state management.) On 10/17/05, Jeffrey Porter <[EMAIL PROTECT

FacesContext/VariableResolver to get bean - how to set a bean?

  I understand how to get a bean from a jsp using FacesContext & VariableResolver.   Yet when I redirect to a new page I want it to display a form containing data from a bean I’ve already populated.   I can do this with tables since I’ve created a managed-bean that is used in a h:dataT

commandButton & passing a value?

  What is the correct way to pass a value into a method when a button is pressed.   I have the situation where I have a table rendered, via h:dataTable, and I want to add button for each row. So that when the button is pressed, an action starts, loads some data & redirects to a new page

RE: selectOneRadio - How to validate?

o - How to validate? Hi, use selectOneRadios attribute required="true". Jeffrey Porter wrote: > > > I have a radio button on my page created by a selectOneRadio tag. But I > can submit the page without selecting an option. > > How to I get the radio button group to be

selectOneRadio - How to validate?

  I have a radio button on my page created by a selectOneRadio tag. But I can submit the page without selecting an option. How to I get the radio button group to be validated?   I can see there is the tag “validator”, does this mean I have to implement a class to check that one option

RE: Conversion Error AND Validation Error - please explain...

, debugging the MyFaces code. Etc.   Oh well. I get to go have a beer in an hour.   Jeff.     -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 14 October 2005 17:17 To: MyFaces Discussion Subject: Conversion Error AND Validation Error - please explain...       Ok, I’ve

Conversion Error AND Validation Error - please explain...

    Ok, I’ve spent ½ a day on this & now I need a little help.   I have a page with 2 text fields on it. When I submit the pages I get the messages…   Conversion Error in rack1 Validation Error in rack2 Why are the messages different? Both fields are the same time, just in d

RE: how to set the class of selectItem text?

find something like <... class="true" ...> in your labels. Jeffrey Porter wrote: > Thanks Volker. > > I'm at a loss on how to use these attributes though. > > I understand that I need to apply this to the selectOneRadio tag. > But how does the

RE: how to set the class of selectItem text?

-Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 14 October 2005 11:08 To: MyFaces Discussion Subject: Re: how to set the class of selectItem text? see : http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/index.html enabledClass and disabledClass Jeffr

how to set the class of selectItem text?

  I have a radio button section setup. I want to set the class of the label on each one.   JSP code…   id="discoveryLocation" value="#{nonConformingMaterial.discoveryLocation}" layout="spread"  styleClass="selectOneRadio"> itemValue="0" itemLabel="#{my_properties['NCM_label_location

RE: Error message display...

Thanks Stefan & Conner for your input.   I’ve now got actual error messages.   J   What I’ve got (incase anyone else cares)  is…     for="partNumber"   value="#{my_properties['label_partNumber']}" />   id="partNumber" value="#{problem.partNumber}" maxlength="10" size="15" r

Error message display...

What’s the best way to display an error message?   I have the tags…   id="supplierCode" value="#{improvementRequest.supplierCode}" maxlength="10" size="15" required="true" />     id="messageList" styleClass="error" summaryFormat="{0} in {1}" />     When the form is subm

RE: one button 2 forms... how?

Hi, you need a ValueExpression in the value attributes. Jeffrey Porter wrote: > > > Thanks for the prompt reply Jan. > > > > So I should have the following in the JSP file... > > > > > >required="true" /&g

RE: one button 2 forms... how?

an01 & that name02 belongs to the bean Bean02?   Thanks Jeff.         -Original Message- From: ir. ing. Jan Dockx [mailto:[EMAIL PROTECTED] Sent: 12 October 2005 16:55 To: MyFaces Discussion Subject: Re: one button 2 forms... how?   You can't nest forms. Just remove the nest

one button 2 forms... how?

  Hello all,   I’m a little stuck & need some guidance.   I have a web page with 2 forms on it. (Bean01 & Bean02). I want to be able to have the user click a button and then behind the scenes take the data from these 2 beans and persist it. I’m not sure how to do this & require someo

RE: Layout of EAR file JBoss 4.0.2 with myFaces

k at it later in the project. Thanks JP. -Original Message- From: Grigoras Cristinel [mailto:[EMAIL PROTECTED] Sent: 07 October 2005 14:43 To: MyFaces Discussion Subject: Re: Layout of EAR file JBoss 4.0.2 with myFaces Jeffrey Porter wrote: > I'm having trouble with class load

  1   2   >