We have an xml viz.
<element>
<component>.... </component>
<event>....</event>
<event>....</event>
<event>....</event>
<event>....</event>
</element>
The number of events will be dynamic.
For a relevant component,we need to return the cooresponding events pipe-delimited.
We arrive at the particular component...
User Profile
Collapse
-
XPATH and concat question
-
XSLT exception handling
We test a particular constriant in our XSLT and throw a custom exception on failure:
<xsl:when test="......">
<xsl:value-of
select="excepti on:throwExcepti on('Recording failed')"/>
</xsl:when>
Here exception is defined as:
xmlns:exception ="http://..../util.exception. ValidationExcep tionThrower"
The problem is that this kind of exception... -
XSLT exception handling
We test a particular constriant in our XSLT and throw a custom exception on failure:
<xsl:when test="......">
<xsl:value-of
select="excepti on:throwExcepti on('Recording failed')"/>
</xsl:when>
Here exception is defined as:
xmlns:exception ="http://..../util.exception. ValidationExcep tionThrower"
The problem is that this kind of exception... -
Component tree and phaselistener
In the afterphase of the RESPONSE_RENDER of our phaselistener,w e parse the component tree to collect some event-specific data.
This data needs to be rendered/dispatched along with the requested page .
A javascript parser on the client will ectract this data to perform certain actions on the components.
How can this data be sent back along with the document?
Can a phaselistener modify the component tree to add a hidden... -
Java reflection
I need to check a property in the javax.faces.com ponent.html.Htm lInputText.
If i do it in the following manner,I get things fine:
if(comp.getClas s().getName().e qualsIgnoreCase ("javax.faces.c omponent.html.H tmlInputText")) {
String getter=((javax. faces.component .html.HtmlInput Text)comp).getO nfocus();
if(getter!=null ) {
System.out.prin tln(getter);
}
}
But if i... -
Implementing XSLT constriaint through XPath
We are trying to enforce a couple of business constrainrs with XPATH .
A sample xml node is as follows:
.....
.....
<event>
<element>IE</element>
<elementtype>br owser</elementtype>
<eventtype>Navi gate</eventtype>
<value>http://www.....com/</value>
</event>
.......
.......
If we need to ensure that... -
Javascript function registration
We register 2 functions against the same event of a component - but in different ways.
One is through inline event handlers and the other through attachevent/addeventlistene r.
What is the order of firing of the events - do both the events get fired or one suppresses the other.
Is the behaviour uniform across browsers? -
User settings in Internet Explorer
I am accessing a website in IE,using a domain and localsystem account .
With the former account , things are fine;with the 'localsystem' account I get a warning message 'Javascript is not enabled for the website'.
Where can we view/modify user setting for IE.I m using IE6.0/7.0. -
Interactive service on windows
To create a 'interactive' service on windows - we use a localsystem account ,with 'Interact with desktop' option.
Is there any other account which allows a service to be interactive - e.g. can a service be made interactive while it is running under the credentials of a domain account in 2000/XP/2003 ?
We launch an IE browser from the service - and hence the service neesd to be interactive. -
network privileges for 'localsystem' account
Is there any difference in the privileges of the 'localsystem' account under XP,2000 and 2003 server?
We are launching a browser from an INTERACTIVE windows service (running under 'localsystem' account),and make it navigate to a url.
The url in turns redirects to another page.
This navigation/redirection is allowed in 2000 and XP ;but fails in 2003.
Is this a result of difference in network privileges for localsystem...
No activity results to display
Show More