Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

jsf a4j:support problem help!

843844Jul 14 2008 — edited Jul 14 2008
Hello I am new at this jsf stuff and I dont know what im doing wronge but it is not running not even connecting with the handler when I do debbug , I post this part of the JSF and the event could say where I am wrong?


<h:outputText value="User: " />
					<h:panelGroup id="dynamicUserGroup">
						<h:selectOneMenu id="userOptions" style="font-size: 10px;" onchange="this.form.submit();" >
							<f:selectItem itemValue="is" />
							<f:selectItem itemValue="is not"/>
							<f:selectItem itemValue="like" id="like" />
							<a4j:support event="onchange" action="#{ticketBeanHandler.userEvent}" reRender="likearg" immediate="true" />
						</h:selectOneMenu>
						<h:outputText value="&nbsp;" escape="false"/>
						<h:outputText value="&nbsp;" escape="false"/>
						<h:selectManyListbox id="users" 
								style="font-size: 10px;"
								converter="longConverter"
								size="3"
								>
							<f:selectItems value="#{projectBean.users}" />
						</h:selectManyListbox>
						<h:inputText value="#{searchTicketBean.userLikeArgument}" rendered="#{searchTicketBean.likeSelected}" id="likearg"></h:inputText>
					</h:panelGroup>
And this is the event:
public void userEvent(){

		String userOption = this.searchTicketBean.getLikeUser();

		if (userOption != null){

			if ("like".equals(userOption)) {

				this.searchTicketBean.setLikeSelected(true);

			} else {

				this.searchTicketBean.setLikeSelected(false);

			}

		}

		FacesContext.getCurrentInstance().renderResponse();

	}
Thank you very much!

Comments

User_MYHR4

Did you tell git who you are by setting your email/password? Check that by looking up git config --list and provide the output with your question. You probably have to do git config --global user.email YourEmail@Company.com

User_MYHR4

Try to put the username/password on the git clone: git clone https://username:password@https://tfs.somehostname.com/tfs/somefolder/_git/therepository

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 11 2008
Added on Jul 14 2008
1 comment
173 views