I have struts2 application working great with its own theme and there is no issue at all.
with bootstrap theme the forms are showing error field if left blank but form getting submitted with null values.
So the xml validation is not working which I can conclude myself.
Please help me techies I couldn't find any support regarding the specific error.
Bootstrap 3
Struts2 with normal JSP pages.
Related
Many thanks for your help and support. I am just a beginner in Vaadin 7 and I am badly need of help.
Let me explain,
We have a third party application developed in HTML and JavaScripts. On my PC, if i open the html page with the browser it works fine. Please find the application in the attachment.
https://drive.google.com/file/d/1mdxFaMJmUb2pSTdh87MC8oSaaDMGx19d/view?usp=sharing
Now the challenge is, I need to in-corporate that application (HTML + Javascript) into Vaadin 7 as follows,
In-corporate the Javascripts into Vaadin using AbstractJavaScriptComponent (This has been done somehow understanding the examples)
Now comes the challenge,
If you open the HTML in the textpad/notepad, you could notice lot of div tags from the " < body > " tag. The requirement is, each div tag is a html component and this should be converted into vaadin component with css styling and need to be displayed in the UI, so that based on the customer requirements, we can change the style css. I tried with custom layout but this is not way to be implemented as well, this does not require a widget and server side component to be implemented. Is there any other way to implemented ? I spending lot of time but all my efforts are in-vain. I just need the way forward to give me a right direction if you have any idea.
We are trying use Orbeon Form runner with server-side embedding.
The form renders properly on form runner, however in our java web application the form is not rendered properly i.e. CSS issues.
All the /orbeon/* resources are retrieved from orbeon application, but the CSS is not applied properly. I suspect it could be because of the extra div that are added for the embedded/portlet.
In Form Runner
Full Size Image
In Java Web Application
Full Size Image
Also, if we use the wizard view, it works in form runner, but does not work in embedded java web application. The sections are shown on the same screen.
When Orbeon Forms produces the whole page, it adds an orbeon class on the body, and then pretty much all the CSS that comes with Orbeon Forms is "prefixed" with .orbeon …. This is done to minimize the risk of Orbeon Forms' CSS conflicting with your own CSS.
I can't be sure that this is the problem, but if the CSS doesn't apply when embedding, you might need to add a class="orbeon" on the element that contains the content you're embedding.
Thanks for your guidance. I was able to resolve the problem.
When embedding forms, as you said orbeon regenerates the CSS, and also appends "o0" (#o0xforms-form) to each control's id. However, the xforms.css still refers to control with (id #xforms-form), hence styles are not applied correctly.
Overwritten the xforms.css with custom app-xforms.css which uses (#o0xforms-form) which fixes the problem.
(Rails app) - In a webpage, I am using multiple forms. Inside each form I have a tinyMCE editor with different id's. But, when it renders, I can see that the TinyMCE editor in the second form is disbaled and when I perform edit action on the form, the TinyMCE content is just flashing inside the TinyMCE and it goes. Then the TinyMCE gets disbaled.
I have integrated the TinyMCE as a plugin and I have initialized it properly. I think the version is 3.4.5.
What could be the issue? Thanks for the help in adv. :)-
I have a form in asp.net mvc 3 project with some properties (a name and some extra properties who need to be filled in).
What i also need is a file to upload in the same form.
I placed an input type "file" and that works when i use Request.File the file is ok.
But i'm also using form validation, so when my name is not filled in, it's not possible to save. That works fine, but then my file is cleared..
Someone who has a good example to use file upload in a form? (with other fields and validation)
In addition to #Neil Knight's excellent references in his answer, if you're using ajax (and you probably are or will be to leverage MVC's ability to facilitate partial page refreshes) the jquery plugin here has proved itself useful in enabling file upload without a full page navigation.
on the new jQuery qTip page, there is a really awesome sample of using it with jQuery Unobtrusive Validation, which can be found here
In ASP.NET MVC 3.0, we have the unobtrusive validation as part of the view helpers. I was wondering if anyone knew how to implement this incredible thing in that, since I have not been able to.
This link is to an article describing how to integrate the jquery.validationEngine.js plugin with jquery.validate.js.
The line number references are slightly off, since they refer to older versions of jquery.validate.js. However, you can use the points referenced to insert the code to have qTip balloons pop-up or disappear, based on validation done by jquery.validate.js.