charu setia

Greenhorn
+ Follow
since Nov 01, 2007
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 charu setia

Hi Again,

Sorry for the Type. I forgot to copy the closing XSL tag in this post. It is very much there in the code so that cannot be the reason. Moreover i am npot getting any error message. its that it is not going to the next value in the string.
Hi All,

I am having a problem in XSLT. i am getting a string as Input in the form of: String = Part1#@#Part2#@#Part3

<xsl:call-template name= "parts">
<xsl:with-param name="inputString" select="$String"/>
</xsl:call-template>

</xsl:template>

<xsl:template name="parts">
<xsl:param name="inputString"/>
<xsl:variable name="currentVal" select="substring-before($inputString, '#@#')"/>
<xsl:variable name="restOfString" select="substring-after($inputString, '#@#')"/>
<xsl:variable name = "URL">
<xsl:value-of select = "concat('/bmfsweb/testbrocade/image/PS Addendums/',$currentVal,'.pdf')" />
</xsl:variable>
<xsl:if test = "$currentVal != '' " >
<xsl:call-template name="printablePDF">
<xsl:with-param name="insertURL" select="$URL"/>
</xsl:call-template>
</xsl:if>

<xsl:if test="$restOfString != ''">
<xsl:call-template name= "parts">
<xsl:with-param name="inputString" select="$restOfString"/>
</xsl:call-template>
</xsl:if>

</xsl:template>


<xsl:template name="printablePDF">
<xsl:param name="insertURL"/>
<fo:page-sequence content-width="90%" content-height="90%" background-image="{$insertURL}" background-repeat="paginate" master-reference="pdfPageSequence">
<fo:flow flow-name="xsl-region-body">
<fo:block />

</fo:flow>
</fo:page-sequence>

The problem is that once the "printablePDF" template is called, it never reaches restOfString code to call"Parts" template again, failing the recursion.
In printablePDF template, i am trying to get a file from a resource and append in existing docs. for first value it prints correctly but it never reaches the second and subsequent values from "String".

Please Help!

Thanks
Charu
Hi all,
I have a problem with the javascript page.Its like i have around 76 fields in my Jsp.from Jsp i m calling my javascript page.there some validations are occuring for all the fields.if a user enters some wrong value, say for some 40th field, the error message will appear.when the user clicks "ok", the wrong value entered will be selected but the focus goes to the top og page.i want the focus to come on that particular field.
I am already using select() method for selecting the value.
I also tried with setfocus() and focus(), but of no use.
If anybody can can help me out, plase reply
Thankks in advance
16 years ago
Hi all,
I am facing a problem with understanding this code
Basically i am not getting what is id,name,property,type,scope,toscope defines here

<bean efine id="thumbList" name="part" property="thumbnailList" type="java.util.Collection" scope="page" toScope="page"/>

<logic:iterate id="image" name="thumbList" type="com.gm.gvas.entity.part.photo.PhotoImage" indexId="j">

If anyone is aware of these properties, please reply.I am new to struts so kindly explain a little bit

Thanks in Advance
16 years ago