RE: Tab Order in CForms

2006-03-09 Thread Bruno Dumon
On Thu, 2006-03-09 at 17:05 +, Stewart, Gary wrote:
> > I havn't ever tried it, but you can add the tabindex 
> > attribute just like
> > any other, for example:
> > 
> > 
> >   
> > 
> > 
> > The stylesheets simply copy over all the attributes they don't
> > understand to the target input element.
> > 
> > There's also a shorter way of writing this, if you don't have 
> > any nested
> > elements in fi:styling (which is usually the case):
> > 
> > 
> 
> That looks like a good way to go about it; thanks. Gave it a go and it looks 
> like it is working fine on the forms (though it might be a little tedious to 
> change when I make changes to forms I might create a stylesheet to automate 
> adding the attributes to widgets; I can post it when I've done it and if 
> anyone else is interested. 
> 
> However I'd still like to know how I can get access to the cocoon
> resource link since I was also looking at changing the HTMLArea (and
> possibly replacing it with Xinha). 
> 

The resources can be found in:

src/blocks/forms/java/org/apache/cocoon/forms/resources/

What you can do is copy that directory to your own project, and change
the forms resource matcher in your sitemap to read the resources from
the new location. Then you can easily adjust them and try out the
changes (for client-side resources such as javascript, don't forget that
the browser caches these).

-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]  [EMAIL PROTECTED]


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



RE: Tab Order in CForms

2006-03-09 Thread Stewart, Gary

> I havn't ever tried it, but you can add the tabindex 
> attribute just like
> any other, for example:
> 
> 
>   
> 
> 
> The stylesheets simply copy over all the attributes they don't
> understand to the target input element.
> 
> There's also a shorter way of writing this, if you don't have 
> any nested
> elements in fi:styling (which is usually the case):
> 
> 

That looks like a good way to go about it; thanks. Gave it a go and it looks 
like it is working fine on the forms (though it might be a little tedious to 
change when I make changes to forms I might create a stylesheet to automate 
adding the attributes to widgets; I can post it when I've done it and if anyone 
else is interested. 

However I'd still like to know how I can get access to the cocoon resource link 
since I was also looking at changing the HTMLArea (and possibly replacing it 
with Xinha). 

Thanks,

Gary

*
The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only, If you 
have received this message in error or there are any problems, 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.
*


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



Re: Tab Order in CForms

2006-03-09 Thread Bruno Dumon
On Thu, 2006-03-09 at 15:58 +, Stewart, Gary wrote:
> Does anyone know how to change the tab order in CForms? I was hoping
> to change it so it ignores the links (such as the help and error
> links) until it gets all the way to the bottom of the form. I'd assume
> you'd do this by altering the tab order in the final HTML form. I
> figure I should be looking at the forms styling to do this. I can't
> actually find where forms-page-styling.xsl and
> forms-advanced-field-styling.xsl are located though. Any clue as to
> where to look and maybe how to implement this?
> 

I havn't ever tried it, but you can add the tabindex attribute just like
any other, for example:


  


The stylesheets simply copy over all the attributes they don't
understand to the target input element.

There's also a shorter way of writing this, if you don't have any nested
elements in fi:styling (which is usually the case):



-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]  [EMAIL PROTECTED]


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