M Kent

Greenhorn
+ Follow
since Jun 02, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by M Kent

I used upper case to highlight what I am trying to do now...

The jsp page:

<h:dataTable...>
<h:column id="column1">
<hx:commandExRowEdit styleClass="dataTableContent"
action="#{pc_SubmissionMaint.doApprNameEdit}"
id="apprNameEdit1" style="display:none">
<hx:jspPanel id="jspPanel1">
<h:outputText id="outText" styleClass="dataTableContent"
value="Enter approver's name" />
<h:inputText id="inTxtApprName" styleClass="dataTableContent"
value="#{pc_SubmissionMaint.submissionBean.apprNames" />
</hx:jspPanel>
</hx:commandExRowEdit>
</h:column>

<h:column id="ApprAction">
<h:commandLink id="cmdAddApprName"
title="Click here to enter approver's name" style="dataTableContent"
ACTION="#{PC_SUBMISSIONMAINT.SUBMISSIONBEAN.HANDLECOMMANDLINKACTION" >
<h:outputText id="outTxtApprs" styleClass="dataTableContent"
value="#{varApprovers}" />
</h:commandLink>
</h:column>

<h:column id="columnAddApproverName"
rendered="#{pc_SubmissionMaint.submissionBean.apprNames ne null}">
<h:outputText id="outTxtApprName" styleClass="formFieldData"
value="#{pc_SubmissionMaint.submissionBean.apprNames" />
</h:column>
</h:dataTable>


The method to invoke commandExRowEdit (id=apprNameEdit1):

PUBLIC VOID HANDLECOMMANDLINKACTION(ACTIONEVENT EVENT) {
APPRNAMEEDIT1.GETACTION().INVOKE(ARG0, ARG1);
}



I’m not sure what to put for the arguments…
invoke(FacesContext arg0, Object[] arg1)
14 years ago
JSF
Sorry for misdirecting my post...

I will try to rephrase my question since I didn't get any replies

I want to use a commandlink action to execute what happens if I actually clicked a 'hidden' commandexrowedit button... Is this possible?

Here is my datatable:
14 years ago
JSF
I have a <hx:commandExRowEdit> component on my jsp page and want to know if I can invoke 'clicking' of this component from the action attribute of a <h:commandLink> component. I don't want to see the edit button on my page but I do need the popup edit window so I am trying this as a work around.

Thanks,
M Kent
14 years ago
JSF