Questions tagged [viewrendering]

37 questions
1
vote
0 answers

How is my approach to reuse view logic in my project?

Aim To implement a proper and efficient view architecture for my project (with maximum reuse of repeated units) About my project My project involves classes taken by tutors and packs published by tutors. No framework has been used but object…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
1
vote
1 answer

spring mvc InternalResourceViewResolver doesnt get prefix

spring mvc InternalResourceViewResolver doesnt get prefix but suffix from controller.
Istvan
  • 73
  • 12
1
vote
2 answers

SailsJS - How to render views in server

Can please someone let me know how to render all the views in the server and send it to the web browser ? Just like any other PHP framework would do ? Is this feasible at all ?
1
vote
0 answers

Rendering a single page application with data from the POST request to the server, in NodeJS/Express

I have a single page application which is pretty simple and basically starts out as a blank page. This app is designated to be a Facebook app - running in the Facebook Canvas. Facebook loads my app by sending a POST request to my canvas URL, as…
AvnerSo
  • 1,609
  • 1
  • 16
  • 23
1
vote
3 answers

How to ensure that Backbone has rendered the page completely?

I work on a large enterprise application with BackboneJS. One page in the application is constructed using multiple sub-system calls via REsT. How do I make sure that, all the services required to load the page has been called and the templates are…
Dipin Krishnan
  • 1,260
  • 3
  • 21
  • 41
0
votes
1 answer

File /View/Elements/lookup.ctp won't render inside /View/Layouts/default.ctp (error displayed)? How can I do it?

I want to embed an HTML input form (search bar) in /View/Layouts/default.ctp (which is Homepage presentation layout of the site). I've created /View/Elements/lookup.ctp with the following code (I wrote Element because I wanted to include that search…
0
votes
0 answers

Unable to update instantly the view of ion-select-option

I’m facing an issue with ion-select. I am using an ion-select in my Ionic Angular app to allow users to select multiple options from a list of items. I have set a maximum limit on the number of ingredients that can be selected at once. When the user…
0
votes
1 answer

Xamarin forms iOS UIView Renderer intermittent OnElementChanged in some cases

I am doing video matrix views (1x1-2x2-3x3 views) using FlowListView. For iOS app, UIView renderer is used to integrate with a third party video SDK. Here is the FlowListView.
Hong Wang
  • 65
  • 10
0
votes
1 answer

How to send an object to .marko template and render its properties dynamically, in a table

Im doing some homework here. Build a server that handles a requisition to list all registers from a database, dynamically. Im using node js and the modules: express, marko and sqlite3. The db is set and has some registers for testing; (id, name,…
0
votes
0 answers

AppCompatActivity in xamarin.Android ViewRenderer

I am working on calendar events in my xamarin forms android app by using Com.Alamkanak.Weekview. My requirement is to load calendar events in Content page. For that I have created ViewRenderer and My code in Content page like
0
votes
1 answer

Richfaces error page redirection with gatein, jboss 5.1.0 ga portlet bridge jars and my mistakes

i know there are a lot of similar questions out there about the same/similar topics but i could not apply any of the solutions to my problem. I want to redirect user to a custom error page whenever an exception caught while rendering the portlet…
user2024778
0
votes
1 answer

ViewRenderer.SetNativeControl - The specified child already has a parent

I'm tryed to use this renderer: using System; using Android.Content; using Android.Views; using Android.Widget; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; [assembly: ExportRenderer(typeof(AutoComplete),…
InfernumDeus
  • 1,185
  • 1
  • 11
  • 33
0
votes
2 answers

Passing parameter to angular2 app from a .cshtml view rendering in SiteCore

I have a view rendering written in .cshtml. The .cshtml in turn refers .js files (written as angular2 apps). I want to pass a parameter from the .cshtml to the angular2 app. How do I do this? I am using angular-cli to generate the angular2 app.
user3547774
  • 1,621
  • 3
  • 20
  • 46
0
votes
1 answer

Is the controller being disposed after using ViewRenderer

I'm using ViewRenderer to write view result to a file like so: public class WriteViewToFile { private DetailsController controller = ViewRenderer.CreateController(); public void WriteDataToFile(ContextDB…
Shiran Dror
  • 1,472
  • 1
  • 23
  • 36
0
votes
1 answer

Render a view with a child view?

I am trying to send an email with a specific "layout" (for header/footer) with a specific template (main view of the email, e.g. 2-column layout etc.). The $mainView html has: content ?> but this is always NULL when it should be the…
dan2k3k4
  • 1,388
  • 2
  • 23
  • 48