thank u very much.I have solved my problem

Dennis Dam wrote:
> 
> Hi Juan,
> 
> The JSF portal bridge maps the portlet window id onto the JSF clientID, 
> which is a standard JSF API feature. The client ID is used for 
> namespacing UI components. This is necessary when you use multiple JSF 
> portlets on one page.
> 
> So inside your JSF application you only have to take the clientID of a 
> component into account. You can access the clientID through the JSF API:
> 
> http://myfaces.apache.org/api/apidocs/javax/faces/component/UIComponentBase.html#getClientId(javax.faces.context.FacesContext)
> 
> regards,
> Dennis
> 
> yangwawa wrote:
>> In my JSF standalone application, there is a form whose ID is dateform,
>> and
>> there is a field whose ID is birthdate,then the feild could be acessed by
>> the combination(dateform:birthdate),but after I wrapped the jsf
>> application
>> as portlet using portlet-jsp-bridge, it didn't work as before. I found
>> there
>> is a prefix added to the form and the field in the html src,so it is
>> impossible to access the feild as before,but it can be done by add the
>> prefix to the combination(dateform:birthdate).However, how can I know the
>> prefix during programing? Is there any other way to solve my problem.
>> Thank
>> u very much. 
>> Juan Yang
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-access-form-field-in-JST-Portlet-by-javascript-tf4886005.html#a14025015
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to